sunxi_can_write
sunxi_can_write(sc, SUNXI_CAN_INTE_REG, 0);
sunxi_can_write(sc, SUNXI_CAN_INT_REG,
sunxi_can_write(sc, SUNXI_CAN_CMD_REG, SUNXI_CAN_CMD_REL_RX_BUF);
sunxi_can_write(sc, SUNXI_CAN_CMD_REG, SUNXI_CAN_CMD_REL_RX_BUF);
sunxi_can_write(sc, SUNXI_CAN_CMD_REG, SUNXI_CAN_CMD_REL_RX_BUF);
sunxi_can_write(sc, SUNXI_CAN_CMD_REG, SUNXI_CAN_CMD_ABT_REQ);
sunxi_can_write(sc, SUNXI_CAN_CMD_REG, SUNXI_CAN_CMD_CLR_OR);
sunxi_can_write(sc, SUNXI_CAN_INT_REG, irq);
sunxi_can_write(sc, SUNXI_CAN_TXBUF1_REG,
sunxi_can_write(sc, SUNXI_CAN_TXBUF2_REG,
sunxi_can_write(sc, SUNXI_CAN_TXBUF3_REG,
sunxi_can_write(sc, SUNXI_CAN_TXBUF4_REG,
sunxi_can_write(sc, SUNXI_CAN_TXBUF1_REG,
sunxi_can_write(sc, SUNXI_CAN_TXBUF2_REG,
sunxi_can_write(sc, regd + i * 4, cf->data[i]);
sunxi_can_write(sc, SUNXI_CAN_TXBUF0_REG, reg0val);
sunxi_can_write(sc, SUNXI_CAN_CMD_REG,
sunxi_can_write(sc, SUNXI_CAN_CMD_REG, SUNXI_CAN_CMD_TANS_REQ);
sunxi_can_write(sc, SUNXI_CAN_MODSEL_REG, reg);
sunxi_can_write(sc, SUNXI_CAN_BUS_TIME_REG, reg);
sunxi_can_write(sc, SUNXI_CAN_ACPC, 0x00000000);
sunxi_can_write(sc, SUNXI_CAN_ACPM, 0xffffffff);
sunxi_can_write(sc, SUNXI_CAN_REC_REG, 0);
sunxi_can_write(sc, SUNXI_CAN_INTE_REG,
sunxi_can_write(sc, SUNXI_CAN_INTE_REG, 0);
sunxi_can_write(sc, SUNXI_CAN_INT_REG,
sunxi_can_write(sc, SUNXI_CAN_MODSEL_REG, val);
sunxi_can_write(sc, SUNXI_CAN_MODSEL_REG, val);