Lines Matching refs:can_base_addr
183 static void read_data(QTestState *qts, uint64_t can_base_addr, uint32_t *buf_rx, in read_data() argument
192 int_status = qtest_readl(qts, can_base_addr + R_ISR_OFFSET) & ISR_RXOK; in read_data()
197 fifo_status_reg_value = qtest_readl(qts, can_base_addr + in read_data()
207 buf_rx[0] = qtest_readl(qts, can_base_addr + R_RX0_ID_OFFSET); in read_data()
208 buf_rx[1] = qtest_readl(qts, can_base_addr + R_RX0_DLC_OFFSET); in read_data()
212 can_base_addr + R_RX0_DATA1_OFFSET + 4 * i); in read_data()
219 static void write_data(QTestState *qts, uint64_t can_base_addr, in write_data() argument
223 qtest_writel(qts, can_base_addr + R_TXID_OFFSET, buf_tx[0]); in write_data()
224 qtest_writel(qts, can_base_addr + R_TXDLC_OFFSET, buf_tx[1]); in write_data()
228 qtest_writel(qts, can_base_addr + R_TXDATA1_OFFSET + 4 * i, in write_data()
232 qtest_writel(qts, can_base_addr + R_TXDATA1_OFFSET, buf_tx[2]); in write_data()
233 qtest_writel(qts, can_base_addr + R_TXDATA2_OFFSET, buf_tx[3]); in write_data()
237 static void send_data(QTestState *qts, uint64_t can_base_addr) in send_data() argument
241 qtest_writel(qts, can_base_addr + R_TX_READY_REQ_REGISTER, in send_data()
245 int_status = qtest_readl(qts, can_base_addr + R_ISR_OFFSET) & ISR_TXOK; in send_data()