Lines Matching refs:i3c_xfers
908 struct i3c_priv_xfer *i3c_xfers, in dw_i3c_master_priv_xfers() argument
925 if (i3c_xfers[i].rnw) in dw_i3c_master_priv_xfers()
926 nrxwords += DIV_ROUND_UP(i3c_xfers[i].len, 4); in dw_i3c_master_priv_xfers()
928 ntxwords += DIV_ROUND_UP(i3c_xfers[i].len, 4); in dw_i3c_master_priv_xfers()
950 cmd->cmd_hi = COMMAND_PORT_ARG_DATA_LEN(i3c_xfers[i].len) | in dw_i3c_master_priv_xfers()
953 if (i3c_xfers[i].rnw) { in dw_i3c_master_priv_xfers()
954 cmd->rx_buf = i3c_xfers[i].data.in; in dw_i3c_master_priv_xfers()
955 cmd->rx_len = i3c_xfers[i].len; in dw_i3c_master_priv_xfers()
960 cmd->tx_buf = i3c_xfers[i].data.out; in dw_i3c_master_priv_xfers()
961 cmd->tx_len = i3c_xfers[i].len; in dw_i3c_master_priv_xfers()
981 if (i3c_xfers[i].rnw) in dw_i3c_master_priv_xfers()
982 i3c_xfers[i].len = cmd->rx_len; in dw_i3c_master_priv_xfers()