Lines Matching refs:csr_addr
104 WRITE_CSR_INT_COL_EN(bank->csr_addr, bank->bank_number, bank->irq_mask); in adf_enable_ring_irq()
105 WRITE_CSR_INT_COL_CTL(bank->csr_addr, bank->bank_number, in adf_enable_ring_irq()
114 WRITE_CSR_INT_COL_EN(bank->csr_addr, bank->bank_number, bank->irq_mask); in adf_disable_ring_irq()
131 WRITE_CSR_RING_TAIL(ring->bank->csr_addr, ring->bank->bank_number, in adf_send_message()
152 WRITE_CSR_RING_HEAD(ring->bank->csr_addr, in adf_handle_response()
164 WRITE_CSR_RING_CONFIG(ring->bank->csr_addr, ring->bank->bank_number, in adf_configure_tx_ring()
175 WRITE_CSR_RING_CONFIG(ring->bank->csr_addr, ring->bank->bank_number, in adf_configure_rx_ring()
212 WRITE_CSR_RING_BASE(ring->bank->csr_addr, ring->bank->bank_number, in adf_init_ring()
322 WRITE_CSR_RING_CONFIG(bank->csr_addr, bank->bank_number, in adf_remove_ring()
324 WRITE_CSR_RING_BASE(bank->csr_addr, bank->bank_number, in adf_remove_ring()
337 empty_rings = READ_CSR_E_STAT(bank->csr_addr, bank->bank_number); in adf_ring_response_handler()
363 WRITE_CSR_INT_FLAG_AND_COL(bank->csr_addr, bank->bank_number, in adf_response_handler()
401 uint32_t bank_num, void __iomem *csr_addr) in adf_init_bank() argument
410 bank->csr_addr = csr_addr; in adf_init_bank()
425 WRITE_CSR_RING_CONFIG(csr_addr, bank_num, i, 0); in adf_init_bank()
426 WRITE_CSR_RING_BASE(csr_addr, bank_num, i, 0); in adf_init_bank()
451 WRITE_CSR_INT_SRCSEL(csr_addr, bank_num); in adf_init_bank()
476 void __iomem *csr_addr; in adf_init_etr_data() local
497 csr_addr = accel_dev->accel_pci_dev.pci_bars[i].virt_addr; in adf_init_etr_data()
511 csr_addr); in adf_init_etr_data()