Searched refs:cfg_size (Results 1 – 13 of 13) sorted by relevance
/drivers/pci/ |
D | proc.c | 23 return fixed_size_llseek(file, off, whence, dev->cfg_size); in proc_bus_pci_lseek() 40 size = dev->cfg_size; in proc_bus_pci_read() 116 int size = dev->cfg_size; in proc_bus_pci_write() 180 i_size_write(ino, dev->cfg_size); in proc_bus_pci_write() 402 proc_set_size(e, dev->cfg_size); in pci_proc_attach_device()
|
D | pci-sysfs.c | 651 size = dev->cfg_size; in pci_read_config() 726 if (off > dev->cfg_size) in pci_write_config() 728 if (off + count > dev->cfg_size) { in pci_write_config() 729 size = dev->cfg_size - off; in pci_write_config() 1388 if (pdev->cfg_size > PCI_CFG_SPACE_SIZE) in pci_create_sysfs_dev_files() 1443 if (pdev->cfg_size > PCI_CFG_SPACE_SIZE) in pci_create_sysfs_dev_files() 1480 if (pdev->cfg_size > PCI_CFG_SPACE_SIZE) in pci_remove_sysfs_dev_files()
|
D | quirks.c | 286 dev->cfg_size = 0xA0; in quirk_citrine() 296 dev->cfg_size = 0x600; in quirk_nfp6000() 4253 pdev->cfg_size = PCI_CFG_SPACE_EXP_SIZE; in quirk_intel_qat_vf_cap() 4256 pdev->cfg_size = PCI_CFG_SPACE_SIZE; in quirk_intel_qat_vf_cap()
|
D | probe.c | 1217 dev->cfg_size = pci_cfg_space_size(dev); in pci_setup_device()
|
D | pci.c | 297 if (dev->cfg_size <= PCI_CFG_SPACE_SIZE) in pci_find_next_ext_capability()
|
/drivers/pci/host/ |
D | pcie-designware.c | 570 u32 busdev, cfg_size; in dw_pcie_rd_other_conf() local 580 cfg_size = pp->cfg0_size; in dw_pcie_rd_other_conf() 585 cfg_size = pp->cfg1_size; in dw_pcie_rd_other_conf() 591 busdev, cfg_size); in dw_pcie_rd_other_conf() 604 u32 busdev, cfg_size; in dw_pcie_wr_other_conf() local 614 cfg_size = pp->cfg0_size; in dw_pcie_wr_other_conf() 619 cfg_size = pp->cfg1_size; in dw_pcie_wr_other_conf() 625 busdev, cfg_size); in dw_pcie_wr_other_conf()
|
/drivers/staging/rtl8192u/ |
D | r819xU_cmdpkt.h | 74 u8 cfg_size:2; member
|
D | r819xU_cmdpkt.c | 305 rx_query_cfg.cfg_size = (pmsg[4] & 0x18) >> 3; in cmpk_handle_query_config_rx()
|
/drivers/vfio/pci/ |
D | vfio_pci_config.c | 1472 loops = (pdev->cfg_size - PCI_CFG_SPACE_SIZE) / PCI_CAP_SIZEOF; in vfio_ecap_init() 1583 map = kmalloc(pdev->cfg_size, GFP_KERNEL); in vfio_config_init() 1587 vconfig = kmalloc(pdev->cfg_size, GFP_KERNEL); in vfio_config_init() 1598 pdev->cfg_size - PCI_STD_HEADER_SIZEOF); in vfio_config_init() 1685 if (*ppos < 0 || *ppos >= pdev->cfg_size || in vfio_config_do_rw() 1686 *ppos + count > pdev->cfg_size) in vfio_config_do_rw()
|
D | vfio_pci.c | 489 info.size = pdev->cfg_size; in vfio_pci_ioctl()
|
/drivers/scsi/ |
D | wd719x.h | 215 u8 cfg_size; member
|
/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_main.c | 11162 int cfg_size = 0, idx, port = BP_PORT(bp); in bnx2x_link_settings_supported() local 11170 cfg_size = 1; in bnx2x_link_settings_supported() 11174 cfg_size = 1; in bnx2x_link_settings_supported() 11189 cfg_size = 2; in bnx2x_link_settings_supported() 11222 for (idx = 0; idx < cfg_size; idx++) { in bnx2x_link_settings_supported() 11263 u32 link_config, idx, cfg_size = 0; in bnx2x_link_settings_requested() local 11269 cfg_size = 1; in bnx2x_link_settings_requested() 11272 cfg_size = 2; in bnx2x_link_settings_requested() 11275 for (idx = 0; idx < cfg_size; idx++) { in bnx2x_link_settings_requested()
|
D | bnx2x_link.c | 254 u32 link_status, cfg_idx, lfa_mask, cfg_size; in bnx2x_check_lfa() local 296 cfg_size = 2; in bnx2x_check_lfa() 299 cfg_size = 1; in bnx2x_check_lfa() 331 for (cfg_idx = 0; cfg_idx < cfg_size; cfg_idx++) { in bnx2x_check_lfa()
|