Home
last modified time | relevance | path

Searched refs:config_regs (Results 1 – 24 of 24) sorted by relevance

/linux/drivers/gpio/
H A Dgpio-sch311x.c42 unsigned short *config_regs; /* pointer to definition below */ member
53 unsigned short config_regs[8]; member
62 .config_regs = {0x23, 0x24, 0x25, 0x26, 0x27, 0x29, 0x2a, 0x2b},
67 .config_regs = {0x00, 0x2c, 0x2d, 0x00, 0x00, 0x00, 0x00, 0x32},
72 .config_regs = {0x33, 0x34, 0x35, 0x36, 0x37, 0x00, 0x39, 0x3a},
77 .config_regs = {0x3b, 0x00, 0x3d, 0x00, 0x6e, 0x6f, 0x72, 0x73},
82 .config_regs = {0x3f, 0x40, 0x41, 0x42, 0x43, 0x44, 0x45, 0x46},
87 .config_regs = {0x47, 0x48, 0x54, 0x55, 0x56, 0x57, 0x58, 0x59},
136 if (block->config_regs[offset] == 0) /* GPIO is not available */ in sch311x_gpio_request()
139 if (!request_region(block->runtime_reg + block->config_regs[offset], in sch311x_gpio_request()
[all …]
/linux/drivers/atm/
H A Dsolos-pci.c106 void __iomem *config_regs; member
527 data32 = ioread32(card->config_regs + GPIO_STATUS); in geos_gpio_store()
530 iowrite32(data32, card->config_regs + GPIO_STATUS); in geos_gpio_store()
533 iowrite32(data32, card->config_regs + GPIO_STATUS); in geos_gpio_store()
548 data32 = ioread32(card->config_regs + GPIO_STATUS); in geos_gpio_show()
561 data32 = ioread32(card->config_regs + GPIO_STATUS); in hardware_show()
683 iowrite32(DRIVER_VERSION, card->config_regs + DRIVER_VER); in flash_upgrade()
690 iowrite32(1, card->config_regs + FPGA_MODE); in flash_upgrade()
691 (void) ioread32(card->config_regs + FPGA_MODE); in flash_upgrade()
698 iowrite32((chip * 2), card->config_regs + FLASH_MODE); in flash_upgrade()
[all …]
/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dvega10_powertune.c749 …registers(struct pp_hwmgr *hwmgr, const struct vega10_didt_config_reg *config_regs, enum vega10_di… in vega10_program_didt_config_registers() argument
753 …PP_ASSERT_WITH_CODE((config_regs != NULL), "[vega10_program_didt_config_registers] Invalid config … in vega10_program_didt_config_registers()
755 while (config_regs->offset != 0xFFFFFFFF) { in vega10_program_didt_config_registers()
758 data = cgs_read_ind_register(hwmgr->device, CGS_IND_REG__DIDT, config_regs->offset); in vega10_program_didt_config_registers()
759 data &= ~config_regs->mask; in vega10_program_didt_config_registers()
760 data |= ((config_regs->value << config_regs->shift) & config_regs->mask); in vega10_program_didt_config_registers()
761 cgs_write_ind_register(hwmgr->device, CGS_IND_REG__DIDT, config_regs->offset, data); in vega10_program_didt_config_registers()
764 data = cgs_read_ind_register(hwmgr->device, CGS_IND_REG_GC_CAC, config_regs->offset); in vega10_program_didt_config_registers()
765 data &= ~config_regs->mask; in vega10_program_didt_config_registers()
766 data |= ((config_regs->value << config_regs->shift) & config_regs->mask); in vega10_program_didt_config_registers()
[all …]
H A Dsmu7_powertune.c900 const struct gpu_pt_config_reg *config_regs = cac_config_regs; in smu7_program_pt_config_registers() local
904 PP_ASSERT_WITH_CODE((config_regs != NULL), "Invalid config register table.", return -EINVAL); in smu7_program_pt_config_registers()
906 while (config_regs->offset != 0xFFFFFFFF) { in smu7_program_pt_config_registers()
907 if (config_regs->type == GPU_CONFIGREG_CACHE) in smu7_program_pt_config_registers()
908 cache |= ((config_regs->value << config_regs->shift) & config_regs->mask); in smu7_program_pt_config_registers()
910 switch (config_regs->type) { in smu7_program_pt_config_registers()
912 data = cgs_read_ind_register(hwmgr->device, CGS_IND_REG__SMC, config_regs->offset); in smu7_program_pt_config_registers()
916 data = cgs_read_ind_register(hwmgr->device, CGS_IND_REG__DIDT, config_regs->offset); in smu7_program_pt_config_registers()
920 data = cgs_read_ind_register(hwmgr->device, CGS_IND_REG_GC_CAC, config_regs->offset); in smu7_program_pt_config_registers()
924 data = cgs_read_register(hwmgr->device, config_regs->offset); in smu7_program_pt_config_registers()
[all …]
/linux/drivers/pcmcia/
H A Dpcmcia_resource.c518 if (!(p_dev->config_regs & PRESENT_STATUS)) in pcmcia_enable_device()
527 p_dev->config_regs |= PRESENT_EXT_STATUS; in pcmcia_enable_device()
535 p_dev->vpp, flags, p_dev->config_base, p_dev->config_regs, in pcmcia_enable_device()
540 if (p_dev->config_regs & PRESENT_COPY) { in pcmcia_enable_device()
545 if (p_dev->config_regs & PRESENT_PIN_REPLACE) { in pcmcia_enable_device()
550 if (p_dev->config_regs & PRESENT_OPTION) { in pcmcia_enable_device()
556 if (p_dev->config_regs & PRESENT_IOBASE_0) in pcmcia_enable_device()
565 if (p_dev->config_regs & PRESENT_STATUS) in pcmcia_enable_device()
568 if (p_dev->config_regs & PRESENT_EXT_STATUS) in pcmcia_enable_device()
572 if (p_dev->config_regs & PRESENT_IOBASE_0) { in pcmcia_enable_device()
[all …]
H A Dds.c280 p_dev->config_regs = cis_config.rmask[0]; in pcmcia_device_probe()
282 p_dev->config_regs); in pcmcia_device_probe()
287 p_dev->config_regs = 0; in pcmcia_device_probe()
/linux/drivers/char/xilinx_hwicap/
H A Dxilinx_hwicap.c235 buffer[index++] = hwicap_type_1_write(drvdata->config_regs->CMD) | 1; in hwicap_command_desync()
339 drvdata, drvdata->config_regs->IDCODE, &idcode); in hwicap_initialize_hwicap()
601 const struct config_registers *config_regs) in hwicap_setup() argument
650 drvdata->config_regs = config_regs; in hwicap_setup()
H A Dxilinx_hwicap.h57 const struct config_registers *config_regs; member
/linux/drivers/gpu/drm/radeon/
H A Dkv_dpm.c160 const struct kv_pt_config_reg *config_regs = cac_config_regs; in kv_program_pt_config_registers() local
164 if (config_regs == NULL) in kv_program_pt_config_registers()
167 while (config_regs->offset != 0xFFFFFFFF) { in kv_program_pt_config_registers()
168 if (config_regs->type == KV_CONFIGREG_CACHE) { in kv_program_pt_config_registers()
169 cache |= ((config_regs->value << config_regs->shift) & config_regs->mask); in kv_program_pt_config_registers()
171 switch (config_regs->type) { in kv_program_pt_config_registers()
173 data = RREG32_SMC(config_regs->offset); in kv_program_pt_config_registers()
176 data = RREG32_DIDT(config_regs->offset); in kv_program_pt_config_registers()
179 data = RREG32(config_regs->offset << 2); in kv_program_pt_config_registers()
183 data &= ~config_regs->mask; in kv_program_pt_config_registers()
[all …]
H A Dci_dpm.c541 const struct ci_pt_config_reg *config_regs = cac_config_regs; in ci_program_pt_config_registers() local
545 if (config_regs == NULL) in ci_program_pt_config_registers()
548 while (config_regs->offset != 0xFFFFFFFF) { in ci_program_pt_config_registers()
549 if (config_regs->type == CISLANDS_CONFIGREG_CACHE) { in ci_program_pt_config_registers()
550 cache |= ((config_regs->value << config_regs->shift) & config_regs->mask); in ci_program_pt_config_registers()
552 switch (config_regs->type) { in ci_program_pt_config_registers()
554 data = RREG32_SMC(config_regs->offset); in ci_program_pt_config_registers()
557 data = RREG32_DIDT(config_regs->offset); in ci_program_pt_config_registers()
560 data = RREG32(config_regs->offset << 2); in ci_program_pt_config_registers()
564 data &= ~config_regs->mask; in ci_program_pt_config_registers()
[all …]
H A Dsi_dpm.c2675 const struct si_cac_config_reg *config_regs = cac_config_regs; in si_program_cac_config_registers() local
2678 if (!config_regs) in si_program_cac_config_registers()
2681 while (config_regs->offset != 0xFFFFFFFF) { in si_program_cac_config_registers()
2682 switch (config_regs->type) { in si_program_cac_config_registers()
2684 offset = SMC_CG_IND_START + config_regs->offset; in si_program_cac_config_registers()
2689 data = RREG32(config_regs->offset << 2); in si_program_cac_config_registers()
2693 data &= ~config_regs->mask; in si_program_cac_config_registers()
2694 data |= ((config_regs->value << config_regs->shift) & config_regs->mask); in si_program_cac_config_registers()
2696 switch (config_regs->type) { in si_program_cac_config_registers()
2698 offset = SMC_CG_IND_START + config_regs->offset; in si_program_cac_config_registers()
[all …]
/linux/drivers/gpu/drm/amd/pm/legacy-dpm/
H A Dkv_dpm.c403 const struct kv_pt_config_reg *config_regs = cac_config_regs; in kv_program_pt_config_registers() local
407 if (config_regs == NULL) in kv_program_pt_config_registers()
410 while (config_regs->offset != 0xFFFFFFFF) { in kv_program_pt_config_registers()
411 if (config_regs->type == KV_CONFIGREG_CACHE) { in kv_program_pt_config_registers()
412 cache |= ((config_regs->value << config_regs->shift) & config_regs->mask); in kv_program_pt_config_registers()
414 switch (config_regs->type) { in kv_program_pt_config_registers()
416 data = RREG32_SMC(config_regs->offset); in kv_program_pt_config_registers()
419 data = RREG32_DIDT(config_regs->offset); in kv_program_pt_config_registers()
422 data = RREG32(config_regs->offset); in kv_program_pt_config_registers()
426 data &= ~config_regs->mask; in kv_program_pt_config_registers()
[all …]
H A Dsi_dpm.c2835 const struct si_cac_config_reg *config_regs = cac_config_regs; in si_program_cac_config_registers() local
2838 if (!config_regs) in si_program_cac_config_registers()
2841 while (config_regs->offset != 0xFFFFFFFF) { in si_program_cac_config_registers()
2842 switch (config_regs->type) { in si_program_cac_config_registers()
2844 offset = SMC_CG_IND_START + config_regs->offset; in si_program_cac_config_registers()
2849 data = RREG32(config_regs->offset); in si_program_cac_config_registers()
2853 data &= ~config_regs->mask; in si_program_cac_config_registers()
2854 data |= ((config_regs->value << config_regs->shift) & config_regs->mask); in si_program_cac_config_registers()
2856 switch (config_regs->type) { in si_program_cac_config_registers()
2858 offset = SMC_CG_IND_START + config_regs->offset; in si_program_cac_config_registers()
[all …]
/linux/drivers/scsi/pcmcia/
H A Dfdomain_cs.c37 link->config_regs = PRESENT_OPTION; in fdomain_probe()
H A Daha152x_stub.c105 link->config_regs = PRESENT_OPTION; in aha152x_probe()
H A Dqlogic_stub.c161 link->config_regs = PRESENT_OPTION; in qlogic_probe()
/linux/drivers/media/pci/intel/ipu6/
H A Dipu6-isys-mcd-phy.c497 static const struct phy_reg **config_regs[3] = { variable
652 phy_config_regs = config_regs[cfg.nlanes / 2]; in ipu6_isys_mcd_phy_config()
/linux/include/pcmcia/
H A Dds.h113 unsigned int config_regs; /* PRESENT_ flags below */ member
/linux/sound/pcmcia/pdaudiocf/
H A Dpdaudiocf.c132 link->config_regs = PRESENT_OPTION; in snd_pdacf_probe()
/linux/drivers/net/can/sja1000/
H A Dems_pcmcia.c262 dev->config_regs = PRESENT_OPTION; in ems_pcmcia_probe()
/linux/sound/pcmcia/vx/
H A Dvxpocket.c130 link->config_regs = PRESENT_OPTION; in snd_vxpocket_new()
/linux/sound/soc/ti/
H A Ddavinci-mcasp.c63 u32 config_regs[ARRAY_SIZE(context_regs)]; member
2484 context->config_regs[i] = mcasp_get_reg(mcasp, context_regs[i]); in davinci_mcasp_runtime_suspend()
2510 mcasp_set_reg(mcasp, context_regs[i], context->config_regs[i]); in davinci_mcasp_runtime_resume()
/linux/drivers/net/ethernet/amd/
H A Dnmclan_cs.c451 link->config_regs = PRESENT_OPTION; in nmclan_probe()
/linux/drivers/net/ethernet/8390/
H A Daxnet_cs.c283 link->config_regs = 0x63; in axnet_config()