Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/bus/mhi/host/
Dpci_generic.c44 unsigned int bar_num; member
265 .bar_num = MHI_PCI_DEFAULT_BAR_NUM,
275 .bar_num = MHI_PCI_DEFAULT_BAR_NUM,
285 .bar_num = MHI_PCI_DEFAULT_BAR_NUM,
328 .bar_num = MHI_PCI_DEFAULT_BAR_NUM,
368 .bar_num = MHI_PCI_DEFAULT_BAR_NUM,
377 .bar_num = MHI_PCI_DEFAULT_BAR_NUM,
413 .bar_num = MHI_PCI_DEFAULT_BAR_NUM,
421 .bar_num = MHI_PCI_DEFAULT_BAR_NUM,
461 .bar_num = MHI_PCI_DEFAULT_BAR_NUM,
[all …]
/linux-6.1.9/drivers/scsi/isci/
Dinit.c288 int err, bar_num, bar_mask = 0; in isci_pci_init() local
299 for (bar_num = 0; bar_num < SCI_PCI_BAR_COUNT; bar_num++) in isci_pci_init()
300 bar_mask |= 1 << (bar_num * 2); in isci_pci_init()
/linux-6.1.9/drivers/net/ethernet/cisco/enic/
Dvnic_dev.c75 u8 bar_num = ioread8(&r->bar); in vnic_dev_discover_res() local
82 if (bar_num >= num_bars) in vnic_dev_discover_res()
85 if (!bar[bar_num].len || !bar[bar_num].vaddr) in vnic_dev_discover_res()
95 if (len + bar_offset > bar[bar_num].len) { in vnic_dev_discover_res()
98 bar[bar_num].len); in vnic_dev_discover_res()
112 vdev->res[type].vaddr = (char __iomem *)bar[bar_num].vaddr + in vnic_dev_discover_res()
114 vdev->res[type].bus_addr = bar[bar_num].bus_addr + bar_offset; in vnic_dev_discover_res()
/linux-6.1.9/drivers/scsi/snic/
Dvnic_dev.c104 u8 bar_num = ioread8(&r->bar); in vnic_dev_discover_res() local
111 if (bar_num >= num_bars) in vnic_dev_discover_res()
114 if (!bar[bar_num].len || !bar[bar_num].vaddr) in vnic_dev_discover_res()
/linux-6.1.9/drivers/infiniband/hw/usnic/
Dusnic_vnic.c412 int bar_num) in usnic_vnic_get_bar() argument
414 return (bar_num < ARRAY_SIZE(vnic->bar)) ? &vnic->bar[bar_num] : NULL; in usnic_vnic_get_bar()
Dusnic_vnic.h113 int bar_num);
/linux-6.1.9/drivers/scsi/lpfc/
Dlpfc_debugfs.c3589 int bar_num, acc_range, bar_size; in lpfc_idiag_baracc_read() local
3613 bar_num = idiag.cmd.data[IDIAG_BARACC_BAR_NUM_INDX]; in lpfc_idiag_baracc_read()
3625 if (bar_num == IDIAG_BARACC_BAR_0) in lpfc_idiag_baracc_read()
3627 else if (bar_num == IDIAG_BARACC_BAR_1) in lpfc_idiag_baracc_read()
3629 else if (bar_num == IDIAG_BARACC_BAR_2) in lpfc_idiag_baracc_read()
3634 if (bar_num == IDIAG_BARACC_BAR_0) in lpfc_idiag_baracc_read()
3739 uint32_t bar_num, bar_size, offset, value, acc_range; in lpfc_idiag_baracc_write() local
3758 bar_num = idiag.cmd.data[IDIAG_BARACC_BAR_NUM_INDX]; in lpfc_idiag_baracc_write()
3761 if ((bar_num != IDIAG_BARACC_BAR_0) && in lpfc_idiag_baracc_write()
3762 (bar_num != IDIAG_BARACC_BAR_1) && in lpfc_idiag_baracc_write()
[all …]
/linux-6.1.9/drivers/scsi/fnic/
Dvnic_dev.c106 u8 bar_num = ioread8(&r->bar); in vnic_dev_discover_res() local
113 if (bar_num != 0) /* only mapping in BAR0 resources */ in vnic_dev_discover_res()