/Linux-v4.19/drivers/pci/ |
D | proc.c | 24 return fixed_size_llseek(file, off, whence, dev->cfg_size); in proc_bus_pci_lseek() 41 size = dev->cfg_size; in proc_bus_pci_read() 117 int size = dev->cfg_size; in proc_bus_pci_write() 181 i_size_write(ino, dev->cfg_size); in proc_bus_pci_write() 419 proc_set_size(e, dev->cfg_size); in pci_proc_attach_device()
|
D | pci-sysfs.c | 834 size = dev->cfg_size; in pci_read_config() 908 if (off > dev->cfg_size) in pci_write_config() 910 if (off + count > dev->cfg_size) { in pci_write_config() 911 size = dev->cfg_size - off; in pci_write_config() 1491 if (pdev->cfg_size > PCI_CFG_SPACE_SIZE) in pci_create_sysfs_dev_files() 1542 if (pdev->cfg_size > PCI_CFG_SPACE_SIZE) in pci_create_sysfs_dev_files() 1573 if (pdev->cfg_size > PCI_CFG_SPACE_SIZE) in pci_remove_sysfs_dev_files()
|
D | quirks.c | 457 dev->cfg_size = 0xA0; in quirk_citrine() 467 dev->cfg_size = 0x600; in quirk_nfp6000() 4805 pdev->cfg_size = PCI_CFG_SPACE_EXP_SIZE; in quirk_intel_qat_vf_cap() 4808 pdev->cfg_size = PCI_CFG_SPACE_SIZE; in quirk_intel_qat_vf_cap()
|
D | probe.c | 1618 dev->cfg_size = pci_cfg_space_size(dev); in pci_setup_device()
|
D | pci.c | 497 if (dev->cfg_size <= PCI_CFG_SPACE_SIZE) in pci_find_next_ext_capability()
|
/Linux-v4.19/drivers/pci/controller/dwc/ |
D | pcie-designware-host.c | 513 u32 busdev, cfg_size; in dw_pcie_rd_other_conf() local 527 cfg_size = pp->cfg0_size; in dw_pcie_rd_other_conf() 532 cfg_size = pp->cfg1_size; in dw_pcie_rd_other_conf() 538 busdev, cfg_size); in dw_pcie_rd_other_conf() 552 u32 busdev, cfg_size; in dw_pcie_wr_other_conf() local 566 cfg_size = pp->cfg0_size; in dw_pcie_wr_other_conf() 571 cfg_size = pp->cfg1_size; in dw_pcie_wr_other_conf() 577 busdev, cfg_size); in dw_pcie_wr_other_conf()
|
/Linux-v4.19/drivers/soc/qcom/ |
D | llcc-slice.c | 71 sz = drv_data->cfg_size; in llcc_slice_getd() 231 sz = drv_data->cfg_size; in qcom_llcc_cfg_program() 330 drv_data->cfg_size = sz; in qcom_llcc_probe()
|
/Linux-v4.19/drivers/vfio/pci/ |
D | vfio_pci_igd.c | 237 &vfio_pci_igd_cfg_regops, host_bridge->cfg_size, in vfio_pci_igd_cfg_init() 257 &vfio_pci_igd_cfg_regops, lpc_bridge->cfg_size, in vfio_pci_igd_cfg_init()
|
D | vfio_pci_config.c | 1248 if (pdev->cfg_size > PCI_CFG_SPACE_SIZE) { in vfio_cap_len() 1265 if (pdev->cfg_size > PCI_CFG_SPACE_SIZE) { in vfio_cap_len() 1526 loops = (pdev->cfg_size - PCI_CFG_SPACE_SIZE) / PCI_CAP_SIZEOF; in vfio_ecap_init() 1637 map = kmalloc(pdev->cfg_size, GFP_KERNEL); in vfio_config_init() 1641 vconfig = kmalloc(pdev->cfg_size, GFP_KERNEL); in vfio_config_init() 1652 pdev->cfg_size - PCI_STD_HEADER_SIZEOF); in vfio_config_init() 1736 if (*ppos < 0 || *ppos >= pdev->cfg_size || in vfio_config_do_rw() 1737 *ppos + count > pdev->cfg_size) in vfio_config_do_rw()
|
D | vfio_pci.c | 658 info.size = pdev->cfg_size; in vfio_pci_ioctl()
|
/Linux-v4.19/include/linux/soc/qcom/ |
D | llcc-qcom.h | 86 u32 cfg_size; member
|
/Linux-v4.19/drivers/staging/rtl8192u/ |
D | r819xU_cmdpkt.h | 72 u8 cfg_size:2; member
|
D | r819xU_cmdpkt.c | 282 rx_query_cfg.cfg_size = (pmsg[4] & 0x18) >> 3; in cmpk_handle_query_config_rx()
|
/Linux-v4.19/drivers/scsi/ |
D | wd719x.h | 216 u8 cfg_size; member
|
/Linux-v4.19/arch/x86/pci/ |
D | intel_mid_pci.c | 376 if (dev->cfg_size < PCIE_CAP_OFFSET + 4) in pci_fixed_bar_fixup()
|
/Linux-v4.19/tools/testing/nvdimm/test/ |
D | nfit.c | 2365 struct nd_cmd_get_config_size cfg_size; in nfit_ctl_test() member 2431 cmd_size = sizeof(cmds.cfg_size); in nfit_ctl_test() 2432 cmds.cfg_size = (struct nd_cmd_get_config_size) { in nfit_ctl_test() 2443 if (rc < 0 || cmd_rc || cmds.cfg_size.status != 0 in nfit_ctl_test() 2444 || cmds.cfg_size.config_size != SZ_128K in nfit_ctl_test() 2445 || cmds.cfg_size.max_xfer != SZ_4K) { in nfit_ctl_test() 2534 cmd_size = sizeof(cmds.cfg_size); in nfit_ctl_test() 2535 cmds.cfg_size = (struct nd_cmd_get_config_size) { in nfit_ctl_test()
|
/Linux-v4.19/arch/powerpc/kernel/ |
D | pci_of_scan.c | 153 dev->cfg_size = pci_cfg_space_size(dev); in of_create_pci_dev()
|
/Linux-v4.19/arch/sparc/kernel/ |
D | pci.c | 313 dev->cfg_size = pci_cfg_space_size(dev); in of_create_pci_dev()
|
/Linux-v4.19/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_main.c | 11205 int cfg_size = 0, idx, port = BP_PORT(bp); in bnx2x_link_settings_supported() local 11213 cfg_size = 1; in bnx2x_link_settings_supported() 11217 cfg_size = 1; in bnx2x_link_settings_supported() 11232 cfg_size = 2; in bnx2x_link_settings_supported() 11265 for (idx = 0; idx < cfg_size; idx++) { in bnx2x_link_settings_supported() 11306 u32 link_config, idx, cfg_size = 0; in bnx2x_link_settings_requested() local 11312 cfg_size = 1; in bnx2x_link_settings_requested() 11315 cfg_size = 2; in bnx2x_link_settings_requested() 11318 for (idx = 0; idx < cfg_size; idx++) { in bnx2x_link_settings_requested()
|
D | bnx2x_link.c | 248 u32 link_status, cfg_idx, lfa_mask, cfg_size; in bnx2x_check_lfa() local 290 cfg_size = 2; in bnx2x_check_lfa() 293 cfg_size = 1; in bnx2x_check_lfa() 325 for (cfg_idx = 0; cfg_idx < cfg_size; cfg_idx++) { in bnx2x_check_lfa()
|
/Linux-v4.19/include/linux/ |
D | pci.h | 362 int cfg_size; /* Size of config space */ member
|
/Linux-v4.19/arch/powerpc/platforms/powernv/ |
D | pci-ioda.c | 4027 dev->cfg_size = PCI_CFG_SPACE_EXP_SIZE; in pnv_npu2_opencapi_cfg_size_fixup()
|
/Linux-v4.19/drivers/net/ethernet/realtek/ |
D | r8169.c | 4731 if (pdev->cfg_size > 0x070f && in rtl_csi_access_enable()
|