Home
last modified time | relevance | path

Searched refs:to_i2c_adapter (Results 1 – 11 of 11) sorted by relevance

/openbmc/linux/drivers/i2c/
H A Di2c-core-base.c665 to_i2c_client(dev)->name : to_i2c_adapter(dev)->name); in name_show()
1222 struct i2c_adapter *adap = to_i2c_adapter(dev); in i2c_adapter_dev_release()
1254 struct i2c_adapter *adap = to_i2c_adapter(dev); in new_device_store()
1322 struct i2c_adapter *adap = to_i2c_adapter(dev); in delete_device_store()
1391 ? to_i2c_adapter(dev) in i2c_verify_adapter()
2030 return i2c_do_add_adapter(data, to_i2c_adapter(dev)); in __process_new_driver()
2070 i2c_do_del_adapter(data, to_i2c_adapter(dev)); in __process_removed_driver()
H A Di2c-dev.c657 adap = to_i2c_adapter(dev); in i2cdev_attach_adapter()
695 adap = to_i2c_adapter(dev); in i2cdev_detach_adapter()
H A Di2c-mux.c274 i2c_root = to_i2c_adapter(i2c); in i2c_root_adapter()
/openbmc/linux/drivers/platform/chrome/
H A Dchromeos_laptop.c232 chromeos_laptop_check_adapter(to_i2c_adapter(dev)); in chromeos_laptop_i2c_notifier_call()
681 chromeos_laptop_check_adapter(to_i2c_adapter(dev)); in chromeos_laptop_scan_peripherals()
/openbmc/linux/include/linux/
H A Di2c.h776 #define to_i2c_adapter(d) container_of(d, struct i2c_adapter, dev) macro
795 return to_i2c_adapter(parent); in i2c_parent_is_i2c_adapter()
/openbmc/linux/drivers/input/mouse/
H A Dpsmouse-smbus.c100 psmouse_smbus_check_adapter(to_i2c_adapter(dev)); in psmouse_smbus_notifier_call()
/openbmc/linux/sound/soc/codecs/
H A Dmax98520.c684 struct i2c_adapter *adapter = to_i2c_adapter(i2c->dev.parent); in max98520_i2c_probe()
/openbmc/linux/drivers/net/mctp/
H A Dmctp-i2c.c894 adap = to_i2c_adapter(dev); in mctp_i2c_get_adapter()
/openbmc/linux/drivers/media/i2c/
H A Dimx296.c1016 struct i2c_adapter *adapter = to_i2c_adapter(client->dev.parent); in imx296_probe()
H A Disl7998x.c1459 struct i2c_adapter *adapter = to_i2c_adapter(client->dev.parent); in isl7998x_probe()
/openbmc/linux/drivers/media/usb/dvb-usb-v2/
H A Drtl28xxu.c884 parent_adapter = to_i2c_adapter(parent); in rtl2832u_frontend_callback()