/linux-4.4.14/drivers/i2c/busses/ |
D | i2c-pxa.c | 198 #define _IBMR(i2c) ((i2c)->reg_ibmr) argument 199 #define _IDBR(i2c) ((i2c)->reg_idbr) argument 200 #define _ICR(i2c) ((i2c)->reg_icr) argument 201 #define _ISR(i2c) ((i2c)->reg_isr) argument 202 #define _ISAR(i2c) ((i2c)->reg_isar) argument 203 #define _ILCR(i2c) ((i2c)->reg_ilcr) argument 204 #define _IWCR(i2c) ((i2c)->reg_iwcr) argument 280 static void i2c_pxa_show_state(struct pxa_i2c *i2c, int lno, const char *fname) in i2c_pxa_show_state() 286 #define show_state(i2c) i2c_pxa_show_state(i2c, __LINE__, __func__) argument 288 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 | 188 static inline void s3c24xx_i2c_master_complete(struct s3c24xx_i2c *i2c, int ret) in s3c24xx_i2c_master_complete() 203 static inline void s3c24xx_i2c_disable_ack(struct s3c24xx_i2c *i2c) in s3c24xx_i2c_disable_ack() 211 static inline void s3c24xx_i2c_enable_ack(struct s3c24xx_i2c *i2c) in s3c24xx_i2c_enable_ack() 221 static inline void s3c24xx_i2c_disable_irq(struct s3c24xx_i2c *i2c) in s3c24xx_i2c_disable_irq() 229 static inline void s3c24xx_i2c_enable_irq(struct s3c24xx_i2c *i2c) in s3c24xx_i2c_enable_irq() 237 static bool is_ack(struct s3c24xx_i2c *i2c) in is_ack() 259 static void s3c24xx_i2c_message_start(struct s3c24xx_i2c *i2c, in s3c24xx_i2c_message_start() 309 static inline void s3c24xx_i2c_stop(struct s3c24xx_i2c *i2c, int ret) in s3c24xx_i2c_stop() 372 static inline int is_lastmsg(struct s3c24xx_i2c *i2c) in is_lastmsg() 382 static inline int is_msglast(struct s3c24xx_i2c *i2c) in is_msglast() [all …]
|
D | i2c-xiic.c | 174 #define xiic_tx_space(i2c) ((i2c)->tx_msg->len - (i2c)->tx_pos) argument 175 #define xiic_rx_space(i2c) ((i2c)->rx_msg->len - (i2c)->rx_pos) argument 188 static inline void xiic_setreg8(struct xiic_i2c *i2c, int reg, u8 value) in xiic_setreg8() 196 static inline u8 xiic_getreg8(struct xiic_i2c *i2c, int reg) in xiic_getreg8() 207 static inline void xiic_setreg16(struct xiic_i2c *i2c, int reg, u16 value) in xiic_setreg16() 215 static inline void xiic_setreg32(struct xiic_i2c *i2c, int reg, int value) in xiic_setreg32() 223 static inline int xiic_getreg32(struct xiic_i2c *i2c, int reg) in xiic_getreg32() 234 static inline void xiic_irq_dis(struct xiic_i2c *i2c, u32 mask) in xiic_irq_dis() 240 static inline void xiic_irq_en(struct xiic_i2c *i2c, u32 mask) in xiic_irq_en() 246 static inline void xiic_irq_clr(struct xiic_i2c *i2c, u32 mask) in xiic_irq_clr() [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-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-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-octeon.c | 83 static void octeon_i2c_write_sw(struct octeon_i2c *i2c, in octeon_i2c_write_sw() 104 static u8 octeon_i2c_read_sw(struct octeon_i2c *i2c, u64 eop_reg) in octeon_i2c_read_sw() 121 static void octeon_i2c_write_int(struct octeon_i2c *i2c, u64 data) in octeon_i2c_write_int() 134 static void octeon_i2c_int_enable(struct octeon_i2c *i2c) in octeon_i2c_int_enable() 143 static void octeon_i2c_int_disable(struct octeon_i2c *i2c) in octeon_i2c_int_disable() 156 static void octeon_i2c_unblock(struct octeon_i2c *i2c) in octeon_i2c_unblock() 181 struct octeon_i2c *i2c = dev_id; in octeon_i2c_isr() local 190 static int octeon_i2c_test_iflg(struct octeon_i2c *i2c) in octeon_i2c_test_iflg() 201 static int octeon_i2c_wait(struct octeon_i2c *i2c) in octeon_i2c_wait() 227 static int octeon_i2c_start(struct octeon_i2c *i2c) in octeon_i2c_start() [all …]
|
D | i2c-meson.c | 101 static void meson_i2c_set_mask(struct meson_i2c *i2c, int reg, u32 mask, in meson_i2c_set_mask() 112 static void meson_i2c_reset_tokens(struct meson_i2c *i2c) in meson_i2c_reset_tokens() 119 static void meson_i2c_add_token(struct meson_i2c *i2c, int token) in meson_i2c_add_token() 129 static void meson_i2c_write_tokens(struct meson_i2c *i2c) in meson_i2c_write_tokens() 135 static void meson_i2c_set_clk_div(struct meson_i2c *i2c) in meson_i2c_set_clk_div() 148 static void meson_i2c_get_data(struct meson_i2c *i2c, char *buf, int len) in meson_i2c_get_data() 166 static void meson_i2c_put_data(struct meson_i2c *i2c, char *buf, int len) in meson_i2c_put_data() 184 static void meson_i2c_prepare_xfer(struct meson_i2c *i2c) in meson_i2c_prepare_xfer() 205 static void meson_i2c_stop(struct meson_i2c *i2c) in meson_i2c_stop() 220 struct meson_i2c *i2c = dev_id; in meson_i2c_irq() local [all …]
|
D | i2c-img-scb.c | 409 static void img_i2c_writel(struct img_i2c *i2c, u32 offset, u32 value) in img_i2c_writel() 414 static u32 img_i2c_readl(struct img_i2c *i2c, u32 offset) in img_i2c_readl() 431 static void img_i2c_wr_rd_fence(struct img_i2c *i2c) in img_i2c_wr_rd_fence() 439 static void img_i2c_switch_mode(struct img_i2c *i2c, enum img_i2c_mode mode) in img_i2c_switch_mode() 446 static void img_i2c_raw_op(struct img_i2c *i2c) in img_i2c_raw_op() 467 static void img_i2c_atomic_op(struct img_i2c *i2c, int cmd, u8 data) in img_i2c_atomic_op() 499 static void img_i2c_atomic_start(struct img_i2c *i2c) in img_i2c_atomic_start() 506 static void img_i2c_soft_reset(struct img_i2c *i2c) in img_i2c_soft_reset() 515 static void img_i2c_transaction_halt(struct img_i2c *i2c, bool t_halt) in img_i2c_transaction_halt() 531 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-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 124 struct i2c_versatile *i2c = platform_get_drvdata(dev); in i2c_versatile_remove() local
|
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() 259 static int lpc2k_process_msg(struct lpc2k_i2c *i2c, int msgidx) in lpc2k_process_msg() 303 struct lpc2k_i2c *i2c = i2c_get_adapdata(adap); in i2c_lpc2k_xfer() local 332 struct lpc2k_i2c *i2c = dev_id; in i2c_lpc2k_handler() local 355 struct lpc2k_i2c *i2c; in i2c_lpc2k_probe() local 453 struct lpc2k_i2c *i2c = platform_get_drvdata(dev); in i2c_lpc2k_remove() local 465 struct lpc2k_i2c *i2c = platform_get_drvdata(pdev); in i2c_lpc2k_suspend() local 475 struct lpc2k_i2c *i2c = platform_get_drvdata(pdev); in i2c_lpc2k_resume() local
|
D | i2c-rk3x.c | 126 static inline void i2c_writel(struct rk3x_i2c *i2c, u32 value, in i2c_writel() 132 static inline u32 i2c_readl(struct rk3x_i2c *i2c, unsigned int offset) in i2c_readl() 138 static inline void rk3x_i2c_clean_ipd(struct rk3x_i2c *i2c) in rk3x_i2c_clean_ipd() 146 static void rk3x_i2c_start(struct rk3x_i2c *i2c) in rk3x_i2c_start() 168 static void rk3x_i2c_stop(struct rk3x_i2c *i2c, int error) in rk3x_i2c_stop() 205 static void rk3x_i2c_prepare_read(struct rk3x_i2c *i2c) in rk3x_i2c_prepare_read() 236 static void rk3x_i2c_fill_transmit_buf(struct rk3x_i2c *i2c) in rk3x_i2c_fill_transmit_buf() 270 static void rk3x_i2c_handle_start(struct rk3x_i2c *i2c, unsigned int ipd) in rk3x_i2c_handle_start() 298 static void rk3x_i2c_handle_write(struct rk3x_i2c *i2c, unsigned int ipd) in rk3x_i2c_handle_write() 317 static void rk3x_i2c_handle_read(struct rk3x_i2c *i2c, unsigned int ipd) in rk3x_i2c_handle_read() [all …]
|
D | i2c-jz4780.c | 179 static inline unsigned short jz4780_i2c_readw(struct jz4780_i2c *i2c, in jz4780_i2c_readw() 185 static inline void jz4780_i2c_writew(struct jz4780_i2c *i2c, in jz4780_i2c_writew() 191 static int jz4780_i2c_disable(struct jz4780_i2c *i2c) in jz4780_i2c_disable() 210 static int jz4780_i2c_enable(struct jz4780_i2c *i2c) in jz4780_i2c_enable() 229 static int jz4780_i2c_set_target(struct jz4780_i2c *i2c, unsigned char address) in jz4780_i2c_set_target() 255 static int jz4780_i2c_set_speed(struct jz4780_i2c *i2c) in jz4780_i2c_set_speed() 362 static int jz4780_i2c_cleanup(struct jz4780_i2c *i2c) in jz4780_i2c_cleanup() 405 static int jz4780_i2c_prepare(struct jz4780_i2c *i2c) in jz4780_i2c_prepare() 411 static void jz4780_i2c_send_rcmd(struct jz4780_i2c *i2c, int cmd_count) in jz4780_i2c_send_rcmd() 419 static void jz4780_i2c_trans_done(struct jz4780_i2c *i2c) in jz4780_i2c_trans_done() [all …]
|
D | i2c-exynos5.c | 249 static void exynos5_i2c_clr_pend_irq(struct exynos5_i2c *i2c) in exynos5_i2c_clr_pend_irq() 262 static int exynos5_i2c_set_timing(struct exynos5_i2c *i2c, int mode) in exynos5_i2c_set_timing() 353 static int exynos5_hsi2c_clock_setup(struct exynos5_i2c *i2c) in exynos5_hsi2c_clock_setup() 379 static void exynos5_i2c_init(struct exynos5_i2c *i2c) in exynos5_i2c_init() 401 static void exynos5_i2c_reset(struct exynos5_i2c *i2c) in exynos5_i2c_reset() 429 struct exynos5_i2c *i2c = dev_id; in exynos5_i2c_irq() local 537 static int exynos5_i2c_wait_bus_idle(struct exynos5_i2c *i2c) in exynos5_i2c_wait_bus_idle() 565 static void exynos5_i2c_message_start(struct exynos5_i2c *i2c, int stop) in exynos5_i2c_message_start() 624 static int exynos5_i2c_xfer_msg(struct exynos5_i2c *i2c, in exynos5_i2c_xfer_msg() 666 struct exynos5_i2c *i2c = adap->algo_data; in exynos5_i2c_xfer() local [all …]
|
D | i2c-kempld.c | 90 static int kempld_i2c_process(struct kempld_i2c_data *i2c) in kempld_i2c_process() 198 struct kempld_i2c_data *i2c = i2c_get_adapdata(adap); in kempld_i2c_xfer() local 231 static void kempld_i2c_device_init(struct kempld_i2c_data *i2c) in kempld_i2c_device_init() 302 struct kempld_i2c_data *i2c; in kempld_i2c_probe() local 341 struct kempld_i2c_data *i2c = platform_get_drvdata(pdev); in kempld_i2c_remove() local 365 struct kempld_i2c_data *i2c = platform_get_drvdata(pdev); in kempld_i2c_suspend() local 380 struct kempld_i2c_data *i2c = platform_get_drvdata(pdev); in kempld_i2c_resume() local
|
D | i2c-mt65xx.c | 205 static int mtk_i2c_clock_enable(struct mtk_i2c *i2c) in mtk_i2c_clock_enable() 232 static void mtk_i2c_clock_disable(struct mtk_i2c *i2c) in mtk_i2c_clock_disable() 241 static void mtk_i2c_init_hw(struct mtk_i2c *i2c) in mtk_i2c_init_hw() 284 static int mtk_i2c_set_speed(struct mtk_i2c *i2c, unsigned int parent_clk, in mtk_i2c_set_speed() 363 static int mtk_i2c_do_transfer(struct mtk_i2c *i2c, struct i2c_msg *msgs, in mtk_i2c_do_transfer() 515 struct mtk_i2c *i2c = i2c_get_adapdata(adap); in mtk_i2c_transfer() local 558 struct mtk_i2c *i2c = dev_id; in mtk_i2c_irq() local 590 static int mtk_i2c_parse_dt(struct device_node *np, struct mtk_i2c *i2c, in mtk_i2c_parse_dt() 617 struct mtk_i2c *i2c; in mtk_i2c_probe() local 724 struct mtk_i2c *i2c = platform_get_drvdata(pdev); in mtk_i2c_remove() local [all …]
|
D | i2c-viperboard.c | 29 struct i2c_adapter i2c; member 40 static int vprbrd_i2c_status(struct i2c_adapter *i2c, in vprbrd_i2c_status() 270 static int vprbrd_i2c_xfer(struct i2c_adapter *i2c, struct i2c_msg *msgs, in vprbrd_i2c_xfer() 346 static u32 vprbrd_i2c_func(struct i2c_adapter *i2c) in vprbrd_i2c_func()
|
/linux-4.4.14/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 …]
|
/linux-4.4.14/drivers/mfd/ |
D | max8998.c | 58 int max8998_read_reg(struct i2c_client *i2c, u8 reg, u8 *dest) in max8998_read_reg() 75 int max8998_bulk_read(struct i2c_client *i2c, u8 reg, int count, u8 *buf) in max8998_bulk_read() 90 int max8998_write_reg(struct i2c_client *i2c, u8 reg, u8 value) in max8998_write_reg() 102 int max8998_bulk_write(struct i2c_client *i2c, u8 reg, int count, u8 *buf) in max8998_bulk_write() 117 int max8998_update_reg(struct i2c_client *i2c, u8 reg, u8 val, u8 mask) in max8998_update_reg() 172 static inline unsigned long max8998_i2c_get_driver_data(struct i2c_client *i2c, in max8998_i2c_get_driver_data() 184 static int max8998_i2c_probe(struct i2c_client *i2c, in max8998_i2c_probe() 257 static int max8998_i2c_remove(struct i2c_client *i2c) in max8998_i2c_remove() 277 struct i2c_client *i2c = container_of(dev, struct i2c_client, dev); in max8998_suspend() local 287 struct i2c_client *i2c = container_of(dev, struct i2c_client, dev); in max8998_resume() local [all …]
|
D | max8997.c | 61 int max8997_read_reg(struct i2c_client *i2c, u8 reg, u8 *dest) in max8997_read_reg() 78 int max8997_bulk_read(struct i2c_client *i2c, u8 reg, int count, u8 *buf) in max8997_bulk_read() 93 int max8997_write_reg(struct i2c_client *i2c, u8 reg, u8 value) in max8997_write_reg() 105 int max8997_bulk_write(struct i2c_client *i2c, u8 reg, int count, u8 *buf) in max8997_bulk_write() 120 int max8997_update_reg(struct i2c_client *i2c, u8 reg, u8 val, u8 mask) in max8997_update_reg() 168 static inline unsigned long max8997_i2c_get_driver_data(struct i2c_client *i2c, in max8997_i2c_get_driver_data() 179 static int max8997_i2c_probe(struct i2c_client *i2c, in max8997_i2c_probe() 266 static int max8997_i2c_remove(struct i2c_client *i2c) in max8997_i2c_remove() 440 struct i2c_client *i2c = container_of(dev, struct i2c_client, dev); in max8997_freeze() local 462 struct i2c_client *i2c = container_of(dev, struct i2c_client, dev); in max8997_restore() 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 69 stmpe_i2c_probe(struct i2c_client *i2c, const struct i2c_device_id *id) in stmpe_i2c_probe() 93 static int stmpe_i2c_remove(struct i2c_client *i2c) in stmpe_i2c_remove()
|
D | max8925-i2c.c | 21 static inline int max8925_read_device(struct i2c_client *i2c, in max8925_read_device() 37 static inline int max8925_write_device(struct i2c_client *i2c, in max8925_write_device() 52 int max8925_reg_read(struct i2c_client *i2c, int reg) in max8925_reg_read() 69 int max8925_reg_write(struct i2c_client *i2c, int reg, in max8925_reg_write() 83 int max8925_bulk_read(struct i2c_client *i2c, int reg, in max8925_bulk_read() 97 int max8925_bulk_write(struct i2c_client *i2c, int reg, in max8925_bulk_write() 111 int max8925_set_bits(struct i2c_client *i2c, int reg, in max8925_set_bits()
|
D | tps65912-i2c.c | 28 struct i2c_client *i2c = tps65912->control_data; in tps65912_i2c_read() local 55 struct i2c_client *i2c = tps65912->control_data; in tps65912_i2c_write() local 75 static int tps65912_i2c_probe(struct i2c_client *i2c, in tps65912_i2c_probe() 94 static int tps65912_i2c_remove(struct i2c_client *i2c) in tps65912_i2c_remove()
|
D | tps6507x.c | 40 struct i2c_client *i2c = tps6507x->i2c_client; in tps6507x_i2c_read_device() local 68 struct i2c_client *i2c = tps6507x->i2c_client; in tps6507x_i2c_write_device() local 87 static int tps6507x_i2c_probe(struct i2c_client *i2c, in tps6507x_i2c_probe() 107 static int tps6507x_i2c_remove(struct i2c_client *i2c) in tps6507x_i2c_remove()
|
D | max77843.c | 102 static int max77843_probe(struct i2c_client *i2c, in max77843_probe() 174 static int max77843_remove(struct i2c_client *i2c) in max77843_remove() 200 struct i2c_client *i2c = container_of(dev, struct i2c_client, dev); in max77843_suspend() local 212 struct i2c_client *i2c = container_of(dev, struct i2c_client, dev); in max77843_resume() local
|
D | sec-core.c | 324 static inline unsigned long sec_i2c_get_driver_data(struct i2c_client *i2c, in sec_i2c_get_driver_data() 338 static int sec_pmic_probe(struct i2c_client *i2c, in sec_pmic_probe() 469 static int sec_pmic_remove(struct i2c_client *i2c) in sec_pmic_remove() 478 static void sec_pmic_shutdown(struct i2c_client *i2c) in sec_pmic_shutdown() 508 struct i2c_client *i2c = container_of(dev, struct i2c_client, dev); in sec_pmic_suspend() local 529 struct i2c_client *i2c = container_of(dev, struct i2c_client, dev); in sec_pmic_resume() local
|
D | max77693.c | 163 static int max77693_i2c_probe(struct i2c_client *i2c, in max77693_i2c_probe() 312 static int max77693_i2c_remove(struct i2c_client *i2c) in max77693_i2c_remove() 337 struct i2c_client *i2c = container_of(dev, struct i2c_client, dev); in max77693_suspend() local 350 struct i2c_client *i2c = container_of(dev, struct i2c_client, dev); in max77693_resume() local
|
D | intel_soc_pmic_core.c | 63 static int intel_soc_pmic_i2c_probe(struct i2c_client *i2c, in intel_soc_pmic_i2c_probe() 125 static int intel_soc_pmic_i2c_remove(struct i2c_client *i2c) in intel_soc_pmic_i2c_remove() 142 static void intel_soc_pmic_shutdown(struct i2c_client *i2c) in intel_soc_pmic_shutdown()
|
D | 88pm860x-core.c | 469 struct i2c_client *i2c; in pm860x_irq() local 497 struct i2c_client *i2c; in pm860x_irq_sync_unlock() local 573 struct i2c_client *i2c = (chip->id == CHIP_PM8607) ? in device_irq_init() local 658 struct i2c_client *i2c = (chip->id == CHIP_PM8606) ? in pm8606_osc_enable() local 699 struct i2c_client *i2c = (chip->id == CHIP_PM8606) ? in pm8606_osc_disable() local 735 static void device_osc_init(struct i2c_client *i2c) in device_osc_init() 985 struct i2c_client *i2c, in device_8607_init() 1047 struct i2c_client *i2c, in device_8606_init() 1089 static int verify_addr(struct i2c_client *i2c) in verify_addr()
|
D | arizona-i2c.c | 26 static int arizona_i2c_probe(struct i2c_client *i2c, in arizona_i2c_probe() 88 static int arizona_i2c_remove(struct i2c_client *i2c) in arizona_i2c_remove()
|
D | as3722.c | 331 static int as3722_i2c_of_probe(struct i2c_client *i2c, in as3722_i2c_of_probe() 357 static int as3722_i2c_probe(struct i2c_client *i2c, in as3722_i2c_probe() 416 static int as3722_i2c_remove(struct i2c_client *i2c) in as3722_i2c_remove()
|
D | palmas.c | 380 static int palmas_set_pdata_irq_flag(struct i2c_client *i2c, in palmas_set_pdata_irq_flag() 394 static void palmas_dt_to_pdata(struct i2c_client *i2c, in palmas_dt_to_pdata() 491 static int palmas_i2c_probe(struct i2c_client *i2c, in palmas_i2c_probe() 689 static int palmas_i2c_remove(struct i2c_client *i2c) in palmas_i2c_remove()
|
D | max14577.c | 371 static int max14577_i2c_probe(struct i2c_client *i2c, in max14577_i2c_probe() 476 static int max14577_i2c_remove(struct i2c_client *i2c) in max14577_i2c_remove() 498 struct i2c_client *i2c = container_of(dev, struct i2c_client, dev); in max14577_suspend() local 519 struct i2c_client *i2c = container_of(dev, struct i2c_client, dev); in max14577_resume() local
|
D | max77686.c | 208 static int max77686_i2c_probe(struct i2c_client *i2c, in max77686_i2c_probe() 331 static int max77686_i2c_remove(struct i2c_client *i2c) in max77686_i2c_remove() 355 struct i2c_client *i2c = container_of(dev, struct i2c_client, dev); in max77686_suspend() local 377 struct i2c_client *i2c = container_of(dev, struct i2c_client, dev); in max77686_resume() local
|
D | wm8350-i2c.c | 26 static int wm8350_i2c_probe(struct i2c_client *i2c, in wm8350_i2c_probe() 51 static int wm8350_i2c_remove(struct i2c_client *i2c) in wm8350_i2c_remove()
|
D | rt5033.c | 62 static int rt5033_i2c_probe(struct i2c_client *i2c, in rt5033_i2c_probe() 113 static int rt5033_i2c_remove(struct i2c_client *i2c) in rt5033_i2c_remove()
|
D | smsc-ece1099.c | 34 static int smsc_i2c_probe(struct i2c_client *i2c, in smsc_i2c_probe() 83 static int smsc_i2c_remove(struct i2c_client *i2c) in smsc_i2c_remove()
|
D | da9055-i2c.c | 23 static int da9055_i2c_probe(struct i2c_client *i2c, in da9055_i2c_probe() 49 static int da9055_i2c_remove(struct i2c_client *i2c) in da9055_i2c_remove()
|
D | rn5t618.c | 62 static int rn5t618_i2c_probe(struct i2c_client *i2c, in rn5t618_i2c_probe() 96 static int rn5t618_i2c_remove(struct i2c_client *i2c) in rn5t618_i2c_remove()
|
D | retu-mfd.c | 194 struct i2c_client *i2c = to_i2c_client(dev); in retu_regmap_read() local 211 struct i2c_client *i2c = to_i2c_client(dev); in retu_regmap_write() local 230 static int retu_probe(struct i2c_client *i2c, const struct i2c_device_id *id) in retu_probe() 290 static int retu_remove(struct i2c_client *i2c) in retu_remove()
|
D | wm831x-i2c.c | 27 static int wm831x_i2c_probe(struct i2c_client *i2c, in wm831x_i2c_probe() 51 static int wm831x_i2c_remove(struct i2c_client *i2c) in wm831x_i2c_remove()
|
D | da9063-i2c.c | 214 static int da9063_i2c_probe(struct i2c_client *i2c, in da9063_i2c_probe() 249 static int da9063_i2c_remove(struct i2c_client *i2c) in da9063_i2c_remove()
|
D | wm8400-core.c | 160 static int wm8400_i2c_probe(struct i2c_client *i2c, in wm8400_i2c_probe() 179 static int wm8400_i2c_remove(struct i2c_client *i2c) in wm8400_i2c_remove()
|
D | da9062-core.c | 438 static int da9062_i2c_probe(struct i2c_client *i2c, in da9062_i2c_probe() 497 static int da9062_i2c_remove(struct i2c_client *i2c) in da9062_i2c_remove()
|
D | max8907.c | 187 static int max8907_i2c_probe(struct i2c_client *i2c, in max8907_i2c_probe() 292 static int max8907_i2c_remove(struct i2c_client *i2c) in max8907_i2c_remove()
|
D | rc5t583.c | 249 static int rc5t583_i2c_probe(struct i2c_client *i2c, in rc5t583_i2c_probe() 306 static int rc5t583_i2c_remove(struct i2c_client *i2c) in rc5t583_i2c_remove()
|
D | wm8994-core.c | 621 static int wm8994_i2c_probe(struct i2c_client *i2c, in wm8994_i2c_probe() 655 static int wm8994_i2c_remove(struct i2c_client *i2c) in wm8994_i2c_remove()
|
D | tps65910.c | 455 static int tps65910_i2c_probe(struct i2c_client *i2c, in tps65910_i2c_probe() 526 static int tps65910_i2c_remove(struct i2c_client *i2c) in tps65910_i2c_remove()
|
D | bcm590xx.c | 99 static int bcm590xx_i2c_remove(struct i2c_client *i2c) in bcm590xx_i2c_remove()
|
D | axp20x.c | 666 static int axp20x_i2c_probe(struct i2c_client *i2c, in axp20x_i2c_probe() 719 static int axp20x_i2c_remove(struct i2c_client *i2c) in axp20x_i2c_remove()
|
D | max8997-irq.c | 128 struct i2c_client *i2c = get_i2c(max8997, i); in max8997_irq_sync_unlock() local 322 struct i2c_client *i2c; in max8997_irq_init() local
|
/linux-4.4.14/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 180 struct nvkm_i2c *i2c = nvkm_i2c(subdev); in nvkm_i2c_init() local 198 struct nvkm_i2c *i2c = nvkm_i2c(subdev); in nvkm_i2c_dtor() local [all …]
|
D | padgf119.c | 36 gf119_i2c_pad_s_new(struct nvkm_i2c *i2c, int id, struct nvkm_i2c_pad **ppad) in gf119_i2c_pad_s_new() 48 gf119_i2c_pad_x_new(struct nvkm_i2c *i2c, int id, struct nvkm_i2c_pad **ppad) in gf119_i2c_pad_x_new()
|
D | padgm204.c | 61 gm204_i2c_pad_s_new(struct nvkm_i2c *i2c, int id, struct nvkm_i2c_pad **ppad) in gm204_i2c_pad_s_new() 73 gm204_i2c_pad_x_new(struct nvkm_i2c *i2c, int id, struct nvkm_i2c_pad **ppad) in gm204_i2c_pad_x_new()
|
D | padg94.c | 61 g94_i2c_pad_s_new(struct nvkm_i2c *i2c, int id, struct nvkm_i2c_pad **ppad) in g94_i2c_pad_s_new() 73 g94_i2c_pad_x_new(struct nvkm_i2c *i2c, int id, struct nvkm_i2c_pad **ppad) in g94_i2c_pad_x_new()
|
D | gk104.c | 28 gk104_aux_stat(struct nvkm_i2c *i2c, u32 *hi, u32 *lo, u32 *rq, u32 *tx) in gk104_aux_stat() 43 gk104_aux_mask(struct nvkm_i2c *i2c, u32 type, u32 mask, u32 data) in gk104_aux_mask()
|
D | g94.c | 28 g94_aux_stat(struct nvkm_i2c *i2c, u32 *hi, u32 *lo, u32 *rq, u32 *tx) in g94_aux_stat() 43 g94_aux_mask(struct nvkm_i2c *i2c, u32 type, u32 mask, u32 data) in g94_aux_mask()
|
D | pad.c | 96 nvkm_i2c_pad_ctor(const struct nvkm_i2c_pad_func *func, struct nvkm_i2c *i2c, in nvkm_i2c_pad_ctor() 109 nvkm_i2c_pad_new_(const struct nvkm_i2c_pad_func *func, struct nvkm_i2c *i2c, in nvkm_i2c_pad_new_()
|
D | padnv4e.c | 33 nv4e_i2c_pad_new(struct nvkm_i2c *i2c, int id, struct nvkm_i2c_pad **ppad) in nv4e_i2c_pad_new()
|
D | padnv50.c | 33 nv50_i2c_pad_new(struct nvkm_i2c *i2c, int id, struct nvkm_i2c_pad **ppad) in nv50_i2c_pad_new()
|
D | padnv04.c | 33 nv04_i2c_pad_new(struct nvkm_i2c *i2c, int id, struct nvkm_i2c_pad **ppad) in nv04_i2c_pad_new()
|
/linux-4.4.14/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 150 void mgag200_i2c_destroy(struct mga_i2c_chan *i2c) in mgag200_i2c_destroy()
|
/linux-4.4.14/drivers/media/pci/cx23885/ |
D | netup-init.c | 25 static void i2c_av_write(struct i2c_adapter *i2c, u16 reg, u8 val) in i2c_av_write() 46 static void i2c_av_write4(struct i2c_adapter *i2c, u16 reg, u32 val) in i2c_av_write4() 70 static u8 i2c_av_read(struct i2c_adapter *i2c, u16 reg) in i2c_av_read() 100 static void i2c_av_and_or(struct i2c_adapter *i2c, u16 reg, unsigned and_mask, in i2c_av_and_or() 109 struct i2c_adapter *i2c = &i2c_bus->i2c_adap; in netup_initialize() local
|
/linux-4.4.14/sound/soc/codecs/ |
D | wm2000.c | 64 struct i2c_client *i2c; member 84 static int wm2000_write(struct i2c_client *i2c, unsigned int reg, in wm2000_write() 91 static unsigned int wm2000_read(struct i2c_client *i2c, unsigned int r) in wm2000_read() 106 struct i2c_client *i2c = wm2000->i2c; in wm2000_reset() local 115 static int wm2000_poll_bit(struct i2c_client *i2c, in wm2000_poll_bit() 134 static int wm2000_power_up(struct i2c_client *i2c, int analogue) in wm2000_power_up() 243 static int wm2000_power_down(struct i2c_client *i2c, int analogue) in wm2000_power_down() 277 static int wm2000_enter_bypass(struct i2c_client *i2c, int analogue) in wm2000_enter_bypass() 316 static int wm2000_exit_bypass(struct i2c_client *i2c, int analogue) in wm2000_exit_bypass() 351 static int wm2000_enter_standby(struct i2c_client *i2c, int analogue) in wm2000_enter_standby() [all …]
|
D | wm1250-ev1.c | 154 static int wm1250_ev1_pdata(struct i2c_client *i2c) in wm1250_ev1_pdata() 191 static void wm1250_ev1_free(struct i2c_client *i2c) in wm1250_ev1_free() 199 static int wm1250_ev1_probe(struct i2c_client *i2c, in wm1250_ev1_probe() 237 static int wm1250_ev1_remove(struct i2c_client *i2c) in wm1250_ev1_remove()
|
D | cs42xx8-i2c.c | 20 static int cs42xx8_i2c_probe(struct i2c_client *i2c, in cs42xx8_i2c_probe() 34 static int cs42xx8_i2c_remove(struct i2c_client *i2c) in cs42xx8_i2c_remove()
|
D | es8328-i2c.c | 33 static int es8328_i2c_probe(struct i2c_client *i2c, in es8328_i2c_probe() 40 static int es8328_i2c_remove(struct i2c_client *i2c) in es8328_i2c_remove()
|
D | cs42l51-i2c.c | 26 static int cs42l51_i2c_probe(struct i2c_client *i2c, in cs42l51_i2c_probe() 38 static int cs42l51_i2c_remove(struct i2c_client *i2c) in cs42l51_i2c_remove()
|
D | wm8804-i2c.c | 19 static int wm8804_i2c_probe(struct i2c_client *i2c, in wm8804_i2c_probe() 31 static int wm8804_i2c_remove(struct i2c_client *i2c) in wm8804_i2c_remove()
|
D | tlv320aic23-i2c.c | 22 static int tlv320aic23_i2c_probe(struct i2c_client *i2c, in tlv320aic23_i2c_probe() 34 static int tlv320aic23_i2c_remove(struct i2c_client *i2c) in tlv320aic23_i2c_remove()
|
D | pcm512x-i2c.c | 23 static int pcm512x_i2c_probe(struct i2c_client *i2c, in pcm512x_i2c_probe() 40 static int pcm512x_i2c_remove(struct i2c_client *i2c) in pcm512x_i2c_remove()
|
D | wm5100.c | 1760 struct i2c_client *i2c = to_i2c_client(codec->dev); in wm5100_set_fll() local 2302 static void wm5100_init_gpio(struct i2c_client *i2c) in wm5100_init_gpio() 2321 static void wm5100_free_gpio(struct i2c_client *i2c) in wm5100_free_gpio() 2328 static void wm5100_init_gpio(struct i2c_client *i2c) in wm5100_init_gpio() 2332 static void wm5100_free_gpio(struct i2c_client *i2c) in wm5100_free_gpio() 2340 struct i2c_client *i2c = to_i2c_client(codec->dev); in wm5100_probe() local 2424 static int wm5100_i2c_probe(struct i2c_client *i2c, in wm5100_i2c_probe() 2649 static int wm5100_i2c_remove(struct i2c_client *i2c) in wm5100_i2c_remove()
|
D | wm9090.c | 573 static int wm9090_i2c_probe(struct i2c_client *i2c, in wm9090_i2c_probe() 620 static int wm9090_i2c_remove(struct i2c_client *i2c) in wm9090_i2c_remove()
|
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_i2c.c | 41 struct amdgpu_i2c_chan *i2c = i2c_get_adapdata(i2c_adap); in amdgpu_i2c_pre_xfer() local 83 struct amdgpu_i2c_chan *i2c = i2c_get_adapdata(i2c_adap); in amdgpu_i2c_post_xfer() local 102 struct amdgpu_i2c_chan *i2c = i2c_priv; in amdgpu_i2c_get_clock() local 117 struct amdgpu_i2c_chan *i2c = i2c_priv; in amdgpu_i2c_get_data() local 131 struct amdgpu_i2c_chan *i2c = i2c_priv; in amdgpu_i2c_set_clock() local 144 struct amdgpu_i2c_chan *i2c = i2c_priv; in amdgpu_i2c_set_data() local 164 struct amdgpu_i2c_chan *i2c; in amdgpu_i2c_create() local 221 void amdgpu_i2c_destroy(struct amdgpu_i2c_chan *i2c) in amdgpu_i2c_destroy()
|
/linux-4.4.14/drivers/media/pci/netup_unidvb/ |
D | netup_unidvb_i2c.c | 74 irqreturn_t netup_i2c_interrupt(struct netup_i2c *i2c) in netup_i2c_interrupt() 128 static void netup_i2c_reset(struct netup_i2c *i2c) in netup_i2c_reset() 140 static void netup_i2c_fifo_tx(struct netup_i2c *i2c) in netup_i2c_fifo_tx() 162 static void netup_i2c_fifo_rx(struct netup_i2c *i2c) in netup_i2c_fifo_rx() 186 static void netup_i2c_start_xfer(struct netup_i2c *i2c) in netup_i2c_start_xfer() 214 struct netup_i2c *i2c = i2c_get_adapdata(adap); in netup_i2c_xfer() local 313 struct netup_i2c *i2c; in netup_i2c_init() local 346 struct netup_i2c *i2c; in netup_i2c_remove() local
|
/linux-4.4.14/drivers/media/common/b2c2/ |
D | flexcop-fe-tuner.c | 171 struct i2c_adapter *i2c) in skystar2_rev23_attach() 284 struct i2c_adapter *i2c) in skystar2_rev26_attach() 318 struct i2c_adapter *i2c) in skystar2_rev27_attach() 384 struct i2c_adapter *i2c) in skystar2_rev28_attach() 445 struct i2c_adapter *i2c) in airstar_dvbt_attach() 466 struct i2c_adapter *i2c) in airstar_atsc1_attach() 482 struct i2c_adapter *i2c) in airstar_atsc2_attach() 505 struct i2c_adapter *i2c) in airstar_atsc3_attach() 599 struct i2c_adapter *i2c) in cablestar2_attach() 638 struct i2c_adapter *i2c) in skystarS2_rev33_attach()
|
D | flexcop-i2c.c | 41 static int flexcop_i2c_read4(struct flexcop_i2c_adapter *i2c, in flexcop_i2c_read4() 106 int flexcop_i2c_request(struct flexcop_i2c_adapter *i2c, in flexcop_i2c_request() 178 struct flexcop_i2c_adapter *i2c = i2c_get_adapdata(i2c_adap); in flexcop_master_xfer() local
|
/linux-4.4.14/drivers/gpu/drm/radeon/ |
D | radeon_i2c.c | 92 struct radeon_i2c_chan *i2c = i2c_get_adapdata(i2c_adap); in pre_xfer() local 162 struct radeon_i2c_chan *i2c = i2c_get_adapdata(i2c_adap); in post_xfer() local 181 struct radeon_i2c_chan *i2c = i2c_priv; in get_clock() local 196 struct radeon_i2c_chan *i2c = i2c_priv; in get_data() local 210 struct radeon_i2c_chan *i2c = i2c_priv; in set_clock() local 223 struct radeon_i2c_chan *i2c = i2c_priv; in set_data() local 329 struct radeon_i2c_chan *i2c = i2c_get_adapdata(i2c_adap); in r100_hw_i2c_xfer() local 582 struct radeon_i2c_chan *i2c = i2c_get_adapdata(i2c_adap); in r500_hw_i2c_xfer() local 815 struct radeon_i2c_chan *i2c = i2c_get_adapdata(i2c_adap); in radeon_hw_i2c_xfer() local 913 struct radeon_i2c_chan *i2c; in radeon_i2c_create() local [all …]
|
/linux-4.4.14/drivers/media/dvb-frontends/ |
D | cxd2841er.h | 44 struct i2c_adapter *i2c) in cxd2841er_attach_s() 51 struct cxd2841er_config *cfg, struct i2c_adapter *i2c) in cxd2841er_attach_t() 58 struct cxd2841er_config *cfg, struct i2c_adapter *i2c) in cxd2841er_attach_c()
|
D | lnbp21.c | 43 struct i2c_adapter *i2c; member 130 struct i2c_adapter *i2c, u8 override_set, in lnbx2x_attach() 169 struct i2c_adapter *i2c, u8 override_set, in lnbh24_attach() 178 struct i2c_adapter *i2c, u8 override_set, in lnbp21_attach()
|
D | stv0367.h | 52 struct i2c_adapter *i2c) in stv0367ter_attach() 59 struct i2c_adapter *i2c) in stv0367cab_attach()
|
D | lnbp22.c | 48 struct i2c_adapter *i2c; member 114 struct i2c_adapter *i2c) in lnbp22_attach()
|
D | isl6423.c | 60 struct i2c_adapter *i2c; member 70 struct i2c_adapter *i2c = isl6423->i2c; in isl6423_write() local 268 struct i2c_adapter *i2c, in isl6423_attach()
|
D | isl6405.c | 42 struct i2c_adapter *i2c; member 123 struct dvb_frontend *isl6405_attach(struct dvb_frontend *fe, struct i2c_adapter *i2c, in isl6405_attach()
|
D | cxd2820r_core.c | 28 static int cxd2820r_wr_regs_i2c(struct cxd2820r_priv *priv, u8 i2c, u8 reg, in cxd2820r_wr_regs_i2c() 64 static int cxd2820r_rd_regs_i2c(struct cxd2820r_priv *priv, u8 i2c, u8 reg, in cxd2820r_rd_regs_i2c() 111 u8 i2c = (reginfo >> 16) & 0x01; in cxd2820r_wr_regs() local 137 u8 i2c = (reginfo >> 16) & 0x01; in cxd2820r_rd_regs() local 695 struct i2c_adapter *i2c, int *gpio_chip_base in cxd2820r_attach()
|
D | lnbh25.c | 39 struct i2c_adapter *i2c; member 155 struct i2c_adapter *i2c) in lnbh25_attach()
|
D | isl6421.c | 42 struct i2c_adapter *i2c; member 128 struct dvb_frontend *isl6421_attach(struct dvb_frontend *fe, struct i2c_adapter *i2c, u8 i2c_addr, in isl6421_attach()
|
D | tda1002x.h | 65 struct i2c_adapter* i2c, u8 pwm) in tda10021_attach() 79 struct i2c_adapter *i2c, u8 pwm) in tda10023_attach()
|
D | tda1004x.h | 112 struct i2c_adapter* i2c; member 128 struct i2c_adapter* i2c) in tda10045_attach() 134 struct i2c_adapter* i2c) in tda10046_attach()
|
D | stb6000.c | 40 struct i2c_adapter *i2c; member 202 struct i2c_adapter *i2c) in stb6000_attach()
|
D | tua6100.c | 41 struct i2c_adapter *i2c; member 173 struct dvb_frontend *tua6100_attach(struct dvb_frontend *fe, int addr, struct i2c_adapter *i2c) in tua6100_attach()
|
D | tda826x.c | 39 struct i2c_adapter *i2c; member 144 struct dvb_frontend *tda826x_attach(struct dvb_frontend *fe, int addr, struct i2c_adapter *i2c, int… in tda826x_attach()
|
D | tda18271c2dd.h | 11 struct i2c_adapter *i2c, u8 adr) in tda18271c2dd_attach()
|
D | stb6000.h | 44 struct i2c_adapter *i2c) in stb6000_attach()
|
D | zl10039.h | 34 struct i2c_adapter *i2c) in zl10039_attach()
|
D | tua6100.h | 40 …ine struct dvb_frontend* tua6100_attach(struct dvb_frontend *fe, int addr, struct i2c_adapter *i2c) in tua6100_attach()
|
D | tda826x.h | 45 struct i2c_adapter *i2c, in tda826x_attach()
|
D | lgs8gl5.h | 39 const struct lgs8gl5_config *config, struct i2c_adapter *i2c) { in lgs8gl5_attach()
|
D | lnbp22.h | 51 struct i2c_adapter *i2c) in lnbp22_attach()
|
D | tda8083.h | 43 struct i2c_adapter* i2c) in tda8083_attach()
|
D | ec100.h | 39 const struct ec100_config *config, struct i2c_adapter *i2c) in ec100_attach()
|
D | cx22700.h | 39 struct i2c_adapter* i2c) in cx22700_attach()
|
D | l64781.h | 39 struct i2c_adapter* i2c) in l64781_attach()
|
D | cx24117.h | 40 struct i2c_adapter *i2c) in cx24117_attach()
|
D | itd1000.h | 35 static inline struct dvb_frontend *itd1000_attach(struct dvb_frontend *fe, struct i2c_adapter *i2c,… in itd1000_attach()
|
D | tda665x.c | 30 struct i2c_adapter *i2c; member 225 struct i2c_adapter *i2c) in tda665x_attach()
|
D | tda8261.c | 31 struct i2c_adapter *i2c; member 199 struct i2c_adapter *i2c) in tda8261_attach()
|
D | sp8870.h | 43 struct i2c_adapter* i2c) in sp8870_attach()
|
D | or51132.h | 42 struct i2c_adapter* i2c) in or51132_attach()
|
D | sp887x.h | 25 struct i2c_adapter* i2c) in sp887x_attach()
|
D | bcm3510.h | 42 struct i2c_adapter* i2c) in bcm3510_attach()
|
D | mt312.h | 44 const struct mt312_config *config, struct i2c_adapter *i2c) in mt312_attach()
|
D | tdhd1.h | 46 struct i2c_adapter *i2c = fe->tuner_priv; in alps_tdhd1_204a_tuner_set_params() local
|
D | nxt6000.h | 41 struct i2c_adapter* i2c) in nxt6000_attach()
|
D | s921.h | 34 const struct s921_config *config, struct i2c_adapter *i2c) in s921_attach()
|
D | zl10036.h | 46 const struct zl10036_config *config, struct i2c_adapter *i2c) in zl10036_attach()
|
D | ix2505v.c | 38 struct i2c_adapter *i2c; member 274 struct i2c_adapter *i2c) in ix2505v_attach()
|
D | cx24110.h | 54 struct i2c_adapter* i2c) in cx24110_attach()
|
D | cx22702.h | 51 struct i2c_adapter *i2c) in cx22702_attach()
|
D | ves1x93.h | 48 struct i2c_adapter* i2c) in ves1x93_attach()
|
D | cx24113.h | 42 const struct cx24113_config *config, struct i2c_adapter *i2c) in cx24113_attach()
|
D | stv0297.h | 50 struct i2c_adapter* i2c) in stv0297_attach()
|
D | mb86a20s.h | 43 const struct mb86a20s_config *config, struct i2c_adapter *i2c) in mb86a20s_attach()
|
D | ds3000.h | 44 struct i2c_adapter *i2c) in ds3000_attach()
|
D | lnbh25.h | 49 struct i2c_adapter *i2c) in lnbh25_attach()
|
D | nxt200x.h | 50 struct i2c_adapter* i2c) in nxt200x_attach()
|
D | ascot2e.h | 51 struct i2c_adapter *i2c) in ascot2e_attach()
|
D | lnbp21.h | 68 struct i2c_adapter *i2c, u8 override_set, in lnbp21_attach()
|
D | horus3a.h | 51 struct i2c_adapter *i2c) in horus3a_attach()
|
D | stb6100.h | 84 struct i2c_adapter *i2c; member 107 struct i2c_adapter *i2c) in stb6100_attach()
|
D | ec100.c | 26 struct i2c_adapter *i2c; member 286 struct i2c_adapter *i2c) in ec100_attach()
|
D | or51211.h | 45 struct i2c_adapter* i2c) in or51211_attach()
|
D | isl6421.h | 47 static inline struct dvb_frontend *isl6421_attach(struct dvb_frontend *fe, struct i2c_adapter *i2c,… in isl6421_attach()
|
D | lnbh24.h | 48 struct i2c_adapter *i2c, u8 override_set, in lnbh24_attach()
|
D | cx24116.h | 51 struct i2c_adapter *i2c) in cx24116_attach()
|
D | si21xx.h | 21 const struct si21xx_config *config, struct i2c_adapter *i2c) in si21xx_attach()
|
D | ix2505v.h | 57 const struct ix2505v_config *config, struct i2c_adapter *i2c) in ix2505v_attach()
|
D | ves1820.h | 49 struct i2c_adapter* i2c, u8 pwm) in ves1820_attach()
|
D | tda8261.h | 47 struct i2c_adapter *i2c) in tda8261_attach()
|
D | bsru6.h | 110 struct i2c_adapter *i2c = fe->tuner_priv; in alps_bsru6_tuner_set_params() local
|
D | tda10086.h | 54 struct i2c_adapter* i2c) in tda10086_attach()
|
D | hd29l2.h | 59 const struct hd29l2_config *config, struct i2c_adapter *i2c) in hd29l2_attach()
|
D | s5h1420.h | 49 struct i2c_adapter *i2c) in s5h1420_attach()
|
D | si2165.h | 55 struct i2c_adapter *i2c) in si2165_attach()
|
D | cx24123.h | 48 const struct cx24123_config *config, struct i2c_adapter *i2c) in cx24123_attach()
|
D | bsbe1.h | 79 struct i2c_adapter *i2c = fe->tuner_priv; in alps_bsbe1_tuner_set_params() local
|
D | dib3000.h | 49 struct i2c_adapter* i2c, struct dib_fe_xfer_ops *xfer_ops) in dib3000mb_attach()
|
D | zl10039.c | 47 struct i2c_adapter *i2c; member 266 u8 i2c_addr, struct i2c_adapter *i2c) in zl10039_attach()
|
D | horus3a.c | 40 struct i2c_adapter *i2c; member 365 struct i2c_adapter *i2c) in horus3a_attach()
|
D | stv0288.h | 51 struct i2c_adapter *i2c) in stv0288_attach()
|
D | m88rs2000.h | 49 const struct m88rs2000_config *config, struct i2c_adapter *i2c) in m88rs2000_attach()
|
D | tda665x.h | 44 struct i2c_adapter *i2c) in tda665x_attach()
|
D | mt352.h | 59 struct i2c_adapter* i2c) in mt352_attach()
|
/linux-4.4.14/drivers/input/touchscreen/ |
D | tsc2004.c | 29 struct i2c_client *i2c = to_i2c_client(dev); in tsc2004_cmd() local 41 static int tsc2004_probe(struct i2c_client *i2c, in tsc2004_probe() 50 static int tsc2004_remove(struct i2c_client *i2c) in tsc2004_remove()
|
D | 88pm860x-ts.c | 45 struct i2c_client *i2c; member 124 struct i2c_client *i2c = (chip->id == CHIP_PM8607) ? chip->client \ in pm860x_touch_dt_init() local 178 struct i2c_client *i2c = (chip->id == CHIP_PM8607) ? chip->client \ in pm860x_touch_probe() local
|
/linux-4.4.14/drivers/gpu/drm/msm/hdmi/ |
D | hdmi_i2c.c | 100 static int hdmi_i2c_xfer(struct i2c_adapter *i2c, in hdmi_i2c_xfer() 229 void hdmi_i2c_irq(struct i2c_adapter *i2c) in hdmi_i2c_irq() 237 void hdmi_i2c_destroy(struct i2c_adapter *i2c) in hdmi_i2c_destroy() 248 struct i2c_adapter *i2c = NULL; in hdmi_i2c_init() local
|
/linux-4.4.14/drivers/regulator/ |
D | max8998.c | 156 struct i2c_client *i2c = max8998->iodev->i2c; in max8998_ldo_is_enabled() local 174 struct i2c_client *i2c = max8998->iodev->i2c; in max8998_ldo_enable() local 187 struct i2c_client *i2c = max8998->iodev->i2c; in max8998_ldo_disable() local 263 struct i2c_client *i2c = max8998->iodev->i2c; in max8998_get_voltage_sel() local 285 struct i2c_client *i2c = max8998->iodev->i2c; in max8998_set_voltage_ldo_sel() local 314 struct i2c_client *i2c = max8998->iodev->i2c; in max8998_set_voltage_buck_sel() local 417 struct i2c_client *i2c = max8998->iodev->i2c; in max8998_set_voltage_buck_time_sel() local 751 struct i2c_client *i2c; in max8998_pmic_probe() local
|
D | max8997.c | 260 struct i2c_client *i2c = max8997->iodev->i2c; in max8997_reg_is_enabled() local 278 struct i2c_client *i2c = max8997->iodev->i2c; in max8997_reg_enable() local 291 struct i2c_client *i2c = max8997->iodev->i2c; in max8997_reg_disable() local 370 struct i2c_client *i2c = max8997->iodev->i2c; in max8997_get_voltage_sel() local 415 struct i2c_client *i2c = max8997->iodev->i2c; in max8997_set_voltage_charger_cv() local 470 struct i2c_client *i2c = max8997->iodev->i2c; in max8997_set_voltage_ldobuck() local 712 struct i2c_client *i2c = max8997->iodev->i2c; in max8997_set_voltage_safeout_sel() local 729 struct i2c_client *i2c = max8997->iodev->i2c; in max8997_reg_disable_suspend() local 1034 struct i2c_client *i2c; in max8997_pmic_probe() local
|
D | lp3971.c | 27 struct i2c_client *i2c; member 321 static int lp3971_i2c_read(struct i2c_client *i2c, char reg, int count, in lp3971_i2c_read() 336 static int lp3971_i2c_write(struct i2c_client *i2c, char reg, int count, in lp3971_i2c_write() 407 static int lp3971_i2c_probe(struct i2c_client *i2c, in lp3971_i2c_probe()
|
D | lp3972.c | 24 struct i2c_client *i2c; member 167 static int lp3972_i2c_read(struct i2c_client *i2c, char reg, int count, in lp3972_i2c_read() 182 static int lp3972_i2c_write(struct i2c_client *i2c, char reg, int count, in lp3972_i2c_write() 502 static int lp3972_i2c_probe(struct i2c_client *i2c, in lp3972_i2c_probe()
|
/linux-4.4.14/drivers/media/dvb-frontends/drx39xyj/ |
D | drx39xxj.h | 30 struct i2c_adapter *i2c; member 40 static inline struct dvb_frontend *drx39xxj_attach(struct i2c_adapter *i2c) { in drx39xxj_attach()
|
/linux-4.4.14/drivers/media/pci/ngene/ |
D | ngene-cards.c | 55 struct i2c_adapter *i2c; in tuner_attach_stv6110() local 107 struct i2c_adapter *i2c; in tuner_attach_tda18271() local 135 struct i2c_adapter *i2c; in demod_attach_stv0900() local 198 static int port_has_stv0900(struct i2c_adapter *i2c, int port) in port_has_stv0900() 206 static int port_has_drxk(struct i2c_adapter *i2c, int port) in port_has_drxk() 216 struct i2c_adapter *i2c) in demod_attach_drxk() 238 struct i2c_adapter *i2c; in cineS2_probe() local
|
/linux-4.4.14/drivers/media/usb/gspca/ |
D | sonixb.c | 594 __u8 i2c[] = in setgain() local 606 __u8 i2c[] = in setgain() local 614 __u8 i2c[] = { in setgain() local 631 __u8 i2c[] = {0xa0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10}; in setgain() local 694 __u8 i2c[] = {0xc0, 0x11, 0x25, 0x00, 0x00, 0x00, 0x00, 0x17}; in setexposure() local 729 __u8 i2c[] = {0xb0, 0x00, 0x10, 0x00, 0x00, 0x00, 0x00, 0x10}; in setexposure() local 866 __u8 i2c[] = {0xa0, 0x00, 0x2b, 0x00, 0x00, 0x00, 0x00, 0x10}; in setfreq() local 1205 const __u8 i2c[] = { 0xa0, 0x21, 0x13, in sd_start() local
|
/linux-4.4.14/sound/ppc/ |
D | keywest.c | 117 void snd_pmac_keywest_cleanup(struct pmac_keywest *i2c) in snd_pmac_keywest_cleanup() 140 int snd_pmac_keywest_init(struct pmac_keywest *i2c) in snd_pmac_keywest_init()
|
D | daca.c | 42 struct pmac_keywest i2c; member 52 static int daca_init_client(struct pmac_keywest *i2c) in daca_init_client()
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
D | i2c.c | 31 u16 i2c = 0x0000; in dcb_i2c_table() local 64 u16 i2c = dcb_i2c_table(bios, ver, &hdr, &cnt, len); in dcb_i2c_entry() local
|
D | dcb.c | 57 u16 i2c = nvbios_rd16(bios, dcb + 2); in dcb_table() local 66 u16 i2c = nvbios_rd16(bios, dcb + 2); in dcb_table() local
|
/linux-4.4.14/drivers/power/ |
D | max8998_charger.c | 47 struct i2c_client *i2c = max8998->iodev->i2c; in max8998_battery_get_property() local 91 struct i2c_client *i2c; in max8998_battery_probe() local
|
/linux-4.4.14/drivers/extcon/ |
D | extcon-sm5502.c | 44 struct i2c_client *i2c; member 542 static int sm5022_muic_i2c_probe(struct i2c_client *i2c, in sm5022_muic_i2c_probe() 640 static int sm5502_muic_i2c_remove(struct i2c_client *i2c) in sm5502_muic_i2c_remove() 658 struct i2c_client *i2c = container_of(dev, struct i2c_client, dev); in sm5502_muic_suspend() local 668 struct i2c_client *i2c = container_of(dev, struct i2c_client, dev); in sm5502_muic_resume() local
|
D | extcon-rt8973a.c | 46 struct i2c_client *i2c; member 550 static int rt8973a_muic_i2c_probe(struct i2c_client *i2c, in rt8973a_muic_i2c_probe() 648 static int rt8973a_muic_i2c_remove(struct i2c_client *i2c) in rt8973a_muic_i2c_remove() 666 struct i2c_client *i2c = container_of(dev, struct i2c_client, dev); in rt8973a_muic_suspend() local 676 struct i2c_client *i2c = container_of(dev, struct i2c_client, dev); in rt8973a_muic_resume() local
|
/linux-4.4.14/arch/arm/boot/dts/ |
D | wm8750-apc8750.dts | 21 i2c: i2c { label
|
D | cx92755.dtsi | 134 i2c: i2c@f0000120 { label
|
D | imx23-olinuxino.dts | 77 i2c: i2c@80058000 { label
|
/linux-4.4.14/drivers/media/pci/ddbridge/ |
D | ddbridge-core.c | 81 static int ddb_i2c_cmd(struct ddb_i2c *i2c, u32 adr, u32 cmd) in ddb_i2c_cmd() 108 struct ddb_i2c *i2c = (struct ddb_i2c *)i2c_get_adapdata(adapter); in ddb_i2c_master_xfer() local 160 struct ddb_i2c *i2c; in ddb_i2c_release() local 173 struct ddb_i2c *i2c; in ddb_i2c_init() local 575 struct i2c_adapter *i2c = &input->port->i2c->adap; in demod_attach_drxk() local 597 struct i2c_adapter *i2c = &input->port->i2c->adap; in tuner_attach_tda18271() local 668 struct i2c_adapter *i2c = &input->port->i2c->adap; in demod_attach_stv0900() local 689 struct i2c_adapter *i2c = &input->port->i2c->adap; in tuner_attach_stv6110() local 1277 struct ddb_i2c *i2c = &dev->i2c[n]; in irq_handle_i2c() local
|
/linux-4.4.14/drivers/media/tuners/ |
D | mt2266.h | 30 static inline struct dvb_frontend * mt2266_attach(struct dvb_frontend *fe, struct i2c_adapter *i2c,… in mt2266_attach()
|
D | qt1010.h | 45 struct i2c_adapter *i2c, in qt1010_attach()
|
D | max2165.h | 41 struct i2c_adapter *i2c, in max2165_attach()
|
D | mc44s803.h | 40 struct i2c_adapter *i2c, struct mc44s803_config *cfg) in mc44s803_attach()
|
D | mt2063.h | 20 struct i2c_adapter *i2c) in mt2063_attach()
|
D | fc0012-priv.h | 25 struct i2c_adapter *i2c; member
|
D | mt2131.h | 40 struct i2c_adapter *i2c, in mt2131_attach()
|
D | mt2060.h | 36 static inline struct dvb_frontend * mt2060_attach(struct dvb_frontend *fe, struct i2c_adapter *i2c,… in mt2060_attach()
|
D | fc0011.h | 33 struct i2c_adapter *i2c, in fc0011_attach()
|
D | tda18218.h | 38 struct i2c_adapter *i2c, struct tda18218_config *cfg) in tda18218_attach()
|
D | fc0013.h | 38 struct i2c_adapter *i2c, in fc0013_attach()
|
D | mt2131_priv.h | 38 struct i2c_adapter *i2c; member
|
D | fc0012.h | 58 struct i2c_adapter *i2c, in fc0012_attach()
|
D | xc4000.h | 59 struct i2c_adapter *i2c, in xc4000_attach()
|
D | tda827x.h | 61 struct i2c_adapter *i2c, in tda827x_attach()
|
/linux-4.4.14/drivers/gpu/drm/nouveau/dispnv04/ |
D | tvnv04.c | 57 struct nvkm_i2c *i2c = nvxx_i2c(&drm->device); in nv04_tv_identify() local 211 struct nvkm_i2c *i2c = nvxx_i2c(&drm->device); in nv04_tv_create() local
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
D | outpdp.c | 216 struct nvkm_i2c *i2c = device->i2c; in nvkm_output_dp_ctor() local 282 struct nvkm_i2c *i2c = disp->engine.subdev.device->i2c; in nvkm_output_dp_new_() local
|
D | outp.c | 60 struct nvkm_i2c *i2c = disp->engine.subdev.device->i2c; in nvkm_output_ctor() local
|
/linux-4.4.14/drivers/spi/ |
D | spi-xcomm.c | 34 struct i2c_client *i2c; member 207 static int spi_xcomm_probe(struct i2c_client *i2c, in spi_xcomm_probe()
|
/linux-4.4.14/drivers/gpu/drm/ast/ |
D | ast_mode.c | 968 struct ast_i2c_chan *i2c = i2c_priv; in get_clock() local 978 struct ast_i2c_chan *i2c = i2c_priv; in get_data() local 988 struct ast_i2c_chan *i2c = i2c_priv; in set_clock() local 1004 struct ast_i2c_chan *i2c = i2c_priv; in set_data() local 1020 struct ast_i2c_chan *i2c; in ast_i2c_create() local 1055 static void ast_i2c_destroy(struct ast_i2c_chan *i2c) in ast_i2c_destroy()
|
/linux-4.4.14/drivers/staging/media/cxd2099/ |
D | cxd2099.h | 44 void *priv, struct i2c_adapter *i2c) in cxd2099_attach()
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/therm/ |
D | ic.c | 87 struct nvkm_i2c *i2c = device->i2c; in nvkm_therm_ic_ctor() local
|
/linux-4.4.14/arch/powerpc/include/asm/ |
D | 8xx_immap.h | 266 typedef struct i2c { struct 267 u_char i2c_i2mod; argument 269 u_char i2c_i2add; argument 271 u_char i2c_i2brg; argument 273 u_char i2c_i2com; argument 275 u_char i2c_i2cer; argument 277 u_char i2c_i2cmr; argument 279 } i2c8xx_t; argument
|