Searched refs:cfg_size (Results 1 - 18 of 18) sorted by relevance

/linux-4.1.27/drivers/pci/
H A Dproc.c23 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 Dpci-sysfs.c638 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 Dprobe.c1160 dev->cfg_size = pci_cfg_space_size(dev); pci_setup_device()
H A Dpci.c285 if (dev->cfg_size <= PCI_CFG_SPACE_SIZE) pci_find_next_ext_capability()
H A Dquirks.c287 dev->cfg_size = 0xA0; quirk_citrine()
/linux-4.1.27/drivers/staging/rtl8192e/rtl8192e/
H A Dr8192E_cmdpkt.h73 u8 cfg_size:2; member in struct:cmpk_set_cfg
H A Dr8192E_cmdpkt.c208 rx_query_cfg.cfg_size = (pmsg[4] & 0x18) >> 3; cmpk_handle_query_config_rx()
/linux-4.1.27/drivers/staging/rtl8192u/
H A Dr819xU_cmdpkt.h74 u8 cfg_size:2; member in struct:tag_cmd_pkt_set_configuration
H A Dr819xU_cmdpkt.c305 rx_query_cfg.cfg_size = (pmsg[4] & 0x18) >> 3; cmpk_handle_query_config_rx()
/linux-4.1.27/drivers/vfio/pci/
H A Dvfio_pci_config.c1299 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 Dvfio_pci.c467 info.size = pdev->cfg_size; vfio_pci_ioctl()
/linux-4.1.27/drivers/scsi/
H A Dwd719x.h217 u8 cfg_size; member in struct:wd719x_eeprom_header
/linux-4.1.27/arch/x86/pci/
H A Dintel_mid_pci.c311 if (dev->cfg_size < PCIE_CAP_OFFSET + 4) pci_fixed_bar_fixup()
/linux-4.1.27/arch/powerpc/kernel/
H A Dpci_of_scan.c157 dev->cfg_size = pci_cfg_space_size(dev); of_create_pci_dev()
/linux-4.1.27/arch/sparc/kernel/
H A Dpci.c304 dev->cfg_size = pci_cfg_space_size(dev); of_create_pci_dev()
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_main.c10938 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 Dbnx2x_link.c252 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 Dpci.h324 int cfg_size; /* Size of configuration space */ member in struct:pci_dev

Completed in 498 milliseconds