Home
last modified time | relevance | path

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

12

/Linux-v5.4/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.c5883 struct b43_ppr *ppr = &nphy->tx_pwr_max_ppr; in b43_nphy_op_recalc_txpower() local
5891 b43_ppr_clear(dev, ppr); in b43_nphy_op_recalc_txpower()
5894 b43_ppr_load_max_from_sprom(dev, ppr, B43_BAND_2G); in b43_nphy_op_recalc_txpower()
5900 b43_ppr_apply_max(dev, ppr, max); in b43_nphy_op_recalc_txpower()
5903 Q52_ARG(b43_ppr_get_max(dev, ppr))); in b43_nphy_op_recalc_txpower()
5913 b43_ppr_add(dev, ppr, -hw_gain); in b43_nphy_op_recalc_txpower()
5917 b43_ppr_apply_min(dev, ppr, INT_TO_Q52(8)); in b43_nphy_op_recalc_txpower()
/Linux-v5.4/arch/ia64/kernel/
Dptrace.c828 ptrace_getregs (struct task_struct *child, struct pt_all_user_regs __user *ppr) in ptrace_getregs() argument
839 if (!access_ok(ppr, sizeof(struct pt_all_user_regs))) in ptrace_getregs()
849 if (((unsigned long) ppr & 0x7) != 0) { in ptrace_getregs()
850 dprintk("ptrace:unaligned register address %p\n", ppr); in ptrace_getregs()
865 retval |= __put_user(pt->cr_iip, &ppr->cr_iip); in ptrace_getregs()
866 retval |= __put_user(psr, &ppr->cr_ipsr); in ptrace_getregs()
870 retval |= __put_user(pt->ar_pfs, &ppr->ar[PT_AUR_PFS]); in ptrace_getregs()
871 retval |= __put_user(pt->ar_rsc, &ppr->ar[PT_AUR_RSC]); in ptrace_getregs()
872 retval |= __put_user(pt->ar_bspstore, &ppr->ar[PT_AUR_BSPSTORE]); in ptrace_getregs()
873 retval |= __put_user(pt->ar_unat, &ppr->ar[PT_AUR_UNAT]); in ptrace_getregs()
[all …]
/Linux-v5.4/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.h186 unsigned long ppr, unsigned long dscr) in write_tar_registers() argument
208 *reg = ppr; in write_tar_registers()
277 unsigned long ppr, unsigned long dscr) in write_ckpt_tar_registers() argument
299 *reg = ppr; in write_ckpt_tar_registers()
/Linux-v5.4/drivers/hwmon/
Dmax6639.c88 u8 ppr; /* Pulses per rotation 0..3 for 1..4 ppr */ member
417 if (max6639_info && max6639_info->ppr > 0 && in max6639_init_client()
418 max6639_info->ppr < 5) in max6639_init_client()
419 data->ppr = max6639_info->ppr; in max6639_init_client()
421 data->ppr = 2; in max6639_init_client()
422 data->ppr -= 1; in max6639_init_client()
433 data->ppr << 6); in max6639_init_client()
Dpwm-fan.c287 u32 ppr = 2; in pwm_fan_probe() local
346 of_property_read_u32(dev->of_node, "pulses-per-revolution", &ppr); in pwm_fan_probe()
347 ctx->pulses_per_revolution = ppr; in pwm_fan_probe()
/Linux-v5.4/include/linux/platform_data/
Dmax6639.h11 int ppr; /* Pulses per rotation 1..4 (default == 2) */ member
/Linux-v5.4/arch/x86/kvm/
Dlapic.c666 static int apic_has_interrupt_for_ppr(struct kvm_lapic *apic, u32 ppr) in apic_has_interrupt_for_ppr() argument
673 if (highest_irr == -1 || (highest_irr & 0xF0) <= ppr) in apic_has_interrupt_for_ppr()
680 u32 tpr, isrv, ppr, old_ppr; in __apic_update_ppr() local
689 ppr = tpr & 0xff; in __apic_update_ppr()
691 ppr = isrv & 0xf0; in __apic_update_ppr()
693 *new_ppr = ppr; in __apic_update_ppr()
694 if (old_ppr != ppr) in __apic_update_ppr()
695 kvm_lapic_set_reg(apic, APIC_PROCPRI, ppr); in __apic_update_ppr()
697 return ppr < old_ppr; in __apic_update_ppr()
702 u32 ppr; in apic_update_ppr() local
[all …]
/Linux-v5.4/arch/powerpc/kvm/
Dbook3s_hv_nested.c51 hr->ppr = vcpu->arch.ppr; in kvmhv_save_hv_regs()
93 hr->ppr = swab64(hr->ppr); in byteswap_hv_regs()
115 hr->ppr = vcpu->arch.ppr; in save_hv_return_state()
169 vcpu->arch.ppr = hr->ppr; in restore_hv_regs()
195 vcpu->arch.ppr = hr->ppr; in kvmhv_restore_hv_return_state()
Dbook3s_emulate.c96 vcpu->arch.ppr_tm = vcpu->arch.ppr; in kvmppc_copyto_vcpu_tm()
115 vcpu->arch.ppr = vcpu->arch.ppr_tm; in kvmppc_copyfrom_vcpu_tm()
/Linux-v5.4/arch/powerpc/include/asm/
Dkvm_book3s_asm.h132 u64 ppr;
Dptrace.h54 unsigned long ppr; member
Dkvm_book3s_64.h595 vcpu->arch.ppr = vcpu->arch.ppr_tm; in copy_from_checkpoint()
612 vcpu->arch.ppr_tm = vcpu->arch.ppr; in copy_to_checkpoint()
Dhvcall.h514 u64 ppr; member
Dkvm_host.h584 ulong ppr; member
/Linux-v5.4/include/scsi/
Dscsi_device.h164 unsigned ppr:1; /* Device supports PPR messages */ member
520 return sdev->ppr; in scsi_device_dt()
/Linux-v5.4/arch/x86/include/asm/
Dapicdef.h227 } ppr; member
/Linux-v5.4/arch/powerpc/kernel/
Dasm-offsets.c332 STACK_PT_REGS_OFFSET(_PPR, ppr); in main()
557 OFFSET(VCPU_PPR, kvm_vcpu, arch.ppr); in main()
703 HSTATE_FIELD(HSTATE_PPR, ppr); in main()
Dptrace.c1625 &target->thread.regs->ppr, 0, sizeof(u64)); in ppr_get()
1634 &target->thread.regs->ppr, 0, sizeof(u64)); in ppr_set()
Dprocess.c1677 childregs->ppr = DEFAULT_PPR; in copy_thread_tls()
/Linux-v5.4/drivers/video/fbdev/
Dcg14.c103 u8 ppr; /* Packed Pixel Reg */ member
/Linux-v5.4/drivers/scsi/
Dscsi_scan.c861 sdev->ppr = 1; in scsi_add_lun()

12