Searched refs:config_regs (Results 1 - 23 of 23) sorted by relevance

/linux-master/drivers/gpio/
H A Dgpio-sch311x.c42 unsigned short *config_regs; /* pointer to definition below */ member in struct:sch311x_gpio_block
53 unsigned short config_regs[8]; member in struct:sch311x_gpio_block_def
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 */
139 if (!request_region(block->runtime_reg + block->config_regs[offse
[all...]
/linux-master/drivers/atm/
H A Dsolos-pci.c106 void __iomem *config_regs; member in struct:solos_card
527 data32 = ioread32(card->config_regs + GPIO_STATUS);
530 iowrite32(data32, card->config_regs + GPIO_STATUS);
533 iowrite32(data32, card->config_regs + GPIO_STATUS);
548 data32 = ioread32(card->config_regs + GPIO_STATUS);
561 data32 = ioread32(card->config_regs + GPIO_STATUS);
683 iowrite32(DRIVER_VERSION, card->config_regs + DRIVER_VER);
690 iowrite32(1, card->config_regs + FPGA_MODE);
691 (void) ioread32(card->config_regs + FPGA_MODE);
698 iowrite32((chip * 2), card->config_regs
[all...]
/linux-master/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dvega10_powertune.c749 static int vega10_program_didt_config_registers(struct pp_hwmgr *hwmgr, const struct vega10_didt_config_reg *config_regs, enum vega10_didt_config_reg_type reg_type) argument
753 PP_ASSERT_WITH_CODE((config_regs != NULL), "[vega10_program_didt_config_registers] Invalid config register table!", return -EINVAL);
755 while (config_regs->offset != 0xFFFFFFFF) {
758 data = cgs_read_ind_register(hwmgr->device, CGS_IND_REG__DIDT, config_regs->offset);
759 data &= ~config_regs->mask;
760 data |= ((config_regs->value << config_regs->shift) & config_regs->mask);
761 cgs_write_ind_register(hwmgr->device, CGS_IND_REG__DIDT, config_regs->offset, data);
764 data = cgs_read_ind_register(hwmgr->device, CGS_IND_REG_GC_CAC, config_regs
785 vega10_program_gc_didt_config_registers(struct pp_hwmgr *hwmgr, const struct vega10_didt_config_reg *config_regs) argument
[all...]
H A Dsmu7_powertune.c900 const struct gpu_pt_config_reg *config_regs = cac_config_regs; local
904 PP_ASSERT_WITH_CODE((config_regs != NULL), "Invalid config register table.", return -EINVAL);
906 while (config_regs->offset != 0xFFFFFFFF) {
907 if (config_regs->type == GPU_CONFIGREG_CACHE)
908 cache |= ((config_regs->value << config_regs->shift) & config_regs->mask);
910 switch (config_regs->type) {
912 data = cgs_read_ind_register(hwmgr->device, CGS_IND_REG__SMC, config_regs->offset);
916 data = cgs_read_ind_register(hwmgr->device, CGS_IND_REG__DIDT, config_regs
[all...]
/linux-master/drivers/scsi/pcmcia/
H A Dfdomain_cs.c37 link->config_regs = PRESENT_OPTION;
H A Daha152x_stub.c104 link->config_regs = PRESENT_OPTION;
H A Dqlogic_stub.c161 link->config_regs = PRESENT_OPTION;
/linux-master/drivers/pcmcia/
H A Dpcmcia_resource.c518 if (!(p_dev->config_regs & PRESENT_STATUS))
527 p_dev->config_regs |= PRESENT_EXT_STATUS;
535 p_dev->vpp, flags, p_dev->config_base, p_dev->config_regs,
540 if (p_dev->config_regs & PRESENT_COPY) {
545 if (p_dev->config_regs & PRESENT_PIN_REPLACE) {
550 if (p_dev->config_regs & PRESENT_OPTION) {
556 if (p_dev->config_regs & PRESENT_IOBASE_0)
565 if (p_dev->config_regs & PRESENT_STATUS)
568 if (p_dev->config_regs & PRESENT_EXT_STATUS)
572 if (p_dev->config_regs
[all...]
H A Dds.c280 p_dev->config_regs = cis_config.rmask[0];
282 p_dev->config_regs);
287 p_dev->config_regs = 0;
/linux-master/drivers/char/xilinx_hwicap/
H A Dxilinx_hwicap.h57 const struct config_registers *config_regs; member in struct:hwicap_drvdata
H A Dxilinx_hwicap.c235 buffer[index++] = hwicap_type_1_write(drvdata->config_regs->CMD) | 1;
339 drvdata, drvdata->config_regs->IDCODE, &idcode);
601 const struct config_registers *config_regs)
650 drvdata->config_regs = config_regs;
599 hwicap_setup(struct platform_device *pdev, int id, const struct hwicap_driver_config *config, const struct config_registers *config_regs) argument
/linux-master/include/pcmcia/
H A Dds.h113 unsigned int config_regs; /* PRESENT_ flags below */ member in struct:pcmcia_device
/linux-master/drivers/gpu/drm/amd/pm/legacy-dpm/
H A Dkv_dpm.c401 const struct kv_pt_config_reg *config_regs = cac_config_regs; local
405 if (config_regs == NULL)
408 while (config_regs->offset != 0xFFFFFFFF) {
409 if (config_regs->type == KV_CONFIGREG_CACHE) {
410 cache |= ((config_regs->value << config_regs->shift) & config_regs->mask);
412 switch (config_regs->type) {
414 data = RREG32_SMC(config_regs->offset);
417 data = RREG32_DIDT(config_regs
[all...]
H A Dsi_dpm.c2835 const struct si_cac_config_reg *config_regs = cac_config_regs; local
2838 if (!config_regs)
2841 while (config_regs->offset != 0xFFFFFFFF) {
2842 switch (config_regs->type) {
2844 offset = SMC_CG_IND_START + config_regs->offset;
2849 data = RREG32(config_regs->offset);
2853 data &= ~config_regs->mask;
2854 data |= ((config_regs->value << config_regs->shift) & config_regs
[all...]
/linux-master/drivers/gpu/drm/radeon/
H A Dkv_dpm.c160 const struct kv_pt_config_reg *config_regs = cac_config_regs; local
164 if (config_regs == NULL)
167 while (config_regs->offset != 0xFFFFFFFF) {
168 if (config_regs->type == KV_CONFIGREG_CACHE) {
169 cache |= ((config_regs->value << config_regs->shift) & config_regs->mask);
171 switch (config_regs->type) {
173 data = RREG32_SMC(config_regs->offset);
176 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.c2675 const struct si_cac_config_reg *config_regs = cac_config_regs; local
2678 if (!config_regs)
2681 while (config_regs->offset != 0xFFFFFFFF) {
2682 switch (config_regs->type) {
2684 offset = SMC_CG_IND_START + config_regs->offset;
2689 data = RREG32(config_regs->offset << 2);
2693 data &= ~config_regs->mask;
2694 data |= ((config_regs->value << config_regs->shift) & config_regs
[all...]
/linux-master/sound/pcmcia/pdaudiocf/
H A Dpdaudiocf.c133 link->config_regs = PRESENT_OPTION;
/linux-master/sound/pcmcia/vx/
H A Dvxpocket.c130 link->config_regs = PRESENT_OPTION;
/linux-master/drivers/net/can/sja1000/
H A Dems_pcmcia.c262 dev->config_regs = PRESENT_OPTION;
/linux-master/sound/soc/ti/
H A Ddavinci-mcasp.c63 u32 config_regs[ARRAY_SIZE(context_regs)]; member in struct:davinci_mcasp_context
2479 context->config_regs[i] = mcasp_get_reg(mcasp, context_regs[i]);
2505 mcasp_set_reg(mcasp, context_regs[i], context->config_regs[i]);
/linux-master/drivers/net/ethernet/amd/
H A Dnmclan_cs.c451 link->config_regs = PRESENT_OPTION;
/linux-master/drivers/net/ethernet/8390/
H A Daxnet_cs.c283 link->config_regs = 0x63;

Completed in 273 milliseconds