Lines Matching refs:i3c

250 	struct i3c_device *i3c = dev_to_i3cdev(dev);
254 i3c_device_get_info(i3c, &devinfo);
260 return sprintf(buf, "i3c:dcr%02Xmanuf%04X", devinfo.dcr,
263 return sprintf(buf, "i3c:dcr%02Xmanuf%04Xpart%04Xext%04X",
291 return add_uevent_var(env, "MODALIAS=i3c:dcr%02Xmanuf%04X",
295 "MODALIAS=i3c:dcr%02Xmanuf%04Xpart%04Xext%04X",
340 .name = "i3c",
432 INIT_LIST_HEAD(&i3cbus->devs.i3c);
437 id = of_alias_get_id(np, "i3c");
540 ret = sprintf(buf, "%ld\n", i3cbus->scl_rate.i3c);
667 WARN_ON(!list_empty(&bus->devs.i2c) || !list_empty(&bus->devs.i3c));
686 if (!i3cbus->scl_rate.i3c)
687 i3cbus->scl_rate.i3c = I3C_BUS_TYP_I3C_SCL_RATE;
691 if (!i3cbus->scl_rate.i3c)
692 i3cbus->scl_rate.i3c = I3C_BUS_TYP_I3C_SCL_RATE;
699 if (!i3cbus->scl_rate.i3c ||
700 i3cbus->scl_rate.i3c > i3cbus->scl_rate.i2c)
701 i3cbus->scl_rate.i3c = i3cbus->scl_rate.i2c;
707 dev_dbg(&master->dev, "i2c-scl = %ld Hz i3c-scl = %ld Hz\n",
708 i3cbus->scl_rate.i2c, i3cbus->scl_rate.i3c);
714 if (i3cbus->scl_rate.i3c > I3C_BUS_MAX_I3C_SCL_RATE ||
1500 list_add_tail(&dev->common.node, &master->bus.devs.i3c);
1759 list_for_each_entry_safe(i3cdev, i3ctmp, &master->bus.devs.i3c,
1905 list_for_each_entry(i3cboardinfo, &master->boardinfo.i3c, node) {
1969 list_for_each_entry(i3cboardinfo, &master->boardinfo.i3c, node) {
2224 list_add_tail(&boardinfo->node, &master->boardinfo.i3c);
2281 if (!of_property_read_u32(i3cbus_np, "i3c-scl-hz", &val))
2282 master->bus.scl_rate.i3c = val;
2452 /* FIXME: Should we allow i3c masters to override these values? */
2761 INIT_LIST_HEAD(&master->boardinfo.i3c);
2768 dev_set_name(&master->dev, "i3c-%d", i3cbus->id);
3014 res = of_alias_get_highest_id("i3c");