/drivers/i2c/busses/ |
D | i2c-octeon-core.c | 26 struct octeon_i2c *i2c = dev_id; in octeon_i2c_isr() local 34 static bool octeon_i2c_test_iflg(struct octeon_i2c *i2c) in octeon_i2c_test_iflg() 45 static int octeon_i2c_wait(struct octeon_i2c *i2c) in octeon_i2c_wait() 81 static bool octeon_i2c_hlc_test_valid(struct octeon_i2c *i2c) in octeon_i2c_hlc_test_valid() 86 static void octeon_i2c_hlc_int_clear(struct octeon_i2c *i2c) in octeon_i2c_hlc_int_clear() 95 static void octeon_i2c_hlc_enable(struct octeon_i2c *i2c) in octeon_i2c_hlc_enable() 124 static void octeon_i2c_hlc_disable(struct octeon_i2c *i2c) in octeon_i2c_hlc_disable() 139 static int octeon_i2c_hlc_wait(struct octeon_i2c *i2c) in octeon_i2c_hlc_wait() 177 static int octeon_i2c_check_status(struct octeon_i2c *i2c, int final_read) in octeon_i2c_check_status() 247 static int octeon_i2c_recovery(struct octeon_i2c *i2c) in octeon_i2c_recovery() [all …]
|
D | i2c-pxa.c | 216 #define _IBMR(i2c) ((i2c)->reg_ibmr) argument 217 #define _IDBR(i2c) ((i2c)->reg_idbr) argument 218 #define _ICR(i2c) ((i2c)->reg_icr) argument 219 #define _ISR(i2c) ((i2c)->reg_isr) argument 220 #define _ISAR(i2c) ((i2c)->reg_isar) argument 221 #define _ILCR(i2c) ((i2c)->reg_ilcr) argument 222 #define _IWCR(i2c) ((i2c)->reg_iwcr) argument 298 static void i2c_pxa_show_state(struct pxa_i2c *i2c, int lno, const char *fname) in i2c_pxa_show_state() 304 #define show_state(i2c) i2c_pxa_show_state(i2c, __LINE__, __func__) argument 306 static void i2c_pxa_scream_blue_murder(struct pxa_i2c *i2c, const char *why) in i2c_pxa_scream_blue_murder() [all …]
|
D | i2c-s3c2410.c | 185 static inline void s3c24xx_i2c_master_complete(struct s3c24xx_i2c *i2c, int ret) in s3c24xx_i2c_master_complete() 200 static inline void s3c24xx_i2c_disable_ack(struct s3c24xx_i2c *i2c) in s3c24xx_i2c_disable_ack() 208 static inline void s3c24xx_i2c_enable_ack(struct s3c24xx_i2c *i2c) in s3c24xx_i2c_enable_ack() 217 static inline void s3c24xx_i2c_disable_irq(struct s3c24xx_i2c *i2c) in s3c24xx_i2c_disable_irq() 225 static inline void s3c24xx_i2c_enable_irq(struct s3c24xx_i2c *i2c) in s3c24xx_i2c_enable_irq() 233 static bool is_ack(struct s3c24xx_i2c *i2c) in is_ack() 253 static void s3c24xx_i2c_message_start(struct s3c24xx_i2c *i2c, in s3c24xx_i2c_message_start() 304 static inline void s3c24xx_i2c_stop(struct s3c24xx_i2c *i2c, int ret) in s3c24xx_i2c_stop() 367 static inline int is_lastmsg(struct s3c24xx_i2c *i2c) in is_lastmsg() 375 static inline int is_msglast(struct s3c24xx_i2c *i2c) in is_msglast() [all …]
|
D | i2c-xiic.c | 179 #define xiic_tx_space(i2c) ((i2c)->tx_msg->len - (i2c)->tx_pos) argument 180 #define xiic_rx_space(i2c) ((i2c)->rx_msg->len - (i2c)->rx_pos) argument 193 static inline void xiic_setreg8(struct xiic_i2c *i2c, int reg, u8 value) in xiic_setreg8() 201 static inline u8 xiic_getreg8(struct xiic_i2c *i2c, int reg) in xiic_getreg8() 212 static inline void xiic_setreg16(struct xiic_i2c *i2c, int reg, u16 value) in xiic_setreg16() 220 static inline void xiic_setreg32(struct xiic_i2c *i2c, int reg, int value) in xiic_setreg32() 228 static inline int xiic_getreg32(struct xiic_i2c *i2c, int reg) in xiic_getreg32() 239 static inline void xiic_irq_dis(struct xiic_i2c *i2c, u32 mask) in xiic_irq_dis() 245 static inline void xiic_irq_en(struct xiic_i2c *i2c, u32 mask) in xiic_irq_en() 251 static inline void xiic_irq_clr(struct xiic_i2c *i2c, u32 mask) in xiic_irq_clr() [all …]
|
D | i2c-zx2967.c | 56 #define DEV(i2c) ((i2c)->adap.dev.parent) argument 73 static void zx2967_i2c_writel(struct zx2967_i2c *i2c, in zx2967_i2c_writel() 79 static u32 zx2967_i2c_readl(struct zx2967_i2c *i2c, unsigned long reg) in zx2967_i2c_readl() 84 static void zx2967_i2c_writesb(struct zx2967_i2c *i2c, in zx2967_i2c_writesb() 90 static void zx2967_i2c_readsb(struct zx2967_i2c *i2c, in zx2967_i2c_readsb() 96 static void zx2967_i2c_start_ctrl(struct zx2967_i2c *i2c) in zx2967_i2c_start_ctrl() 115 static void zx2967_i2c_flush_fifos(struct zx2967_i2c *i2c) in zx2967_i2c_flush_fifos() 132 static int zx2967_i2c_empty_rx_fifo(struct zx2967_i2c *i2c, u32 size) in zx2967_i2c_empty_rx_fifo() 154 static int zx2967_i2c_fill_tx_fifo(struct zx2967_i2c *i2c) in zx2967_i2c_fill_tx_fifo() 181 static int zx2967_i2c_reset_hardware(struct zx2967_i2c *i2c) in zx2967_i2c_reset_hardware() [all …]
|
D | i2c-ocores.c | 80 static void oc_setreg_8(struct ocores_i2c *i2c, int reg, u8 value) in oc_setreg_8() 85 static void oc_setreg_16(struct ocores_i2c *i2c, int reg, u8 value) in oc_setreg_16() 90 static void oc_setreg_32(struct ocores_i2c *i2c, int reg, u8 value) in oc_setreg_32() 95 static void oc_setreg_16be(struct ocores_i2c *i2c, int reg, u8 value) in oc_setreg_16be() 100 static void oc_setreg_32be(struct ocores_i2c *i2c, int reg, u8 value) in oc_setreg_32be() 105 static inline u8 oc_getreg_8(struct ocores_i2c *i2c, int reg) in oc_getreg_8() 110 static inline u8 oc_getreg_16(struct ocores_i2c *i2c, int reg) in oc_getreg_16() 115 static inline u8 oc_getreg_32(struct ocores_i2c *i2c, int reg) in oc_getreg_32() 120 static inline u8 oc_getreg_16be(struct ocores_i2c *i2c, int reg) in oc_getreg_16be() 125 static inline u8 oc_getreg_32be(struct ocores_i2c *i2c, int reg) in oc_getreg_32be() [all …]
|
D | i2c-octeon-platdrv.c | 38 static void octeon_i2c_int_enable(struct octeon_i2c *i2c) in octeon_i2c_int_enable() 44 static void octeon_i2c_int_disable(struct octeon_i2c *i2c) in octeon_i2c_int_disable() 57 static void octeon_i2c_int_enable78(struct octeon_i2c *i2c) in octeon_i2c_int_enable78() 78 static void octeon_i2c_int_disable78(struct octeon_i2c *i2c) in octeon_i2c_int_disable78() 90 static void octeon_i2c_hlc_int_enable78(struct octeon_i2c *i2c) in octeon_i2c_hlc_int_enable78() 97 static void octeon_i2c_hlc_int_disable78(struct octeon_i2c *i2c) in octeon_i2c_hlc_int_disable78() 105 struct octeon_i2c *i2c = dev_id; in octeon_i2c_hlc_isr78() local 113 static void octeon_i2c_hlc_int_enable(struct octeon_i2c *i2c) in octeon_i2c_hlc_int_enable() 140 struct octeon_i2c *i2c; in octeon_i2c_probe() local 260 struct octeon_i2c *i2c = platform_get_drvdata(pdev); in octeon_i2c_remove() local
|
D | i2c-thunderx-pcidrv.c | 40 static void thunder_i2c_int_enable(struct octeon_i2c *i2c) in thunder_i2c_int_enable() 49 static void thunder_i2c_int_disable(struct octeon_i2c *i2c) in thunder_i2c_int_disable() 55 static void thunder_i2c_hlc_int_enable(struct octeon_i2c *i2c) in thunder_i2c_hlc_int_enable() 61 static void thunder_i2c_hlc_int_disable(struct octeon_i2c *i2c) in thunder_i2c_hlc_int_disable() 84 static void thunder_i2c_clock_enable(struct device *dev, struct octeon_i2c *i2c) in thunder_i2c_clock_enable() 118 static int thunder_i2c_smbus_setup_of(struct octeon_i2c *i2c, in thunder_i2c_smbus_setup_of() 140 static int thunder_i2c_smbus_setup(struct octeon_i2c *i2c, in thunder_i2c_smbus_setup() 150 static void thunder_i2c_smbus_remove(struct octeon_i2c *i2c) in thunder_i2c_smbus_remove() 160 struct octeon_i2c *i2c; in thunder_i2c_probe_pci() local 241 struct octeon_i2c *i2c = pci_get_drvdata(pdev); in thunder_i2c_remove_pci() local
|
D | i2c-digicolor.c | 75 static void dc_i2c_cmd(struct dc_i2c *i2c, u8 cmd) in dc_i2c_cmd() 90 static void dc_i2c_data(struct dc_i2c *i2c, u8 data) in dc_i2c_data() 95 static void dc_i2c_write_byte(struct dc_i2c *i2c, u8 byte) in dc_i2c_write_byte() 101 static void dc_i2c_write_buf(struct dc_i2c *i2c) in dc_i2c_write_buf() 106 static void dc_i2c_next_read(struct dc_i2c *i2c) in dc_i2c_next_read() 113 static void dc_i2c_stop(struct dc_i2c *i2c) in dc_i2c_stop() 122 static u8 dc_i2c_read_byte(struct dc_i2c *i2c) in dc_i2c_read_byte() 127 static void dc_i2c_read_buf(struct dc_i2c *i2c) in dc_i2c_read_buf() 133 static void dc_i2c_set_irq(struct dc_i2c *i2c, int enable) in dc_i2c_set_irq() 140 static int dc_i2c_cmd_status(struct dc_i2c *i2c) in dc_i2c_cmd_status() [all …]
|
D | i2c-pca-platform.c | 47 struct i2c_pca_pf_data *i2c = pd; in i2c_pca_pf_readbyte8() local 53 struct i2c_pca_pf_data *i2c = pd; in i2c_pca_pf_readbyte16() local 59 struct i2c_pca_pf_data *i2c = pd; in i2c_pca_pf_readbyte32() local 65 struct i2c_pca_pf_data *i2c = pd; in i2c_pca_pf_writebyte8() local 71 struct i2c_pca_pf_data *i2c = pd; in i2c_pca_pf_writebyte16() local 77 struct i2c_pca_pf_data *i2c = pd; in i2c_pca_pf_writebyte32() local 84 struct i2c_pca_pf_data *i2c = pd; in i2c_pca_pf_waitforcompletion() local 109 struct i2c_pca_pf_data *i2c = pd; in i2c_pca_pf_dummyreset() local 116 struct i2c_pca_pf_data *i2c = pd; in i2c_pca_pf_resetchip() local 125 struct i2c_pca_pf_data *i2c = dev_id; in i2c_pca_pf_handler() local [all …]
|
D | i2c-img-scb.c | 411 static void img_i2c_writel(struct img_i2c *i2c, u32 offset, u32 value) in img_i2c_writel() 416 static u32 img_i2c_readl(struct img_i2c *i2c, u32 offset) in img_i2c_readl() 433 static void img_i2c_wr_rd_fence(struct img_i2c *i2c) in img_i2c_wr_rd_fence() 441 static void img_i2c_switch_mode(struct img_i2c *i2c, enum img_i2c_mode mode) in img_i2c_switch_mode() 448 static void img_i2c_raw_op(struct img_i2c *i2c) in img_i2c_raw_op() 469 static void img_i2c_atomic_op(struct img_i2c *i2c, int cmd, u8 data) in img_i2c_atomic_op() 501 static void img_i2c_atomic_start(struct img_i2c *i2c) in img_i2c_atomic_start() 508 static void img_i2c_soft_reset(struct img_i2c *i2c) in img_i2c_soft_reset() 527 static void img_i2c_transaction_halt(struct img_i2c *i2c, bool t_halt) in img_i2c_transaction_halt() 543 static void img_i2c_read_fifo(struct img_i2c *i2c) in img_i2c_read_fifo() [all …]
|
D | i2c-mxs.c | 74 #define MXS_I2C_DATA(i2c) ((i2c->dev_type == MXS_I2C_V1) ? 0x60 : 0xa0) argument 76 #define MXS_I2C_DEBUG0_CLR(i2c) ((i2c->dev_type == MXS_I2C_V1) ? 0x78 : 0xb8) argument 137 static int mxs_i2c_reset(struct mxs_i2c_dev *i2c) in mxs_i2c_reset() 159 static void mxs_i2c_dma_finish(struct mxs_i2c_dev *i2c) in mxs_i2c_dma_finish() 171 struct mxs_i2c_dev *i2c = param; in mxs_i2c_dma_irq_callback() local 181 struct mxs_i2c_dev *i2c = i2c_get_adapdata(adap); in mxs_i2c_dma_setup_xfer() local 305 static int mxs_i2c_pio_wait_xfer_end(struct mxs_i2c_dev *i2c) in mxs_i2c_pio_wait_xfer_end() 321 static int mxs_i2c_pio_check_error_state(struct mxs_i2c_dev *i2c) in mxs_i2c_pio_check_error_state() 338 static void mxs_i2c_pio_trigger_cmd(struct mxs_i2c_dev *i2c, u32 cmd) in mxs_i2c_pio_trigger_cmd() 358 static void mxs_i2c_pio_trigger_write_cmd(struct mxs_i2c_dev *i2c, u32 cmd, in mxs_i2c_pio_trigger_write_cmd() [all …]
|
D | i2c-mpc.c | 86 static inline void writeccr(struct mpc_i2c *i2c, u32 x) in writeccr() 93 struct mpc_i2c *i2c = dev_id; in mpc_i2c_isr() local 109 static void mpc_i2c_fixup(struct mpc_i2c *i2c) in mpc_i2c_fixup() 126 static int i2c_wait(struct mpc_i2c *i2c, unsigned timeout, int writing) in i2c_wait() 238 struct mpc_i2c *i2c, in mpc_i2c_setup_52xx() 260 struct mpc_i2c *i2c, in mpc_i2c_setup_52xx() 268 struct mpc_i2c *i2c, in mpc_i2c_setup_512x() 296 struct mpc_i2c *i2c, in mpc_i2c_setup_512x() 417 struct mpc_i2c *i2c, in mpc_i2c_setup_8xxx() 442 struct mpc_i2c *i2c, in mpc_i2c_setup_8xxx() [all …]
|
D | i2c-meson.c | 98 static void meson_i2c_set_mask(struct meson_i2c *i2c, int reg, u32 mask, in meson_i2c_set_mask() 109 static void meson_i2c_reset_tokens(struct meson_i2c *i2c) in meson_i2c_reset_tokens() 116 static void meson_i2c_add_token(struct meson_i2c *i2c, int token) in meson_i2c_add_token() 126 static void meson_i2c_set_clk_div(struct meson_i2c *i2c, unsigned int freq) in meson_i2c_set_clk_div() 149 static void meson_i2c_get_data(struct meson_i2c *i2c, char *buf, int len) in meson_i2c_get_data() 167 static void meson_i2c_put_data(struct meson_i2c *i2c, char *buf, int len) in meson_i2c_put_data() 185 static void meson_i2c_prepare_xfer(struct meson_i2c *i2c) in meson_i2c_prepare_xfer() 214 struct meson_i2c *i2c = dev_id; in meson_i2c_irq() local 265 static void meson_i2c_do_start(struct meson_i2c *i2c, struct i2c_msg *msg) in meson_i2c_do_start() 277 static int meson_i2c_xfer_msg(struct meson_i2c *i2c, struct i2c_msg *msg, in meson_i2c_xfer_msg() [all …]
|
D | i2c-lpc2k.c | 89 static void i2c_lpc2k_reset(struct lpc2k_i2c *i2c) in i2c_lpc2k_reset() 97 static int i2c_lpc2k_clear_arb(struct lpc2k_i2c *i2c) in i2c_lpc2k_clear_arb() 121 static void i2c_lpc2k_pump_msg(struct lpc2k_i2c *i2c) in i2c_lpc2k_pump_msg() 257 static int lpc2k_process_msg(struct lpc2k_i2c *i2c, int msgidx) in lpc2k_process_msg() 301 struct lpc2k_i2c *i2c = i2c_get_adapdata(adap); in i2c_lpc2k_xfer() local 330 struct lpc2k_i2c *i2c = dev_id; in i2c_lpc2k_handler() local 353 struct lpc2k_i2c *i2c; in i2c_lpc2k_probe() local 449 struct lpc2k_i2c *i2c = platform_get_drvdata(dev); in i2c_lpc2k_remove() local 460 struct lpc2k_i2c *i2c = dev_get_drvdata(dev); in i2c_lpc2k_suspend() local 469 struct lpc2k_i2c *i2c = dev_get_drvdata(dev); in i2c_lpc2k_resume() local
|
D | i2c-jz4780.c | 160 static inline unsigned short jz4780_i2c_readw(struct jz4780_i2c *i2c, in jz4780_i2c_readw() 166 static inline void jz4780_i2c_writew(struct jz4780_i2c *i2c, in jz4780_i2c_writew() 172 static int jz4780_i2c_disable(struct jz4780_i2c *i2c) in jz4780_i2c_disable() 191 static int jz4780_i2c_enable(struct jz4780_i2c *i2c) in jz4780_i2c_enable() 210 static int jz4780_i2c_set_target(struct jz4780_i2c *i2c, unsigned char address) in jz4780_i2c_set_target() 236 static int jz4780_i2c_set_speed(struct jz4780_i2c *i2c) in jz4780_i2c_set_speed() 343 static int jz4780_i2c_cleanup(struct jz4780_i2c *i2c) in jz4780_i2c_cleanup() 386 static int jz4780_i2c_prepare(struct jz4780_i2c *i2c) in jz4780_i2c_prepare() 392 static void jz4780_i2c_send_rcmd(struct jz4780_i2c *i2c, int cmd_count) in jz4780_i2c_send_rcmd() 400 static void jz4780_i2c_trans_done(struct jz4780_i2c *i2c) in jz4780_i2c_trans_done() [all …]
|
D | i2c-versatile.c | 34 struct i2c_versatile *i2c = data; in i2c_versatile_setsda() local 41 struct i2c_versatile *i2c = data; in i2c_versatile_setscl() local 48 struct i2c_versatile *i2c = data; in i2c_versatile_getsda() local 54 struct i2c_versatile *i2c = data; in i2c_versatile_getscl() local 69 struct i2c_versatile *i2c; in i2c_versatile_probe() local 104 struct i2c_versatile *i2c = platform_get_drvdata(dev); in i2c_versatile_remove() local
|
/drivers/base/regmap/ |
D | regmap-i2c.c | 23 struct i2c_client *i2c = to_i2c_client(dev); in regmap_smbus_byte_reg_read() local 42 struct i2c_client *i2c = to_i2c_client(dev); in regmap_smbus_byte_reg_write() local 59 struct i2c_client *i2c = to_i2c_client(dev); in regmap_smbus_word_reg_read() local 78 struct i2c_client *i2c = to_i2c_client(dev); in regmap_smbus_word_reg_write() local 95 struct i2c_client *i2c = to_i2c_client(dev); in regmap_smbus_word_read_swapped() local 114 struct i2c_client *i2c = to_i2c_client(dev); in regmap_smbus_word_write_swapped() local 130 struct i2c_client *i2c = to_i2c_client(dev); in regmap_i2c_write() local 147 struct i2c_client *i2c = to_i2c_client(dev); in regmap_i2c_gather_write() local 181 struct i2c_client *i2c = to_i2c_client(dev); in regmap_i2c_read() local 216 struct i2c_client *i2c = to_i2c_client(dev); in regmap_i2c_smbus_i2c_write() local [all …]
|
/drivers/mfd/ |
D | max8997.c | 60 int max8997_read_reg(struct i2c_client *i2c, u8 reg, u8 *dest) in max8997_read_reg() 77 int max8997_bulk_read(struct i2c_client *i2c, u8 reg, int count, u8 *buf) in max8997_bulk_read() 92 int max8997_write_reg(struct i2c_client *i2c, u8 reg, u8 value) in max8997_write_reg() 104 int max8997_bulk_write(struct i2c_client *i2c, u8 reg, int count, u8 *buf) in max8997_bulk_write() 119 int max8997_update_reg(struct i2c_client *i2c, u8 reg, u8 val, u8 mask) in max8997_update_reg() 161 static inline unsigned long max8997_i2c_get_driver_data(struct i2c_client *i2c, in max8997_i2c_get_driver_data() 172 static int max8997_i2c_probe(struct i2c_client *i2c, in max8997_i2c_probe() 420 struct i2c_client *i2c = to_i2c_client(dev); in max8997_freeze() local 442 struct i2c_client *i2c = to_i2c_client(dev); in max8997_restore() local 464 struct i2c_client *i2c = to_i2c_client(dev); in max8997_suspend() local [all …]
|
D | max8998.c | 56 int max8998_read_reg(struct i2c_client *i2c, u8 reg, u8 *dest) in max8998_read_reg() 73 int max8998_bulk_read(struct i2c_client *i2c, u8 reg, int count, u8 *buf) in max8998_bulk_read() 88 int max8998_write_reg(struct i2c_client *i2c, u8 reg, u8 value) in max8998_write_reg() 100 int max8998_bulk_write(struct i2c_client *i2c, u8 reg, int count, u8 *buf) in max8998_bulk_write() 115 int max8998_update_reg(struct i2c_client *i2c, u8 reg, u8 val, u8 mask) in max8998_update_reg() 169 static inline unsigned long max8998_i2c_get_driver_data(struct i2c_client *i2c, in max8998_i2c_get_driver_data() 181 static int max8998_i2c_probe(struct i2c_client *i2c, in max8998_i2c_probe() 260 struct i2c_client *i2c = to_i2c_client(dev); in max8998_suspend() local 270 struct i2c_client *i2c = to_i2c_client(dev); in max8998_resume() local 330 struct i2c_client *i2c = to_i2c_client(dev); in max8998_freeze() local [all …]
|
D | 88pm860x-i2c.c | 18 int pm860x_reg_read(struct i2c_client *i2c, int reg) in pm860x_reg_read() 34 int pm860x_reg_write(struct i2c_client *i2c, int reg, in pm860x_reg_write() 47 int pm860x_bulk_read(struct i2c_client *i2c, int reg, in pm860x_bulk_read() 60 int pm860x_bulk_write(struct i2c_client *i2c, int reg, in pm860x_bulk_write() 73 int pm860x_set_bits(struct i2c_client *i2c, int reg, in pm860x_set_bits() 86 static int read_device(struct i2c_client *i2c, int reg, in read_device() 122 static int write_device(struct i2c_client *i2c, int reg, in write_device() 143 int pm860x_page_reg_write(struct i2c_client *i2c, int reg, in pm860x_page_reg_write() 161 int pm860x_page_bulk_read(struct i2c_client *i2c, int reg, in pm860x_page_bulk_read()
|
D | stmpe-i2c.c | 22 struct i2c_client *i2c = stmpe->client; in i2c_reg_read() local 29 struct i2c_client *i2c = stmpe->client; in i2c_reg_write() local 36 struct i2c_client *i2c = stmpe->client; in i2c_block_read() local 44 struct i2c_client *i2c = stmpe->client; in i2c_block_write() local 70 stmpe_i2c_probe(struct i2c_client *i2c, const struct i2c_device_id *id) in stmpe_i2c_probe() 94 static int stmpe_i2c_remove(struct i2c_client *i2c) in stmpe_i2c_remove()
|
/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/ |
D | base.c | 36 nvkm_i2c_pad_find(struct nvkm_i2c *i2c, int id) in nvkm_i2c_pad_find() 49 nvkm_i2c_bus_find(struct nvkm_i2c *i2c, int id) in nvkm_i2c_bus_find() 56 u16 i2c = dcb_i2c_table(bios, &ver, &hdr, &cnt, &len); in nvkm_i2c_bus_find() local 77 nvkm_i2c_aux_find(struct nvkm_i2c *i2c, int id) in nvkm_i2c_aux_find() 92 struct nvkm_i2c *i2c = container_of(event, typeof(*i2c), event); in nvkm_i2c_intr_fini() local 101 struct nvkm_i2c *i2c = container_of(event, typeof(*i2c), event); in nvkm_i2c_intr_init() local 131 struct nvkm_i2c *i2c = nvkm_i2c(subdev); in nvkm_i2c_intr() local 161 struct nvkm_i2c *i2c = nvkm_i2c(subdev); in nvkm_i2c_fini() local 190 struct nvkm_i2c *i2c = nvkm_i2c(subdev); in nvkm_i2c_preinit() local 209 struct nvkm_i2c *i2c = nvkm_i2c(subdev); in nvkm_i2c_init() local [all …]
|
/drivers/iio/dac/ |
D | ad5593r.c | 27 struct i2c_client *i2c = to_i2c_client(st->dev); in ad5593r_write_dac() local 35 struct i2c_client *i2c = to_i2c_client(st->dev); in ad5593r_read_adc() local 54 struct i2c_client *i2c = to_i2c_client(st->dev); in ad5593r_reg_write() local 62 struct i2c_client *i2c = to_i2c_client(st->dev); in ad5593r_reg_read() local 76 struct i2c_client *i2c = to_i2c_client(st->dev); in ad5593r_gpio_read() local 96 static int ad5593r_i2c_probe(struct i2c_client *i2c, in ad5593r_i2c_probe() 102 static int ad5593r_i2c_remove(struct i2c_client *i2c) in ad5593r_i2c_remove()
|
/drivers/gpu/drm/mgag200/ |
D | mgag200_i2c.c | 62 struct mga_i2c_chan *i2c = data; in mga_gpio_setsda() local 69 struct mga_i2c_chan *i2c = data; in mga_gpio_setscl() local 76 struct mga_i2c_chan *i2c = data; in mga_gpio_getsda() local 83 struct mga_i2c_chan *i2c = data; in mga_gpio_getscl() local 91 struct mga_i2c_chan *i2c; in mgag200_i2c_create() local 151 void mgag200_i2c_destroy(struct mga_i2c_chan *i2c) in mgag200_i2c_destroy()
|