Home
last modified time | relevance | path

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

/drivers/gpio/
Dgpio-sch311x.c46 unsigned short *config_regs; /* pointer to definition below */ member
57 unsigned short config_regs[8]; member
66 .config_regs = {0x23, 0x24, 0x25, 0x26, 0x27, 0x29, 0x2a, 0x2b},
71 .config_regs = {0x00, 0x2c, 0x2d, 0x00, 0x00, 0x00, 0x00, 0x32},
76 .config_regs = {0x33, 0x34, 0x35, 0x36, 0x37, 0x00, 0x39, 0x3a},
81 .config_regs = {0x3b, 0x00, 0x3d, 0x00, 0x6e, 0x6f, 0x72, 0x73},
86 .config_regs = {0x3f, 0x40, 0x41, 0x42, 0x43, 0x44, 0x45, 0x46},
91 .config_regs = {0x47, 0x48, 0x54, 0x55, 0x56, 0x57, 0x58, 0x59},
147 if (block->config_regs[offset] == 0) /* GPIO is not available */ in sch311x_gpio_request()
150 if (!request_region(block->runtime_reg + block->config_regs[offset], in sch311x_gpio_request()
[all …]
/drivers/atm/
Dsolos-pci.c115 void __iomem *config_regs; member
531 data32 = ioread32(card->config_regs + GPIO_STATUS); in geos_gpio_store()
534 iowrite32(data32, card->config_regs + GPIO_STATUS); in geos_gpio_store()
537 iowrite32(data32, card->config_regs + GPIO_STATUS); in geos_gpio_store()
553 data32 = ioread32(card->config_regs + GPIO_STATUS); in geos_gpio_show()
567 data32 = ioread32(card->config_regs + GPIO_STATUS); in hardware_show()
689 iowrite32(DRIVER_VERSION, card->config_regs + DRIVER_VER); in flash_upgrade()
696 iowrite32(1, card->config_regs + FPGA_MODE); in flash_upgrade()
697 (void) ioread32(card->config_regs + FPGA_MODE); in flash_upgrade()
704 iowrite32((chip * 2), card->config_regs + FLASH_MODE); in flash_upgrade()
[all …]
/drivers/pcmcia/
Dpcmcia_resource.c525 if (!(p_dev->config_regs & PRESENT_STATUS)) in pcmcia_enable_device()
534 p_dev->config_regs |= PRESENT_EXT_STATUS; in pcmcia_enable_device()
542 p_dev->vpp, flags, p_dev->config_base, p_dev->config_regs, in pcmcia_enable_device()
547 if (p_dev->config_regs & PRESENT_COPY) { in pcmcia_enable_device()
552 if (p_dev->config_regs & PRESENT_PIN_REPLACE) { in pcmcia_enable_device()
557 if (p_dev->config_regs & PRESENT_OPTION) { in pcmcia_enable_device()
563 if (p_dev->config_regs & PRESENT_IOBASE_0) in pcmcia_enable_device()
572 if (p_dev->config_regs & PRESENT_STATUS) in pcmcia_enable_device()
575 if (p_dev->config_regs & PRESENT_EXT_STATUS) in pcmcia_enable_device()
579 if (p_dev->config_regs & PRESENT_IOBASE_0) { in pcmcia_enable_device()
[all …]
Dds.c283 p_dev->config_regs = cis_config.rmask[0]; in pcmcia_device_probe()
285 p_dev->config_regs); in pcmcia_device_probe()
290 p_dev->config_regs = 0; in pcmcia_device_probe()
/drivers/char/xilinx_hwicap/
Dxilinx_hwicap.c237 buffer[index++] = hwicap_type_1_write(drvdata->config_regs->CMD) | 1; in hwicap_command_desync()
338 drvdata, drvdata->config_regs->IDCODE, &idcode); in hwicap_initialize_hwicap()
601 const struct config_registers *config_regs) in hwicap_setup() argument
669 drvdata->config_regs = config_regs; in hwicap_setup()
Dxilinx_hwicap.h57 const struct config_registers *config_regs; member
/drivers/gpu/drm/radeon/
Dkv_dpm.c285 const struct kv_pt_config_reg *config_regs = cac_config_regs; in kv_program_pt_config_registers() local
289 if (config_regs == NULL) in kv_program_pt_config_registers()
292 while (config_regs->offset != 0xFFFFFFFF) { in kv_program_pt_config_registers()
293 if (config_regs->type == KV_CONFIGREG_CACHE) { in kv_program_pt_config_registers()
294 cache |= ((config_regs->value << config_regs->shift) & config_regs->mask); in kv_program_pt_config_registers()
296 switch (config_regs->type) { in kv_program_pt_config_registers()
298 data = RREG32_SMC(config_regs->offset); in kv_program_pt_config_registers()
301 data = RREG32_DIDT(config_regs->offset); in kv_program_pt_config_registers()
304 data = RREG32(config_regs->offset << 2); in kv_program_pt_config_registers()
308 data &= ~config_regs->mask; in kv_program_pt_config_registers()
[all …]
Dci_dpm.c568 const struct ci_pt_config_reg *config_regs = cac_config_regs; in ci_program_pt_config_registers() local
572 if (config_regs == NULL) in ci_program_pt_config_registers()
575 while (config_regs->offset != 0xFFFFFFFF) { in ci_program_pt_config_registers()
576 if (config_regs->type == CISLANDS_CONFIGREG_CACHE) { in ci_program_pt_config_registers()
577 cache |= ((config_regs->value << config_regs->shift) & config_regs->mask); in ci_program_pt_config_registers()
579 switch (config_regs->type) { in ci_program_pt_config_registers()
581 data = RREG32_SMC(config_regs->offset); in ci_program_pt_config_registers()
584 data = RREG32_DIDT(config_regs->offset); in ci_program_pt_config_registers()
587 data = RREG32(config_regs->offset << 2); in ci_program_pt_config_registers()
591 data &= ~config_regs->mask; in ci_program_pt_config_registers()
[all …]
Dsi_dpm.c2739 const struct si_cac_config_reg *config_regs = cac_config_regs; in si_program_cac_config_registers() local
2742 if (!config_regs) in si_program_cac_config_registers()
2745 while (config_regs->offset != 0xFFFFFFFF) { in si_program_cac_config_registers()
2746 switch (config_regs->type) { in si_program_cac_config_registers()
2748 offset = SMC_CG_IND_START + config_regs->offset; in si_program_cac_config_registers()
2753 data = RREG32(config_regs->offset << 2); in si_program_cac_config_registers()
2757 data &= ~config_regs->mask; in si_program_cac_config_registers()
2758 data |= ((config_regs->value << config_regs->shift) & config_regs->mask); in si_program_cac_config_registers()
2760 switch (config_regs->type) { in si_program_cac_config_registers()
2762 offset = SMC_CG_IND_START + config_regs->offset; in si_program_cac_config_registers()
[all …]
/drivers/gpu/drm/amd/amdgpu/
Dkv_dpm.c418 const struct kv_pt_config_reg *config_regs = cac_config_regs; in kv_program_pt_config_registers() local
422 if (config_regs == NULL) in kv_program_pt_config_registers()
425 while (config_regs->offset != 0xFFFFFFFF) { in kv_program_pt_config_registers()
426 if (config_regs->type == KV_CONFIGREG_CACHE) { in kv_program_pt_config_registers()
427 cache |= ((config_regs->value << config_regs->shift) & config_regs->mask); in kv_program_pt_config_registers()
429 switch (config_regs->type) { in kv_program_pt_config_registers()
431 data = RREG32_SMC(config_regs->offset); in kv_program_pt_config_registers()
434 data = RREG32_DIDT(config_regs->offset); in kv_program_pt_config_registers()
437 data = RREG32(config_regs->offset); in kv_program_pt_config_registers()
441 data &= ~config_regs->mask; in kv_program_pt_config_registers()
[all …]
Dci_dpm.c686 const struct ci_pt_config_reg *config_regs = cac_config_regs; in ci_program_pt_config_registers() local
690 if (config_regs == NULL) in ci_program_pt_config_registers()
693 while (config_regs->offset != 0xFFFFFFFF) { in ci_program_pt_config_registers()
694 if (config_regs->type == CISLANDS_CONFIGREG_CACHE) { in ci_program_pt_config_registers()
695 cache |= ((config_regs->value << config_regs->shift) & config_regs->mask); in ci_program_pt_config_registers()
697 switch (config_regs->type) { in ci_program_pt_config_registers()
699 data = RREG32_SMC(config_regs->offset); in ci_program_pt_config_registers()
702 data = RREG32_DIDT(config_regs->offset); in ci_program_pt_config_registers()
705 data = RREG32(config_regs->offset); in ci_program_pt_config_registers()
709 data &= ~config_regs->mask; in ci_program_pt_config_registers()
[all …]
/drivers/isdn/hardware/avm/
Davm_cs.c49 p_dev->config_regs = PRESENT_OPTION; in avmcs_probe()
/drivers/isdn/hisax/
Davma1_cs.c52 p_dev->config_regs = PRESENT_OPTION; in avma1cs_probe()
/drivers/scsi/pcmcia/
Dfdomain_stub.c86 link->config_regs = PRESENT_OPTION; in fdomain_probe()
Daha152x_stub.c101 link->config_regs = PRESENT_OPTION; in aha152x_probe()
Dqlogic_stub.c158 link->config_regs = PRESENT_OPTION; in qlogic_probe()
/drivers/net/can/sja1000/
Dems_pcmcia.c271 dev->config_regs = PRESENT_OPTION; in ems_pcmcia_probe()
/drivers/net/ethernet/amd/
Dnmclan_cs.c455 link->config_regs = PRESENT_OPTION; in nmclan_probe()
/drivers/net/ethernet/8390/
Daxnet_cs.c283 link->config_regs = 0x63; in axnet_config()
/drivers/char/pcmcia/
Dsynclink_cs.c591 link->config_regs = PRESENT_OPTION; in mgslpc_config()