Searched refs:CAN0_BASE_ADDR (Results 1 – 1 of 1) sorted by relevance
/openbmc/qemu/tests/qtest/ |
H A D | xlnx-can-test.c | 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() [all …]
|