Lines Matching full:bcr
458 struct i3c_ccc_getbcr bcr = {0}; in i3c_device_basic_info_get() local
466 * Since some CCC functions requires BCR to function in i3c_device_basic_info_get()
467 * correctly, we save the BCR here and update the BCR in i3c_device_basic_info_get()
469 * we can restore the BCR. in i3c_device_basic_info_get()
471 tmp_bcr = target->bcr; in i3c_device_basic_info_get()
474 ret = i3c_ccc_do_getbcr(target, &bcr); in i3c_device_basic_info_get()
479 target->bcr = bcr.bcr; in i3c_device_basic_info_get()
504 * supports it can't be known ahead of time. So if the BCR bit for Advanced capabilities is in i3c_device_basic_info_get()
510 } else if ((ret != 0) && (target->bcr & I3C_BCR_ADV_CAPABILITIES)) { in i3c_device_basic_info_get()
517 if (target->bcr & I3C_BCR_MAX_DATA_SPEED_LIMIT) { in i3c_device_basic_info_get()
535 /* Restore BCR is any CCC fails. */ in i3c_device_basic_info_get()
536 target->bcr = tmp_bcr; in i3c_device_basic_info_get()
683 deftgts->active_controller.bcr = config_target.bcr; in i3c_bus_deftgts()
692 deftgts->targets[n].bcr = i3c_desc->bcr; in i3c_bus_deftgts()
703 deftgts->targets[n].bcr = 0; in i3c_bus_deftgts()
832 LOG_DBG("Target 0x%02x, BCR 0x%02x, DCR 0x%02x, MRL %d, MWL %d, IBI %d", in i3c_bus_init()
833 desc->dynamic_addr, desc->bcr, desc->dcr, in i3c_bus_init()