Home
last modified time | relevance | path

Searched refs:cfg_size (Results 1 – 14 of 14) 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()
414 proc_set_size(e, dev->cfg_size); in pci_proc_attach_device()
Dpci-sysfs.c652 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()
1387 if (pdev->cfg_size > PCI_CFG_SPACE_SIZE) in pci_create_sysfs_dev_files()
1438 if (pdev->cfg_size > PCI_CFG_SPACE_SIZE) in pci_create_sysfs_dev_files()
1473 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()
4604 pdev->cfg_size = PCI_CFG_SPACE_EXP_SIZE; in quirk_intel_qat_vf_cap()
4607 pdev->cfg_size = PCI_CFG_SPACE_SIZE; in quirk_intel_qat_vf_cap()
Dprobe.c1244 dev->cfg_size = pci_cfg_space_size(dev); in pci_setup_device()
Dpci.c318 if (dev->cfg_size <= PCI_CFG_SPACE_SIZE) in pci_find_next_ext_capability()
/drivers/pci/host/
Dpcie-designware.c683 u32 busdev, cfg_size; in dw_pcie_rd_other_conf() local
696 cfg_size = pp->cfg0_size; in dw_pcie_rd_other_conf()
701 cfg_size = pp->cfg1_size; in dw_pcie_rd_other_conf()
707 busdev, cfg_size); in dw_pcie_rd_other_conf()
721 u32 busdev, cfg_size; in dw_pcie_wr_other_conf() local
734 cfg_size = pp->cfg0_size; in dw_pcie_wr_other_conf()
739 cfg_size = pp->cfg1_size; in dw_pcie_wr_other_conf()
745 busdev, cfg_size); in dw_pcie_wr_other_conf()
/drivers/vfio/pci/
Dvfio_pci_igd.c237 &vfio_pci_igd_cfg_regops, host_bridge->cfg_size, in vfio_pci_igd_cfg_init()
257 &vfio_pci_igd_cfg_regops, lpc_bridge->cfg_size, in vfio_pci_igd_cfg_init()
Dvfio_pci_config.c1250 if (pdev->cfg_size > PCI_CFG_SPACE_SIZE) { in vfio_cap_len()
1267 if (pdev->cfg_size > PCI_CFG_SPACE_SIZE) { in vfio_cap_len()
1523 loops = (pdev->cfg_size - PCI_CFG_SPACE_SIZE) / PCI_CAP_SIZEOF; in vfio_ecap_init()
1634 map = kmalloc(pdev->cfg_size, GFP_KERNEL); in vfio_config_init()
1638 vconfig = kmalloc(pdev->cfg_size, GFP_KERNEL); in vfio_config_init()
1649 pdev->cfg_size - PCI_STD_HEADER_SIZEOF); in vfio_config_init()
1733 if (*ppos < 0 || *ppos >= pdev->cfg_size || in vfio_config_do_rw()
1734 *ppos + count > pdev->cfg_size) in vfio_config_do_rw()
Dvfio_pci.c690 info.size = pdev->cfg_size; in vfio_pci_ioctl()
/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/scsi/
Dwd719x.h215 u8 cfg_size; member
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_main.c11192 int cfg_size = 0, idx, port = BP_PORT(bp); in bnx2x_link_settings_supported() local
11200 cfg_size = 1; in bnx2x_link_settings_supported()
11204 cfg_size = 1; in bnx2x_link_settings_supported()
11219 cfg_size = 2; in bnx2x_link_settings_supported()
11252 for (idx = 0; idx < cfg_size; idx++) { in bnx2x_link_settings_supported()
11293 u32 link_config, idx, cfg_size = 0; in bnx2x_link_settings_requested() local
11299 cfg_size = 1; in bnx2x_link_settings_requested()
11302 cfg_size = 2; in bnx2x_link_settings_requested()
11305 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()