Lines Matching full:ccc
469 * param[in] addr Dyamic address for xfer or 0x7E for CCC command.
1478 * brief: Send Common Command Code (CCC).
1481 * param[in] payload Pointer to CCC payload.
1511 LOG_DBG("CCC[0x%02x]", payload->ccc.id); in npcx_i3c_do_ccc()
1517 LOG_ERR("CCC[0x%02x] %s START error (%d)", payload->ccc.id, in npcx_i3c_do_ccc()
1523 /* Write CCC command */ in npcx_i3c_do_ccc()
1526 xfered_len = npcx_i3c_xfer_write_fifo(inst, &payload->ccc.id, 1, payload->ccc.data_len > 0); in npcx_i3c_do_ccc()
1528 LOG_ERR("CCC[0x%02x] %s command error (%d)", payload->ccc.id, in npcx_i3c_do_ccc()
1535 /* Write data (defining byte or data bytes) for CCC if needed */ in npcx_i3c_do_ccc()
1536 if (payload->ccc.data_len > 0) { in npcx_i3c_do_ccc()
1539 xfered_len = npcx_i3c_xfer_write_fifo(inst, payload->ccc.data, in npcx_i3c_do_ccc()
1540 payload->ccc.data_len, false); in npcx_i3c_do_ccc()
1542 LOG_ERR("CCC[0x%02x] %s command payload error (%d)", payload->ccc.id, in npcx_i3c_do_ccc()
1551 payload->ccc.num_xfer = xfered_len; in npcx_i3c_do_ccc()
1564 /* For direct CCC */ in npcx_i3c_do_ccc()
1580 LOG_ERR("CCC[0x%02x] target payload error (%d)", payload->ccc.id, in npcx_i3c_do_ccc()
2786 /* CCC 'not' automatically handled was received */ in npcx_i3c_target_isr()
2796 /* CCC handled (handled by IP) */ in npcx_i3c_target_isr()