/linux-6.1.9/drivers/pinctrl/nomadik/ |
D | pinctrl-nomadik.h | 30 .reg_index = altc1_ri,\ 35 .reg_index = altc2_ri,\ 40 .reg_index = altc3_ri,\ 45 .reg_index = altc4_ri,\ 79 u8 reg_index:2; member
|
D | pinctrl-nomadik.c | 481 reg = gpiocr_regs[pin_desc->altcx[i].reg_index]; in nmk_prcm_altcx_set_mode() 510 reg = gpiocr_regs[pin_desc->altcx[i].reg_index]; in nmk_prcm_altcx_set_mode() 521 reg = gpiocr_regs[pin_desc->altcx[alt_index].reg_index]; in nmk_prcm_altcx_set_mode() 597 reg = gpiocr_regs[pin_desc->altcx[i].reg_index]; in nmk_prcm_gpiocr_get_mode()
|
/linux-6.1.9/drivers/media/tuners/ |
D | qm1d1c0042.c | 42 static int reg_index; variable 341 for (reg_index = 0; reg_index < QM1D1C0042_NUM_REG_ROWS; in qm1d1c0042_init() 342 reg_index++) { in qm1d1c0042_init() 343 if (val == reg_initval[reg_index][0x00]) in qm1d1c0042_init() 346 if (reg_index >= QM1D1C0042_NUM_REG_ROWS) { in qm1d1c0042_init() 350 memcpy(state->regs, reg_initval[reg_index], QM1D1C0042_NUM_REGS); in qm1d1c0042_init()
|
/linux-6.1.9/drivers/irqchip/ |
D | irq-mtk-sysirq.c | 32 u32 offset, reg_index, value; in mtk_sysirq_set_type() local 37 reg_index = chip_data->which_word[hwirq]; in mtk_sysirq_set_type() 41 value = readl_relaxed(base + reg_index * 4); in mtk_sysirq_set_type() 52 writel_relaxed(value, base + reg_index * 4); in mtk_sysirq_set_type()
|
D | qcom-pdc.c | 250 u32 irq_index, reg_index, val; in pdc_setup_pin_mapping() local 281 reg_index = (i + pdc_region[n].pin_base) >> 5; in pdc_setup_pin_mapping() 283 val = pdc_reg_read(IRQ_ENABLE_BANK, reg_index); in pdc_setup_pin_mapping() 285 pdc_reg_write(IRQ_ENABLE_BANK, reg_index, val); in pdc_setup_pin_mapping()
|
/linux-6.1.9/drivers/power/supply/ |
D | bq27xxx_battery.c | 1109 static inline int bq27xxx_read(struct bq27xxx_device_info *di, int reg_index, in bq27xxx_read() argument 1114 if (!di || di->regs[reg_index] == INVALID_REG_ADDR) in bq27xxx_read() 1117 ret = di->bus.read(di, di->regs[reg_index], single); in bq27xxx_read() 1120 di->regs[reg_index], reg_index); in bq27xxx_read() 1125 static inline int bq27xxx_write(struct bq27xxx_device_info *di, int reg_index, in bq27xxx_write() argument 1130 if (!di || di->regs[reg_index] == INVALID_REG_ADDR) in bq27xxx_write() 1136 ret = di->bus.write(di, di->regs[reg_index], value, single); in bq27xxx_write() 1139 di->regs[reg_index], reg_index); in bq27xxx_write() 1144 static inline int bq27xxx_read_block(struct bq27xxx_device_info *di, int reg_index, in bq27xxx_read_block() argument 1149 if (!di || di->regs[reg_index] == INVALID_REG_ADDR) in bq27xxx_read_block() [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_lsdma.c | 30 uint32_t reg_index, uint32_t reg_val, in amdgpu_lsdma_wait_for() argument 37 val = RREG32(reg_index); in amdgpu_lsdma_wait_for()
|
D | clearstate_defs.h | 35 const unsigned int reg_index; member
|
D | amdgpu_lsdma.h | 43 int amdgpu_lsdma_wait_for(struct amdgpu_device *adev, uint32_t reg_index,
|
/linux-6.1.9/tools/arch/x86/kcpuid/ |
D | kcpuid.c | 310 int reg_index; in parse_line() local 358 reg_index = R_EAX; in parse_line() 360 reg_index = R_EBX; in parse_line() 362 reg_index = R_ECX; in parse_line() 364 reg_index = R_EDX; in parse_line() 368 reg = &leaf->info[reg_index]; in parse_line()
|
/linux-6.1.9/arch/powerpc/platforms/ps3/ |
D | platform.h | 114 unsigned int dev_index, unsigned int reg_index, 117 unsigned int dev_index, unsigned int reg_index, u64 *bus_addr, 120 unsigned int dev_index, unsigned int reg_index,
|
D | repository.c | 250 unsigned int dev_index, unsigned int reg_index, in ps3_repository_read_dev_reg_type() argument 259 make_field("reg", reg_index), in ps3_repository_read_dev_reg_type() 267 unsigned int dev_index, unsigned int reg_index, u64 *bus_addr, u64 *len) in ps3_repository_read_dev_reg_addr() argument 272 make_field("reg", reg_index), in ps3_repository_read_dev_reg_addr() 278 unsigned int dev_index, unsigned int reg_index, in ps3_repository_read_dev_reg() argument 282 reg_index, reg_type); in ps3_repository_read_dev_reg() 285 reg_index, bus_addr, len); in ps3_repository_read_dev_reg()
|
/linux-6.1.9/drivers/media/dvb-frontends/ |
D | stv0900_core.c | 882 reg_index, in stv0900_activate_s2_modcod() local 894 reg_index = MODCODLSTF - mod_code / 2; in stv0900_activate_s2_modcod() 916 stv0900_write_reg(intp, reg_index, in stv0900_activate_s2_modcod() 919 stv0900_write_reg(intp, reg_index, in stv0900_activate_s2_modcod() 924 for (reg_index = 0; reg_index < 7; reg_index++) in stv0900_activate_s2_modcod() 925 stv0900_write_reg(intp, MODCODLST0 + reg_index, 0xff); in stv0900_activate_s2_modcod() 929 for (reg_index = 0; reg_index < 8; reg_index++) in stv0900_activate_s2_modcod() 930 stv0900_write_reg(intp, MODCODLST7 + reg_index, 0xcc); in stv0900_activate_s2_modcod() 939 u32 reg_index; in stv0900_activate_s2_modcod_single() local 946 for (reg_index = 0; reg_index < 13; reg_index++) in stv0900_activate_s2_modcod_single() [all …]
|
/linux-6.1.9/drivers/gpu/drm/radeon/ |
D | clearstate_defs.h | 35 const unsigned int reg_index; member
|
D | sumo_dpm.c | 476 u32 reg_index = index / 4; in sumo_set_divider_value() local 480 WREG32_P(CG_SCLK_DPM_CTRL + (reg_index * 4), in sumo_set_divider_value() 483 WREG32_P(CG_SCLK_DPM_CTRL + (reg_index * 4), in sumo_set_divider_value() 486 WREG32_P(CG_SCLK_DPM_CTRL + (reg_index * 4), in sumo_set_divider_value() 489 WREG32_P(CG_SCLK_DPM_CTRL + (reg_index * 4), in sumo_set_divider_value() 582 u32 reg_index = index / 4; in sumo_power_level_enable() local 586 WREG32_P(CG_SCLK_DPM_CTRL + (reg_index * 4), in sumo_power_level_enable() 589 WREG32_P(CG_SCLK_DPM_CTRL + (reg_index * 4), in sumo_power_level_enable() 592 WREG32_P(CG_SCLK_DPM_CTRL + (reg_index * 4), in sumo_power_level_enable() 595 WREG32_P(CG_SCLK_DPM_CTRL + (reg_index * 4), in sumo_power_level_enable()
|
/linux-6.1.9/sound/pci/oxygen/ |
D | xonar_wm87x6.c | 505 unsigned int reg_index = (ctl->private_value >> 16) & 0xff; in wm8776_bit_switch_get() local 509 ((data->wm8776_regs[reg_index] & bit) != 0) ^ invert; in wm8776_bit_switch_get() 520 unsigned int reg_index = (ctl->private_value >> 16) & 0xff; in wm8776_bit_switch_put() local 525 reg_value = data->wm8776_regs[reg_index] & ~bit; in wm8776_bit_switch_put() 528 changed = reg_value != data->wm8776_regs[reg_index]; in wm8776_bit_switch_put() 530 wm8776_write(chip, reg_index, reg_value); in wm8776_bit_switch_put() 612 unsigned int value, reg_index, mode; in wm8776_field_set_from_ctl() local 630 reg_index = (ctl->private_value >> 24) & 0x1f; in wm8776_field_set_from_ctl() 635 reg_value = data->wm8776_regs[reg_index]; in wm8776_field_set_from_ctl() 638 wm8776_write_cached(chip, reg_index, reg_value); in wm8776_field_set_from_ctl()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce/ |
D | dce_audio.c | 56 uint32_t reg_index, in write_indirect_azalia_reg() argument 63 AZALIA_ENDPOINT_REG_INDEX, reg_index); in write_indirect_azalia_reg() 70 static uint32_t read_indirect_azalia_reg(struct audio *audio, uint32_t reg_index) in read_indirect_azalia_reg() argument 78 AZALIA_ENDPOINT_REG_INDEX, reg_index); in read_indirect_azalia_reg()
|
/linux-6.1.9/drivers/scsi/libsas/ |
D | sas_host_smp.c | 114 u8 reg_type, u8 reg_index, u8 reg_count, in sas_host_smp_write_gpio() argument 125 written = i->dft->lldd_write_gpio(sas_ha, reg_type, reg_index, in sas_host_smp_write_gpio()
|
/linux-6.1.9/drivers/platform/x86/ |
D | pmc_atom.c | 256 static void pmc_dev_state_print(struct seq_file *s, int reg_index, in pmc_dev_state_print() argument 260 int offset = PMC_REG_BIT_WIDTH * reg_index; in pmc_dev_state_print()
|
/linux-6.1.9/arch/arm/mach-omap2/ |
D | omap-wakeupgen.c | 92 static inline int _wakeupgen_get_irq_info(u32 irq, u32 *bit_posn, u8 *reg_index) in _wakeupgen_get_irq_info() argument 98 *reg_index = irq >> 5; in _wakeupgen_get_irq_info()
|
/linux-6.1.9/drivers/scsi/mvsas/ |
D | mv_sas.h | 158 u8 reg_index, u8 reg_count, u8 *write_data); 459 int mvs_gpio_write(struct sas_ha_struct *, u8 reg_type, u8 reg_index,
|
D | mv_94xx.c | 1042 u8 reg_type, u8 reg_index, in mvs_94xx_gpio_write() argument 1050 if (reg_index == 0) in mvs_94xx_gpio_write() 1113 if (reg_index + reg_count > mvs_prv->n_host) in mvs_94xx_gpio_write() 1117 struct mvs_info *mvi = mvs_prv->mvi[i+reg_index]; in mvs_94xx_gpio_write()
|
/linux-6.1.9/drivers/regulator/ |
D | da9121-regulator.c | 137 int reg_index; /* index for status/event/mask register selection */ member 642 int reg_idx = item->reg_index; in da9121_status_poll_on() 713 int reg_idx = item->reg_index; in da9121_irq_handler()
|
/linux-6.1.9/drivers/scsi/isci/ |
D | host.h | 514 int isci_gpio_write(struct sas_ha_struct *, u8 reg_type, u8 reg_index,
|
D | host.c | 2753 static int sci_write_gpio_tx_gp(struct isci_host *ihost, u8 reg_index, u8 reg_count, u8 *write_data) in sci_write_gpio_tx_gp() argument 2758 if (reg_index == 0) in sci_write_gpio_tx_gp() 2769 write_data, reg_index, in sci_write_gpio_tx_gp() 2789 int isci_gpio_write(struct sas_ha_struct *sas_ha, u8 reg_type, u8 reg_index, in isci_gpio_write() argument 2797 written = sci_write_gpio_tx_gp(ihost, reg_index, reg_count, write_data); in isci_gpio_write()
|