Lines Matching refs:MAX_I3C_BYTES
23 #define MAX_I3C_BYTES 16 macro
354 uint8_t buf[MAX_I3C_BYTES + MAX_BYTES_FOR_REGISTER_INDEX - 1]; in i3c_write_from_buffer()
383 if (data_length + reg_addr_bytes > MAX_I3C_BYTES) { in i3c_write_from_buffer()
384 data_length = MAX_I3C_BYTES - reg_addr_bytes; in i3c_write_from_buffer()
386 MAX_I3C_BYTES - reg_addr_bytes); in i3c_write_from_buffer()
475 uint8_t buf[MAX_I3C_BYTES]; in cmd_i3c_read()
481 if (num_bytes > MAX_I3C_BYTES) { in cmd_i3c_read()
482 num_bytes = MAX_I3C_BYTES; in cmd_i3c_read()
485 num_bytes = MAX_I3C_BYTES; in cmd_i3c_read()
502 uint8_t buf[MAX_I3C_BYTES]; in cmd_i3c_hdr_ddr_write()
516 if (data_length > MAX_I3C_BYTES) { in cmd_i3c_hdr_ddr_write()
517 shell_info(sh, "Too many bytes provided, limit is %d", MAX_I3C_BYTES); in cmd_i3c_hdr_ddr_write()
538 uint8_t buf[MAX_I3C_BYTES]; in cmd_i3c_hdr_ddr_read()
552 if (num_bytes > MAX_I3C_BYTES) { in cmd_i3c_hdr_ddr_read()
553 num_bytes = MAX_I3C_BYTES; in cmd_i3c_hdr_ddr_read()
556 num_bytes = MAX_I3C_BYTES; in cmd_i3c_hdr_ddr_read()
1478 uint8_t buf[MAX_I3C_BYTES] = {0}; in cmd_i3c_ccc_getvendor()
1510 ret = i3c_ccc_do_getvendor_defbyte(desc, id, defbyte, buf, MAX_I3C_BYTES, in cmd_i3c_ccc_getvendor()
1513 ret = i3c_ccc_do_getvendor(desc, id, buf, MAX_I3C_BYTES, &num_xfer); in cmd_i3c_ccc_getvendor()
1532 uint8_t buf[MAX_I3C_BYTES] = {0}; in cmd_i3c_ccc_setvendor()
1581 uint8_t buf[MAX_I3C_BYTES] = {0}; in cmd_i3c_ccc_setvendor_bc()
1618 uint8_t buf[MAX_I3C_BYTES] = {0}; in cmd_i3c_ccc_setbuscon()
1988 uint8_t buf[MAX_I3C_BYTES]; in cmd_i3c_ibi_tir()
2118 cmd_i3c_ibi_tir, 2, MAX_I3C_BYTES),
2141 cmd_i3c_hdr_ddr_write, 4, MAX_I3C_BYTES),
2297 cmd_i3c_ccc_setbuscon, 3, MAX_I3C_BYTES - 1),
2305 cmd_i3c_ccc_setvendor, 4, MAX_I3C_BYTES),
2309 cmd_i3c_ccc_setvendor_bc, 3, MAX_I3C_BYTES),
2339 cmd_i3c_write, 4, MAX_I3C_BYTES),