Home
last modified time | relevance | path

Searched refs:bar_num (Results 1 – 4 of 4) sorted by relevance

/linux-3.4.99/drivers/scsi/isci/
Dinit.c285 int err, bar_num, bar_mask = 0; in isci_pci_init() local
296 for (bar_num = 0; bar_num < SCI_PCI_BAR_COUNT; bar_num++) in isci_pci_init()
297 bar_mask |= 1 << (bar_num * 2); in isci_pci_init()
/linux-3.4.99/drivers/net/ethernet/cisco/enic/
Dvnic_dev.c126 u8 bar_num = ioread8(&r->bar); in vnic_dev_discover_res() local
133 if (bar_num >= num_bars) in vnic_dev_discover_res()
136 if (!bar[bar_num].len || !bar[bar_num].vaddr) in vnic_dev_discover_res()
146 if (len + bar_offset > bar[bar_num].len) { in vnic_dev_discover_res()
152 bar[bar_num].len); in vnic_dev_discover_res()
165 vdev->res[type].vaddr = (char __iomem *)bar[bar_num].vaddr + in vnic_dev_discover_res()
167 vdev->res[type].bus_addr = bar[bar_num].bus_addr + bar_offset; in vnic_dev_discover_res()
/linux-3.4.99/drivers/scsi/lpfc/
Dlpfc_debugfs.c1717 int bar_num, acc_range, bar_size; in lpfc_idiag_baracc_read() local
1741 bar_num = idiag.cmd.data[IDIAG_BARACC_BAR_NUM_INDX]; in lpfc_idiag_baracc_read()
1753 if (bar_num == IDIAG_BARACC_BAR_0) in lpfc_idiag_baracc_read()
1755 else if (bar_num == IDIAG_BARACC_BAR_1) in lpfc_idiag_baracc_read()
1757 else if (bar_num == IDIAG_BARACC_BAR_2) in lpfc_idiag_baracc_read()
1762 if (bar_num == IDIAG_BARACC_BAR_0) in lpfc_idiag_baracc_read()
1867 uint32_t bar_num, bar_size, offset, value, acc_range; in lpfc_idiag_baracc_write() local
1886 bar_num = idiag.cmd.data[IDIAG_BARACC_BAR_NUM_INDX]; in lpfc_idiag_baracc_write()
1889 if ((bar_num != IDIAG_BARACC_BAR_0) && in lpfc_idiag_baracc_write()
1890 (bar_num != IDIAG_BARACC_BAR_1) && in lpfc_idiag_baracc_write()
[all …]
/linux-3.4.99/drivers/scsi/fnic/
Dvnic_dev.c94 u8 bar_num = ioread8(&r->bar); in vnic_dev_discover_res() local
101 if (bar_num != 0) /* only mapping in BAR0 resources */ in vnic_dev_discover_res()