Searched refs:bar_num (Results 1 – 7 of 7) sorted by relevance
284 int err, bar_num, bar_mask = 0; in isci_pci_init() local295 for (bar_num = 0; bar_num < SCI_PCI_BAR_COUNT; bar_num++) in isci_pci_init()296 bar_mask |= 1 << (bar_num * 2); in isci_pci_init()
88 u8 bar_num = ioread8(&r->bar); in vnic_dev_discover_res() local95 if (bar_num >= num_bars) in vnic_dev_discover_res()98 if (!bar[bar_num].len || !bar[bar_num].vaddr) in vnic_dev_discover_res()108 if (len + bar_offset > bar[bar_num].len) { in vnic_dev_discover_res()111 bar[bar_num].len); in vnic_dev_discover_res()125 vdev->res[type].vaddr = (char __iomem *)bar[bar_num].vaddr + in vnic_dev_discover_res()127 vdev->res[type].bus_addr = bar[bar_num].bus_addr + bar_offset; in vnic_dev_discover_res()
118 u8 bar_num = ioread8(&r->bar); in vnic_dev_discover_res() local125 if (bar_num >= num_bars) in vnic_dev_discover_res()128 if (!bar[bar_num].len || !bar[bar_num].vaddr) in vnic_dev_discover_res()
420 int bar_num) in usnic_vnic_get_bar() argument422 return (bar_num < ARRAY_SIZE(vnic->bar)) ? &vnic->bar[bar_num] : NULL; in usnic_vnic_get_bar()
113 int bar_num);
1713 int bar_num, acc_range, bar_size; in lpfc_idiag_baracc_read() local1737 bar_num = idiag.cmd.data[IDIAG_BARACC_BAR_NUM_INDX]; in lpfc_idiag_baracc_read()1749 if (bar_num == IDIAG_BARACC_BAR_0) in lpfc_idiag_baracc_read()1751 else if (bar_num == IDIAG_BARACC_BAR_1) in lpfc_idiag_baracc_read()1753 else if (bar_num == IDIAG_BARACC_BAR_2) in lpfc_idiag_baracc_read()1758 if (bar_num == IDIAG_BARACC_BAR_0) in lpfc_idiag_baracc_read()1863 uint32_t bar_num, bar_size, offset, value, acc_range; in lpfc_idiag_baracc_write() local1882 bar_num = idiag.cmd.data[IDIAG_BARACC_BAR_NUM_INDX]; in lpfc_idiag_baracc_write()1885 if ((bar_num != IDIAG_BARACC_BAR_0) && in lpfc_idiag_baracc_write()1886 (bar_num != IDIAG_BARACC_BAR_1) && in lpfc_idiag_baracc_write()[all …]
94 u8 bar_num = ioread8(&r->bar); in vnic_dev_discover_res() local101 if (bar_num != 0) /* only mapping in BAR0 resources */ in vnic_dev_discover_res()