Lines Matching refs:pci_reg

766         ha->pci_reg = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &ha->reg_rid,  in qlnx_pci_attach()
769 if (ha->pci_reg == NULL) { in qlnx_pci_attach()
820 ha->pci_dev, ha->pci_reg, rsrc_len_reg, in qlnx_pci_attach()
909 ha->pci_reg, rsrc_len_reg, in qlnx_pci_attach()
1215 ha->cdev.regview = ha->pci_reg; in qlnx_init_hw()
1227 ha->pci_dbells = ha->pci_reg; in qlnx_init_hw()
1347 if (ha->pci_reg) in qlnx_release()
1349 ha->pci_reg); in qlnx_release()
3128 bus_barrier(ha->pci_reg, 0, 0, BUS_SPACE_BARRIER_READ); in qlnx_txq_doorbell_wr32()
5187 qlnx_pci_read_config_byte(void *ecore_dev, uint32_t pci_reg, uint8_t *reg_value) in qlnx_pci_read_config_byte() argument
5190 pci_reg, 1); in qlnx_pci_read_config_byte()
5195 qlnx_pci_read_config_word(void *ecore_dev, uint32_t pci_reg, in qlnx_pci_read_config_word() argument
5199 pci_reg, 2); in qlnx_pci_read_config_word()
5204 qlnx_pci_read_config_dword(void *ecore_dev, uint32_t pci_reg, in qlnx_pci_read_config_dword() argument
5208 pci_reg, 4); in qlnx_pci_read_config_dword()
5213 qlnx_pci_write_config_byte(void *ecore_dev, uint32_t pci_reg, uint8_t reg_value) in qlnx_pci_write_config_byte() argument
5216 pci_reg, reg_value, 1); in qlnx_pci_write_config_byte()
5221 qlnx_pci_write_config_word(void *ecore_dev, uint32_t pci_reg, in qlnx_pci_write_config_word() argument
5225 pci_reg, reg_value, 2); in qlnx_pci_write_config_word()
5230 qlnx_pci_write_config_dword(void *ecore_dev, uint32_t pci_reg, in qlnx_pci_write_config_dword() argument
5234 pci_reg, reg_value, 4); in qlnx_pci_write_config_dword()
5278 data32 = bus_read_4(((qlnx_host_t *)p_hwfn->p_dev)->pci_reg, \ in qlnx_reg_rd32()
5289 bus_write_4(((qlnx_host_t *)p_hwfn->p_dev)->pci_reg, \ in qlnx_reg_wr32()
5300 bus_write_2(((qlnx_host_t *)p_hwfn->p_dev)->pci_reg, \ in qlnx_reg_wr16()
5343 data32 = bus_read_4(((qlnx_host_t *)cdev)->pci_reg, offset); in qlnx_direct_reg_rd32()
5357 bus_write_4(((qlnx_host_t *)cdev)->pci_reg, offset, value); in qlnx_direct_reg_wr32()
5371 bus_write_8(((qlnx_host_t *)cdev)->pci_reg, offset, value); in qlnx_direct_reg_wr64()
5391 bus_barrier(ha->pci_reg, 0, 0, BUS_SPACE_BARRIER_WRITE); in qlnx_barrier()