| /linux/drivers/net/wireless/broadcom/b43/ |
| H A 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 …]
|
| H A 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,
|
| H A D | Makefile | 23 b43-y += ppr.o
|
| /linux/tools/testing/selftests/powerpc/ptrace/ |
| H A 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()
|
| H A 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/drivers/hwmon/ |
| H A 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()
|
| H A D | max6639.c | 78 u8 ppr[MAX6639_NUM_CHANNELS]; /* Pulses per rotation 0..3 for 1..4 ppr */ member 225 *fan_val = data->ppr[channel]; in max6639_read_fan() 232 static int max6639_set_ppr(struct max6639_data *data, int channel, u8 ppr) in max6639_set_ppr() argument 235 return regmap_write(data->regmap, MAX6639_REG_FAN_PPR(channel), --ppr << 6); in max6639_set_ppr() 253 data->ppr[channel] = val; in max6639_write_fan() 547 data->ppr[i] = val; in max6639_probe_child_from_dt() 575 data->ppr[0] = 2; in max6639_init_client() 576 data->ppr[1] = 2; in max6639_init_client() 599 err = max6639_set_ppr(data, i, data->ppr[i]); in max6639_init_client()
|
| /linux/arch/powerpc/kvm/ |
| H A 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() 197 vcpu->arch.ppr = hr->ppr; in kvmhv_restore_hv_return_state()
|
| H A D | book3s_hv.h | 124 KVMPPC_BOOK3S_HV_VCPU_ACCESSOR(ppr, 64, KVMPPC_GSID_PPR)
|
| H A 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()
|
| H A D | book3s_hv_p9_entry.c | 765 vcpu->arch.ppr = exsave[EX_PPR/sizeof(u64)]; in kvmhv_vcpu_entry_p9()
|
| /linux/drivers/iommu/amd/ |
| H A D | ppr.c | 265 dev_data->ppr = true; in amd_iommu_iopf_add_device() 274 dev_data->ppr = false; in amd_iommu_iopf_remove_device()
|
| H A D | amd_iommu_types.h | 838 u8 ppr :1; /* Enable device PPR support */ member
|
| H A D | iommu.c | 2088 (dev_data->ppr ? DTE_FLAG_PPR : 0) | in set_dte_gcr3_table() 2417 if (dev_data->ppr) { in detach_device()
|
| /linux/arch/powerpc/include/asm/ |
| H A D | kvm_book3s_asm.h | 118 u64 ppr; member
|
| H A D | ptrace.h | 62 unsigned long ppr; member
|
| /linux/drivers/video/fbdev/ |
| H A D | cg14.c | 97 u8 ppr; /* Packed Pixel Reg */ member
|
| /linux/drivers/scsi/ |
| H A D | scsi_scan.c | 975 sdev->ppr = 1; in scsi_add_lun()
|
| H A D | advansys.c | 7363 if (adv_dvc->chip_type == ADV_CHIP_ASC38C1600 && sdev->ppr) in advansys_wide_sdev_configure()
|
| /linux/drivers/scsi/sym53c8xx_2/ |
| H A D | sym_hipd.c | 2716 dev->ppr = 0;
|