Lines Matching refs:bank
13 static u32 read_csr_ring_head(void __iomem *csr_base_addr, u32 bank, u32 ring) in read_csr_ring_head() argument
15 return READ_CSR_RING_HEAD(csr_base_addr, bank, ring); in read_csr_ring_head()
18 static void write_csr_ring_head(void __iomem *csr_base_addr, u32 bank, u32 ring, in write_csr_ring_head() argument
21 WRITE_CSR_RING_HEAD(csr_base_addr, bank, ring, value); in write_csr_ring_head()
24 static u32 read_csr_ring_tail(void __iomem *csr_base_addr, u32 bank, u32 ring) in read_csr_ring_tail() argument
26 return READ_CSR_RING_TAIL(csr_base_addr, bank, ring); in read_csr_ring_tail()
29 static void write_csr_ring_tail(void __iomem *csr_base_addr, u32 bank, u32 ring, in write_csr_ring_tail() argument
32 WRITE_CSR_RING_TAIL(csr_base_addr, bank, ring, value); in write_csr_ring_tail()
35 static u32 read_csr_e_stat(void __iomem *csr_base_addr, u32 bank) in read_csr_e_stat() argument
37 return READ_CSR_E_STAT(csr_base_addr, bank); in read_csr_e_stat()
40 static void write_csr_ring_config(void __iomem *csr_base_addr, u32 bank, u32 ring, in write_csr_ring_config() argument
43 WRITE_CSR_RING_CONFIG(csr_base_addr, bank, ring, value); in write_csr_ring_config()
46 static void write_csr_ring_base(void __iomem *csr_base_addr, u32 bank, u32 ring, in write_csr_ring_base() argument
49 WRITE_CSR_RING_BASE(csr_base_addr, bank, ring, addr); in write_csr_ring_base()
52 static void write_csr_int_flag(void __iomem *csr_base_addr, u32 bank, in write_csr_int_flag() argument
55 WRITE_CSR_INT_FLAG(csr_base_addr, bank, value); in write_csr_int_flag()
58 static void write_csr_int_srcsel(void __iomem *csr_base_addr, u32 bank) in write_csr_int_srcsel() argument
60 WRITE_CSR_INT_SRCSEL(csr_base_addr, bank); in write_csr_int_srcsel()
63 static void write_csr_int_col_en(void __iomem *csr_base_addr, u32 bank, u32 value) in write_csr_int_col_en() argument
65 WRITE_CSR_INT_COL_EN(csr_base_addr, bank, value); in write_csr_int_col_en()
68 static void write_csr_int_col_ctl(void __iomem *csr_base_addr, u32 bank, in write_csr_int_col_ctl() argument
71 WRITE_CSR_INT_COL_CTL(csr_base_addr, bank, value); in write_csr_int_col_ctl()
74 static void write_csr_int_flag_and_col(void __iomem *csr_base_addr, u32 bank, in write_csr_int_flag_and_col() argument
77 WRITE_CSR_INT_FLAG_AND_COL(csr_base_addr, bank, value); in write_csr_int_flag_and_col()
80 static void write_csr_ring_srv_arb_en(void __iomem *csr_base_addr, u32 bank, in write_csr_ring_srv_arb_en() argument
83 WRITE_CSR_RING_SRV_ARB_EN(csr_base_addr, bank, value); in write_csr_ring_srv_arb_en()