Home
last modified time | relevance | path

Searched refs:canctl1 (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/net/can/mscan/
H A Dmscan.c56 u8 canctl1; in mscan_set_mode() local
66 canctl1 = in_8(&regs->canctl1); in mscan_set_mode()
70 if (in_8(&regs->canctl1) & MSCAN_SLPAK) in mscan_set_mode()
96 if (in_8(&regs->canctl1) & MSCAN_INITAK) in mscan_set_mode()
109 canctl1 = in_8(&regs->canctl1); in mscan_set_mode()
113 canctl1 = in_8(&regs->canctl1); in mscan_set_mode()
567 setbits8(&regs->canctl1, MSCAN_LISTEN); in mscan_open()
569 clrbits8(&regs->canctl1, MSCAN_LISTEN); in mscan_open()
629 ctl1 = in_8(&regs->canctl1); in register_mscandev()
641 out_8(&regs->canctl1, ctl1); in register_mscandev()
[all …]
H A Dmpc5xxx_can.c390 while (!(regs->canctl1 & MSCAN_INITAK)) in mpc5xxx_can_resume()
393 regs->canctl1 = saved_regs.canctl1; in mpc5xxx_can_resume()
H A Dmscan.h142 u8 canctl1; /* + 0x01 0x01 */ member