Searched defs:config_regs (Results 1 - 7 of 7) sorted by relevance

/drivers/gpio/
H A Dgpio-sch311x.c46 unsigned short *config_regs; /* pointer to definition below */ member in struct:sch311x_gpio_block
57 unsigned short config_regs[8]; member in struct:sch311x_gpio_block_def
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 */
150 if (!request_region(block->runtime_reg + block->config_regs[offse
[all...]
/drivers/char/xilinx_hwicap/
H A Dxilinx_hwicap.c237 buffer[index++] = hwicap_type_1_write(drvdata->config_regs->CMD) | 1;
338 drvdata, drvdata->config_regs->IDCODE, &idcode);
601 const struct config_registers *config_regs)
669 drvdata->config_regs = config_regs;
598 hwicap_setup(struct device *dev, int id, const struct resource *regs_res, const struct hwicap_driver_config *config, const struct config_registers *config_regs) argument
H A Dxilinx_hwicap.h57 const struct config_registers *config_regs; member in struct:hwicap_drvdata
/drivers/atm/
H A Dsolos-pci.c115 void __iomem *config_regs; member in struct:solos_card
531 data32 = ioread32(card->config_regs + GPIO_STATUS);
534 iowrite32(data32, card->config_regs + GPIO_STATUS);
537 iowrite32(data32, card->config_regs + GPIO_STATUS);
553 data32 = ioread32(card->config_regs + GPIO_STATUS);
567 data32 = ioread32(card->config_regs + GPIO_STATUS);
689 iowrite32(DRIVER_VERSION, card->config_regs + DRIVER_VER);
696 iowrite32(1, card->config_regs + FPGA_MODE);
697 (void) ioread32(card->config_regs + FPGA_MODE);
704 iowrite32((chip * 2), card->config_regs
[all...]
/drivers/gpu/drm/radeon/
H A Dkv_dpm.c285 const struct kv_pt_config_reg *config_regs = cac_config_regs; local
289 if (config_regs == NULL)
292 while (config_regs->offset != 0xFFFFFFFF) {
293 if (config_regs->type == KV_CONFIGREG_CACHE) {
294 cache |= ((config_regs->value << config_regs->shift) & config_regs->mask);
296 switch (config_regs->type) {
298 data = RREG32_SMC(config_regs->offset);
301 data = RREG32_DIDT(config_regs
[all...]
H A Dci_dpm.c541 const struct ci_pt_config_reg *config_regs = cac_config_regs; local
545 if (config_regs == NULL)
548 while (config_regs->offset != 0xFFFFFFFF) {
549 if (config_regs->type == CISLANDS_CONFIGREG_CACHE) {
550 cache |= ((config_regs->value << config_regs->shift) & config_regs->mask);
552 switch (config_regs->type) {
554 data = RREG32_SMC(config_regs->offset);
557 data = RREG32_DIDT(config_regs
[all...]
H A Dsi_dpm.c2734 const struct si_cac_config_reg *config_regs = cac_config_regs; local
2737 if (!config_regs)
2740 while (config_regs->offset != 0xFFFFFFFF) {
2741 switch (config_regs->type) {
2743 offset = SMC_CG_IND_START + config_regs->offset;
2748 data = RREG32(config_regs->offset << 2);
2752 data &= ~config_regs->mask;
2753 data |= ((config_regs->value << config_regs->shift) & config_regs
[all...]

Completed in 167 milliseconds