Lines Matching refs:targets
1359 1 + ((payload->ccc.data_len > 0) ? payload->targets.num_targets in cdns_i3c_do_ccc()
1360 : MAX(payload->targets.num_targets - 1, 0)); in cdns_i3c_do_ccc()
1371 for (int i = 0; i < payload->targets.num_targets; i++) { in cdns_i3c_do_ccc()
1372 if (payload->targets.payloads[i].rnw) { in cdns_i3c_do_ccc()
1373 rxsize += ROUND_UP(payload->targets.payloads[i].data_len, 4); in cdns_i3c_do_ccc()
1375 txsize += ROUND_UP(payload->targets.payloads[i].data_len, 4); in cdns_i3c_do_ccc()
1398 for (int i = 0; i < payload->targets.num_targets; i++) { in cdns_i3c_do_ccc()
1429 if (i < (payload->targets.num_targets - 1)) { in cdns_i3c_do_ccc()
1432 cmd->buf = payload->targets.payloads[i].data; in cdns_i3c_do_ccc()
1433 cmd->len = payload->targets.payloads[i].data_len; in cdns_i3c_do_ccc()
1434 cmd->cmd0 |= CMD0_FIFO_DEV_ADDR(payload->targets.payloads[i].addr) | in cdns_i3c_do_ccc()
1435 CMD0_FIFO_PL_LEN(payload->targets.payloads[i].data_len); in cdns_i3c_do_ccc()
1436 if (payload->targets.payloads[i].rnw) { in cdns_i3c_do_ccc()
1444 cmd->num_xfer = &(payload->targets.payloads[i].num_xfer); in cdns_i3c_do_ccc()