| /Linux-v5.10/drivers/pci/ |
| D | proc.c | 25 return fixed_size_llseek(file, off, whence, dev->cfg_size); in proc_bus_pci_lseek() 42 size = dev->cfg_size; in proc_bus_pci_read() 118 int size = dev->cfg_size; in proc_bus_pci_write() 186 i_size_write(ino, dev->cfg_size); in proc_bus_pci_write() 431 proc_set_size(e, dev->cfg_size); in pci_proc_attach_device()
|
| D | pci-sysfs.c | 670 size = dev->cfg_size; in pci_read_config() 750 if (off > dev->cfg_size) in pci_write_config() 752 if (off + count > dev->cfg_size) { in pci_write_config() 753 size = dev->cfg_size - off; in pci_write_config() 1341 if (pdev->cfg_size > PCI_CFG_SPACE_SIZE) in pci_create_sysfs_dev_files() 1392 if (pdev->cfg_size > PCI_CFG_SPACE_SIZE) in pci_create_sysfs_dev_files() 1422 if (pdev->cfg_size > PCI_CFG_SPACE_SIZE) in pci_remove_sysfs_dev_files()
|
| D | quirks.c | 455 dev->cfg_size = 0xA0; in quirk_citrine() 465 dev->cfg_size = 0x600; in quirk_nfp6000() 5086 pdev->cfg_size = PCI_CFG_SPACE_EXP_SIZE; in quirk_intel_qat_vf_cap() 5089 pdev->cfg_size = PCI_CFG_SPACE_SIZE; in quirk_intel_qat_vf_cap()
|
| D | probe.c | 1827 dev->cfg_size = pci_cfg_space_size(dev); in pci_setup_device()
|
| D | pci.c | 540 if (dev->cfg_size <= PCI_CFG_SPACE_SIZE) in pci_find_next_ext_capability()
|
| /Linux-v5.10/drivers/soc/qcom/ |
| D | llcc-qcom.c | 151 sz = drv_data->cfg_size; in llcc_slice_getd() 334 sz = drv_data->cfg_size; in qcom_llcc_cfg_program() 471 drv_data->cfg_size = sz; in qcom_llcc_probe()
|
| /Linux-v5.10/drivers/vfio/pci/ |
| D | vfio_pci_igd.c | 234 &vfio_pci_igd_cfg_regops, host_bridge->cfg_size, in vfio_pci_igd_cfg_init() 254 &vfio_pci_igd_cfg_regops, lpc_bridge->cfg_size, in vfio_pci_igd_cfg_init()
|
| D | vfio_pci_config.c | 1283 if (pdev->cfg_size > PCI_CFG_SPACE_SIZE) { in vfio_cap_len() 1300 if (pdev->cfg_size > PCI_CFG_SPACE_SIZE) { in vfio_cap_len() 1565 loops = (pdev->cfg_size - PCI_CFG_SPACE_SIZE) / PCI_CAP_SIZEOF; in vfio_ecap_init() 1684 map = kmalloc(pdev->cfg_size, GFP_KERNEL); in vfio_config_init() 1688 vconfig = kmalloc(pdev->cfg_size, GFP_KERNEL); in vfio_config_init() 1699 pdev->cfg_size - PCI_STD_HEADER_SIZEOF); in vfio_config_init() 1815 if (*ppos < 0 || *ppos >= pdev->cfg_size || in vfio_config_do_rw() 1816 *ppos + count > pdev->cfg_size) in vfio_config_do_rw()
|
| D | vfio_pci.c | 884 info.size = pdev->cfg_size; in vfio_pci_ioctl()
|
| /Linux-v5.10/include/linux/soc/qcom/ |
| D | llcc-qcom.h | 82 u32 cfg_size; member
|
| /Linux-v5.10/drivers/staging/rtl8192u/ |
| D | r819xU_cmdpkt.h | 72 u8 cfg_size:2; member
|
| D | r819xU_cmdpkt.c | 283 rx_query_cfg.cfg_size = (pmsg[4] & 0x18) >> 3; in cmpk_handle_query_config_rx()
|
| /Linux-v5.10/arch/um/drivers/ |
| D | virtio_uml.c | 470 u32 cfg_size = offset + len; in vhost_user_get_config() local 472 size_t payload_size = sizeof(msg->payload.config) + cfg_size; in vhost_user_get_config() 486 msg->payload.config.size = cfg_size; in vhost_user_get_config() 504 msg->payload.config.size != cfg_size) { in vhost_user_get_config() 509 msg->payload.config.size, cfg_size); in vhost_user_get_config()
|
| /Linux-v5.10/drivers/scsi/ |
| D | wd719x.h | 215 u8 cfg_size; member
|
| /Linux-v5.10/arch/x86/pci/ |
| D | intel_mid_pci.c | 377 if (dev->cfg_size < PCIE_CAP_OFFSET + 4) in pci_fixed_bar_fixup()
|
| /Linux-v5.10/tools/testing/nvdimm/test/ |
| D | nfit.c | 2899 struct nd_cmd_get_config_size cfg_size; in nfit_ctl_test() member 2971 cmd_size = sizeof(cmd.cfg_size); in nfit_ctl_test() 2972 cmd.cfg_size = (struct nd_cmd_get_config_size) { in nfit_ctl_test() 2983 if (rc < 0 || cmd_rc || cmd.cfg_size.status != 0 in nfit_ctl_test() 2984 || cmd.cfg_size.config_size != SZ_128K in nfit_ctl_test() 2985 || cmd.cfg_size.max_xfer != SZ_4K) { in nfit_ctl_test() 3074 cmd_size = sizeof(cmd.cfg_size); in nfit_ctl_test() 3075 cmd.cfg_size = (struct nd_cmd_get_config_size) { in nfit_ctl_test()
|
| /Linux-v5.10/arch/powerpc/kernel/ |
| D | pci_of_scan.c | 201 dev->cfg_size = pci_cfg_space_size(dev); in of_create_pci_dev()
|
| /Linux-v5.10/drivers/pci/controller/dwc/ |
| D | pci-imx6.c | 1258 dev->cfg_size = imx6_pcie->drvdata->dbi_length; in imx6_pcie_quirk() 1260 dev->cfg_size); in imx6_pcie_quirk()
|
| /Linux-v5.10/arch/sparc/kernel/ |
| D | pci.c | 308 dev->cfg_size = pci_cfg_space_size(dev); in of_create_pci_dev()
|
| /Linux-v5.10/drivers/infiniband/hw/hns/ |
| D | hns_roce_hw_v2.c | 2167 struct hns_roce_cfg_entry_size *cfg_size = in hns_roce_config_qpc_size() local 2173 cfg_size->type = cpu_to_le32(HNS_ROCE_CFG_QPC_SIZE); in hns_roce_config_qpc_size() 2174 cfg_size->size = cpu_to_le32(hr_dev->caps.qpc_sz); in hns_roce_config_qpc_size() 2182 struct hns_roce_cfg_entry_size *cfg_size = in hns_roce_config_sccc_size() local 2188 cfg_size->type = cpu_to_le32(HNS_ROCE_CFG_SCCC_SIZE); in hns_roce_config_sccc_size() 2189 cfg_size->size = cpu_to_le32(hr_dev->caps.sccc_sz); in hns_roce_config_sccc_size()
|
| /Linux-v5.10/drivers/net/ethernet/broadcom/bnx2x/ |
| D | bnx2x_main.c | 11175 int cfg_size = 0, idx, port = BP_PORT(bp); in bnx2x_link_settings_supported() local 11183 cfg_size = 1; in bnx2x_link_settings_supported() 11187 cfg_size = 1; in bnx2x_link_settings_supported() 11202 cfg_size = 2; in bnx2x_link_settings_supported() 11235 for (idx = 0; idx < cfg_size; idx++) { in bnx2x_link_settings_supported() 11276 u32 link_config, idx, cfg_size = 0; in bnx2x_link_settings_requested() local 11282 cfg_size = 1; in bnx2x_link_settings_requested() 11285 cfg_size = 2; in bnx2x_link_settings_requested() 11288 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-v5.10/drivers/misc/habanalabs/common/ |
| D | habanalabs.h | 355 u32 cfg_size; member
|
| /Linux-v5.10/include/linux/ |
| D | pci.h | 390 int cfg_size; /* Size of config space */ member
|
| /Linux-v5.10/arch/powerpc/platforms/powernv/ |
| D | pci-ioda.c | 3204 dev->cfg_size = PCI_CFG_SPACE_EXP_SIZE; in pnv_npu2_opencapi_cfg_size_fixup()
|