/freebsd-10.0-release/sys/dev/qlxgb/ |
H A D | 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);\
|
H A D | qla_def.h | 134 struct resource *pci_reg; member in struct:qla_host
|
H A D | qla_os.c | 263 ha->pci_reg = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &ha->reg_rid, 266 if (ha->pci_reg == NULL) { 289 " msix_count 0x%x pci_reg %p\n", __func__, ha, 290 ha->irq, ha->pci_func, rsrc_len, ha->msix_count, ha->pci_reg)); 511 if (ha->pci_reg) 513 ha->pci_reg);
|
/freebsd-10.0-release/sys/dev/mpt/ |
H A D | mpt_pci.c | 459 mpt->pci_reg = bus_alloc_resource_any(dev, SYS_RES_MEMORY, 461 if (mpt->pci_reg == NULL) { 476 mpt->pci_st = rman_get_bustag(mpt->pci_reg); 477 mpt->pci_sh = rman_get_bushandle(mpt->pci_reg); 611 if (mpt->pci_reg) { 613 rman_get_rid(mpt->pci_reg), mpt->pci_reg); 614 mpt->pci_reg = NULL;
|
H A D | mpt.h | 684 struct resource * pci_reg; /* Register map for chip */ member in struct:mpt_softc
|
/freebsd-10.0-release/sys/dev/qlxgbe/ |
H A D | ql_def.h | 146 struct resource *pci_reg; member in struct:qla_host
|
H A D | 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);\ 1541 bus_write_4((ha->pci_reg), prod_reg, val); 1547 bus_write_4((ha->pci_reg), (ha->hw.sds[i].sds_consumer), val); 1550 bus_write_4((ha->pci_reg), (ha->hw.intr_src[i]), 0);
|
H A D | ql_os.c | 295 ha->pci_reg = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &ha->reg_rid, 298 if (ha->pci_reg == NULL) { 328 " msix_count 0x%x pci_reg %p\n", __func__, ha, 329 ha->pci_func, rsrc_len, ha->msix_count, ha->pci_reg)); 588 if (ha->pci_reg) 590 ha->pci_reg);
|
/freebsd-10.0-release/sys/dev/qlxge/ |
H A D | qls_def.h | 274 struct resource *pci_reg; member in struct:qla_host
|
H A D | 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)
|
H A D | qls_os.c | 360 ha->pci_reg = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &ha->reg_rid, 363 if (ha->pci_reg == NULL) { 396 " pci_reg %p pci_reg1 %p\n", __func__, ha, 397 ha->pci_func, ha->msix_count, ha->pci_reg, ha->pci_reg1); 577 if (ha->pci_reg) 579 ha->pci_reg);
|