/linux-4.1.27/drivers/pci/ |
H A D | proc.c | 23 return fixed_size_llseek(file, off, whence, dev->cfg_size); proc_bus_pci_lseek() 40 size = dev->cfg_size; proc_bus_pci_read() 116 int size = dev->cfg_size; proc_bus_pci_write() 180 i_size_write(ino, dev->cfg_size); proc_bus_pci_write() 402 proc_set_size(e, dev->cfg_size); pci_proc_attach_device()
|
H A D | pci-sysfs.c | 638 size = dev->cfg_size; pci_read_config() 713 if (off > dev->cfg_size) pci_write_config() 715 if (off + count > dev->cfg_size) { pci_write_config() 716 size = dev->cfg_size - off; pci_write_config() 1372 if (pdev->cfg_size < PCI_CFG_SPACE_EXP_SIZE) pci_create_sysfs_dev_files() 1427 if (pdev->cfg_size < PCI_CFG_SPACE_EXP_SIZE) pci_create_sysfs_dev_files() 1464 if (pdev->cfg_size < PCI_CFG_SPACE_EXP_SIZE) pci_remove_sysfs_dev_files()
|
H A D | probe.c | 1160 dev->cfg_size = pci_cfg_space_size(dev); pci_setup_device()
|
H A D | pci.c | 285 if (dev->cfg_size <= PCI_CFG_SPACE_SIZE) pci_find_next_ext_capability()
|
H A D | quirks.c | 287 dev->cfg_size = 0xA0; quirk_citrine()
|
/linux-4.1.27/drivers/staging/rtl8192e/rtl8192e/ |
H A D | r8192E_cmdpkt.h | 73 u8 cfg_size:2; member in struct:cmpk_set_cfg
|
H A D | r8192E_cmdpkt.c | 208 rx_query_cfg.cfg_size = (pmsg[4] & 0x18) >> 3; cmpk_handle_query_config_rx()
|
/linux-4.1.27/drivers/staging/rtl8192u/ |
H A D | r819xU_cmdpkt.h | 74 u8 cfg_size:2; member in struct:tag_cmd_pkt_set_configuration
|
H A D | r819xU_cmdpkt.c | 305 rx_query_cfg.cfg_size = (pmsg[4] & 0x18) >> 3; cmpk_handle_query_config_rx()
|
/linux-4.1.27/drivers/vfio/pci/ |
H A D | vfio_pci_config.c | 1299 loops = (pdev->cfg_size - PCI_CFG_SPACE_SIZE) / PCI_CAP_SIZEOF; vfio_ecap_init() 1393 * us from allocating cfg_size buffers for virt and write for every 1410 map = kmalloc(pdev->cfg_size, GFP_KERNEL); vfio_config_init() 1414 vconfig = kmalloc(pdev->cfg_size, GFP_KERNEL); vfio_config_init() 1425 pdev->cfg_size - PCI_STD_HEADER_SIZEOF); vfio_config_init() 1509 if (*ppos < 0 || *ppos >= pdev->cfg_size || vfio_config_do_rw() 1510 *ppos + count > pdev->cfg_size) vfio_config_do_rw()
|
H A D | vfio_pci.c | 467 info.size = pdev->cfg_size; vfio_pci_ioctl()
|
/linux-4.1.27/drivers/scsi/ |
H A D | wd719x.h | 217 u8 cfg_size; member in struct:wd719x_eeprom_header
|
/linux-4.1.27/arch/x86/pci/ |
H A D | intel_mid_pci.c | 311 if (dev->cfg_size < PCIE_CAP_OFFSET + 4) pci_fixed_bar_fixup()
|
/linux-4.1.27/arch/powerpc/kernel/ |
H A D | pci_of_scan.c | 157 dev->cfg_size = pci_cfg_space_size(dev); of_create_pci_dev()
|
/linux-4.1.27/arch/sparc/kernel/ |
H A D | pci.c | 304 dev->cfg_size = pci_cfg_space_size(dev); of_create_pci_dev()
|
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_main.c | 10938 int cfg_size = 0, idx, port = BP_PORT(bp); bnx2x_link_settings_supported() local 10946 cfg_size = 1; bnx2x_link_settings_supported() 10950 cfg_size = 1; bnx2x_link_settings_supported() 10965 cfg_size = 2; bnx2x_link_settings_supported() 10998 for (idx = 0; idx < cfg_size; idx++) { bnx2x_link_settings_supported() 11039 u32 link_config, idx, cfg_size = 0; bnx2x_link_settings_requested() local 11045 cfg_size = 1; bnx2x_link_settings_requested() 11048 cfg_size = 2; bnx2x_link_settings_requested() 11051 for (idx = 0; idx < cfg_size; idx++) { bnx2x_link_settings_requested()
|
H A D | bnx2x_link.c | 252 u32 link_status, cfg_idx, lfa_mask, cfg_size; bnx2x_check_lfa() local 294 cfg_size = 2; bnx2x_check_lfa() 297 cfg_size = 1; bnx2x_check_lfa() 329 for (cfg_idx = 0; cfg_idx < cfg_size; cfg_idx++) { bnx2x_check_lfa()
|
/linux-4.1.27/include/linux/ |
H A D | pci.h | 324 int cfg_size; /* Size of configuration space */ member in struct:pci_dev
|