Searched refs:deftgts (Results 1 – 4 of 4) sorted by relevance
647 struct i3c_ccc_deftgts *deftgts; in i3c_bus_deftgts() local668 deftgts = malloc(data_len); in i3c_bus_deftgts()669 if (!deftgts) { in i3c_bus_deftgts()676 deftgts->count = num_of_targets; in i3c_bus_deftgts()681 deftgts->active_controller.addr = config_target.dynamic_addr << 1; in i3c_bus_deftgts()682 deftgts->active_controller.dcr = config_target.dcr; in i3c_bus_deftgts()683 deftgts->active_controller.bcr = config_target.bcr; in i3c_bus_deftgts()684 deftgts->active_controller.static_addr = I3C_BROADCAST_ADDR << 1; in i3c_bus_deftgts()690 deftgts->targets[n].addr = i3c_desc->dynamic_addr << 1; in i3c_bus_deftgts()691 deftgts->targets[n].dcr = i3c_desc->dcr; in i3c_bus_deftgts()[all …]
479 struct i3c_ccc_deftgts *deftgts) in i3c_ccc_do_deftgts_all() argument484 __ASSERT_NO_MSG(deftgts != NULL); in i3c_ccc_do_deftgts_all()489 ccc_payload.ccc.data = (uint8_t *)deftgts; in i3c_ccc_do_deftgts_all()492 (deftgts->count * sizeof(struct i3c_ccc_deftgts_target)); in i3c_ccc_do_deftgts_all()
2218 SHELL_CMD_ARG(deftgts, &dsub_i3c_device_name,
2106 struct i3c_ccc_deftgts *deftgts);