/Linux-v4.19/arch/microblaze/pci/ |
D | indirect_pci.c | 26 volatile void __iomem *cfg_data; in indirect_read_config() local 60 cfg_data = hose->cfg_data + (offset & 3); /* Only 3 bits for function */ in indirect_read_config() 63 *val = in_8(cfg_data); in indirect_read_config() 66 *val = in_le16(cfg_data); in indirect_read_config() 69 *val = in_le32(cfg_data); in indirect_read_config() 80 volatile void __iomem *cfg_data; in indirect_write_config() local 126 cfg_data = hose->cfg_data + (offset & 3); in indirect_write_config() 129 out_8(cfg_data, val); in indirect_write_config() 132 out_le16(cfg_data, val); in indirect_write_config() 135 out_le32(cfg_data, val); in indirect_write_config() [all …]
|
/Linux-v4.19/arch/powerpc/sysdev/ |
D | indirect_pci.c | 27 volatile void __iomem *cfg_data; in __indirect_read_config() local 65 cfg_data = hose->cfg_data + (offset & 3); in __indirect_read_config() 68 *val = in_8(cfg_data); in __indirect_read_config() 71 *val = in_le16(cfg_data); in __indirect_read_config() 74 *val = in_le32(cfg_data); in __indirect_read_config() 93 volatile void __iomem *cfg_data; in indirect_write_config() local 143 cfg_data = hose->cfg_data + (offset & 3); in indirect_write_config() 146 out_8(cfg_data, val); in indirect_write_config() 149 out_le16(cfg_data, val); in indirect_write_config() 152 out_le32(cfg_data, val); in indirect_write_config() [all …]
|
D | grackle.c | 35 val = in_le32(bp->cfg_data); in grackle_set_stg() 39 out_le32(bp->cfg_data, val); in grackle_set_stg() 40 (void)in_le32(bp->cfg_data); in grackle_set_stg() 48 val = in_le32(bp->cfg_data); in grackle_set_loop_snoop() 52 out_le32(bp->cfg_data, val); in grackle_set_loop_snoop() 53 (void)in_le32(bp->cfg_data); in grackle_set_loop_snoop()
|
D | fsl_pci.c | 628 hose, hose->cfg_addr, hose->cfg_data); in fsl_add_bridge() 645 if (((unsigned long)hose->cfg_data & PAGE_MASK) != in fsl_add_bridge() 647 iounmap(hose->cfg_data); in fsl_add_bridge() 877 hose, hose->cfg_addr, hose->cfg_data); in mpc83xx_add_bridge()
|
/Linux-v4.19/drivers/iio/adc/ |
D | vf610_adc.c | 261 int cfg_data = 0; in vf610_adc_cfg_post_set() local 266 cfg_data |= VF610_ADC_ALTCLK_SEL; in vf610_adc_cfg_post_set() 269 cfg_data |= VF610_ADC_ADACK_SEL; in vf610_adc_cfg_post_set() 276 cfg_data |= VF610_ADC_ADLPC_EN; in vf610_adc_cfg_post_set() 279 cfg_data |= VF610_ADC_ADHSC_EN; in vf610_adc_cfg_post_set() 286 cfg_data |= VF610_ADC_REFSEL_VALT; in vf610_adc_cfg_post_set() 289 cfg_data |= VF610_ADC_REFSEL_VBG; in vf610_adc_cfg_post_set() 297 cfg_data |= VF610_ADC_OVWREN; in vf610_adc_cfg_post_set() 299 writel(cfg_data, info->regs + VF610_REG_ADC_CFG); in vf610_adc_cfg_post_set() 330 int cfg_data; in vf610_adc_cfg_set() local [all …]
|
/Linux-v4.19/drivers/clk/samsung/ |
D | clk-cpu.c | 154 const struct exynos_cpuclk_cfg_data *cfg_data = cpuclk->cfg; in exynos_cpuclk_pre_rate_change() local 161 while ((cfg_data->prate * 1000) != ndata->new_rate) { in exynos_cpuclk_pre_rate_change() 162 if (cfg_data->prate == 0) in exynos_cpuclk_pre_rate_change() 164 cfg_data++; in exynos_cpuclk_pre_rate_change() 174 div0 = cfg_data->div0; in exynos_cpuclk_pre_rate_change() 176 div1 = cfg_data->div1; in exynos_cpuclk_pre_rate_change() 231 const struct exynos_cpuclk_cfg_data *cfg_data = cpuclk->cfg; in exynos_cpuclk_post_rate_change() local 238 while ((cfg_data->prate * 1000) != ndata->new_rate) { in exynos_cpuclk_post_rate_change() 239 if (cfg_data->prate == 0) in exynos_cpuclk_post_rate_change() 241 cfg_data++; in exynos_cpuclk_post_rate_change() [all …]
|
/Linux-v4.19/arch/powerpc/platforms/chrp/ |
D | pci.c | 37 volatile void __iomem *cfg_data; in gg2_read_config() local 46 cfg_data = hose->cfg_data + ((bus->number<<16) | (devfn<<8) | off); in gg2_read_config() 49 *val = in_8(cfg_data); in gg2_read_config() 52 *val = in_le16(cfg_data); in gg2_read_config() 55 *val = in_le32(cfg_data); in gg2_read_config() 64 volatile void __iomem *cfg_data; in gg2_write_config() local 73 cfg_data = hose->cfg_data + ((bus->number<<16) | (devfn<<8) | off); in gg2_write_config() 76 out_8(cfg_data, val); in gg2_write_config() 79 out_le16(cfg_data, val); in gg2_write_config() 82 out_le32(cfg_data, val); in gg2_write_config() [all …]
|
/Linux-v4.19/arch/powerpc/platforms/52xx/ |
D | mpc52xx_pci.c | 130 value = in_8(((u8 __iomem *)hose->cfg_data) + in mpc52xx_pci_read_config() 134 value = in_le16(((u16 __iomem *)hose->cfg_data) + in mpc52xx_pci_read_config() 139 value = in_le16((u16 __iomem *)hose->cfg_data) | in mpc52xx_pci_read_config() 140 (in_le16(((u16 __iomem *)hose->cfg_data) + 1) << 16); in mpc52xx_pci_read_config() 147 value = in_le32(hose->cfg_data); in mpc52xx_pci_read_config() 187 out_8(((u8 __iomem *)hose->cfg_data) + in mpc52xx_pci_write_config() 191 out_le16(((u16 __iomem *)hose->cfg_data) + in mpc52xx_pci_write_config() 196 out_le16((u16 __iomem *)hose->cfg_data, in mpc52xx_pci_write_config() 198 out_le16(((u16 __iomem *)hose->cfg_data) + 1, in mpc52xx_pci_write_config() 207 value = in_le32(hose->cfg_data); in mpc52xx_pci_write_config() [all …]
|
/Linux-v4.19/drivers/crypto/qat/qat_common/ |
D | adf_ctl_drv.c | 132 struct adf_user_cfg_ctl_data *cfg_data; in adf_ctl_alloc_resources() local 134 cfg_data = kzalloc(sizeof(*cfg_data), GFP_KERNEL); in adf_ctl_alloc_resources() 135 if (!cfg_data) in adf_ctl_alloc_resources() 139 cfg_data->device_id = ADF_CFG_NO_DEVICE; in adf_ctl_alloc_resources() 141 if (copy_from_user(cfg_data, (void __user *)arg, sizeof(*cfg_data))) { in adf_ctl_alloc_resources() 143 kfree(cfg_data); in adf_ctl_alloc_resources() 147 *ctl_data = cfg_data; in adf_ctl_alloc_resources()
|
/Linux-v4.19/arch/powerpc/platforms/amigaone/ |
D | setup.c | 38 const u32 *cfg_addr, *cfg_data; in amigaone_add_bridge() local 46 cfg_data = of_get_address(dev, 1, NULL, NULL); in amigaone_add_bridge() 47 if ((cfg_addr == NULL) || (cfg_data == NULL)) in amigaone_add_bridge() 62 setup_indirect_pci(hose, cfg_addr[0], cfg_data[0], 0); in amigaone_add_bridge()
|
/Linux-v4.19/arch/powerpc/platforms/powermac/ |
D | pci.c | 162 return hose->cfg_data + offset; in macrisc_cfg_map_bus() 213 hose->cfg_data = ioremap(addr->start + 0xc00000, 0x1000); in setup_chaos() 279 return hose->cfg_data + U3_HT_CFA0(devfn, offset); in u3_ht_cfg_access() 283 return hose->cfg_data + U3_HT_CFA1(bus, devfn, offset); in u3_ht_cfg_access() 424 return hose->cfg_data + offset; in u4_pcie_cfg_map_bus() 463 vendev = in_le32(bp->cfg_data); in init_bandit() 470 rev = in_8(bp->cfg_data); in init_bandit() 482 magic = in_le32(bp->cfg_data); in init_bandit() 487 out_le32(bp->cfg_data, magic); in init_bandit() 612 hose->cfg_data = ioremap(addr->start + 0xc00000, 0x1000); in setup_bandit() [all …]
|
/Linux-v4.19/arch/powerpc/platforms/maple/ |
D | pci.c | 118 return hose->cfg_data + offset; in u3_agp_cfg_access() 205 return hose->cfg_data + u3_ht_cfa0(devfn, offset); in u3_ht_cfg_access() 207 return hose->cfg_data + u3_ht_cfa1(bus, devfn, offset); in u3_ht_cfg_access() 372 return hose->cfg_data + offset; in u4_pcie_cfg_access() 459 hose->cfg_data = ioremap(0xf0000000 + 0xc00000, 0x1000); in setup_u3_agp() 471 hose->cfg_data = ioremap(0xf0000000 + 0xc00000, 0x1000); in setup_u4_pcie() 484 hose->cfg_data = ioremap(0xf2000000, 0x02000000); in setup_u3_ht()
|
/Linux-v4.19/arch/microblaze/include/asm/ |
D | pci-bridge.h | 60 void __iomem *cfg_data; member 129 resource_size_t cfg_data, u32 flags);
|
/Linux-v4.19/drivers/scsi/ |
D | dc395x.c | 494 static struct ParameterData cfg_data[] = { variable 554 module_param_named(adapter_id, cfg_data[CFG_ADAPTER_ID].value, int, 0); 557 module_param_named(max_speed, cfg_data[CFG_MAX_SPEED].value, int, 0); 560 module_param_named(dev_mode, cfg_data[CFG_DEV_MODE].value, int, 0); 563 module_param_named(adapter_mode, cfg_data[CFG_ADAPTER_MODE].value, int, 0); 566 module_param_named(tags, cfg_data[CFG_TAGS].value, int, 0); 569 module_param_named(reset_delay, cfg_data[CFG_RESET_DELAY].value, int, 0); 586 cfg_data[i].value = cfg_data[i].safe; in set_safe_settings() 603 cfg_data[CFG_ADAPTER_ID].value, in fix_settings() 604 cfg_data[CFG_MAX_SPEED].value, in fix_settings() [all …]
|
/Linux-v4.19/drivers/media/dvb-frontends/drx39xyj/ |
D | drx_driver.h | 1289 void *cfg_data; member 2239 data_type cfg_data; \ 2241 config.cfg_data = &cfg_data; \ 2242 cfg_data = value; \ 2250 data_type cfg_data; \ 2252 config.cfg_data = &cfg_data; \ 2255 value = cfg_data; \
|
/Linux-v4.19/drivers/bluetooth/ |
D | btrtl.c | 65 u8 *cfg_data; member 466 memcpy(tbuff + ret, btrtl_dev->cfg_data, btrtl_dev->cfg_len); in btrtl_setup_rtl8723b() 505 kfree(btrtl_dev->cfg_data); in btrtl_free() 577 &btrtl_dev->cfg_data); in btrtl_initialize() 691 config = (struct rtl_vendor_config *)btrtl_dev->cfg_data; in btrtl_get_uart_settings()
|
/Linux-v4.19/arch/powerpc/platforms/pasemi/ |
D | pci.c | 53 return hose->cfg_data + PA_PXP_CFA(bus, devfn, offset); in pa_pxp_cfg_addr() 189 hose->cfg_data = ioremap(0xe0000000, 0x10000000); in setup_pa_pxp()
|
/Linux-v4.19/arch/xtensa/include/asm/ |
D | pci-bridge.h | 46 volatile unsigned char *cfg_data; member
|
/Linux-v4.19/arch/powerpc/include/asm/ |
D | pci-bridge.h | 87 void __iomem *cfg_data; member 154 resource_size_t cfg_data, u32 flags);
|
/Linux-v4.19/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_sp.c | 2830 union bnx2x_mcast_config_data *cfg_data, in bnx2x_mcast_set_one_rule_e2() argument 2849 bin = bnx2x_mcast_bin_from_mac(cfg_data->mac); in bnx2x_mcast_set_one_rule_e2() 2864 bin = cfg_data->bin; in bnx2x_mcast_set_one_rule_e2() 2868 bin = cfg_data->bin; in bnx2x_mcast_set_one_rule_e2() 2873 bin = cfg_data->bin; in bnx2x_mcast_set_one_rule_e2() 2906 union bnx2x_mcast_config_data cfg_data = {NULL}; in bnx2x_mcast_handle_restore_cmd_e2() local 2912 cfg_data.bin = (u8)cur_bin; in bnx2x_mcast_handle_restore_cmd_e2() 2913 o->set_one_rule(bp, o, cnt, &cfg_data, in bnx2x_mcast_handle_restore_cmd_e2() 2938 union bnx2x_mcast_config_data cfg_data = {NULL}; in bnx2x_mcast_hdl_pending_add_e2() local 2943 cfg_data.mac = &pmac_pos->mac[0]; in bnx2x_mcast_hdl_pending_add_e2() [all …]
|
/Linux-v4.19/arch/powerpc/platforms/4xx/ |
D | pci.c | 1600 return (void __iomem *)port->hose->cfg_data + in ppc4xx_pciex_get_config_base() 1921 void __iomem *mbase = NULL, *cfg_data = NULL; in ppc4xx_pciex_port_setup_hose() local 1961 cfg_data = ioremap(port->cfg_space.start + in ppc4xx_pciex_port_setup_hose() 1964 if (cfg_data == NULL) { in ppc4xx_pciex_port_setup_hose() 1969 hose->cfg_data = cfg_data; in ppc4xx_pciex_port_setup_hose() 1986 hose->cfg_addr, hose->cfg_data); in ppc4xx_pciex_port_setup_hose() 2072 if (cfg_data) in ppc4xx_pciex_port_setup_hose() 2073 iounmap(cfg_data); in ppc4xx_pciex_port_setup_hose()
|
/Linux-v4.19/drivers/media/pci/pt1/ |
D | pt1.c | 205 const u8 (*cfg_data)[2]; in config_demod() local 239 cfg_data = va1j5jf8007s_20mhz_configs; in config_demod() 242 cfg_data = va1j5jf8007t_20mhz_configs; in config_demod() 247 cfg_data = va1j5jf8007s_25mhz_configs; in config_demod() 250 cfg_data = va1j5jf8007t_25mhz_configs; in config_demod() 256 ret = i2c_master_send(cl, cfg_data[i], 2); in config_demod()
|
/Linux-v4.19/drivers/usb/gadget/udc/ |
D | pch_udc.c | 360 struct pch_udc_cfg_data cfg_data; member 1702 pch_udc_ep_enable(ep, &ep->dev->cfg_data, desc); in pch_udc_pcd_ep_enable() 2623 dev->cfg_data.cur_intf = (dev_stat & UDC_DEVSTS_INTF_MASK) >> in pch_udc_svc_intf_interrupt() 2625 dev->cfg_data.cur_alt = (dev_stat & UDC_DEVSTS_ALT_MASK) >> in pch_udc_svc_intf_interrupt() 2632 dev->setup_data.wValue = cpu_to_le16(dev->cfg_data.cur_alt); in pch_udc_svc_intf_interrupt() 2633 dev->setup_data.wIndex = cpu_to_le16(dev->cfg_data.cur_intf); in pch_udc_svc_intf_interrupt() 2638 (dev->cfg_data.cur_intf << UDC_CSR_NE_INTF_SHIFT); in pch_udc_svc_intf_interrupt() 2640 (dev->cfg_data.cur_alt << UDC_CSR_NE_ALT_SHIFT); in pch_udc_svc_intf_interrupt() 2665 dev->cfg_data.cur_cfg = (dev_stat & UDC_DEVSTS_CFG_MASK) >> in pch_udc_svc_cfg_interrupt() 2670 dev->setup_data.wValue = cpu_to_le16(dev->cfg_data.cur_cfg); in pch_udc_svc_cfg_interrupt() [all …]
|
/Linux-v4.19/drivers/scsi/bfa/ |
D | bfad.c | 604 bfad->cfg_data.ioc_queue_depth = bfad->ioc_cfg.fwcfg.num_ioim_reqs; in bfad_hal_mem_alloc() 825 bfad->cfg_data.rport_del_timeout = rport_del_timeout; in bfad_drv_init() 826 bfad->cfg_data.lun_queue_depth = bfa_lun_queue_depth; in bfad_drv_init() 827 bfad->cfg_data.io_max_sge = bfa_io_max_sge; in bfad_drv_init() 828 bfad->cfg_data.binding_method = FCP_PWWN_BINDING; in bfad_drv_init()
|
D | bfad_drv.h | 213 struct bfad_cfg_param_s cfg_data; member
|