/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
|
H A 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/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 | 81 u8 ppr[MAX6639_NUM_CHANNELS]; /* Pulses per rotation 0..3 for 1..4 ppr */ member 227 *fan_val = data->ppr[channel]; in max6639_read_fan() 234 static int max6639_set_ppr(struct max6639_data *data, int channel, u8 ppr) in max6639_set_ppr() argument 237 return regmap_write(data->regmap, MAX6639_REG_FAN_PPR(channel), ppr-- << 6); in max6639_set_ppr() 258 data->ppr[channel] = val; in max6639_write_fan() 559 data->ppr[i] = val; in max6639_probe_child_from_dt() 583 data->ppr[0] = 2; in max6639_init_client() 584 data->ppr[1] = 2; in max6639_init_client() 607 err = max6639_set_ppr(data, i, data->ppr[i]); in max6639_init_client()
|
/linux/drivers/iommu/amd/ |
H A D | Makefile | 2 obj-$(CONFIG_AMD_IOMMU) += iommu.o init.o quirks.o io_pgtable.o io_pgtable_v2.o ppr.o pasid.o
|
H A D | amd_iommu_types.h | 862 u8 ppr :1; /* Enable device PPR support */ member
|
H A D | iommu.c | 2061 if (dev_data->ppr) in set_dte_entry() 2322 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/include/scsi/ |
H A D | scsi_device.h | 198 unsigned ppr:1; /* Device supports PPR messages */ member 619 return sdev->ppr; in scsi_device_dt()
|
/linux/arch/powerpc/kvm/ |
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/arch/powerpc/kernel/ptrace/ |
H A 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/drivers/video/fbdev/ |
H A D | cg14.c | 97 u8 ppr; /* Packed Pixel Reg */ member
|
/linux/drivers/scsi/ |
H A D | scsi_scan.c | 973 sdev->ppr = 1; in scsi_add_lun()
|
H A D | qla1280.c | 1198 nv->bus[bus].target[target].ppr_1x160.flags.enable_ppr = device->ppr; in qla1280_sdev_configure()
|
H A D | advansys.c | 7364 if (adv_dvc->chip_type == ADV_CHIP_ASC38C1600 && sdev->ppr) in advansys_wide_sdev_configure()
|
/linux/drivers/message/fusion/ |
H A D | mptscsih.c | 2422 sdev->ppr, sdev->inquiry_len)); in mptscsih_sdev_configure()
|
/linux/drivers/scsi/sym53c8xx_2/ |
H A D | sym_hipd.c | 2716 dev->ppr = 0;
|