Home
last modified time | relevance | path

Searched refs:adap (Results 1 – 25 of 178) sorted by relevance

12345678

/linux-4.19.296/drivers/i2c/busses/
Di2c-cht-wc.c67 struct cht_wc_i2c_adap *adap = data; in cht_wc_i2c_adap_thread_handler() local
70 mutex_lock(&adap->adap_lock); in cht_wc_i2c_adap_thread_handler()
73 ret = regmap_read(adap->regmap, CHT_WC_EXTCHGRIRQ, &reg); in cht_wc_i2c_adap_thread_handler()
75 dev_err(&adap->adapter.dev, "Error reading extchgrirq reg\n"); in cht_wc_i2c_adap_thread_handler()
76 mutex_unlock(&adap->adap_lock); in cht_wc_i2c_adap_thread_handler()
80 reg &= ~adap->irq_mask; in cht_wc_i2c_adap_thread_handler()
83 ret = regmap_read(adap->regmap, CHT_WC_I2C_RDDATA, &adap->read_data); in cht_wc_i2c_adap_thread_handler()
85 adap->io_error = true; in cht_wc_i2c_adap_thread_handler()
91 ret = regmap_write(adap->regmap, CHT_WC_EXTCHGRIRQ, reg); in cht_wc_i2c_adap_thread_handler()
93 dev_err(&adap->adapter.dev, "Error writing extchgrirq reg\n"); in cht_wc_i2c_adap_thread_handler()
[all …]
Di2c-au1550.c50 struct i2c_adapter adap; member
64 static int wait_xfer_done(struct i2c_au1550_data *adap) in wait_xfer_done() argument
69 for (i = 0; i < adap->xfer_timeout; i++) { in wait_xfer_done()
70 if (RD(adap, PSC_SMBSTAT) & PSC_SMBSTAT_TE) in wait_xfer_done()
79 static int wait_ack(struct i2c_au1550_data *adap) in wait_ack() argument
83 if (wait_xfer_done(adap)) in wait_ack()
86 stat = RD(adap, PSC_SMBEVNT); in wait_ack()
93 static int wait_master_done(struct i2c_au1550_data *adap) in wait_master_done() argument
98 for (i = 0; i < 2 * adap->xfer_timeout; i++) { in wait_master_done()
99 if ((RD(adap, PSC_SMBEVNT) & PSC_SMBEVNT_MD) != 0) in wait_master_done()
[all …]
Di2c-eg20t.c119 #define pch_dbg(adap, fmt, arg...) \ argument
120 dev_dbg(adap->pch_adapter.dev.parent, "%s :" fmt, __func__, ##arg)
122 #define pch_err(adap, fmt, arg...) \ argument
123 dev_err(adap->pch_adapter.dev.parent, "%s :" fmt, __func__, ##arg)
215 static void pch_i2c_init(struct i2c_algo_pch_data *adap) in pch_i2c_init() argument
217 void __iomem *p = adap->pch_base_address; in pch_i2c_init()
230 pch_setbit(adap->pch_base_address, PCH_I2CCTL, PCH_I2CCTL_I2CMEN); in pch_i2c_init()
238 pch_dbg(adap, "Fast mode enabled\n"); in pch_i2c_init()
254 pch_dbg(adap, in pch_i2c_init()
266 static s32 pch_i2c_wait_for_bus_idle(struct i2c_algo_pch_data *adap, in pch_i2c_wait_for_bus_idle() argument
[all …]
Di2c-uniphier.c52 struct i2c_adapter adap; member
73 static int uniphier_i2c_xfer_byte(struct i2c_adapter *adap, u32 txdata, in uniphier_i2c_xfer_byte() argument
76 struct uniphier_i2c_priv *priv = i2c_get_adapdata(adap); in uniphier_i2c_xfer_byte()
83 dev_dbg(&adap->dev, "write data: 0x%04x\n", txdata); in uniphier_i2c_xfer_byte()
86 time_left = wait_for_completion_timeout(&priv->comp, adap->timeout); in uniphier_i2c_xfer_byte()
88 dev_err(&adap->dev, "transaction timeout\n"); in uniphier_i2c_xfer_byte()
93 dev_dbg(&adap->dev, "read data: 0x%04x\n", rxdata); in uniphier_i2c_xfer_byte()
101 static int uniphier_i2c_send_byte(struct i2c_adapter *adap, u32 txdata) in uniphier_i2c_send_byte() argument
106 ret = uniphier_i2c_xfer_byte(adap, txdata, &rxdata); in uniphier_i2c_send_byte()
111 dev_dbg(&adap->dev, "arbitration lost\n"); in uniphier_i2c_send_byte()
[all …]
Di2c-sibyte.c40 struct i2c_algo_sibyte_data *adap = i2c_adap->algo_data; in smbus_xfer() local
44 while (csr_in32(SMB_CSR(adap, R_SMB_STATUS)) & M_SMB_BUSY) in smbus_xfer()
51 V_SMB_TT_QUICKCMD), SMB_CSR(adap, R_SMB_START)); in smbus_xfer()
56 SMB_CSR(adap, R_SMB_START)); in smbus_xfer()
59 csr_out32(V_SMB_CMD(command), SMB_CSR(adap, R_SMB_CMD)); in smbus_xfer()
61 SMB_CSR(adap, R_SMB_START)); in smbus_xfer()
65 csr_out32(V_SMB_CMD(command), SMB_CSR(adap, R_SMB_CMD)); in smbus_xfer()
68 SMB_CSR(adap, R_SMB_START)); in smbus_xfer()
72 SMB_CSR(adap, R_SMB_DATA)); in smbus_xfer()
74 SMB_CSR(adap, R_SMB_START)); in smbus_xfer()
[all …]
Di2c-powermac.c36 static s32 i2c_powermac_smbus_xfer( struct i2c_adapter* adap, in i2c_powermac_smbus_xfer() argument
44 struct pmac_i2c_bus *bus = i2c_get_adapdata(adap); in i2c_powermac_smbus_xfer()
108 dev_err(&adap->dev, "Failed to open I2C, err %d\n", rc); in i2c_powermac_smbus_xfer()
114 dev_err(&adap->dev, "Failed to set I2C mode %d, err %d\n", in i2c_powermac_smbus_xfer()
122 dev_dbg(&adap->dev, in i2c_powermac_smbus_xfer()
126 dev_err(&adap->dev, in i2c_powermac_smbus_xfer()
147 static int i2c_powermac_master_xfer( struct i2c_adapter *adap, in i2c_powermac_master_xfer() argument
151 struct pmac_i2c_bus *bus = i2c_get_adapdata(adap); in i2c_powermac_master_xfer()
161 dev_err(&adap->dev, "Failed to open I2C, err %d\n", rc); in i2c_powermac_master_xfer()
166 dev_err(&adap->dev, "Failed to set I2C mode %d, err %d\n", in i2c_powermac_master_xfer()
[all …]
Di2c-sis630.c129 static int sis630_transaction_start(struct i2c_adapter *adap, int size, in sis630_transaction_start() argument
137 dev_dbg(&adap->dev, "SMBus busy (%02x). Resetting...\n", temp); in sis630_transaction_start()
143 dev_dbg(&adap->dev, "Failed! (%02x)\n", temp); in sis630_transaction_start()
146 dev_dbg(&adap->dev, "Successful!\n"); in sis630_transaction_start()
153 dev_dbg(&adap->dev, "saved clock 0x%02x\n", *oldclock); in sis630_transaction_start()
172 static int sis630_transaction_wait(struct i2c_adapter *adap, int size) in sis630_transaction_wait() argument
187 dev_dbg(&adap->dev, "SMBus Timeout!\n"); in sis630_transaction_wait()
192 dev_dbg(&adap->dev, "Error: Failed bus transaction\n"); in sis630_transaction_wait()
197 dev_err(&adap->dev, "Bus collision!\n"); in sis630_transaction_wait()
204 static void sis630_transaction_end(struct i2c_adapter *adap, u8 oldclock) in sis630_transaction_end() argument
[all …]
Di2c-uniphier-f.c91 struct i2c_adapter adap; member
120 dev_dbg(&priv->adap.dev, "write data: %02x\n", *priv->buf); in uniphier_fi2c_fill_txfifo()
136 dev_dbg(&priv->adap.dev, "read data: %02x\n", priv->buf[-1]); in uniphier_fi2c_drain_rxfifo()
154 dev_dbg(&priv->adap.dev, "stop condition\n"); in uniphier_fi2c_stop()
172 dev_dbg(&priv->adap.dev, in uniphier_fi2c_interrupt()
180 dev_dbg(&priv->adap.dev, "arbitration lost\n"); in uniphier_fi2c_interrupt()
186 dev_dbg(&priv->adap.dev, "could not get ACK\n"); in uniphier_fi2c_interrupt()
227 dev_dbg(&priv->adap.dev, in uniphier_fi2c_interrupt()
234 dev_dbg(&priv->adap.dev, "set NACK\n"); in uniphier_fi2c_interrupt()
330 i2c_recover_bus(&priv->adap); in uniphier_fi2c_recover()
[all …]
Di2c-gpio.c25 struct i2c_adapter adap; member
85 i2c_lock_bus(&priv->adap, I2C_LOCK_ROOT_ADAPTER); \
87 i2c_unlock_bus(&priv->adap, I2C_LOCK_ROOT_ADAPTER); \
94 i2c_lock_bus(&priv->adap, I2C_LOCK_ROOT_ADAPTER); \
96 i2c_unlock_bus(&priv->adap, I2C_LOCK_ROOT_ADAPTER); \
110 i2c_lock_bus(&priv->adap, I2C_LOCK_ROOT_ADAPTER); in i2c_gpio_incomplete_transfer()
126 i2c_unlock_bus(&priv->adap, I2C_LOCK_ROOT_ADAPTER); in i2c_gpio_incomplete_transfer()
262 struct i2c_adapter *adap; in i2c_gpio_probe() local
272 adap = &priv->adap; in i2c_gpio_probe()
342 adap->owner = THIS_MODULE; in i2c_gpio_probe()
[all …]
Di2c-cpm.c108 struct i2c_adapter adap; member
130 struct i2c_adapter *adap = dev_id; in cpm_i2c_interrupt() local
140 dev_dbg(&adap->dev, "Interrupt: %x\n", i); in cpm_i2c_interrupt()
177 static void cpm_i2c_force_close(struct i2c_adapter *adap) in cpm_i2c_force_close() argument
179 struct cpm_i2c *cpm = i2c_get_adapdata(adap); in cpm_i2c_force_close()
182 dev_dbg(&adap->dev, "cpm_i2c_force_close()\n"); in cpm_i2c_force_close()
190 static void cpm_i2c_parse_message(struct i2c_adapter *adap, in cpm_i2c_parse_message() argument
198 struct cpm_i2c *cpm = i2c_get_adapdata(adap); in cpm_i2c_parse_message()
229 dev_dbg(&adap->dev, "cpm_i2c_read(abyte=0x%x)\n", addr); in cpm_i2c_parse_message()
240 dev_dbg(&adap->dev, "cpm_i2c_write(abyte=0x%x)\n", addr); in cpm_i2c_parse_message()
[all …]
Di2c-emev2.c68 struct i2c_adapter adap; member
87 time_left = wait_for_completion_timeout(&priv->msg_done, priv->adap.timeout); in em_i2c_wait_for_event()
105 static void em_i2c_reset(struct i2c_adapter *adap) in em_i2c_reset() argument
107 struct em_i2c_device *priv = i2c_get_adapdata(adap); in em_i2c_reset()
139 static int __em_i2c_xfer(struct i2c_adapter *adap, struct i2c_msg *msg, in __em_i2c_xfer() argument
142 struct em_i2c_device *priv = i2c_get_adapdata(adap); in __em_i2c_xfer()
204 em_i2c_reset(adap); in __em_i2c_xfer()
209 static int em_i2c_xfer(struct i2c_adapter *adap, struct i2c_msg *msgs, in em_i2c_xfer() argument
212 struct em_i2c_device *priv = i2c_get_adapdata(adap); in em_i2c_xfer()
219 ret = __em_i2c_xfer(adap, &msgs[i], (i == (num - 1))); in em_i2c_xfer()
[all …]
/linux-4.19.296/drivers/i2c/algos/
Di2c-algo-pcf.c47 #define set_pcf(adap, ctl, val) adap->setpcf(adap->data, ctl, val) argument
48 #define get_pcf(adap, ctl) adap->getpcf(adap->data, ctl) argument
49 #define get_own(adap) adap->getown(adap->data) argument
50 #define get_clock(adap) adap->getclock(adap->data) argument
51 #define i2c_outb(adap, val) adap->setpcf(adap->data, 0, val) argument
52 #define i2c_inb(adap) adap->getpcf(adap->data, 0) argument
56 static void i2c_start(struct i2c_algo_pcf_data *adap) in i2c_start() argument
59 set_pcf(adap, 1, I2C_PCF_START); in i2c_start()
62 static void i2c_repstart(struct i2c_algo_pcf_data *adap) in i2c_repstart() argument
65 set_pcf(adap, 1, I2C_PCF_REPSTART); in i2c_repstart()
[all …]
Di2c-algo-bit.c57 #define setsda(adap, val) adap->setsda(adap->data, val) argument
58 #define setscl(adap, val) adap->setscl(adap->data, val) argument
59 #define getsda(adap) adap->getsda(adap->data) argument
60 #define getscl(adap) adap->getscl(adap->data) argument
62 static inline void sdalo(struct i2c_algo_bit_data *adap) in sdalo() argument
64 setsda(adap, 0); in sdalo()
65 udelay((adap->udelay + 1) / 2); in sdalo()
68 static inline void sdahi(struct i2c_algo_bit_data *adap) in sdahi() argument
70 setsda(adap, 1); in sdahi()
71 udelay((adap->udelay + 1) / 2); in sdahi()
[all …]
Di2c-algo-pca.c35 #define pca_outw(adap, reg, val) adap->write_byte(adap->data, reg, val) argument
36 #define pca_inw(adap, reg) adap->read_byte(adap->data, reg) argument
38 #define pca_status(adap) pca_inw(adap, I2C_PCA_STA) argument
39 #define pca_clock(adap) adap->i2c_clock argument
40 #define pca_set_con(adap, val) pca_outw(adap, I2C_PCA_CON, val) argument
41 #define pca_get_con(adap) pca_inw(adap, I2C_PCA_CON) argument
42 #define pca_wait(adap) adap->wait_for_completion(adap->data) argument
44 static void pca_reset(struct i2c_algo_pca_data *adap) in pca_reset() argument
46 if (adap->chip == I2C_PCA_CHIP_9665) { in pca_reset()
50 pca_outw(adap, I2C_PCA_INDPTR, I2C_PCA_IPRESET); in pca_reset()
[all …]
/linux-4.19.296/drivers/media/usb/dvb-usb-v2/
Ddvb_usb_core.c215 struct dvb_usb_adapter *adap = stream->user_priv; in dvb_usb_data_complete() local
216 dvb_dmx_swfilter(&adap->demux, buf, len); in dvb_usb_data_complete()
222 struct dvb_usb_adapter *adap = stream->user_priv; in dvb_usb_data_complete_204() local
223 dvb_dmx_swfilter_204(&adap->demux, buf, len); in dvb_usb_data_complete_204()
229 struct dvb_usb_adapter *adap = stream->user_priv; in dvb_usb_data_complete_raw() local
230 dvb_dmx_swfilter_raw(&adap->demux, buf, len); in dvb_usb_data_complete_raw()
233 static int dvb_usbv2_adapter_stream_init(struct dvb_usb_adapter *adap) in dvb_usbv2_adapter_stream_init() argument
235 dev_dbg(&adap_to_d(adap)->udev->dev, "%s: adap=%d\n", __func__, in dvb_usbv2_adapter_stream_init()
236 adap->id); in dvb_usbv2_adapter_stream_init()
238 adap->stream.udev = adap_to_d(adap)->udev; in dvb_usbv2_adapter_stream_init()
[all …]
Ddvbsky.c109 static int dvbsky_i2c_xfer(struct i2c_adapter *adap, struct i2c_msg msg[], in dvbsky_i2c_xfer() argument
112 struct dvb_usb_device *d = i2c_get_adapdata(adap); in dvbsky_i2c_xfer()
251 static int dvbsky_read_mac_addr(struct dvb_usb_adapter *adap, u8 mac[6]) in dvbsky_read_mac_addr() argument
253 struct dvb_usb_device *d = adap_to_d(adap); in dvbsky_read_mac_addr()
293 static int dvbsky_s960_attach(struct dvb_usb_adapter *adap) in dvbsky_s960_attach() argument
295 struct dvbsky_state *state = adap_to_priv(adap); in dvbsky_s960_attach()
296 struct dvb_usb_device *d = adap_to_d(adap); in dvbsky_s960_attach()
318 adap->fe[0] = m88ds3103_pdata.get_dvb_frontend(state->i2c_client_demod); in dvbsky_s960_attach()
322 ts2020_config.fe = adap->fe[0]; in dvbsky_s960_attach()
334 adap->fe[0]->ops.read_signal_strength = in dvbsky_s960_attach()
[all …]
Dlmedm04.c253 static void lme2510_update_stats(struct dvb_usb_adapter *adap) in lme2510_update_stats() argument
255 struct lme2510_state *st = adap_to_priv(adap); in lme2510_update_stats()
256 struct dvb_frontend *fe = adap->fe[0]; in lme2510_update_stats()
308 struct dvb_usb_adapter *adap = lme_urb->context; in lme2510_int_response() local
309 struct lme2510_state *st = adap_to_priv(adap); in lme2510_int_response()
341 if (!adap_to_d(adap)->rc_dev) in lme2510_int_response()
350 rc_keydown(adap_to_d(adap)->rc_dev, RC_PROTO_NEC32, key, in lme2510_int_response()
388 lme2510_update_stats(adap); in lme2510_int_response()
409 static int lme2510_int_read(struct dvb_usb_adapter *adap) in lme2510_int_read() argument
411 struct dvb_usb_device *d = adap_to_d(adap); in lme2510_int_read()
[all …]
Danysee.c202 static int anysee_master_xfer(struct i2c_adapter *adap, struct i2c_msg *msg, in anysee_master_xfer() argument
205 struct dvb_usb_device *d = i2c_get_adapdata(adap); in anysee_master_xfer()
715 static int anysee_frontend_attach(struct dvb_usb_adapter *adap) in anysee_frontend_attach() argument
717 struct anysee_state *state = adap_to_priv(adap); in anysee_frontend_attach()
718 struct dvb_usb_device *d = adap_to_d(adap); in anysee_frontend_attach()
740 adap->fe[0] = dvb_attach(mt352_attach, &anysee_mt352_config, in anysee_frontend_attach()
742 if (adap->fe[0]) in anysee_frontend_attach()
746 adap->fe[0] = dvb_attach(zl10353_attach, &anysee_zl10353_config, in anysee_frontend_attach()
764 adap->fe[0] = dvb_attach(zl10353_attach, &anysee_zl10353_config, in anysee_frontend_attach()
777 adap->fe[0] = dvb_attach(tda10023_attach, in anysee_frontend_attach()
[all …]
/linux-4.19.296/include/media/
Dcec.h60 struct cec_adapter *adap; member
86 struct cec_adapter *adap; member
110 int (*adap_enable)(struct cec_adapter *adap, bool enable);
111 int (*adap_monitor_all_enable)(struct cec_adapter *adap, bool enable);
112 int (*adap_monitor_pin_enable)(struct cec_adapter *adap, bool enable);
113 int (*adap_log_addr)(struct cec_adapter *adap, u8 logical_addr);
114 int (*adap_transmit)(struct cec_adapter *adap, u8 attempts,
116 void (*adap_status)(struct cec_adapter *adap, struct seq_file *file);
117 void (*adap_free)(struct cec_adapter *adap);
120 int (*error_inj_show)(struct cec_adapter *adap, struct seq_file *sf);
[all …]
Dcec-pin.h36 bool (*read)(struct cec_adapter *adap);
37 void (*low)(struct cec_adapter *adap);
38 void (*high)(struct cec_adapter *adap);
39 bool (*enable_irq)(struct cec_adapter *adap);
40 void (*disable_irq)(struct cec_adapter *adap);
41 void (*free)(struct cec_adapter *adap);
42 void (*status)(struct cec_adapter *adap, struct seq_file *file);
43 int (*read_hpd)(struct cec_adapter *adap);
44 int (*read_5v)(struct cec_adapter *adap);
56 void cec_pin_changed(struct cec_adapter *adap, bool value);
/linux-4.19.296/drivers/i2c/
Di2c-core-base.c142 static int get_scl_gpio_value(struct i2c_adapter *adap) in get_scl_gpio_value() argument
144 return gpiod_get_value_cansleep(adap->bus_recovery_info->scl_gpiod); in get_scl_gpio_value()
147 static void set_scl_gpio_value(struct i2c_adapter *adap, int val) in set_scl_gpio_value() argument
149 gpiod_set_value_cansleep(adap->bus_recovery_info->scl_gpiod, val); in set_scl_gpio_value()
152 static int get_sda_gpio_value(struct i2c_adapter *adap) in get_sda_gpio_value() argument
154 return gpiod_get_value_cansleep(adap->bus_recovery_info->sda_gpiod); in get_sda_gpio_value()
157 static void set_sda_gpio_value(struct i2c_adapter *adap, int val) in set_sda_gpio_value() argument
159 gpiod_set_value_cansleep(adap->bus_recovery_info->sda_gpiod, val); in set_sda_gpio_value()
162 static int i2c_generic_bus_free(struct i2c_adapter *adap) in i2c_generic_bus_free() argument
164 struct i2c_bus_recovery_info *bri = adap->bus_recovery_info; in i2c_generic_bus_free()
[all …]
Di2c-mux.c32 struct i2c_adapter adap; member
38 static int __i2c_mux_master_xfer(struct i2c_adapter *adap, in __i2c_mux_master_xfer() argument
41 struct i2c_mux_priv *priv = adap->algo_data; in __i2c_mux_master_xfer()
57 static int i2c_mux_master_xfer(struct i2c_adapter *adap, in i2c_mux_master_xfer() argument
60 struct i2c_mux_priv *priv = adap->algo_data; in i2c_mux_master_xfer()
76 static int __i2c_mux_smbus_xfer(struct i2c_adapter *adap, in __i2c_mux_smbus_xfer() argument
81 struct i2c_mux_priv *priv = adap->algo_data; in __i2c_mux_smbus_xfer()
98 static int i2c_mux_smbus_xfer(struct i2c_adapter *adap, in i2c_mux_smbus_xfer() argument
103 struct i2c_mux_priv *priv = adap->algo_data; in i2c_mux_smbus_xfer()
121 static u32 i2c_mux_functionality(struct i2c_adapter *adap) in i2c_mux_functionality() argument
[all …]
Di2c-core-of.c67 static struct i2c_client *of_i2c_register_device(struct i2c_adapter *adap, in of_i2c_register_device() argument
74 dev_dbg(&adap->dev, "of_i2c: register %pOF\n", node); in of_i2c_register_device()
76 ret = of_i2c_get_board_info(&adap->dev, node, &info); in of_i2c_register_device()
80 client = i2c_new_device(adap, &info); in of_i2c_register_device()
82 dev_err(&adap->dev, "of_i2c: Failure registering %pOF\n", node); in of_i2c_register_device()
88 void of_i2c_register_devices(struct i2c_adapter *adap) in of_i2c_register_devices() argument
94 if (!adap->dev.of_node) in of_i2c_register_devices()
97 dev_dbg(&adap->dev, "of_i2c: walking child nodes\n"); in of_i2c_register_devices()
99 bus = of_get_child_by_name(adap->dev.of_node, "i2c-bus"); in of_i2c_register_devices()
101 bus = of_node_get(adap->dev.of_node); in of_i2c_register_devices()
[all …]
/linux-4.19.296/include/linux/
Di2c.h132 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,
449 i2c_new_device(struct i2c_adapter *adap, struct i2c_board_info const *info);
458 i2c_new_probed_device(struct i2c_adapter *adap,
470 i2c_new_dummy(struct i2c_adapter *adap, u16 address);
526 int (*master_xfer)(struct i2c_adapter *adap, struct i2c_msg *msgs,
528 int (*smbus_xfer) (struct i2c_adapter *adap, u16 addr,
597 int (*recover_bus)(struct i2c_adapter *adap);
599 int (*get_scl)(struct i2c_adapter *adap);
600 void (*set_scl)(struct i2c_adapter *adap, int val);
[all …]
/linux-4.19.296/include/trace/events/
Di2c.h30 TP_PROTO(const struct i2c_adapter *adap, const struct i2c_msg *msg,
32 TP_ARGS(adap, msg, num),
41 __entry->adapter_nr = adap->nr;
63 TP_PROTO(const struct i2c_adapter *adap, const struct i2c_msg *msg,
65 TP_ARGS(adap, msg, num),
74 __entry->adapter_nr = adap->nr;
94 TP_PROTO(const struct i2c_adapter *adap, const struct i2c_msg *msg,
96 TP_ARGS(adap, msg, num),
105 __entry->adapter_nr = adap->nr;
127 TP_PROTO(const struct i2c_adapter *adap, int num, int ret),
[all …]

12345678