/linux-6.12.1/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
|
/linux-6.12.1/drivers/hwmon/ |
D | max6639.c | 82 u8 ppr[MAX6639_NUM_CHANNELS]; /* Pulses per rotation 0..3 for 1..4 ppr */ member 228 *fan_val = data->ppr[channel]; in max6639_read_fan() 235 static int max6639_set_ppr(struct max6639_data *data, int channel, u8 ppr) in max6639_set_ppr() argument 238 return regmap_write(data->regmap, MAX6639_REG_FAN_PPR(channel), ppr-- << 6); in max6639_set_ppr() 259 data->ppr[channel] = val; in max6639_write_fan() 541 int err, ppr; in max6639_init_client() local 549 if (max6639_info && max6639_info->ppr > 0 && in max6639_init_client() 550 max6639_info->ppr < 5) in max6639_init_client() 551 ppr = max6639_info->ppr; in max6639_init_client() 553 ppr = 2; in max6639_init_client() [all …]
|
D | axi-fan-control.c | 57 u32 ppr; member 148 return DIV_ROUND_CLOSEST(60 * ctl->clk_rate, ctl->ppr * tach); in axi_fan_control_get_fan_rpm() 377 ret = device_property_read_u32(dev, "pulses-per-revolution", &ctl->ppr); in axi_fan_control_init() 382 if (ctl->ppr != 1 && ctl->ppr != 2 && ctl->ppr != 4) in axi_fan_control_init()
|
/linux-6.12.1/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.12.1/include/linux/platform_data/ |
D | max6639.h | 11 int ppr; /* Pulses per rotation 1..4 (default == 2) */ member
|
/linux-6.12.1/drivers/iommu/amd/ |
D | Makefile | 2 obj-$(CONFIG_AMD_IOMMU) += iommu.o init.o quirks.o io_pgtable.o io_pgtable_v2.o ppr.o pasid.o
|
D | ppr.c | 263 dev_data->ppr = true; in amd_iommu_iopf_add_device() 272 dev_data->ppr = false; in amd_iommu_iopf_remove_device()
|
D | iommu.c | 1882 if (dev_data->ppr) in set_dte_entry() 2116 bool ppr = dev_data->ppr; in detach_device() local 2131 if (ppr) { in detach_device() 2135 dev_data->ppr = false; in detach_device() 2146 if (ppr) in detach_device()
|
D | amd_iommu_types.h | 851 u8 ppr :1; /* Enable device PPR support */ member
|
/linux-6.12.1/arch/x86/kvm/ |
D | lapic.c | 943 static int apic_has_interrupt_for_ppr(struct kvm_lapic *apic, u32 ppr) in apic_has_interrupt_for_ppr() argument 950 if (highest_irr == -1 || (highest_irr & 0xF0) <= ppr) in apic_has_interrupt_for_ppr() 957 u32 tpr, isrv, ppr, old_ppr; in __apic_update_ppr() local 966 ppr = tpr & 0xff; in __apic_update_ppr() 968 ppr = isrv & 0xf0; in __apic_update_ppr() 970 *new_ppr = ppr; in __apic_update_ppr() 971 if (old_ppr != ppr) in __apic_update_ppr() 972 kvm_lapic_set_reg(apic, APIC_PROCPRI, ppr); in __apic_update_ppr() 974 return ppr < old_ppr; in __apic_update_ppr() 979 u32 ppr; in apic_update_ppr() local [all …]
|
/linux-6.12.1/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 | 124 KVMPPC_BOOK3S_HV_VCPU_ACCESSOR(ppr, 64, KVMPPC_GSID_PPR)
|
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()
|
D | book3s_hv_nestedv2.c | 212 rc = kvmppc_gse_put_u64(gsb, iden, vcpu->arch.ppr); in gs_msg_ops_vcpu_fill_info() 473 vcpu->arch.ppr = kvmppc_gse_get_u64(gse); in gs_msg_ops_vcpu_refresh_info()
|
/linux-6.12.1/arch/powerpc/include/asm/ |
D | hvcall.h | 643 u64 ppr; member 657 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
|
/linux-6.12.1/include/scsi/ |
D | scsi_device.h | 198 unsigned ppr:1; /* Device supports PPR messages */ member 619 return sdev->ppr; in scsi_device_dt()
|
/linux-6.12.1/arch/powerpc/kernel/ |
D | asm-offsets.c | 297 STACK_PT_REGS_OFFSET(_PPR, ppr); in main() 473 OFFSET(VCPU_PPR, kvm_vcpu, arch.ppr); in main() 610 HSTATE_FIELD(HSTATE_PPR, ppr); in main()
|
/linux-6.12.1/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.12.1/drivers/video/fbdev/ |
D | cg14.c | 97 u8 ppr; /* Packed Pixel Reg */ member
|