Home
last modified time | relevance | path

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

/drivers/i2c/
Di2c-core-base.c677 struct bus_type i2c_bus_type = { variable
684 EXPORT_SYMBOL_GPL(i2c_bus_type);
953 client->dev.bus = &i2c_bus_type; in i2c_new_client_device()
1474 adap->dev.bus = &i2c_bus_type; in i2c_register_adapter()
1515 bus_for_each_drv(&i2c_bus_type, NULL, adap, __process_new_adapter); in i2c_register_adapter()
1686 bus_for_each_drv(&i2c_bus_type, NULL, adap, in i2c_del_adapter()
1832 res = bus_for_each_dev(&i2c_bus_type, NULL, data, fn); in i2c_for_each_dev()
1861 driver->driver.bus = &i2c_bus_type; in i2c_register_driver()
1944 retval = bus_register(&i2c_bus_type); in i2c_init()
1974 bus_unregister(&i2c_bus_type); in i2c_init()
[all …]
Di2c-core-of.c133 dev = bus_find_device_by_of_node(&i2c_bus_type, node); in of_find_i2c_device_by_node()
151 dev = bus_find_device(&i2c_bus_type, NULL, node, in of_find_i2c_adapter_by_node()
Di2c-dev.c750 res = bus_register_notifier(&i2c_bus_type, &i2cdev_notifier); in i2c_dev_init()
770 bus_unregister_notifier(&i2c_bus_type, &i2cdev_notifier); in i2c_dev_exit()
Di2c-core-acpi.c431 dev = bus_find_device(&i2c_bus_type, NULL, handle, device_match_acpi_handle); in i2c_acpi_find_adapter_by_handle()
448 dev = bus_find_device_by_acpi_dev(&i2c_bus_type, adev); in i2c_acpi_find_client_by_adev()
/drivers/input/mouse/
Dpsmouse-smbus.c314 error = bus_register_notifier(&i2c_bus_type, &psmouse_smbus_notifier); in psmouse_smbus_module_init()
326 bus_unregister_notifier(&i2c_bus_type, &psmouse_smbus_notifier); in psmouse_smbus_module_exit()
/drivers/platform/chrome/
Dchromeos_laptop.c927 error = bus_register_notifier(&i2c_bus_type, in chromeos_laptop_init()
951 bus_unregister_notifier(&i2c_bus_type, &chromeos_laptop_i2c_notifier); in chromeos_laptop_exit()
/drivers/net/mctp/
Dmctp-i2c.c1074 rc = bus_register_notifier(&i2c_bus_type, &mctp_i2c_notifier); in mctp_i2c_mod_init()
1086 rc = bus_unregister_notifier(&i2c_bus_type, &mctp_i2c_notifier); in mctp_i2c_mod_exit()
/drivers/i3c/
Dmaster.c2819 int res = bus_register_notifier(&i2c_bus_type, &i2cdev_notifier); in i3c_init()
2831 bus_unregister_notifier(&i2c_bus_type, &i2cdev_notifier); in i3c_init()
2839 bus_unregister_notifier(&i2c_bus_type, &i2cdev_notifier); in i3c_exit()
/drivers/platform/x86/
Dtouchscreen_dmi.c1824 error = bus_register_notifier(&i2c_bus_type, &ts_dmi_notifier); in ts_dmi_init()
/drivers/staging/media/atomisp/pci/
Datomisp_gmin_platform.c392 d = bus_find_device_by_acpi_dev(&i2c_bus_type, adev); in gmin_i2c_dev_exists()
/drivers/ptp/
Dptp_ocp.c3850 err = bus_register_notifier(&i2c_bus_type, &ptp_ocp_i2c_notifier); in ptp_ocp_init()
3862 bus_unregister_notifier(&i2c_bus_type, &ptp_ocp_i2c_notifier); in ptp_ocp_init()
3874 bus_unregister_notifier(&i2c_bus_type, &ptp_ocp_i2c_notifier); in ptp_ocp_fini()