/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() 248 static int octeon_i2c_recovery(struct octeon_i2c *i2c) in octeon_i2c_recovery() [all …]
|
D | i2c-pxa.c | 272 #define _IBMR(i2c) ((i2c)->reg_ibmr) argument 273 #define _IDBR(i2c) ((i2c)->reg_idbr) argument 274 #define _ICR(i2c) ((i2c)->reg_icr) argument 275 #define _ISR(i2c) ((i2c)->reg_isr) argument 276 #define _ISAR(i2c) ((i2c)->reg_isar) argument 277 #define _ILCR(i2c) ((i2c)->reg_ilcr) argument 278 #define _IWCR(i2c) ((i2c)->reg_iwcr) argument 353 static void i2c_pxa_show_state(struct pxa_i2c *i2c, int lno, const char *fname) in i2c_pxa_show_state() 359 #define show_state(i2c) i2c_pxa_show_state(i2c, __LINE__, __func__) argument 361 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 | 173 static inline void s3c24xx_i2c_master_complete(struct s3c24xx_i2c *i2c, int ret) in s3c24xx_i2c_master_complete() 188 static inline void s3c24xx_i2c_disable_ack(struct s3c24xx_i2c *i2c) in s3c24xx_i2c_disable_ack() 196 static inline void s3c24xx_i2c_enable_ack(struct s3c24xx_i2c *i2c) in s3c24xx_i2c_enable_ack() 205 static inline void s3c24xx_i2c_disable_irq(struct s3c24xx_i2c *i2c) in s3c24xx_i2c_disable_irq() 213 static inline void s3c24xx_i2c_enable_irq(struct s3c24xx_i2c *i2c) in s3c24xx_i2c_enable_irq() 221 static bool is_ack(struct s3c24xx_i2c *i2c) in is_ack() 250 static void s3c24xx_i2c_message_start(struct s3c24xx_i2c *i2c, in s3c24xx_i2c_message_start() 291 static inline void s3c24xx_i2c_stop(struct s3c24xx_i2c *i2c, int ret) in s3c24xx_i2c_stop() 354 static inline int is_lastmsg(struct s3c24xx_i2c *i2c) in is_lastmsg() 362 static inline int is_msglast(struct s3c24xx_i2c *i2c) in is_msglast() [all …]
|
D | i2c-xiic.c | 170 #define xiic_tx_space(i2c) ((i2c)->tx_msg->len - (i2c)->tx_pos) argument 171 #define xiic_rx_space(i2c) ((i2c)->rx_msg->len - (i2c)->rx_pos) argument 184 static inline void xiic_setreg8(struct xiic_i2c *i2c, int reg, u8 value) in xiic_setreg8() 192 static inline u8 xiic_getreg8(struct xiic_i2c *i2c, int reg) in xiic_getreg8() 203 static inline void xiic_setreg16(struct xiic_i2c *i2c, int reg, u16 value) in xiic_setreg16() 211 static inline void xiic_setreg32(struct xiic_i2c *i2c, int reg, int value) in xiic_setreg32() 219 static inline int xiic_getreg32(struct xiic_i2c *i2c, int reg) in xiic_getreg32() 230 static inline void xiic_irq_dis(struct xiic_i2c *i2c, u32 mask) in xiic_irq_dis() 236 static inline void xiic_irq_en(struct xiic_i2c *i2c, u32 mask) in xiic_irq_en() 242 static inline void xiic_irq_clr(struct xiic_i2c *i2c, u32 mask) in xiic_irq_clr() [all …]
|
D | i2c-ocores.c | 90 static void oc_setreg_8(struct ocores_i2c *i2c, int reg, u8 value) in oc_setreg_8() 95 static void oc_setreg_16(struct ocores_i2c *i2c, int reg, u8 value) in oc_setreg_16() 100 static void oc_setreg_32(struct ocores_i2c *i2c, int reg, u8 value) in oc_setreg_32() 105 static void oc_setreg_16be(struct ocores_i2c *i2c, int reg, u8 value) in oc_setreg_16be() 110 static void oc_setreg_32be(struct ocores_i2c *i2c, int reg, u8 value) in oc_setreg_32be() 115 static inline u8 oc_getreg_8(struct ocores_i2c *i2c, int reg) in oc_getreg_8() 120 static inline u8 oc_getreg_16(struct ocores_i2c *i2c, int reg) in oc_getreg_16() 125 static inline u8 oc_getreg_32(struct ocores_i2c *i2c, int reg) in oc_getreg_32() 130 static inline u8 oc_getreg_16be(struct ocores_i2c *i2c, int reg) in oc_getreg_16be() 135 static inline u8 oc_getreg_32be(struct ocores_i2c *i2c, int reg) in oc_getreg_32be() [all …]
|
D | i2c-zx2967.c | 53 #define DEV(i2c) ((i2c)->adap.dev.parent) argument 69 static void zx2967_i2c_writel(struct zx2967_i2c *i2c, in zx2967_i2c_writel() 75 static u32 zx2967_i2c_readl(struct zx2967_i2c *i2c, unsigned long reg) in zx2967_i2c_readl() 80 static void zx2967_i2c_writesb(struct zx2967_i2c *i2c, in zx2967_i2c_writesb() 86 static void zx2967_i2c_readsb(struct zx2967_i2c *i2c, in zx2967_i2c_readsb() 92 static void zx2967_i2c_start_ctrl(struct zx2967_i2c *i2c) in zx2967_i2c_start_ctrl() 111 static void zx2967_i2c_flush_fifos(struct zx2967_i2c *i2c) in zx2967_i2c_flush_fifos() 128 static int zx2967_i2c_empty_rx_fifo(struct zx2967_i2c *i2c, u32 size) in zx2967_i2c_empty_rx_fifo() 150 static int zx2967_i2c_fill_tx_fifo(struct zx2967_i2c *i2c) in zx2967_i2c_fill_tx_fifo() 177 static int zx2967_i2c_reset_hardware(struct zx2967_i2c *i2c) in zx2967_i2c_reset_hardware() [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() 139 struct octeon_i2c *i2c; in octeon_i2c_probe() local 258 struct octeon_i2c *i2c = platform_get_drvdata(pdev); in octeon_i2c_remove() local
|
D | i2c-digicolor.c | 71 static void dc_i2c_cmd(struct dc_i2c *i2c, u8 cmd) in dc_i2c_cmd() 86 static void dc_i2c_data(struct dc_i2c *i2c, u8 data) in dc_i2c_data() 91 static void dc_i2c_write_byte(struct dc_i2c *i2c, u8 byte) in dc_i2c_write_byte() 97 static void dc_i2c_write_buf(struct dc_i2c *i2c) in dc_i2c_write_buf() 102 static void dc_i2c_next_read(struct dc_i2c *i2c) in dc_i2c_next_read() 109 static void dc_i2c_stop(struct dc_i2c *i2c) in dc_i2c_stop() 118 static u8 dc_i2c_read_byte(struct dc_i2c *i2c) in dc_i2c_read_byte() 123 static void dc_i2c_read_buf(struct dc_i2c *i2c) in dc_i2c_read_buf() 129 static void dc_i2c_set_irq(struct dc_i2c *i2c, int enable) in dc_i2c_set_irq() 136 static int dc_i2c_cmd_status(struct dc_i2c *i2c) in dc_i2c_cmd_status() [all …]
|
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() 139 static int thunder_i2c_smbus_setup(struct octeon_i2c *i2c, in thunder_i2c_smbus_setup() 149 static void thunder_i2c_smbus_remove(struct octeon_i2c *i2c) in thunder_i2c_smbus_remove() 158 struct octeon_i2c *i2c; in thunder_i2c_probe_pci() local 240 struct octeon_i2c *i2c = pci_get_drvdata(pdev); in thunder_i2c_remove_pci() local
|
D | i2c-pca-platform.c | 44 struct i2c_pca_pf_data *i2c = pd; in i2c_pca_pf_readbyte8() local 50 struct i2c_pca_pf_data *i2c = pd; in i2c_pca_pf_readbyte16() local 56 struct i2c_pca_pf_data *i2c = pd; in i2c_pca_pf_readbyte32() local 62 struct i2c_pca_pf_data *i2c = pd; in i2c_pca_pf_writebyte8() local 68 struct i2c_pca_pf_data *i2c = pd; in i2c_pca_pf_writebyte16() local 74 struct i2c_pca_pf_data *i2c = pd; in i2c_pca_pf_writebyte32() local 81 struct i2c_pca_pf_data *i2c = pd; in i2c_pca_pf_waitforcompletion() local 106 struct i2c_pca_pf_data *i2c = pd; in i2c_pca_pf_dummyreset() local 113 struct i2c_pca_pf_data *i2c = pd; in i2c_pca_pf_resetchip() local 122 struct i2c_pca_pf_data *i2c = dev_id; in i2c_pca_pf_handler() local [all …]
|
D | i2c-img-scb.c | 414 static void img_i2c_writel(struct img_i2c *i2c, u32 offset, u32 value) in img_i2c_writel() 419 static u32 img_i2c_readl(struct img_i2c *i2c, u32 offset) in img_i2c_readl() 436 static void img_i2c_wr_rd_fence(struct img_i2c *i2c) in img_i2c_wr_rd_fence() 444 static void img_i2c_switch_mode(struct img_i2c *i2c, enum img_i2c_mode mode) in img_i2c_switch_mode() 451 static void img_i2c_raw_op(struct img_i2c *i2c) in img_i2c_raw_op() 472 static void img_i2c_atomic_op(struct img_i2c *i2c, int cmd, u8 data) in img_i2c_atomic_op() 504 static void img_i2c_atomic_start(struct img_i2c *i2c) in img_i2c_atomic_start() 511 static void img_i2c_soft_reset(struct img_i2c *i2c) in img_i2c_soft_reset() 530 static void img_i2c_transaction_halt(struct img_i2c *i2c, bool t_halt) in img_i2c_transaction_halt() 546 static void img_i2c_read_fifo(struct img_i2c *i2c) in img_i2c_read_fifo() [all …]
|
D | i2c-mpc.c | 87 static inline void writeccr(struct mpc_i2c *i2c, u32 x) in writeccr() 94 struct mpc_i2c *i2c = dev_id; in mpc_i2c_isr() local 110 static void mpc_i2c_fixup(struct mpc_i2c *i2c) in mpc_i2c_fixup() 134 static int i2c_wait(struct mpc_i2c *i2c, unsigned timeout, int writing) in i2c_wait() 189 static int i2c_mpc_wait_sr(struct mpc_i2c *i2c, int mask) in i2c_mpc_wait_sr() 217 static void mpc_i2c_fixup_A004447(struct mpc_i2c *i2c) in mpc_i2c_fixup_A004447() 315 struct mpc_i2c *i2c, in mpc_i2c_setup_52xx() 337 struct mpc_i2c *i2c, in mpc_i2c_setup_52xx() 345 struct mpc_i2c *i2c, in mpc_i2c_setup_512x() 373 struct mpc_i2c *i2c, in mpc_i2c_setup_512x() [all …]
|
D | i2c-mxs.c | 70 #define MXS_I2C_DATA(i2c) ((i2c->dev_type == MXS_I2C_V1) ? 0x60 : 0xa0) argument 72 #define MXS_I2C_DEBUG0_CLR(i2c) ((i2c->dev_type == MXS_I2C_V1) ? 0x78 : 0xb8) argument 133 static int mxs_i2c_reset(struct mxs_i2c_dev *i2c) in mxs_i2c_reset() 155 static void mxs_i2c_dma_finish(struct mxs_i2c_dev *i2c) in mxs_i2c_dma_finish() 167 struct mxs_i2c_dev *i2c = param; in mxs_i2c_dma_irq_callback() local 177 struct mxs_i2c_dev *i2c = i2c_get_adapdata(adap); in mxs_i2c_dma_setup_xfer() local 304 static int mxs_i2c_pio_wait_xfer_end(struct mxs_i2c_dev *i2c) in mxs_i2c_pio_wait_xfer_end() 320 static int mxs_i2c_pio_check_error_state(struct mxs_i2c_dev *i2c) in mxs_i2c_pio_check_error_state() 337 static void mxs_i2c_pio_trigger_cmd(struct mxs_i2c_dev *i2c, u32 cmd) in mxs_i2c_pio_trigger_cmd() 357 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-mt7621.c | 69 static int mtk_i2c_wait_idle(struct mtk_i2c *i2c) in mtk_i2c_wait_idle() 83 static void mtk_i2c_reset(struct mtk_i2c *i2c) in mtk_i2c_reset() 100 static void mtk_i2c_dump_reg(struct mtk_i2c *i2c) in mtk_i2c_dump_reg() 111 static int mtk_i2c_check_ack(struct mtk_i2c *i2c, u32 expected) in mtk_i2c_check_ack() 119 static int mtk_i2c_master_start(struct mtk_i2c *i2c) in mtk_i2c_master_start() 125 static int mtk_i2c_master_stop(struct mtk_i2c *i2c) in mtk_i2c_master_stop() 131 static int mtk_i2c_master_cmd(struct mtk_i2c *i2c, u32 cmd, int page_len) in mtk_i2c_master_cmd() 141 struct mtk_i2c *i2c; in mtk_i2c_master_xfer() local 260 static void mtk_i2c_init(struct mtk_i2c *i2c) in mtk_i2c_init() 274 struct mtk_i2c *i2c; in mtk_i2c_probe() local [all …]
|
D | i2c-meson.c | 109 static void meson_i2c_set_mask(struct meson_i2c *i2c, int reg, u32 mask, in meson_i2c_set_mask() 120 static void meson_i2c_reset_tokens(struct meson_i2c *i2c) in meson_i2c_reset_tokens() 127 static void meson_i2c_add_token(struct meson_i2c *i2c, int token) in meson_i2c_add_token() 137 static void meson_i2c_set_clk_div(struct meson_i2c *i2c, unsigned int freq) in meson_i2c_set_clk_div() 165 static void meson_i2c_get_data(struct meson_i2c *i2c, char *buf, int len) in meson_i2c_get_data() 183 static void meson_i2c_put_data(struct meson_i2c *i2c, char *buf, int len) in meson_i2c_put_data() 201 static void meson_i2c_prepare_xfer(struct meson_i2c *i2c) in meson_i2c_prepare_xfer() 228 static void meson_i2c_transfer_complete(struct meson_i2c *i2c, u32 ctrl) in meson_i2c_transfer_complete() 254 struct meson_i2c *i2c = dev_id; in meson_i2c_irq() local 287 static void meson_i2c_do_start(struct meson_i2c *i2c, struct i2c_msg *msg) in meson_i2c_do_start() [all …]
|
D | i2c-lpc2k.c | 84 static void i2c_lpc2k_reset(struct lpc2k_i2c *i2c) in i2c_lpc2k_reset() 92 static int i2c_lpc2k_clear_arb(struct lpc2k_i2c *i2c) in i2c_lpc2k_clear_arb() 116 static void i2c_lpc2k_pump_msg(struct lpc2k_i2c *i2c) in i2c_lpc2k_pump_msg() 252 static int lpc2k_process_msg(struct lpc2k_i2c *i2c, int msgidx) in lpc2k_process_msg() 296 struct lpc2k_i2c *i2c = i2c_get_adapdata(adap); in i2c_lpc2k_xfer() local 325 struct lpc2k_i2c *i2c = dev_id; in i2c_lpc2k_handler() local 348 struct lpc2k_i2c *i2c; in i2c_lpc2k_probe() local 440 struct lpc2k_i2c *i2c = platform_get_drvdata(dev); in i2c_lpc2k_remove() local 451 struct lpc2k_i2c *i2c = dev_get_drvdata(dev); in i2c_lpc2k_suspend() local 460 struct lpc2k_i2c *i2c = dev_get_drvdata(dev); in i2c_lpc2k_resume() local
|
D | i2c-synquacer.c | 149 static inline int is_lastmsg(struct synquacer_i2c *i2c) in is_lastmsg() 154 static inline int is_msglast(struct synquacer_i2c *i2c) in is_msglast() 159 static inline int is_msgend(struct synquacer_i2c *i2c) in is_msgend() 164 static inline unsigned long calc_timeout_ms(struct synquacer_i2c *i2c, in calc_timeout_ms() 177 static void synquacer_i2c_stop(struct synquacer_i2c *i2c, int ret) in synquacer_i2c_stop() 198 static void synquacer_i2c_hw_init(struct synquacer_i2c *i2c) in synquacer_i2c_hw_init() 249 static void synquacer_i2c_hw_reset(struct synquacer_i2c *i2c) in synquacer_i2c_hw_reset() 258 static int synquacer_i2c_master_start(struct synquacer_i2c *i2c, in synquacer_i2c_master_start() 310 static int synquacer_i2c_doxfer(struct synquacer_i2c *i2c, in synquacer_i2c_doxfer() 359 struct synquacer_i2c *i2c = dev_id; in synquacer_i2c_isr() local [all …]
|
D | i2c-rk3x.c | 226 static inline void i2c_writel(struct rk3x_i2c *i2c, u32 value, in i2c_writel() 232 static inline u32 i2c_readl(struct rk3x_i2c *i2c, unsigned int offset) in i2c_readl() 238 static inline void rk3x_i2c_clean_ipd(struct rk3x_i2c *i2c) in rk3x_i2c_clean_ipd() 247 static void rk3x_i2c_start(struct rk3x_i2c *i2c) in rk3x_i2c_start() 268 static void rk3x_i2c_stop(struct rk3x_i2c *i2c, int error) in rk3x_i2c_stop() 307 static void rk3x_i2c_prepare_read(struct rk3x_i2c *i2c) in rk3x_i2c_prepare_read() 339 static void rk3x_i2c_fill_transmit_buf(struct rk3x_i2c *i2c) in rk3x_i2c_fill_transmit_buf() 373 static void rk3x_i2c_handle_start(struct rk3x_i2c *i2c, unsigned int ipd) in rk3x_i2c_handle_start() 401 static void rk3x_i2c_handle_write(struct rk3x_i2c *i2c, unsigned int ipd) in rk3x_i2c_handle_write() 420 static void rk3x_i2c_handle_read(struct rk3x_i2c *i2c, unsigned int ipd) in rk3x_i2c_handle_read() [all …]
|
/drivers/base/regmap/ |
D | regmap-i2c.c | 19 struct i2c_client *i2c = to_i2c_client(dev); in regmap_smbus_byte_reg_read() local 38 struct i2c_client *i2c = to_i2c_client(dev); in regmap_smbus_byte_reg_write() local 55 struct i2c_client *i2c = to_i2c_client(dev); in regmap_smbus_word_reg_read() local 74 struct i2c_client *i2c = to_i2c_client(dev); in regmap_smbus_word_reg_write() local 91 struct i2c_client *i2c = to_i2c_client(dev); in regmap_smbus_word_read_swapped() local 110 struct i2c_client *i2c = to_i2c_client(dev); in regmap_smbus_word_write_swapped() local 126 struct i2c_client *i2c = to_i2c_client(dev); in regmap_i2c_write() local 143 struct i2c_client *i2c = to_i2c_client(dev); in regmap_i2c_gather_write() local 177 struct i2c_client *i2c = to_i2c_client(dev); in regmap_i2c_read() local 212 struct i2c_client *i2c = to_i2c_client(dev); in regmap_i2c_smbus_i2c_write() local [all …]
|
/drivers/mfd/ |
D | max8998.c | 42 int max8998_read_reg(struct i2c_client *i2c, u8 reg, u8 *dest) in max8998_read_reg() 59 int max8998_bulk_read(struct i2c_client *i2c, u8 reg, int count, u8 *buf) in max8998_bulk_read() 74 int max8998_write_reg(struct i2c_client *i2c, u8 reg, u8 value) in max8998_write_reg() 86 int max8998_bulk_write(struct i2c_client *i2c, u8 reg, int count, u8 *buf) in max8998_bulk_write() 101 int max8998_update_reg(struct i2c_client *i2c, u8 reg, u8 val, u8 mask) in max8998_update_reg() 155 static inline unsigned long max8998_i2c_get_driver_data(struct i2c_client *i2c, in max8998_i2c_get_driver_data() 167 static int max8998_i2c_probe(struct i2c_client *i2c, in max8998_i2c_probe() 246 struct i2c_client *i2c = to_i2c_client(dev); in max8998_suspend() local 256 struct i2c_client *i2c = to_i2c_client(dev); in max8998_resume() local 316 struct i2c_client *i2c = to_i2c_client(dev); in max8998_freeze() local [all …]
|
D | max8997.c | 46 int max8997_read_reg(struct i2c_client *i2c, u8 reg, u8 *dest) in max8997_read_reg() 63 int max8997_bulk_read(struct i2c_client *i2c, u8 reg, int count, u8 *buf) in max8997_bulk_read() 78 int max8997_write_reg(struct i2c_client *i2c, u8 reg, u8 value) in max8997_write_reg() 90 int max8997_bulk_write(struct i2c_client *i2c, u8 reg, int count, u8 *buf) in max8997_bulk_write() 105 int max8997_update_reg(struct i2c_client *i2c, u8 reg, u8 val, u8 mask) in max8997_update_reg() 145 static inline unsigned long max8997_i2c_get_driver_data(struct i2c_client *i2c, in max8997_i2c_get_driver_data() 156 static int max8997_i2c_probe(struct i2c_client *i2c, in max8997_i2c_probe() 404 struct i2c_client *i2c = to_i2c_client(dev); in max8997_freeze() local 426 struct i2c_client *i2c = to_i2c_client(dev); in max8997_restore() local 448 struct i2c_client *i2c = to_i2c_client(dev); in max8997_suspend() local [all …]
|
D | 88pm860x-i2c.c | 15 int pm860x_reg_read(struct i2c_client *i2c, int reg) in pm860x_reg_read() 31 int pm860x_reg_write(struct i2c_client *i2c, int reg, in pm860x_reg_write() 44 int pm860x_bulk_read(struct i2c_client *i2c, int reg, in pm860x_bulk_read() 57 int pm860x_bulk_write(struct i2c_client *i2c, int reg, in pm860x_bulk_write() 70 int pm860x_set_bits(struct i2c_client *i2c, int reg, in pm860x_set_bits() 83 static int read_device(struct i2c_client *i2c, int reg, in read_device() 119 static int write_device(struct i2c_client *i2c, int reg, in write_device() 140 int pm860x_page_reg_write(struct i2c_client *i2c, int reg, in pm860x_page_reg_write() 158 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 | 25 static int ad5593r_read_word(struct i2c_client *i2c, u8 reg, u16 *value) in ad5593r_read_word() 45 struct i2c_client *i2c = to_i2c_client(st->dev); in ad5593r_write_dac() local 53 struct i2c_client *i2c = to_i2c_client(st->dev); in ad5593r_read_adc() local 66 struct i2c_client *i2c = to_i2c_client(st->dev); in ad5593r_reg_write() local 74 struct i2c_client *i2c = to_i2c_client(st->dev); in ad5593r_reg_read() local 81 struct i2c_client *i2c = to_i2c_client(st->dev); in ad5593r_gpio_read() local 102 static int ad5593r_i2c_probe(struct i2c_client *i2c, in ad5593r_i2c_probe() 108 static int ad5593r_i2c_remove(struct i2c_client *i2c) in ad5593r_i2c_remove()
|