Home
last modified time | relevance | path

Searched refs:ppr (Results 1 – 25 of 33) sorted by relevance

12

/linux-6.1.9/drivers/net/wireless/broadcom/b43/
Dppr.c12 #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 …]
Dppr.h36 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,
DMakefile23 b43-y += ppr.o
Dphy_n.c5835 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.1.9/arch/ia64/kernel/
Dptrace.c767 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.1.9/tools/testing/selftests/powerpc/ptrace/
Dptrace-tar.h30 unsigned long ppr, unsigned long dscr) in validate_tar_registers() argument
37 if (reg[1] != ppr) in validate_tar_registers()
Dptrace.h190 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.1.9/drivers/hwmon/
Daxi-fan-control.c56 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()
Dmax6639.c88 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()
Dpwm-fan.c568 u32 ppr = 2; in pwm_fan_probe() local
587 &ppr); in pwm_fan_probe()
588 tach->pulses_per_revolution = ppr; in pwm_fan_probe()
/linux-6.1.9/include/linux/platform_data/
Dmax6639.h11 int ppr; /* Pulses per rotation 1..4 (default == 2) */ member
/linux-6.1.9/arch/x86/kvm/
Dlapic.c764 static int apic_has_interrupt_for_ppr(struct kvm_lapic *apic, u32 ppr) in apic_has_interrupt_for_ppr() argument
771 if (highest_irr == -1 || (highest_irr & 0xF0) <= ppr) in apic_has_interrupt_for_ppr()
778 u32 tpr, isrv, ppr, old_ppr; in __apic_update_ppr() local
787 ppr = tpr & 0xff; in __apic_update_ppr()
789 ppr = isrv & 0xf0; in __apic_update_ppr()
791 *new_ppr = ppr; in __apic_update_ppr()
792 if (old_ppr != ppr) in __apic_update_ppr()
793 kvm_lapic_set_reg(apic, APIC_PROCPRI, ppr); in __apic_update_ppr()
795 return ppr < old_ppr; in __apic_update_ppr()
800 u32 ppr; in apic_update_ppr() local
[all …]
/linux-6.1.9/arch/powerpc/kvm/
Dbook3s_hv_nested.c53 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()
Dbook3s_emulate.c92 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()
Dbook3s_hv_p9_entry.c765 vcpu->arch.ppr = exsave[EX_PPR/sizeof(u64)]; in kvmhv_vcpu_entry_p9()
/linux-6.1.9/arch/powerpc/include/asm/
Dhvcall.h612 u64 ppr; member
626 return offsetofend(struct hv_guest_state, ppr); in hv_guest_state_size()
Dkvm_book3s_asm.h118 u64 ppr; member
Dkvm_book3s_64.h597 vcpu->arch.ppr = vcpu->arch.ppr_tm; in copy_from_checkpoint()
614 vcpu->arch.ppr_tm = vcpu->arch.ppr; in copy_to_checkpoint()
Dptrace.h62 unsigned long ppr; member
Dkvm_host.h588 ulong ppr; member
/linux-6.1.9/include/scsi/
Dscsi_device.h174 unsigned ppr:1; /* Device supports PPR messages */ member
547 return sdev->ppr; in scsi_device_dt()
/linux-6.1.9/arch/x86/include/asm/
Dapicdef.h221 } ppr; member
/linux-6.1.9/arch/powerpc/kernel/
Dasm-offsets.c298 STACK_PT_REGS_OFFSET(_PPR, ppr); in main()
478 OFFSET(VCPU_PPR, kvm_vcpu, arch.ppr); in main()
622 HSTATE_FIELD(HSTATE_PPR, ppr); in main()
/linux-6.1.9/arch/powerpc/kernel/ptrace/
Dptrace-view.c293 return membuf_write(&to, &target->thread.regs->ppr, sizeof(u64)); in ppr_get()
301 &target->thread.regs->ppr, 0, sizeof(u64)); in ppr_set()
/linux-6.1.9/drivers/video/fbdev/
Dcg14.c103 u8 ppr; /* Packed Pixel Reg */ member

12