/linux-6.3-rc2/arch/powerpc/sysdev/ |
A D | indirect_pci.c | 22 volatile void __iomem *cfg_data; in __indirect_read_config() local 60 cfg_data = hose->cfg_data + (offset & 3); 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() 88 volatile void __iomem *cfg_data; in indirect_write_config() local 138 cfg_data = hose->cfg_data + (offset & 3); in indirect_write_config() 141 out_8(cfg_data, val); in indirect_write_config() 144 out_le16(cfg_data, val); in indirect_write_config() 147 out_le32(cfg_data, val); in indirect_write_config() [all …]
|
A D | grackle.c | 31 val = in_le32(bp->cfg_data); in grackle_set_stg() 35 out_le32(bp->cfg_data, val); in grackle_set_stg() 36 (void)in_le32(bp->cfg_data); in grackle_set_stg() 44 val = in_le32(bp->cfg_data); in grackle_set_loop_snoop() 48 out_le32(bp->cfg_data, val); in grackle_set_loop_snoop() 49 (void)in_le32(bp->cfg_data); in grackle_set_loop_snoop()
|
A D | fsl_pci.c | 639 hose, hose->cfg_addr, hose->cfg_data); in fsl_add_bridge() 656 if (((unsigned long)hose->cfg_data & PAGE_MASK) != in fsl_add_bridge() 658 iounmap(hose->cfg_data); in fsl_add_bridge() 888 hose, hose->cfg_addr, hose->cfg_data); in mpc83xx_add_bridge()
|
/linux-6.3-rc2/drivers/iio/adc/ |
A D | vf610_adc.c | 255 int cfg_data = 0; in vf610_adc_cfg_post_set() local 270 cfg_data |= VF610_ADC_ADLPC_EN; in vf610_adc_cfg_post_set() 273 cfg_data |= VF610_ADC_ADHSC_EN; in vf610_adc_cfg_post_set() 291 cfg_data |= VF610_ADC_OVWREN; in vf610_adc_cfg_post_set() 324 int cfg_data; in vf610_adc_cfg_set() local 328 cfg_data &= ~VF610_ADC_ADLPC_EN; in vf610_adc_cfg_set() 330 cfg_data |= VF610_ADC_ADLPC_EN; in vf610_adc_cfg_set() 342 int cfg_data, gc_data; in vf610_adc_sample_set() local 436 cfg_data |= VF610_ADC_AVGS_8; in vf610_adc_sample_set() 440 cfg_data |= VF610_ADC_AVGS_16; in vf610_adc_sample_set() [all …]
|
/linux-6.3-rc2/drivers/clk/samsung/ |
A D | clk-cpu.c | 160 if (cfg_data->prate == 0) in exynos_cpuclk_pre_rate_change() 162 cfg_data++; in exynos_cpuclk_pre_rate_change() 172 div0 = cfg_data->div0; in exynos_cpuclk_pre_rate_change() 174 div1 = cfg_data->div1; in exynos_cpuclk_pre_rate_change() 237 if (cfg_data->prate == 0) in exynos_cpuclk_post_rate_change() 239 cfg_data++; in exynos_cpuclk_post_rate_change() 251 div |= (cfg_data->div0 & E4210_DIV0_ATB_MASK); in exynos_cpuclk_post_rate_change() 288 if (cfg_data->prate == 0) in exynos5433_cpuclk_pre_rate_change() 290 cfg_data++; in exynos5433_cpuclk_pre_rate_change() 299 div0 = cfg_data->div0; in exynos5433_cpuclk_pre_rate_change() [all …]
|
/linux-6.3-rc2/arch/powerpc/platforms/chrp/ |
A 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-6.3-rc2/arch/powerpc/platforms/52xx/ |
A D | mpc52xx_pci.c | 131 value = in_8(((u8 __iomem *)hose->cfg_data) + in mpc52xx_pci_read_config() 135 value = in_le16(((u16 __iomem *)hose->cfg_data) + in mpc52xx_pci_read_config() 140 value = in_le16((u16 __iomem *)hose->cfg_data) | in mpc52xx_pci_read_config() 148 value = in_le32(hose->cfg_data); in mpc52xx_pci_read_config() 188 out_8(((u8 __iomem *)hose->cfg_data) + in mpc52xx_pci_write_config() 192 out_le16(((u16 __iomem *)hose->cfg_data) + in mpc52xx_pci_write_config() 197 out_le16((u16 __iomem *)hose->cfg_data, in mpc52xx_pci_write_config() 199 out_le16(((u16 __iomem *)hose->cfg_data) + 1, in mpc52xx_pci_write_config() 208 value = in_le32(hose->cfg_data); in mpc52xx_pci_write_config() 218 out_le32(hose->cfg_data, val); in mpc52xx_pci_write_config() [all …]
|
/linux-6.3-rc2/drivers/crypto/qat/qat_common/ |
A D | adf_ctl_drv.c | 91 struct adf_user_cfg_ctl_data *cfg_data; in adf_ctl_alloc_resources() local 93 cfg_data = kzalloc(sizeof(*cfg_data), GFP_KERNEL); in adf_ctl_alloc_resources() 94 if (!cfg_data) in adf_ctl_alloc_resources() 98 cfg_data->device_id = ADF_CFG_NO_DEVICE; in adf_ctl_alloc_resources() 100 if (copy_from_user(cfg_data, (void __user *)arg, sizeof(*cfg_data))) { in adf_ctl_alloc_resources() 102 kfree(cfg_data); in adf_ctl_alloc_resources() 106 *ctl_data = cfg_data; in adf_ctl_alloc_resources()
|
/linux-6.3-rc2/arch/powerpc/platforms/amigaone/ |
A D | setup.c | 35 const u32 *cfg_addr, *cfg_data; in amigaone_add_bridge() local 43 cfg_data = of_get_address(dev, 1, NULL, NULL); in amigaone_add_bridge() 44 if ((cfg_addr == NULL) || (cfg_data == NULL)) in amigaone_add_bridge() 59 setup_indirect_pci(hose, cfg_addr[0], cfg_data[0], 0); in amigaone_add_bridge()
|
/linux-6.3-rc2/tools/testing/selftests/net/ |
A D | ipv6_flowlabel.c | 39 static const char cfg_data[] = "a"; variable 58 .iov_base = (char *)cfg_data, in do_send() 59 .iov_len = sizeof(cfg_data) in do_send() 100 char data[sizeof(cfg_data)]; in do_recv() 124 if (ret != sizeof(cfg_data)) in do_recv() 126 if (memcmp(data, cfg_data, sizeof(data))) in do_recv()
|
/linux-6.3-rc2/arch/powerpc/platforms/powermac/ |
A D | pci.c | 159 return hose->cfg_data + offset; in macrisc_cfg_map_bus() 210 hose->cfg_data = ioremap(addr->start + 0xc00000, 0x1000); in setup_chaos() 276 return hose->cfg_data + U3_HT_CFA0(devfn, offset); in u3_ht_cfg_access() 280 return hose->cfg_data + U3_HT_CFA1(bus, devfn, offset); in u3_ht_cfg_access() 421 return hose->cfg_data + offset; in u4_pcie_cfg_map_bus() 460 vendev = in_le32(bp->cfg_data); in init_bandit() 467 rev = in_8(bp->cfg_data); in init_bandit() 479 magic = in_le32(bp->cfg_data); in init_bandit() 484 out_le32(bp->cfg_data, magic); in init_bandit() 721 hose->cfg_data = ioremap(cfg_res.start, 0x02000000); in setup_u3_ht() [all …]
|
/linux-6.3-rc2/arch/powerpc/platforms/maple/ |
A D | pci.c | 114 return hose->cfg_data + offset; in u3_agp_cfg_access() 201 return hose->cfg_data + u3_ht_cfa0(devfn, offset); in u3_ht_cfg_access() 203 return hose->cfg_data + u3_ht_cfa1(bus, devfn, offset); in u3_ht_cfg_access() 368 return hose->cfg_data + offset; in u4_pcie_cfg_access() 455 hose->cfg_data = ioremap(0xf0000000 + 0xc00000, 0x1000); in setup_u3_agp() 467 hose->cfg_data = ioremap(0xf0000000 + 0xc00000, 0x1000); in setup_u4_pcie() 480 hose->cfg_data = ioremap(0xf2000000, 0x02000000); in setup_u3_ht()
|
/linux-6.3-rc2/drivers/scsi/ |
A D | dc395x.c | 570 cfg_data[i].value = cfg_data[i].safe; in set_safe_settings() 587 cfg_data[CFG_ADAPTER_ID].value, in fix_settings() 588 cfg_data[CFG_MAX_SPEED].value, in fix_settings() 589 cfg_data[CFG_DEV_MODE].value, in fix_settings() 590 cfg_data[CFG_ADAPTER_MODE].value, in fix_settings() 591 cfg_data[CFG_TAGS].value, in fix_settings() 592 cfg_data[CFG_RESET_DELAY].value); in fix_settings() 595 if (cfg_data[i].value < cfg_data[i].min in fix_settings() 596 || cfg_data[i].value > cfg_data[i].max) in fix_settings() 597 cfg_data[i].value = cfg_data[i].def; in fix_settings() [all …]
|
/linux-6.3-rc2/drivers/media/dvb-frontends/drx39xyj/ |
A 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-6.3-rc2/arch/powerpc/platforms/pasemi/ |
A D | pci.c | 43 return hose->cfg_data + PA_PXP_CFA(bus, devfn, offset); in pa_pxp_cfg_addr() 238 hose->cfg_data = ioremap(0xe0000000, 0x10000000); in setup_pa_pxp()
|
/linux-6.3-rc2/drivers/bluetooth/ |
A D | btrtl.c | 74 u8 *cfg_data; member 575 memcpy(tbuff + ret, btrtl_dev->cfg_data, btrtl_dev->cfg_len); in btrtl_setup_rtl8723b() 593 kvfree(btrtl_dev->cfg_data); in btrtl_free() 711 &btrtl_dev->cfg_data); in btrtl_initialize() 892 config = (struct rtl_vendor_config *)btrtl_dev->cfg_data; in btrtl_get_uart_settings()
|
/linux-6.3-rc2/arch/powerpc/include/asm/ |
A D | pci-bridge.h | 84 void __iomem *cfg_data; member 156 resource_size_t cfg_data, u32 flags);
|
/linux-6.3-rc2/arch/xtensa/include/asm/ |
A D | pci-bridge.h | 44 volatile unsigned char *cfg_data; member
|
/linux-6.3-rc2/drivers/net/ethernet/broadcom/bnx2x/ |
A D | bnx2x_sp.c | 2866 bin = cfg_data->bin; in bnx2x_mcast_set_one_rule_e2() 2870 bin = cfg_data->bin; in bnx2x_mcast_set_one_rule_e2() 2875 bin = cfg_data->bin; in bnx2x_mcast_set_one_rule_e2() 2914 cfg_data.bin = (u8)cur_bin; in bnx2x_mcast_handle_restore_cmd_e2() 2945 cfg_data.mac = &pmac_pos->mac[0]; in bnx2x_mcast_hdl_pending_add_e2() 3102 cfg_data.bin = (u8)p_item->bin; in bnx2x_mcast_hdl_pending_set_e2() 3176 cfg_data.mac = mlist_pos->mac; in bnx2x_mcast_hdl_add() 3672 cfg_data->mac); in bnx2x_mcast_set_one_rule_e1() 3735 cfg_data.mac = &elem->mac[0]; in bnx2x_mcast_handle_restore_cmd_e1() 3741 cfg_data.mac); in bnx2x_mcast_handle_restore_cmd_e1() [all …]
|
/linux-6.3-rc2/arch/powerpc/platforms/4xx/ |
A D | pci.c | 1598 return (void __iomem *)port->hose->cfg_data + in ppc4xx_pciex_get_config_base() 1919 void __iomem *mbase = NULL, *cfg_data = NULL; in ppc4xx_pciex_port_setup_hose() local 1959 cfg_data = ioremap(port->cfg_space.start + in ppc4xx_pciex_port_setup_hose() 1962 if (cfg_data == NULL) { in ppc4xx_pciex_port_setup_hose() 1967 hose->cfg_data = cfg_data; in ppc4xx_pciex_port_setup_hose() 1984 hose->cfg_addr, hose->cfg_data); in ppc4xx_pciex_port_setup_hose() 2070 if (cfg_data) in ppc4xx_pciex_port_setup_hose() 2071 iounmap(cfg_data); in ppc4xx_pciex_port_setup_hose()
|
/linux-6.3-rc2/drivers/media/pci/pt1/ |
A D | pt1.c | 195 const u8 (*cfg_data)[2]; in config_demod() local 224 cfg_data = va1j5jf8007s_20mhz_configs; in config_demod() 227 cfg_data = va1j5jf8007t_20mhz_configs; in config_demod() 232 cfg_data = va1j5jf8007s_25mhz_configs; in config_demod() 235 cfg_data = va1j5jf8007t_25mhz_configs; in config_demod() 241 ret = i2c_master_send(cl, cfg_data[i], 2); in config_demod()
|
/linux-6.3-rc2/drivers/usb/gadget/udc/ |
A D | pch_udc.c | 359 struct pch_udc_cfg_data cfg_data; member 1662 pch_udc_ep_enable(ep, &ep->dev->cfg_data, desc); in pch_udc_pcd_ep_enable() 2563 dev->cfg_data.cur_intf = (dev_stat & UDC_DEVSTS_INTF_MASK) >> in pch_udc_svc_intf_interrupt() 2565 dev->cfg_data.cur_alt = (dev_stat & UDC_DEVSTS_ALT_MASK) >> in pch_udc_svc_intf_interrupt() 2572 dev->setup_data.wValue = cpu_to_le16(dev->cfg_data.cur_alt); in pch_udc_svc_intf_interrupt() 2573 dev->setup_data.wIndex = cpu_to_le16(dev->cfg_data.cur_intf); in pch_udc_svc_intf_interrupt() 2578 (dev->cfg_data.cur_intf << UDC_CSR_NE_INTF_SHIFT); in pch_udc_svc_intf_interrupt() 2580 (dev->cfg_data.cur_alt << UDC_CSR_NE_ALT_SHIFT); in pch_udc_svc_intf_interrupt() 2603 dev->cfg_data.cur_cfg = (dev_stat & UDC_DEVSTS_CFG_MASK) >> in pch_udc_svc_cfg_interrupt() 2608 dev->setup_data.wValue = cpu_to_le16(dev->cfg_data.cur_cfg); in pch_udc_svc_cfg_interrupt() [all …]
|
/linux-6.3-rc2/drivers/misc/cxl/ |
A D | vphb.c | 240 phb->cfg_data = NULL; in cxl_pci_vphb_add()
|
/linux-6.3-rc2/drivers/scsi/bfa/ |
A D | bfad.c | 596 bfad->cfg_data.ioc_queue_depth = bfad->ioc_cfg.fwcfg.num_ioim_reqs; in bfad_hal_mem_alloc() 815 bfad->cfg_data.rport_del_timeout = rport_del_timeout; in bfad_drv_init() 816 bfad->cfg_data.lun_queue_depth = bfa_lun_queue_depth; in bfad_drv_init() 817 bfad->cfg_data.io_max_sge = bfa_io_max_sge; in bfad_drv_init() 818 bfad->cfg_data.binding_method = FCP_PWWN_BINDING; in bfad_drv_init()
|
A D | bfad_drv.h | 205 struct bfad_cfg_param_s cfg_data; member
|