/linux-6.6.21/drivers/net/wireless/broadcom/b43/ |
D | ppr.c | 12 #define ppr_for_each_entry(ppr, i, entry) \ argument 13 for (i = 0, entry = &(ppr)->__all_rates[i]; \ 17 void b43_ppr_clear(struct b43_wldev *dev, struct b43_ppr *ppr) in b43_ppr_clear() argument 19 memset(ppr, 0, sizeof(*ppr)); in b43_ppr_clear() 25 void b43_ppr_add(struct b43_wldev *dev, struct b43_ppr *ppr, int diff) in b43_ppr_add() argument 30 ppr_for_each_entry(ppr, i, rate) { in b43_ppr_add() 35 void b43_ppr_apply_max(struct b43_wldev *dev, struct b43_ppr *ppr, u8 max) in b43_ppr_apply_max() argument 40 ppr_for_each_entry(ppr, i, rate) { in b43_ppr_apply_max() 45 void b43_ppr_apply_min(struct b43_wldev *dev, struct b43_ppr *ppr, u8 min) in b43_ppr_apply_min() argument 50 ppr_for_each_entry(ppr, i, rate) { in b43_ppr_apply_min() [all …]
|
D | ppr.h | 36 void b43_ppr_clear(struct b43_wldev *dev, struct b43_ppr *ppr); 38 void b43_ppr_add(struct b43_wldev *dev, struct b43_ppr *ppr, int diff); 39 void b43_ppr_apply_max(struct b43_wldev *dev, struct b43_ppr *ppr, u8 max); 40 void b43_ppr_apply_min(struct b43_wldev *dev, struct b43_ppr *ppr, u8 min); 41 u8 b43_ppr_get_max(struct b43_wldev *dev, struct b43_ppr *ppr); 43 bool b43_ppr_load_max_from_sprom(struct b43_wldev *dev, struct b43_ppr *ppr,
|
D | Makefile | 23 b43-y += ppr.o
|
D | phy_n.c | 5835 struct b43_ppr *ppr = &nphy->tx_pwr_max_ppr; in b43_nphy_op_recalc_txpower() local 5843 b43_ppr_clear(dev, ppr); in b43_nphy_op_recalc_txpower() 5846 b43_ppr_load_max_from_sprom(dev, ppr, B43_BAND_2G); in b43_nphy_op_recalc_txpower() 5852 b43_ppr_apply_max(dev, ppr, max); in b43_nphy_op_recalc_txpower() 5855 Q52_ARG(b43_ppr_get_max(dev, ppr))); in b43_nphy_op_recalc_txpower() 5865 b43_ppr_add(dev, ppr, -hw_gain); in b43_nphy_op_recalc_txpower() 5869 b43_ppr_apply_min(dev, ppr, INT_TO_Q52(8)); in b43_nphy_op_recalc_txpower()
|
/linux-6.6.21/arch/ia64/kernel/ |
D | ptrace.c | 767 ptrace_getregs (struct task_struct *child, struct pt_all_user_regs __user *ppr) in ptrace_getregs() argument 778 if (!access_ok(ppr, sizeof(struct pt_all_user_regs))) in ptrace_getregs() 788 if (((unsigned long) ppr & 0x7) != 0) { in ptrace_getregs() 789 dprintk("ptrace:unaligned register address %p\n", ppr); in ptrace_getregs() 804 retval |= __put_user(pt->cr_iip, &ppr->cr_iip); in ptrace_getregs() 805 retval |= __put_user(psr, &ppr->cr_ipsr); in ptrace_getregs() 809 retval |= __put_user(pt->ar_pfs, &ppr->ar[PT_AUR_PFS]); in ptrace_getregs() 810 retval |= __put_user(pt->ar_rsc, &ppr->ar[PT_AUR_RSC]); in ptrace_getregs() 811 retval |= __put_user(pt->ar_bspstore, &ppr->ar[PT_AUR_BSPSTORE]); in ptrace_getregs() 812 retval |= __put_user(pt->ar_unat, &ppr->ar[PT_AUR_UNAT]); in ptrace_getregs() [all …]
|
/linux-6.6.21/tools/testing/selftests/powerpc/ptrace/ |
D | ptrace-tar.h | 30 unsigned long ppr, unsigned long dscr) in validate_tar_registers() argument 37 if (reg[1] != ppr) in validate_tar_registers()
|
D | ptrace.h | 190 unsigned long ppr, unsigned long dscr) in write_tar_registers() argument 212 *reg = ppr; in write_tar_registers() 281 unsigned long ppr, unsigned long dscr) in write_ckpt_tar_registers() argument 303 *reg = ppr; in write_ckpt_tar_registers()
|
/linux-6.6.21/drivers/hwmon/ |
D | axi-fan-control.c | 56 u32 ppr; member 147 return DIV_ROUND_CLOSEST(60 * ctl->clk_rate, ctl->ppr * tach); in axi_fan_control_get_fan_rpm() 376 ret = of_property_read_u32(np, "pulses-per-revolution", &ctl->ppr); in axi_fan_control_init() 381 if (ctl->ppr != 1 && ctl->ppr != 2 && ctl->ppr != 4) in axi_fan_control_init()
|
D | max6639.c | 88 u8 ppr; /* Pulses per rotation 0..3 for 1..4 ppr */ member 420 if (max6639_info && max6639_info->ppr > 0 && in max6639_init_client() 421 max6639_info->ppr < 5) in max6639_init_client() 422 data->ppr = max6639_info->ppr; in max6639_init_client() 424 data->ppr = 2; in max6639_init_client() 425 data->ppr -= 1; in max6639_init_client() 436 data->ppr << 6); in max6639_init_client()
|
D | pwm-fan.c | 576 u32 ppr = 2; in pwm_fan_probe() local 595 &ppr); in pwm_fan_probe() 596 tach->pulses_per_revolution = ppr; in pwm_fan_probe()
|
/linux-6.6.21/include/linux/platform_data/ |
D | max6639.h | 11 int ppr; /* Pulses per rotation 1..4 (default == 2) */ member
|
/linux-6.6.21/arch/x86/kvm/ |
D | lapic.c | 929 static int apic_has_interrupt_for_ppr(struct kvm_lapic *apic, u32 ppr) in apic_has_interrupt_for_ppr() argument 936 if (highest_irr == -1 || (highest_irr & 0xF0) <= ppr) in apic_has_interrupt_for_ppr() 943 u32 tpr, isrv, ppr, old_ppr; in __apic_update_ppr() local 952 ppr = tpr & 0xff; in __apic_update_ppr() 954 ppr = isrv & 0xf0; in __apic_update_ppr() 956 *new_ppr = ppr; in __apic_update_ppr() 957 if (old_ppr != ppr) in __apic_update_ppr() 958 kvm_lapic_set_reg(apic, APIC_PROCPRI, ppr); in __apic_update_ppr() 960 return ppr < old_ppr; in __apic_update_ppr() 965 u32 ppr; in apic_update_ppr() local [all …]
|
/linux-6.6.21/arch/powerpc/kvm/ |
D | book3s_hv_nested.c | 53 hr->ppr = vcpu->arch.ppr; in kvmhv_save_hv_regs() 98 hr->ppr = swab64(hr->ppr); in byteswap_hv_regs() 121 hr->ppr = vcpu->arch.ppr; in save_hv_return_state() 163 vcpu->arch.ppr = hr->ppr; in restore_hv_regs() 191 vcpu->arch.ppr = hr->ppr; in kvmhv_restore_hv_return_state()
|
D | book3s_hv.h | 113 KVMPPC_BOOK3S_HV_VCPU_ACCESSOR(ppr, 64)
|
D | book3s_emulate.c | 92 vcpu->arch.ppr_tm = vcpu->arch.ppr; in kvmppc_copyto_vcpu_tm() 111 vcpu->arch.ppr = vcpu->arch.ppr_tm; in kvmppc_copyfrom_vcpu_tm()
|
/linux-6.6.21/arch/powerpc/include/asm/ |
D | hvcall.h | 613 u64 ppr; member 627 return offsetofend(struct hv_guest_state, ppr); in hv_guest_state_size()
|
D | kvm_book3s_asm.h | 118 u64 ppr; member
|
D | kvm_book3s_64.h | 597 vcpu->arch.ppr = vcpu->arch.ppr_tm; in copy_from_checkpoint() 614 vcpu->arch.ppr_tm = vcpu->arch.ppr; in copy_to_checkpoint()
|
D | ptrace.h | 62 unsigned long ppr; member
|
D | kvm_host.h | 588 ulong ppr; member
|
/linux-6.6.21/include/scsi/ |
D | scsi_device.h | 197 unsigned ppr:1; /* Device supports PPR messages */ member 571 return sdev->ppr; in scsi_device_dt()
|
/linux-6.6.21/arch/x86/include/asm/ |
D | apicdef.h | 225 } ppr; member
|
/linux-6.6.21/arch/powerpc/kernel/ |
D | asm-offsets.c | 299 STACK_PT_REGS_OFFSET(_PPR, ppr); in main() 472 OFFSET(VCPU_PPR, kvm_vcpu, arch.ppr); in main() 609 HSTATE_FIELD(HSTATE_PPR, ppr); in main()
|
/linux-6.6.21/arch/powerpc/kernel/ptrace/ |
D | ptrace-view.c | 296 return membuf_write(&to, &target->thread.regs->ppr, sizeof(u64)); in ppr_get() 307 &target->thread.regs->ppr, 0, sizeof(u64)); in ppr_set()
|
/linux-6.6.21/drivers/video/fbdev/ |
D | cg14.c | 104 u8 ppr; /* Packed Pixel Reg */ member
|