Home
last modified time | relevance | path

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

/linux/drivers/mailbox/
H A Dmailbox-xgene-slimpro.c68 static void mb_chan_send_msg(struct slimpro_mbox_chan *mb_chan, u32 *msg) in mb_chan_send_msg() argument
70 writel(msg[1], mb_chan->reg + REG_DB_DOUT0); in mb_chan_send_msg()
71 writel(msg[2], mb_chan->reg + REG_DB_DOUT1); in mb_chan_send_msg()
72 writel(msg[0], mb_chan->reg + REG_DB_OUT); in mb_chan_send_msg()
75 static void mb_chan_recv_msg(struct slimpro_mbox_chan *mb_chan) in mb_chan_recv_msg() argument
77 mb_chan->rx_msg[1] = readl(mb_chan->reg + REG_DB_DIN0); in mb_chan_recv_msg()
78 mb_chan->rx_msg[2] = readl(mb_chan->reg + REG_DB_DIN1); in mb_chan_recv_msg()
79 mb_chan->rx_msg[0] = readl(mb_chan->reg + REG_DB_IN); in mb_chan_recv_msg()
82 static int mb_chan_status_ack(struct slimpro_mbox_chan *mb_chan) in mb_chan_status_ack() argument
84 u32 val = readl(mb_chan->reg + REG_DB_STAT); in mb_chan_status_ack()
[all …]