/linux/drivers/pci/ |
A 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() 119 int size = dev->cfg_size; in proc_bus_pci_write() 187 i_size_write(ino, dev->cfg_size); in proc_bus_pci_write() 438 proc_set_size(e, dev->cfg_size); in pci_proc_attach_device()
|
A D | pci-sysfs.c | 703 size = dev->cfg_size; in pci_read_config() 783 if (off > dev->cfg_size) in pci_write_config() 785 if (off + count > dev->cfg_size) { in pci_write_config() 786 size = dev->cfg_size - off; in pci_write_config() 847 if (pdev->cfg_size > PCI_CFG_SPACE_SIZE) in pci_dev_config_attr_is_visible()
|
A D | quirks.c | 451 dev->cfg_size = 0xA0; in quirk_citrine() 461 dev->cfg_size = 0x600; in quirk_nfp6000() 5267 pdev->cfg_size = PCI_CFG_SPACE_EXP_SIZE; in quirk_intel_qat_vf_cap() 5270 pdev->cfg_size = PCI_CFG_SPACE_SIZE; in quirk_intel_qat_vf_cap()
|
A D | probe.c | 1868 dev->cfg_size = pci_cfg_space_size(dev); in pci_setup_device()
|
A D | pci.c | 549 if (dev->cfg_size <= PCI_CFG_SPACE_SIZE) in pci_find_next_ext_capability()
|
/linux/drivers/soc/qcom/ |
A D | llcc-qcom.c | 250 sz = drv_data->cfg_size; in llcc_slice_getd() 506 sz = drv_data->cfg_size; in qcom_llcc_cfg_program() 617 drv_data->cfg_size = sz; in qcom_llcc_probe()
|
/linux/drivers/vfio/pci/ |
A 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()
|
A D | vfio_pci_igd.c | 405 &vfio_pci_igd_cfg_regops, host_bridge->cfg_size, in vfio_pci_igd_cfg_init() 425 &vfio_pci_igd_cfg_regops, lpc_bridge->cfg_size, in vfio_pci_igd_cfg_init()
|
A D | vfio_pci_core.c | 718 info.size = pdev->cfg_size; in vfio_pci_core_ioctl()
|
/linux/include/linux/soc/qcom/ |
A D | llcc-qcom.h | 90 u32 cfg_size; member
|
/linux/arch/um/drivers/ |
A D | virtio_uml.c | 506 u32 cfg_size = offset + len; in vhost_user_get_config() local 508 size_t payload_size = sizeof(msg->payload.config) + cfg_size; in vhost_user_get_config() 522 msg->payload.config.size = cfg_size; in vhost_user_get_config() 540 msg->payload.config.size != cfg_size) { in vhost_user_get_config() 545 msg->payload.config.size, cfg_size); in vhost_user_get_config()
|
/linux/drivers/staging/rtl8192u/ |
A D | r819xU_cmdpkt.h | 72 u8 cfg_size:2; member
|
/linux/drivers/scsi/ |
A D | wd719x.h | 215 u8 cfg_size; member
|
/linux/arch/x86/pci/ |
A D | intel_mid_pci.c | 391 if (dev->cfg_size < PCIE_CAP_OFFSET + 4) in pci_fixed_bar_fixup()
|
/linux/tools/testing/nvdimm/test/ |
A D | nfit.c | 2906 struct nd_cmd_get_config_size cfg_size; in nfit_ctl_test() member 2978 cmd_size = sizeof(cmd.cfg_size); in nfit_ctl_test() 2979 cmd.cfg_size = (struct nd_cmd_get_config_size) { in nfit_ctl_test() 2990 if (rc < 0 || cmd_rc || cmd.cfg_size.status != 0 in nfit_ctl_test() 2991 || cmd.cfg_size.config_size != SZ_128K in nfit_ctl_test() 2992 || cmd.cfg_size.max_xfer != SZ_4K) { in nfit_ctl_test() 3081 cmd_size = sizeof(cmd.cfg_size); in nfit_ctl_test() 3082 cmd.cfg_size = (struct nd_cmd_get_config_size) { in nfit_ctl_test()
|
/linux/arch/powerpc/kernel/ |
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/ |
A D | pci-imx6.c | 1250 dev->cfg_size = imx6_pcie->drvdata->dbi_length; in imx6_pcie_quirk() 1252 dev->cfg_size); in imx6_pcie_quirk()
|
/linux/drivers/media/platform/imx-jpeg/ |
A D | mxc-jpeg.c | 807 unsigned int *cfg_size = &jpeg->slot_data[slot].cfg_stream_size; in mxc_jpeg_config_dec_desc() local 836 *cfg_size = mxc_jpeg_setup_cfg_stream(cfg_stream_vaddr, in mxc_jpeg_config_dec_desc() 849 cfg_desc->stm_bufsize = ALIGN(*cfg_size, 1024); in mxc_jpeg_config_dec_desc()
|
/linux/arch/sparc/kernel/ |
A D | pci.c | 308 dev->cfg_size = pci_cfg_space_size(dev); in of_create_pci_dev()
|
/linux/drivers/net/ethernet/broadcom/bnx2x/ |
A D | bnx2x_main.c | 11174 int cfg_size = 0, idx, port = BP_PORT(bp); in bnx2x_link_settings_supported() local 11182 cfg_size = 1; in bnx2x_link_settings_supported() 11186 cfg_size = 1; in bnx2x_link_settings_supported() 11201 cfg_size = 2; in bnx2x_link_settings_supported() 11234 for (idx = 0; idx < cfg_size; idx++) { in bnx2x_link_settings_supported() 11275 u32 link_config, idx, cfg_size = 0; in bnx2x_link_settings_requested() local 11281 cfg_size = 1; in bnx2x_link_settings_requested() 11284 cfg_size = 2; in bnx2x_link_settings_requested() 11287 for (idx = 0; idx < cfg_size; idx++) { in bnx2x_link_settings_requested()
|
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/misc/habanalabs/common/ |
A D | habanalabs.h | 565 u32 cfg_size; member
|
/linux/include/linux/ |
A D | pci.h | 399 int cfg_size; /* Size of config space */ member
|
/linux/arch/powerpc/platforms/powernv/ |
A D | pci-ioda.c | 3231 dev->cfg_size = PCI_CFG_SPACE_EXP_SIZE; in pnv_npu2_opencapi_cfg_size_fixup()
|
/linux/drivers/net/ethernet/realtek/ |
A D | r8169_main.c | 2584 if (pdev->cfg_size > 0x070f && in rtl_set_aspm_entry_latency()
|