Home
last modified time | relevance | path

Searched refs:perc (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_fdinfo.c95 uint32_t perc, frac; in amdgpu_show_fdinfo() local
103 perc = div64_u64(10000 * total, min); in amdgpu_show_fdinfo()
104 frac = perc % 100; in amdgpu_show_fdinfo()
108 idx, perc/100, frac); in amdgpu_show_fdinfo()
/linux/arch/s390/kvm/
A Dguestdbg.c388 static int debug_exit_required(struct kvm_vcpu *vcpu, u8 perc, in debug_exit_required() argument
397 if (per_write_wp_event(perc) && in debug_exit_required()
406 if (per_bp_event(perc) && in debug_exit_required()
425 if (guestdbg_sstep_enabled(vcpu) && per_bp_event(perc)) { in debug_exit_required()
539 const u8 perc = vcpu->arch.sie_block->perc; in filter_guest_per_event() local
545 u8 guest_perc = perc & (cr9 >> 24) & PER_CODE_MASK; in filter_guest_per_event()
574 vcpu->arch.sie_block->perc = guest_perc; in filter_guest_per_event()
590 if (debug_exit_required(vcpu, vcpu->arch.sie_block->perc, in kvm_s390_handle_per_event()
A Dintercept.c199 pgm_info.per_code = vcpu->arch.sie_block->perc; in inject_prog_on_prog_intercept()
/linux/drivers/media/test-drivers/vivid/
A Dvivid-radio-rx.c33 int perc; in vivid_radio_rx_read() local
88 perc = abs(dev->radio_rx_sig_qual) / 4; in vivid_radio_rx_read()
97 if (perc && prandom_u32_max(100) < perc) { in vivid_radio_rx_read()
/linux/net/tipc/
A Dnetlink_compat.c500 static inline u32 perc(u32 count, u32 total) in perc() function
642 perc(nla_get_u32(stats[TIPC_NLA_STATS_MSG_LEN_P0]), in tipc_nl_compat_link_stat_dump()
644 perc(nla_get_u32(stats[TIPC_NLA_STATS_MSG_LEN_P1]), in tipc_nl_compat_link_stat_dump()
646 perc(nla_get_u32(stats[TIPC_NLA_STATS_MSG_LEN_P2]), in tipc_nl_compat_link_stat_dump()
648 perc(nla_get_u32(stats[TIPC_NLA_STATS_MSG_LEN_P3]), in tipc_nl_compat_link_stat_dump()
652 perc(nla_get_u32(stats[TIPC_NLA_STATS_MSG_LEN_P4]), in tipc_nl_compat_link_stat_dump()
654 perc(nla_get_u32(stats[TIPC_NLA_STATS_MSG_LEN_P5]), in tipc_nl_compat_link_stat_dump()
656 perc(nla_get_u32(stats[TIPC_NLA_STATS_MSG_LEN_P6]), in tipc_nl_compat_link_stat_dump()
/linux/arch/s390/include/asm/
A Dkvm_host.h299 __u8 perc; /* 0x00d6 */ member

Completed in 30 milliseconds