Home
last modified time | relevance | path

Searched refs:i3cdev (Results 1 – 3 of 3) sorted by relevance

/drivers/i3c/
Dmaster.c256 struct i3c_device *i3cdev = dev_to_i3cdev(dev); in i3c_device_uevent() local
260 i3c_device_get_info(i3cdev, &devinfo); in i3c_device_uevent()
281 struct i3c_device *i3cdev; in i3c_device_match() local
287 i3cdev = dev_to_i3cdev(dev); in i3c_device_match()
289 if (i3c_device_match_id(i3cdev, i3cdrv->id_table)) in i3c_device_match()
297 struct i3c_device *i3cdev = dev_to_i3cdev(dev); in i3c_device_probe() local
300 return driver->probe(i3cdev); in i3c_device_probe()
305 struct i3c_device *i3cdev = dev_to_i3cdev(dev); in i3c_device_remove() local
309 ret = driver->remove(i3cdev); in i3c_device_remove()
313 i3c_device_free_ibi(i3cdev); in i3c_device_remove()
[all …]
Ddevice.c185 struct device *i3cdev_to_dev(struct i3c_device *i3cdev) in i3cdev_to_dev() argument
187 return &i3cdev->dev; in i3cdev_to_dev()
211 i3c_device_match_id(struct i3c_device *i3cdev, in i3c_device_match_id() argument
217 i3c_device_get_info(i3cdev, &devinfo); in i3c_device_match_id()
/drivers/iio/imu/st_lsm6dsx/
Dst_lsm6dsx_i3c.c25 static int st_lsm6dsx_i3c_probe(struct i3c_device *i3cdev) in st_lsm6dsx_i3c_probe() argument
31 const struct i3c_device_id *id = i3c_device_match_id(i3cdev, in st_lsm6dsx_i3c_probe()
35 regmap = devm_regmap_init_i3c(i3cdev, &st_lsm6dsx_i3c_regmap_config); in st_lsm6dsx_i3c_probe()
37 dev_err(&i3cdev->dev, "Failed to register i3c regmap %d\n", in st_lsm6dsx_i3c_probe()
42 return st_lsm6dsx_probe(&i3cdev->dev, 0, (uintptr_t)id->data, regmap); in st_lsm6dsx_i3c_probe()