| /linux/drivers/vdpa/solidrun/ |
| H A D | snet_vdpa.h | 103 u32 cfg_size; member 112 u32 cfg_size; member
|
| /linux/drivers/vfio/pci/ |
| H A D | vfio_pci_config.c | 1340 if (pdev->cfg_size > PCI_CFG_SPACE_SIZE) { in vfio_cap_len() 1357 if (pdev->cfg_size > PCI_CFG_SPACE_SIZE) { in vfio_cap_len() 1642 loops = (pdev->cfg_size - PCI_CFG_SPACE_SIZE) / PCI_CAP_SIZEOF; in vfio_ecap_init() 1761 map = kmalloc(pdev->cfg_size, GFP_KERNEL_ACCOUNT); in vfio_config_init() 1765 vconfig = kmalloc(pdev->cfg_size, GFP_KERNEL_ACCOUNT); in vfio_config_init() 1776 pdev->cfg_size - PCI_STD_HEADER_SIZEOF); in vfio_config_init() 1893 if (*ppos < 0 || *ppos >= pdev->cfg_size || in vfio_config_do_rw() 1894 *ppos + count > pdev->cfg_size) in vfio_config_do_rw()
|
| H A D | vfio_pci_igd.c | 408 &vfio_pci_igd_cfg_regops, host_bridge->cfg_size, in vfio_pci_igd_cfg_init() 428 &vfio_pci_igd_cfg_regops, lpc_bridge->cfg_size, in vfio_pci_igd_cfg_init()
|
| H A D | vfio_pci_core.c | 1040 info->size = pdev->cfg_size; in vfio_pci_ioctl_get_region_info()
|
| /linux/include/linux/soc/qcom/ |
| H A D | llcc-qcom.h | 165 u32 cfg_size; member
|
| /linux/arch/um/drivers/ |
| H A D | virtio_uml.c | 545 u32 cfg_size = offset + len; in vhost_user_get_config() local 547 size_t payload_size = sizeof(msg->payload.config) + cfg_size; in vhost_user_get_config() 561 msg->payload.config.size = cfg_size; in vhost_user_get_config() 579 msg->payload.config.size != cfg_size) { in vhost_user_get_config() 584 msg->payload.config.size, cfg_size); in vhost_user_get_config()
|
| /linux/drivers/scsi/ |
| H A D | wd719x.h | 216 u8 cfg_size; member
|
| /linux/drivers/pci/ |
| H A D | pci-sysfs.c | 750 size = dev->cfg_size; in pci_read_config() 835 if (off > dev->cfg_size) in pci_write_config() 837 if (off + count > dev->cfg_size) { in pci_write_config() 838 size = dev->cfg_size - off; in pci_write_config() 896 if (pdev->cfg_size > PCI_CFG_SPACE_SIZE) in pci_dev_config_attr_bin_size()
|
| H A D | quirks.c | 565 dev->cfg_size = 0xA0; in quirk_citrine() 575 dev->cfg_size = 0x600; in quirk_nfp6000() 5512 pdev->cfg_size = PCI_CFG_SPACE_EXP_SIZE; in quirk_intel_qat_vf_cap() 5515 pdev->cfg_size = PCI_CFG_SPACE_SIZE; in quirk_intel_qat_vf_cap()
|
| H A D | probe.c | 2063 dev->cfg_size = pci_cfg_space_size(dev); in pci_setup_device()
|
| /linux/arch/x86/pci/ |
| H A D | intel_mid.c | 391 if (dev->cfg_size < PCIE_CAP_OFFSET + 4) in pci_fixed_bar_fixup()
|
| /linux/tools/testing/nvdimm/test/ |
| H A D | nfit.c | 2889 struct nd_cmd_get_config_size cfg_size; in nfit_ctl_test() member 2961 cmd_size = sizeof(cmd.cfg_size); in nfit_ctl_test() 2962 cmd.cfg_size = (struct nd_cmd_get_config_size) { in nfit_ctl_test() 2973 if (rc < 0 || cmd_rc || cmd.cfg_size.status != 0 in nfit_ctl_test() 2974 || cmd.cfg_size.config_size != SZ_128K in nfit_ctl_test() 2975 || cmd.cfg_size.max_xfer != SZ_4K) { in nfit_ctl_test() 3064 cmd_size = sizeof(cmd.cfg_size); in nfit_ctl_test() 3065 cmd.cfg_size = (struct nd_cmd_get_config_size) { in nfit_ctl_test()
|
| /linux/arch/powerpc/kernel/ |
| H A D | pci_of_scan.c | 201 dev->cfg_size = pci_cfg_space_size(dev); in of_create_pci_dev()
|
| /linux/drivers/pci/controller/dwc/ |
| H A D | pci-imx6.c | 2028 dev->cfg_size = imx_pcie->drvdata->dbi_length; in imx_pcie_quirk() 2030 dev->cfg_size); in imx_pcie_quirk()
|
| /linux/arch/sparc/kernel/ |
| H A D | pci.c | 309 dev->cfg_size = pci_cfg_space_size(dev); in of_create_pci_dev()
|
| /linux/drivers/soc/qcom/ |
| H A D | llcc-qcom.c | 4235 sz = drv_data->cfg_size; in llcc_slice_getd() 4732 sz = drv_data->cfg_size; in qcom_llcc_cfg_program() 4911 drv_data->cfg_size = sz; in qcom_llcc_probe()
|
| /linux/arch/powerpc/platforms/powernv/ |
| H A D | pci-ioda.c | 2758 dev->cfg_size = PCI_CFG_SPACE_EXP_SIZE; in pnv_npu2_opencapi_cfg_size_fixup()
|
| /linux/include/linux/ |
| H A D | pci.h | 426 int cfg_size; /* Size of config space */ member
|
| /linux/drivers/net/ethernet/broadcom/bnx2x/ |
| H A 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/drivers/accel/habanalabs/goya/ |
| H A D | goya.c | 455 prop->cfg_size = CFG_SIZE; in goya_set_fixed_properties()
|