/linux-4.19.296/include/linux/ |
D | i2c.h | 47 struct i2c_adapter; 132 extern int i2c_transfer(struct i2c_adapter *adap, struct i2c_msg *msgs, 135 extern int __i2c_transfer(struct i2c_adapter *adap, struct i2c_msg *msgs, 143 s32 i2c_smbus_xfer(struct i2c_adapter *adapter, u16 addr, 148 s32 __i2c_smbus_xfer(struct i2c_adapter *adapter, u16 addr, 334 struct i2c_adapter *adapter; /* the adapter we sit on */ 346 extern struct i2c_adapter *i2c_verify_adapter(struct device *dev); 449 i2c_new_device(struct i2c_adapter *adap, struct i2c_board_info const *info); 458 i2c_new_probed_device(struct i2c_adapter *adap, 461 int (*probe)(struct i2c_adapter *, unsigned short addr)); [all …]
|
D | i2c-algo-bit.h | 40 int (*pre_xfer) (struct i2c_adapter *); 41 void (*post_xfer) (struct i2c_adapter *); 51 int i2c_bit_add_bus(struct i2c_adapter *); 52 int i2c_bit_add_numbered_bus(struct i2c_adapter *);
|
/linux-4.19.296/drivers/i2c/ |
D | i2c-core.h | 36 void i2c_acpi_register_devices(struct i2c_adapter *adap); 38 static inline void i2c_acpi_register_devices(struct i2c_adapter *adap) { } in i2c_acpi_register_devices() 49 int i2c_acpi_install_space_handler(struct i2c_adapter *adapter); 50 void i2c_acpi_remove_space_handler(struct i2c_adapter *adapter); 52 static inline int i2c_acpi_install_space_handler(struct i2c_adapter *adapter) { return 0; } in i2c_acpi_install_space_handler() 53 static inline void i2c_acpi_remove_space_handler(struct i2c_adapter *adapter) { } in i2c_acpi_remove_space_handler() 57 void of_i2c_register_devices(struct i2c_adapter *adap); 59 static inline void of_i2c_register_devices(struct i2c_adapter *adap) { } in of_i2c_register_devices()
|
D | i2c-mux.c | 32 struct i2c_adapter adap; 38 static int __i2c_mux_master_xfer(struct i2c_adapter *adap, in __i2c_mux_master_xfer() 43 struct i2c_adapter *parent = muxc->parent; in __i2c_mux_master_xfer() 57 static int i2c_mux_master_xfer(struct i2c_adapter *adap, in i2c_mux_master_xfer() 62 struct i2c_adapter *parent = muxc->parent; in i2c_mux_master_xfer() 76 static int __i2c_mux_smbus_xfer(struct i2c_adapter *adap, in __i2c_mux_smbus_xfer() 83 struct i2c_adapter *parent = muxc->parent; in __i2c_mux_smbus_xfer() 98 static int i2c_mux_smbus_xfer(struct i2c_adapter *adap, in i2c_mux_smbus_xfer() 105 struct i2c_adapter *parent = muxc->parent; in i2c_mux_smbus_xfer() 121 static u32 i2c_mux_functionality(struct i2c_adapter *adap) in i2c_mux_functionality() [all …]
|
D | i2c-core-base.c | 71 static int i2c_detect(struct i2c_adapter *adapter, struct i2c_driver *driver); 142 static int get_scl_gpio_value(struct i2c_adapter *adap) in get_scl_gpio_value() 147 static void set_scl_gpio_value(struct i2c_adapter *adap, int val) in set_scl_gpio_value() 152 static int get_sda_gpio_value(struct i2c_adapter *adap) in get_sda_gpio_value() 157 static void set_sda_gpio_value(struct i2c_adapter *adap, int val) in set_sda_gpio_value() 162 static int i2c_generic_bus_free(struct i2c_adapter *adap) in i2c_generic_bus_free() 186 int i2c_generic_scl_recovery(struct i2c_adapter *adap) in i2c_generic_scl_recovery() 253 int i2c_recover_bus(struct i2c_adapter *adap) in i2c_recover_bus() 263 static void i2c_init_recovery(struct i2c_adapter *adap) in i2c_init_recovery() 309 struct i2c_adapter *adap = client->adapter; in i2c_smbus_host_notify_to_irq() [all …]
|
/linux-4.19.296/include/drm/ |
D | drm_dp_dual_mode_helper.h | 65 struct i2c_adapter; 67 ssize_t drm_dp_dual_mode_read(struct i2c_adapter *adapter, 69 ssize_t drm_dp_dual_mode_write(struct i2c_adapter *adapter, 106 enum drm_dp_dual_mode_type drm_dp_dual_mode_detect(struct i2c_adapter *adapter); 108 struct i2c_adapter *adapter); 110 struct i2c_adapter *adapter, bool *enabled); 112 struct i2c_adapter *adapter, bool enable); 115 int drm_lspcon_get_mode(struct i2c_adapter *adapter, 117 int drm_lspcon_set_mode(struct i2c_adapter *adapter,
|
D | drm_scdc_helper.h | 91 ssize_t drm_scdc_read(struct i2c_adapter *adapter, u8 offset, void *buffer, 93 ssize_t drm_scdc_write(struct i2c_adapter *adapter, u8 offset, 108 static inline int drm_scdc_readb(struct i2c_adapter *adapter, u8 offset, in drm_scdc_readb() 126 static inline int drm_scdc_writeb(struct i2c_adapter *adapter, u8 offset, in drm_scdc_writeb() 132 bool drm_scdc_get_scrambling_status(struct i2c_adapter *adapter); 134 bool drm_scdc_set_scrambling(struct i2c_adapter *adapter, bool enable); 135 bool drm_scdc_set_high_tmds_clock_ratio(struct i2c_adapter *adapter, bool set);
|
/linux-4.19.296/drivers/media/dvb-frontends/ |
D | dib9000.h | 32 extern struct dvb_frontend *dib9000_attach(struct i2c_adapter *i2c_adap, u8 i2c_addr, const struct … 33 extern int dib9000_i2c_enumeration(struct i2c_adapter *host, int no_of_demods, u8 default_addr, u8 … 34 extern struct i2c_adapter *dib9000_get_tuner_interface(struct dvb_frontend *fe); 35 extern struct i2c_adapter *dib9000_get_i2c_master(struct dvb_frontend *fe, enum dibx000_i2c_interfa… 42 extern struct i2c_adapter *dib9000_get_component_bus_interface(struct dvb_frontend *fe); 43 extern int dib9000_set_i2c_adapter(struct dvb_frontend *fe, struct i2c_adapter *i2c); 46 static inline struct dvb_frontend *dib9000_attach(struct i2c_adapter *i2c_adap, u8 i2c_addr, struct… in dib9000_attach() 52 static inline struct i2c_adapter *dib9000_get_i2c_master(struct dvb_frontend *fe, enum dibx000_i2c_… in dib9000_get_i2c_master() 58 static inline int dib9000_i2c_enumeration(struct i2c_adapter *host, int no_of_demods, u8 default_ad… in dib9000_i2c_enumeration() 64 static inline struct i2c_adapter *dib9000_get_tuner_interface(struct dvb_frontend *fe) in dib9000_get_tuner_interface() [all …]
|
D | stv0367.h | 43 struct i2c_adapter *i2c); 46 struct i2c_adapter *i2c); 49 struct i2c_adapter *i2c); 53 struct i2c_adapter *i2c) in stv0367ter_attach() 60 struct i2c_adapter *i2c) in stv0367cab_attach() 67 struct i2c_adapter *i2c) in stv0367ddb_attach()
|
D | dib3000mc.h | 43 extern struct dvb_frontend *dib3000mc_attach(struct i2c_adapter *i2c_adap, 46 extern int dib3000mc_i2c_enumeration(struct i2c_adapter *i2c, 50 struct i2c_adapter *dib3000mc_get_tuner_i2c_master(struct dvb_frontend *demod, 54 struct dvb_frontend *dib3000mc_attach(struct i2c_adapter *i2c_adap, u8 i2c_addr, in dib3000mc_attach() 62 int dib3000mc_i2c_enumeration(struct i2c_adapter *i2c, in dib3000mc_i2c_enumeration() 71 struct i2c_adapter *dib3000mc_get_tuner_i2c_master(struct dvb_frontend *demod, in dib3000mc_get_tuner_i2c_master()
|
D | s921.h | 29 struct i2c_adapter *i2c); 30 extern struct i2c_adapter *s921_get_tuner_i2c_adapter(struct dvb_frontend *); 33 const struct s921_config *config, struct i2c_adapter *i2c) in s921_attach() 38 static inline struct i2c_adapter *
|
D | s5h1420.h | 41 struct i2c_adapter *i2c); 42 extern struct i2c_adapter *s5h1420_get_tuner_i2c_adapter(struct dvb_frontend *fe); 45 struct i2c_adapter *i2c) in s5h1420_attach() 51 static inline struct i2c_adapter *s5h1420_get_tuner_i2c_adapter(struct dvb_frontend *fe) in s5h1420_get_tuner_i2c_adapter()
|
D | m88ds3103.h | 90 struct i2c_adapter* (*get_i2c_adapter)(struct i2c_client *); 152 struct i2c_adapter *i2c, 153 struct i2c_adapter **tuner_i2c); 158 struct i2c_adapter *i2c, in m88ds3103_attach() 159 struct i2c_adapter **tuner_i2c) in m88ds3103_attach()
|
D | cx24123.h | 43 struct i2c_adapter *i2c); 44 extern struct i2c_adapter *cx24123_get_tuner_i2c_adapter(struct dvb_frontend *); 47 const struct cx24123_config *config, struct i2c_adapter *i2c) in cx24123_attach() 52 static inline struct i2c_adapter *
|
D | lgdt3306a.h | 62 struct i2c_adapter **i2c_adapter; member 67 struct i2c_adapter *i2c_adap); 71 struct i2c_adapter *i2c_adap) in lgdt3306a_attach()
|
D | dibx000_common.h | 23 struct i2c_adapter gated_tuner_i2c_adap; 24 struct i2c_adapter master_i2c_adap_gpio12; 25 struct i2c_adapter master_i2c_adap_gpio34; 26 struct i2c_adapter master_i2c_adap_gpio67; 28 struct i2c_adapter *i2c_adap; 41 u16 device_rev, struct i2c_adapter *i2c_adap, 43 extern struct i2c_adapter *dibx000_get_i2c_adapter(struct dibx000_i2c_master 49 extern int dibx000_i2c_set_speed(struct i2c_adapter *i2c_adap, u16 speed);
|
D | cxd2841er.h | 50 struct i2c_adapter *i2c); 53 struct i2c_adapter *i2c); 57 struct i2c_adapter *i2c) in cxd2841er_attach_s() 64 struct cxd2841er_config *cfg, struct i2c_adapter *i2c) in cxd2841er_attach_t_c()
|
D | helene.h | 66 struct i2c_adapter *i2c); 79 struct i2c_adapter *i2c); 83 struct i2c_adapter *i2c) in helene_attach() 90 struct i2c_adapter *i2c) in helene_attach_s()
|
/linux-4.19.296/drivers/media/tuners/ |
D | tea5761.h | 24 extern int tea5761_autodetection(struct i2c_adapter* i2c_adap, u8 i2c_addr); 27 struct i2c_adapter* i2c_adap, 30 static inline int tea5761_autodetection(struct i2c_adapter* i2c_adap, in tea5761_autodetection() 39 struct i2c_adapter* i2c_adap, in tea5761_attach()
|
D | tea5767.h | 43 extern int tea5767_autodetection(struct i2c_adapter* i2c_adap, u8 i2c_addr); 46 struct i2c_adapter* i2c_adap, 49 static inline int tea5767_autodetection(struct i2c_adapter* i2c_adap, in tea5767_autodetection() 58 struct i2c_adapter* i2c_adap, in tea5767_attach()
|
D | tda8290.h | 42 extern int tda829x_probe(struct i2c_adapter *i2c_adap, u8 i2c_addr); 45 struct i2c_adapter *i2c_adap, 49 static inline int tda829x_probe(struct i2c_adapter *i2c_adap, u8 i2c_addr) in tda829x_probe() 56 struct i2c_adapter *i2c_adap, in tda829x_attach()
|
/linux-4.19.296/drivers/media/usb/dvb-usb-v2/ |
D | dvbsky.c | 109 static int dvbsky_i2c_xfer(struct i2c_adapter *adap, struct i2c_msg msg[], in dvbsky_i2c_xfer() 184 static u32 dvbsky_i2c_func(struct i2c_adapter *adapter) in dvbsky_i2c_func() 297 struct i2c_adapter *i2c_adapter; in dvbsky_s960_attach() local 319 i2c_adapter = m88ds3103_pdata.get_i2c_adapter(state->i2c_client_demod); in dvbsky_s960_attach() 326 i2c_adapter, in dvbsky_s960_attach() 399 struct i2c_adapter *i2c_adapter; in dvbsky_s960c_attach() local 422 i2c_adapter = m88ds3103_pdata.get_i2c_adapter(state->i2c_client_demod); in dvbsky_s960c_attach() 429 i2c_adapter, in dvbsky_s960c_attach() 470 struct i2c_adapter *i2c_adapter; in dvbsky_t680c_attach() local 476 si2168_config.i2c_adapter = &i2c_adapter; in dvbsky_t680c_attach() [all …]
|
/linux-4.19.296/drivers/i2c/busses/ |
D | i2c-uniphier.c | 52 struct i2c_adapter adap; 73 static int uniphier_i2c_xfer_byte(struct i2c_adapter *adap, u32 txdata, in uniphier_i2c_xfer_byte() 101 static int uniphier_i2c_send_byte(struct i2c_adapter *adap, u32 txdata) in uniphier_i2c_send_byte() 122 static int uniphier_i2c_tx(struct i2c_adapter *adap, u16 addr, u16 len, in uniphier_i2c_tx() 144 static int uniphier_i2c_rx(struct i2c_adapter *adap, u16 addr, u16 len, in uniphier_i2c_rx() 171 static int uniphier_i2c_stop(struct i2c_adapter *adap) in uniphier_i2c_stop() 178 static int uniphier_i2c_master_xfer_one(struct i2c_adapter *adap, in uniphier_i2c_master_xfer_one() 218 static int uniphier_i2c_check_bus_busy(struct i2c_adapter *adap) in uniphier_i2c_check_bus_busy() 240 static int uniphier_i2c_master_xfer(struct i2c_adapter *adap, in uniphier_i2c_master_xfer() 262 static u32 uniphier_i2c_functionality(struct i2c_adapter *adap) in uniphier_i2c_functionality() [all …]
|
D | i2c-nforce2-s4985.c | 37 extern struct i2c_adapter *nforce2_smbus; 39 static struct i2c_adapter *s4985_adapter; 45 static s32 nforce2_access_virt0(struct i2c_adapter *adap, u16 addr, in nforce2_access_virt0() 71 static inline s32 nforce2_access_channel(struct i2c_adapter *adap, u16 addr, in nforce2_access_channel() 104 static s32 nforce2_access_virt1(struct i2c_adapter *adap, u16 addr, in nforce2_access_virt1() 114 static s32 nforce2_access_virt2(struct i2c_adapter *adap, u16 addr, in nforce2_access_virt2() 124 static s32 nforce2_access_virt3(struct i2c_adapter *adap, u16 addr, in nforce2_access_virt3() 134 static s32 nforce2_access_virt4(struct i2c_adapter *adap, u16 addr, in nforce2_access_virt4() 167 s4985_adapter = kcalloc(5, sizeof(struct i2c_adapter), GFP_KERNEL); in nforce2_s4985_init()
|
D | i2c-amd756-s4882.c | 39 extern struct i2c_adapter amd756_smbus; 41 static struct i2c_adapter *s4882_adapter; 47 static s32 amd756_access_virt0(struct i2c_adapter * adap, u16 addr, in amd756_access_virt0() 75 static inline s32 amd756_access_channel(struct i2c_adapter * adap, u16 addr, in amd756_access_channel() 109 static s32 amd756_access_virt1(struct i2c_adapter * adap, u16 addr, in amd756_access_virt1() 119 static s32 amd756_access_virt2(struct i2c_adapter * adap, u16 addr, in amd756_access_virt2() 129 static s32 amd756_access_virt3(struct i2c_adapter * adap, u16 addr, in amd756_access_virt3() 139 static s32 amd756_access_virt4(struct i2c_adapter * adap, u16 addr, in amd756_access_virt4() 172 if (!(s4882_adapter = kcalloc(5, sizeof(struct i2c_adapter), in amd756_s4882_init()
|