Home
last modified time | relevance | path

Searched refs:pci_reg1 (Results 1 – 6 of 6) sorted by relevance

/freebsd/sys/dev/qlxge/
H A Dqls_hw.h919 #define Q81_WR_WQ_PROD_IDX(wq_idx, idx) bus_write_4((ha->pci_reg1),\
922 #define Q81_RD_WQ_IDX(wq_idx) bus_read_4((ha->pci_reg1),\
925 #define Q81_SET_WQ_VALID(wq_idx) bus_write_4((ha->pci_reg1),\
929 #define Q81_SET_WQ_INVALID(wq_idx) bus_write_4((ha->pci_reg1),\
933 #define Q81_WR_CQ_CONS_IDX(cq_idx, idx) bus_write_4((ha->pci_reg1),\
936 #define Q81_RD_CQ_IDX(cq_idx) bus_read_4((ha->pci_reg1),\
939 #define Q81_SET_CQ_VALID(cq_idx) bus_write_4((ha->pci_reg1),\
943 #define Q81_SET_CQ_INVALID(cq_idx) bus_write_4((ha->pci_reg1),\
947 #define Q81_WR_LBQ_PROD_IDX(cq_idx, idx) bus_write_4((ha->pci_reg1),\
950 #define Q81_RD_LBQ_IDX(cq_idx) bus_read_4((ha->pci_reg1),\
[all …]
H A Dqls_os.c360 ha->pci_reg1 = bus_alloc_resource_any(dev, SYS_RES_MEMORY, in qls_pci_attach()
363 if (ha->pci_reg1 == NULL) { in qls_pci_attach()
388 ha->pci_func, ha->msix_count, ha->pci_reg, ha->pci_reg1)); in qls_pci_attach()
568 if (ha->pci_reg1) in qls_release()
570 ha->pci_reg1); in qls_release()
H A Dqls_def.h274 struct resource *pci_reg1; member
H A Dqls_hw.c1137 txr->wq_db_addr = (struct resource *)((uint8_t *)ha->pci_reg1 in qls_init_work_queue()
/freebsd/sys/dev/qlxgbe/
H A Dql_def.h160 struct resource *pci_reg1; member
H A Dql_os.c370 ha->pci_reg1 = bus_alloc_resource_any(dev, SYS_RES_MEMORY, in qla_pci_attach()
388 ha->pci_reg1)); in qla_pci_attach()
411 ha->pci_reg, ha->pci_reg1, num_rcvq)); in qla_pci_attach()
699 if (ha->pci_reg1) in qla_release()
701 ha->pci_reg1); in qla_release()