Lines Matching refs:CAN0_BASE_ADDR

31 #define CAN0_BASE_ADDR          0xFF060000  macro
125 qtest_writel(qts, CAN0_BASE_ADDR + R_ICR_OFFSET, ISR_TXOK); in send_data()
147 qtest_writel(qts, CAN0_BASE_ADDR + R_SRR_OFFSET, ENABLE_CAN); in test_can_bus()
148 qtest_writel(qts, CAN0_BASE_ADDR + R_MSR_OFFSET, NORMAL_MODE); in test_can_bus()
153 status = qtest_readl(qts, CAN0_BASE_ADDR + R_SR_OFFSET); in test_can_bus()
159 send_data(qts, CAN0_BASE_ADDR, buf_tx); in test_can_bus()
184 qtest_writel(qts, CAN0_BASE_ADDR + R_SRR_OFFSET, CONFIG_MODE); in test_can_loopback()
185 qtest_writel(qts, CAN0_BASE_ADDR + R_MSR_OFFSET, LOOPBACK_MODE); in test_can_loopback()
186 qtest_writel(qts, CAN0_BASE_ADDR + R_SRR_OFFSET, ENABLE_CAN); in test_can_loopback()
189 status = qtest_readl(qts, CAN0_BASE_ADDR + R_SR_OFFSET); in test_can_loopback()
193 send_data(qts, CAN0_BASE_ADDR, buf_tx); in test_can_loopback()
194 read_data(qts, CAN0_BASE_ADDR, buf_rx); in test_can_loopback()
232 qtest_writel(qts, CAN0_BASE_ADDR + R_SRR_OFFSET, ENABLE_CAN); in test_can_filter()
233 qtest_writel(qts, CAN0_BASE_ADDR + R_MSR_OFFSET, NORMAL_MODE); in test_can_filter()
238 status = qtest_readl(qts, CAN0_BASE_ADDR + R_SR_OFFSET); in test_can_filter()
257 send_data(qts, CAN0_BASE_ADDR, buf_tx); in test_can_filter()
280 qtest_writel(qts, CAN0_BASE_ADDR + R_SRR_OFFSET, CONFIG_MODE); in test_can_sleepmode()
281 qtest_writel(qts, CAN0_BASE_ADDR + R_MSR_OFFSET, SLEEP_MODE); in test_can_sleepmode()
282 qtest_writel(qts, CAN0_BASE_ADDR + R_SRR_OFFSET, ENABLE_CAN); in test_can_sleepmode()
288 status = qtest_readl(qts, CAN0_BASE_ADDR + R_SR_OFFSET); in test_can_sleepmode()
301 status = qtest_readl(qts, CAN0_BASE_ADDR + R_SR_OFFSET); in test_can_sleepmode()
304 read_data(qts, CAN0_BASE_ADDR, buf_rx); in test_can_sleepmode()
326 qtest_writel(qts, CAN0_BASE_ADDR + R_SRR_OFFSET, CONFIG_MODE); in test_can_snoopmode()
327 qtest_writel(qts, CAN0_BASE_ADDR + R_MSR_OFFSET, SNOOP_MODE); in test_can_snoopmode()
328 qtest_writel(qts, CAN0_BASE_ADDR + R_SRR_OFFSET, ENABLE_CAN); in test_can_snoopmode()
334 status = qtest_readl(qts, CAN0_BASE_ADDR + R_SR_OFFSET); in test_can_snoopmode()
342 read_data(qts, CAN0_BASE_ADDR, buf_rx); in test_can_snoopmode()