Home
last modified time | relevance | path

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

/openbmc/linux/drivers/i3c/master/mipi-i3c-hci/
H A Dcore.c272 struct i3c_priv_xfer *i3c_xfers, in i3c_hci_priv_xfers() argument
291 xfer[i].data_len = i3c_xfers[i].len; in i3c_hci_priv_xfers()
295 xfer[i].rnw = i3c_xfers[i].rnw; in i3c_hci_priv_xfers()
296 if (i3c_xfers[i].rnw) { in i3c_hci_priv_xfers()
297 xfer[i].data = i3c_xfers[i].data.in; in i3c_hci_priv_xfers()
300 xfer[i].data = (void *) i3c_xfers[i].data.out; in i3c_hci_priv_xfers()
318 if (i3c_xfers[i].rnw) in i3c_hci_priv_xfers()
319 i3c_xfers[i].len = RESP_DATA_LENGTH(xfer[i].response); in i3c_hci_priv_xfers()
/openbmc/linux/drivers/i3c/master/
H A Ddw-i3c-master.c846 struct i3c_priv_xfer *i3c_xfers, in dw_i3c_master_priv_xfers() argument
863 if (i3c_xfers[i].rnw) in dw_i3c_master_priv_xfers()
864 nrxwords += DIV_ROUND_UP(i3c_xfers[i].len, 4); in dw_i3c_master_priv_xfers()
866 ntxwords += DIV_ROUND_UP(i3c_xfers[i].len, 4); in dw_i3c_master_priv_xfers()
883 if (i3c_xfers[i].rnw) { in dw_i3c_master_priv_xfers()
884 cmd->rx_buf = i3c_xfers[i].data.in; in dw_i3c_master_priv_xfers()
885 cmd->rx_len = i3c_xfers[i].len; in dw_i3c_master_priv_xfers()
890 cmd->tx_buf = i3c_xfers[i].data.out; in dw_i3c_master_priv_xfers()
891 cmd->tx_len = i3c_xfers[i].len; in dw_i3c_master_priv_xfers()
911 if (i3c_xfers[i].rnw) in dw_i3c_master_priv_xfers()
[all …]