Searched refs:pci_reg (Results 1 – 11 of 11) sorted by relevance
| /NextBSD/sys/dev/qlxgb/ |
| HD | qla_reg.h | 231 #define READ_REG32(ha, reg) bus_read_4((ha->pci_reg), reg) 236 bus_write_4((ha->pci_reg), reg, val);\ 237 bus_read_4((ha->pci_reg), reg);\ 243 bus_write_4((ha->pci_reg), reg, val);\ 248 bus_write_4((ha->pci_reg), off, val);\ 249 bus_read_4((ha->pci_reg), off);\
|
| HD | qla_def.h | 134 struct resource *pci_reg; member
|
| HD | qla_os.c | 263 ha->pci_reg = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &ha->reg_rid, in qla_pci_attach() 266 if (ha->pci_reg == NULL) { in qla_pci_attach() 290 ha->irq, ha->pci_func, rsrc_len, ha->msix_count, ha->pci_reg)); in qla_pci_attach() 511 if (ha->pci_reg) in qla_release() 513 ha->pci_reg); in qla_release()
|
| /NextBSD/sys/dev/mpt/ |
| HD | mpt_pci.c | 451 mpt->pci_reg = bus_alloc_resource_any(dev, SYS_RES_MEMORY, in mpt_pci_attach() 453 if (mpt->pci_reg == NULL) { in mpt_pci_attach() 468 mpt->pci_st = rman_get_bustag(mpt->pci_reg); in mpt_pci_attach() 469 mpt->pci_sh = rman_get_bushandle(mpt->pci_reg); in mpt_pci_attach() 595 if (mpt->pci_reg) { in mpt_free_bus_resources() 597 rman_get_rid(mpt->pci_reg), mpt->pci_reg); in mpt_free_bus_resources() 598 mpt->pci_reg = NULL; in mpt_free_bus_resources()
|
| HD | mpt.h | 651 struct resource * pci_reg; /* Register map for chip */ member
|
| /NextBSD/sys/dev/qlxgbe/ |
| HD | ql_hw.h | 203 #define READ_REG32(ha, reg) bus_read_4((ha->pci_reg), reg) 207 bus_write_4((ha->pci_reg), reg, val);\ 208 bus_read_4((ha->pci_reg), reg);\ 1610 bus_write_4((ha->pci_reg), prod_reg, val); 1616 bus_write_4((ha->pci_reg), (ha->hw.sds[i].sds_consumer), val); 1619 bus_write_4((ha->pci_reg), (ha->hw.intr_src[i]), 0);
|
| HD | ql_os.c | 311 ha->pci_reg = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &ha->reg_rid, in qla_pci_attach() 314 if (ha->pci_reg == NULL) { in qla_pci_attach() 345 ha->pci_func, rsrc_len, ha->msix_count, ha->pci_reg)); in qla_pci_attach() 367 ha->pci_func, rsrc_len, ha->msix_count, ha->pci_reg, num_rcvq); in qla_pci_attach() 633 if (ha->pci_reg) in qla_release() 635 ha->pci_reg); in qla_release()
|
| HD | ql_def.h | 146 struct resource *pci_reg; member
|
| /NextBSD/sys/dev/qlxge/ |
| HD | qls_hw.h | 920 #define READ_REG32(ha, reg) bus_read_4((ha->pci_reg), reg) 921 #define READ_REG64(ha, reg) bus_read_8((ha->pci_reg), reg) 923 #define WRITE_REG32_ONLY(ha, reg, val) bus_write_4((ha->pci_reg), reg, val) 925 #define WRITE_REG32(ha, reg, val) bus_write_4((ha->pci_reg), reg, val)
|
| HD | qls_os.c | 360 ha->pci_reg = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &ha->reg_rid, in qls_pci_attach() 363 if (ha->pci_reg == NULL) { in qls_pci_attach() 397 ha->pci_func, ha->msix_count, ha->pci_reg, ha->pci_reg1); in qls_pci_attach() 577 if (ha->pci_reg) in qls_release() 579 ha->pci_reg); in qls_release()
|
| HD | qls_def.h | 274 struct resource *pci_reg; member
|