Lines Matching full:ccc
1117 /* Check if HJ requests DISEC CCC with DISHJ field set has been received */ in cdns_i3c_target_ibi_raise_hj()
1325 * @brief Send Common Command Code (CCC).
1330 * @param payload Pointer to CCC payload.
1359 1 + ((payload->ccc.data_len > 0) ? payload->targets.num_targets in cdns_i3c_do_ccc()
1369 i3c_ccc_is_payload_broadcast(payload) ? ROUND_UP(payload->ccc.data_len, 4) : 0; in cdns_i3c_do_ccc()
1383 LOG_DBG("%s: CCC[0x%02x]", dev->name, payload->ccc.id); in cdns_i3c_do_ccc()
1393 /* if this is a direct CCC */ in cdns_i3c_do_ccc()
1395 /* if the CCC has no data bytes, then the target payload must be in in cdns_i3c_do_ccc()
1401 cmd->cmd1 = CMD1_FIFO_CCC(payload->ccc.id); in cdns_i3c_do_ccc()
1404 if (payload->ccc.data_len == 1) { in cdns_i3c_do_ccc()
1408 cmd->cmd1 |= CMD1_FIFO_DB(payload->ccc.data[0]); in cdns_i3c_do_ccc()
1410 LOG_ERR("%s: Defining Byte with Direct CCC not supported " in cdns_i3c_do_ccc()
1417 } else if (payload->ccc.data_len > 1) { in cdns_i3c_do_ccc()
1422 /* for a short CCC, i.e. where a direct ccc has multiple targets, in cdns_i3c_do_ccc()
1449 cmd->cmd1 = CMD1_FIFO_CCC(payload->ccc.id); in cdns_i3c_do_ccc()
1453 if (payload->ccc.data_len > 0) { in cdns_i3c_do_ccc()
1454 /* Write additional data for CCC if needed */ in cdns_i3c_do_ccc()
1455 cmd->buf = payload->ccc.data; in cdns_i3c_do_ccc()
1456 cmd->len = payload->ccc.data_len; in cdns_i3c_do_ccc()
1457 cmd->cmd0 |= CMD0_FIFO_PL_LEN(payload->ccc.data_len); in cdns_i3c_do_ccc()
1461 cmd->num_xfer = &(payload->ccc.num_xfer); in cdns_i3c_do_ccc()
1478 LOG_ERR("%s: CCC[0x%02x] error (%d)", dev->name, payload->ccc.id, data->xfer.ret); in cdns_i3c_do_ccc()
1535 entdaa_ccc.ccc.id = I3C_CCC_ENTDAA; in cdns_i3c_do_daa()
1768 uint8_t ccc = data->xfer.cmds[i].cmd1 & 0xFF; in cdns_i3c_complete_transfer() local
1770 * The M0 is an illegally formatted CCC. i.e. the Controller in cdns_i3c_complete_transfer()
1771 * receives 1 byte instead of 2 with the GETMWL CCC. This can in cdns_i3c_complete_transfer()
1775 * still retramsit the same CCC and theres nothing that can be done to in cdns_i3c_complete_transfer()
1779 if (ccc == I3C_CCC_GETMXDS) { in cdns_i3c_complete_transfer()
1790 } else if (ccc == I3C_CCC_GETCAPS) { in cdns_i3c_complete_transfer()