Lines Matching full:ccc
1309 /* cmd->xfer is NULL if I2C or CCC transfer */ in svc_i3c_master_start_xfer_locked()
1363 /* No software support for CCC commands targeting more than one slave */ in svc_i3c_master_supports_ccc_cmd()
1368 struct i3c_ccc_cmd *ccc) in svc_i3c_master_send_bdcast_ccc_cmd() argument
1370 unsigned int xfer_len = ccc->dests[0].payload.len + 1; in svc_i3c_master_send_bdcast_ccc_cmd()
1386 buf[0] = ccc->id; in svc_i3c_master_send_bdcast_ccc_cmd()
1387 memcpy(&buf[1], ccc->dests[0].payload.data, ccc->dests[0].payload.len); in svc_i3c_master_send_bdcast_ccc_cmd()
1392 cmd->addr = ccc->dests[0].addr; in svc_i3c_master_send_bdcast_ccc_cmd()
1393 cmd->rnw = ccc->rnw; in svc_i3c_master_send_bdcast_ccc_cmd()
1414 struct i3c_ccc_cmd *ccc) in svc_i3c_master_send_direct_ccc_cmd() argument
1416 unsigned int xfer_len = ccc->dests[0].payload.len; in svc_i3c_master_send_direct_ccc_cmd()
1417 unsigned int actual_len = ccc->rnw ? xfer_len : 0; in svc_i3c_master_send_direct_ccc_cmd()
1433 cmd->out = &ccc->id; in svc_i3c_master_send_direct_ccc_cmd()
1440 cmd->addr = ccc->dests[0].addr; in svc_i3c_master_send_direct_ccc_cmd()
1441 cmd->rnw = ccc->rnw; in svc_i3c_master_send_direct_ccc_cmd()
1442 cmd->in = ccc->rnw ? ccc->dests[0].payload.data : NULL; in svc_i3c_master_send_direct_ccc_cmd()
1443 cmd->out = ccc->rnw ? NULL : ccc->dests[0].payload.data; in svc_i3c_master_send_direct_ccc_cmd()
1455 ccc->dests[0].payload.len = cmd->actual_len; in svc_i3c_master_send_direct_ccc_cmd()