Home
last modified time | relevance | path

Searched refs:cfg_size (Results 1 – 13 of 13) sorted by relevance

/drivers/pci/
Dproc.c23 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()
Dpci-sysfs.c651 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()
Dquirks.c286 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()
Dprobe.c1217 dev->cfg_size = pci_cfg_space_size(dev); in pci_setup_device()
Dpci.c297 if (dev->cfg_size <= PCI_CFG_SPACE_SIZE) in pci_find_next_ext_capability()
/drivers/pci/host/
Dpcie-designware.c570 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/
Dr819xU_cmdpkt.h74 u8 cfg_size:2; member
Dr819xU_cmdpkt.c305 rx_query_cfg.cfg_size = (pmsg[4] & 0x18) >> 3; in cmpk_handle_query_config_rx()
/drivers/vfio/pci/
Dvfio_pci_config.c1472 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()
Dvfio_pci.c489 info.size = pdev->cfg_size; in vfio_pci_ioctl()
/drivers/scsi/
Dwd719x.h215 u8 cfg_size; member
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_main.c11162 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()
Dbnx2x_link.c254 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()