Lines Matching refs:i2c_adapter

64 static int i2c_detect(struct i2c_adapter *adapter, struct i2c_driver *driver);
156 static int get_scl_gpio_value(struct i2c_adapter *adap) in get_scl_gpio_value()
161 static void set_scl_gpio_value(struct i2c_adapter *adap, int val) in set_scl_gpio_value()
166 static int get_sda_gpio_value(struct i2c_adapter *adap) in get_sda_gpio_value()
171 static void set_sda_gpio_value(struct i2c_adapter *adap, int val) in set_sda_gpio_value()
176 static int i2c_generic_bus_free(struct i2c_adapter *adap) in i2c_generic_bus_free()
200 int i2c_generic_scl_recovery(struct i2c_adapter *adap) in i2c_generic_scl_recovery()
271 int i2c_recover_bus(struct i2c_adapter *adap) in i2c_recover_bus()
281 static void i2c_gpio_init_pinctrl_recovery(struct i2c_adapter *adap) in i2c_gpio_init_pinctrl_recovery()
326 static int i2c_gpio_init_generic_recovery(struct i2c_adapter *adap) in i2c_gpio_init_generic_recovery()
394 static int i2c_gpio_init_recovery(struct i2c_adapter *adap) in i2c_gpio_init_recovery()
400 static int i2c_init_recovery(struct i2c_adapter *adap) in i2c_init_recovery()
452 struct i2c_adapter *adap = client->adapter; in i2c_smbus_host_notify_to_irq()
775 static int i2c_check_mux_parents(struct i2c_adapter *adapter, int addr) in i2c_check_mux_parents()
777 struct i2c_adapter *parent = i2c_parent_is_i2c_adapter(adapter); in i2c_check_mux_parents()
803 static int i2c_check_addr_busy(struct i2c_adapter *adapter, int addr) in i2c_check_addr_busy()
805 struct i2c_adapter *parent = i2c_parent_is_i2c_adapter(adapter); in i2c_check_addr_busy()
824 static void i2c_adapter_lock_bus(struct i2c_adapter *adapter, in i2c_adapter_lock_bus()
836 static int i2c_adapter_trylock_bus(struct i2c_adapter *adapter, in i2c_adapter_trylock_bus()
848 static void i2c_adapter_unlock_bus(struct i2c_adapter *adapter, in i2c_adapter_unlock_bus()
854 static void i2c_dev_set_name(struct i2c_adapter *adap, in i2c_dev_set_name()
917 i2c_new_client_device(struct i2c_adapter *adap, struct i2c_board_info const *info) in i2c_new_client_device()
1051 struct i2c_client *i2c_new_dummy_device(struct i2c_adapter *adapter, u16 address) in i2c_new_dummy_device()
1077 struct i2c_adapter *adapter, in devm_i2c_new_dummy_device()
1142 struct i2c_adapter *adap = to_i2c_adapter(dev); in i2c_adapter_dev_release()
1146 unsigned int i2c_adapter_depth(struct i2c_adapter *adapter) in i2c_adapter_depth()
1174 struct i2c_adapter *adap = to_i2c_adapter(dev); in new_device_store()
1242 struct i2c_adapter *adap = to_i2c_adapter(dev); in delete_device_store()
1291 ATTRIBUTE_GROUPS(i2c_adapter);
1308 struct i2c_adapter *i2c_verify_adapter(struct device *dev) in i2c_verify_adapter()
1320 static void i2c_scan_static_board_info(struct i2c_adapter *adapter) in i2c_scan_static_board_info()
1336 struct i2c_adapter *adap) in i2c_do_add_adapter()
1355 static void i2c_host_notify_irq_teardown(struct i2c_adapter *adap) in i2c_host_notify_irq_teardown()
1383 static int i2c_setup_host_notify_irq_domain(struct i2c_adapter *adap) in i2c_setup_host_notify_irq_domain()
1411 int i2c_handle_smbus_host_notify(struct i2c_adapter *adap, unsigned short addr) in i2c_handle_smbus_host_notify()
1428 static int i2c_register_adapter(struct i2c_adapter *adap) in i2c_register_adapter()
1533 static int __i2c_add_numbered_adapter(struct i2c_adapter *adap) in __i2c_add_numbered_adapter()
1560 int i2c_add_adapter(struct i2c_adapter *adapter) in i2c_add_adapter()
1609 int i2c_add_numbered_adapter(struct i2c_adapter *adap) in i2c_add_numbered_adapter()
1619 struct i2c_adapter *adapter) in i2c_do_del_adapter()
1664 void i2c_del_adapter(struct i2c_adapter *adap) in i2c_del_adapter()
1666 struct i2c_adapter *found; in i2c_del_adapter()
1753 int devm_i2c_add_adapter(struct device *dev, struct i2c_adapter *adapter) in devm_i2c_add_adapter()
1918 void i2c_clients_command(struct i2c_adapter *adap, unsigned int cmd, void *arg) in i2c_clients_command()
2001 static int i2c_quirk_error(struct i2c_adapter *adap, struct i2c_msg *msg, char *err_msg) in i2c_quirk_error()
2009 static int i2c_check_for_quirks(struct i2c_adapter *adap, struct i2c_msg *msgs, int num) in i2c_check_for_quirks()
2075 int __i2c_transfer(struct i2c_adapter *adap, struct i2c_msg *msgs, int num) in __i2c_transfer()
2142 int i2c_transfer(struct i2c_adapter *adap, struct i2c_msg *msgs, int num) in i2c_transfer()
2219 struct i2c_adapter *adap = client->adapter; in i2c_get_device_id()
2258 static int i2c_default_probe(struct i2c_adapter *adap, unsigned short addr) in i2c_default_probe()
2290 struct i2c_adapter *adapter = temp_client->adapter; in i2c_detect_address()
2348 static int i2c_detect(struct i2c_adapter *adapter, struct i2c_driver *driver) in i2c_detect()
2391 int i2c_probe_func_quick_read(struct i2c_adapter *adap, unsigned short addr) in i2c_probe_func_quick_read()
2399 i2c_new_scanned_device(struct i2c_adapter *adap, in i2c_new_scanned_device()
2402 int (*probe)(struct i2c_adapter *adap, unsigned short addr)) in i2c_new_scanned_device()
2440 struct i2c_adapter *i2c_get_adapter(int nr) in i2c_get_adapter()
2442 struct i2c_adapter *adapter; in i2c_get_adapter()
2460 void i2c_put_adapter(struct i2c_adapter *adap) in i2c_put_adapter()