Home
last modified time | relevance | path

Searched refs:i2c_adapter (Results 1 – 25 of 489) sorted by relevance

12345678910>>...20

/linux-4.19.296/include/linux/
Di2c.h47 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 …]
Di2c-algo-bit.h40 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/
Di2c-core.h36 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()
Di2c-mux.c32 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 …]
Di2c-core-base.c71 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/
Ddrm_dp_dual_mode_helper.h65 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,
Ddrm_scdc_helper.h91 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/
Ddib9000.h32 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 …]
Dstv0367.h43 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()
Ddib3000mc.h43 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()
Ds921.h29 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 *
Ds5h1420.h41 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()
Dm88ds3103.h90 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()
Dcx24123.h43 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 *
Dlgdt3306a.h62 struct i2c_adapter **i2c_adapter; member
67 struct i2c_adapter *i2c_adap);
71 struct i2c_adapter *i2c_adap) in lgdt3306a_attach()
Ddibx000_common.h23 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);
Dcxd2841er.h50 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()
Dhelene.h66 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/
Dtea5761.h24 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()
Dtea5767.h43 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()
Dtda8290.h42 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/
Ddvbsky.c109 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/
Di2c-uniphier.c52 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 …]
Di2c-nforce2-s4985.c37 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()
Di2c-amd756-s4882.c39 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()

12345678910>>...20