Searched refs:i3cdev (Results 1 – 4 of 4) sorted by relevance
/linux-6.3-rc2/drivers/iio/imu/st_lsm6dsx/ |
A D | st_lsm6dsx_i3c.c | 25 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 %ld\n", PTR_ERR(regmap)); in st_lsm6dsx_i3c_probe() 41 return st_lsm6dsx_probe(&i3cdev->dev, 0, (uintptr_t)id->data, regmap); in st_lsm6dsx_i3c_probe()
|
/linux-6.3-rc2/drivers/i3c/ |
A D | master.c | 331 driver->remove(i3cdev); in i3c_device_remove() 724 WARN_ON(i3cdev->desc); in i3c_device_release() 727 kfree(i3cdev); in i3c_device_release() 1447 if (IS_ERR(i3cdev)) in i3c_master_early_i3c_dev_add() 1461 i3cdev->info.dyn_addr = i3cdev->boardinfo->init_dyn_addr; in i3c_master_early_i3c_dev_add() 1593 if (IS_ERR(i3cdev)) in i3c_master_set_info() 1621 if (i3cdev->boardinfo && i3cdev->boardinfo->init_dyn_addr) in i3c_master_detach_free_devs() 1832 if (i3cdev != refdev && i3cdev->info.pid == refdev->info.pid) in i3c_master_search_i3c_dev_duplicate() 1833 return i3cdev; in i3c_master_search_i3c_dev_duplicate() 2336 if (!i3cdev->dev) in i3c_master_unregister_i3c_devs() [all …]
|
A D | device.c | 205 struct device *i3cdev_to_dev(struct i3c_device *i3cdev) in i3cdev_to_dev() argument 207 return &i3cdev->dev; in i3cdev_to_dev() 219 i3c_device_match_id(struct i3c_device *i3cdev, in i3c_device_match_id() argument 227 i3c_device_get_info(i3cdev, &devinfo); in i3c_device_match_id()
|
/linux-6.3-rc2/include/linux/i3c/ |
A D | device.h | 189 struct device *i3cdev_to_dev(struct i3c_device *i3cdev); 200 i3c_device_match_id(struct i3c_device *i3cdev, 203 static inline void i3cdev_set_drvdata(struct i3c_device *i3cdev, in i3cdev_set_drvdata() argument 206 struct device *dev = i3cdev_to_dev(i3cdev); in i3cdev_set_drvdata() 211 static inline void *i3cdev_get_drvdata(struct i3c_device *i3cdev) in i3cdev_get_drvdata() argument 213 struct device *dev = i3cdev_to_dev(i3cdev); in i3cdev_get_drvdata()
|
Completed in 18 milliseconds