/linux-6.1.9/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 | 269 #define _IBMR(i2c) ((i2c)->reg_ibmr) argument 270 #define _IDBR(i2c) ((i2c)->reg_idbr) argument 271 #define _ICR(i2c) ((i2c)->reg_icr) argument 272 #define _ISR(i2c) ((i2c)->reg_isr) argument 273 #define _ISAR(i2c) ((i2c)->reg_isar) argument 274 #define _ILCR(i2c) ((i2c)->reg_ilcr) argument 275 #define _IWCR(i2c) ((i2c)->reg_iwcr) argument 350 static void i2c_pxa_show_state(struct pxa_i2c *i2c, int lno, const char *fname) in i2c_pxa_show_state() 356 #define show_state(i2c) i2c_pxa_show_state(i2c, __LINE__, __func__) argument 358 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 | 170 static inline void s3c24xx_i2c_master_complete(struct s3c24xx_i2c *i2c, int ret) in s3c24xx_i2c_master_complete() 185 static inline void s3c24xx_i2c_disable_ack(struct s3c24xx_i2c *i2c) in s3c24xx_i2c_disable_ack() 193 static inline void s3c24xx_i2c_enable_ack(struct s3c24xx_i2c *i2c) in s3c24xx_i2c_enable_ack() 202 static inline void s3c24xx_i2c_disable_irq(struct s3c24xx_i2c *i2c) in s3c24xx_i2c_disable_irq() 210 static inline void s3c24xx_i2c_enable_irq(struct s3c24xx_i2c *i2c) in s3c24xx_i2c_enable_irq() 218 static bool is_ack(struct s3c24xx_i2c *i2c) in is_ack() 238 static void s3c24xx_i2c_message_start(struct s3c24xx_i2c *i2c, in s3c24xx_i2c_message_start() 289 static inline void s3c24xx_i2c_stop(struct s3c24xx_i2c *i2c, int ret) in s3c24xx_i2c_stop() 352 static inline int is_lastmsg(struct s3c24xx_i2c *i2c) in is_lastmsg() 360 static inline int is_msglast(struct s3c24xx_i2c *i2c) in is_msglast() [all …]
|
D | i2c-ocores.c | 89 static void oc_setreg_8(struct ocores_i2c *i2c, int reg, u8 value) in oc_setreg_8() 94 static void oc_setreg_16(struct ocores_i2c *i2c, int reg, u8 value) in oc_setreg_16() 99 static void oc_setreg_32(struct ocores_i2c *i2c, int reg, u8 value) in oc_setreg_32() 104 static void oc_setreg_16be(struct ocores_i2c *i2c, int reg, u8 value) in oc_setreg_16be() 109 static void oc_setreg_32be(struct ocores_i2c *i2c, int reg, u8 value) in oc_setreg_32be() 114 static inline u8 oc_getreg_8(struct ocores_i2c *i2c, int reg) in oc_getreg_8() 119 static inline u8 oc_getreg_16(struct ocores_i2c *i2c, int reg) in oc_getreg_16() 124 static inline u8 oc_getreg_32(struct ocores_i2c *i2c, int reg) in oc_getreg_32() 129 static inline u8 oc_getreg_16be(struct ocores_i2c *i2c, int reg) in oc_getreg_16be() 134 static inline u8 oc_getreg_32be(struct ocores_i2c *i2c, int reg) in oc_getreg_32be() [all …]
|
D | i2c-xiic.c | 172 #define xiic_tx_space(i2c) ((i2c)->tx_msg->len - (i2c)->tx_pos) argument 173 #define xiic_rx_space(i2c) ((i2c)->rx_msg->len - (i2c)->rx_pos) argument 186 static inline void xiic_setreg8(struct xiic_i2c *i2c, int reg, u8 value) in xiic_setreg8() 194 static inline u8 xiic_getreg8(struct xiic_i2c *i2c, int reg) in xiic_getreg8() 205 static inline void xiic_setreg16(struct xiic_i2c *i2c, int reg, u16 value) in xiic_setreg16() 213 static inline void xiic_setreg32(struct xiic_i2c *i2c, int reg, int value) in xiic_setreg32() 221 static inline int xiic_getreg32(struct xiic_i2c *i2c, int reg) in xiic_getreg32() 232 static inline void xiic_irq_dis(struct xiic_i2c *i2c, u32 mask) in xiic_irq_dis() 239 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-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-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 | 42 struct i2c_pca_pf_data *i2c = pd; in i2c_pca_pf_readbyte8() local 48 struct i2c_pca_pf_data *i2c = pd; in i2c_pca_pf_readbyte16() local 54 struct i2c_pca_pf_data *i2c = pd; in i2c_pca_pf_readbyte32() local 60 struct i2c_pca_pf_data *i2c = pd; in i2c_pca_pf_writebyte8() local 66 struct i2c_pca_pf_data *i2c = pd; in i2c_pca_pf_writebyte16() local 72 struct i2c_pca_pf_data *i2c = pd; in i2c_pca_pf_writebyte32() local 79 struct i2c_pca_pf_data *i2c = pd; in i2c_pca_pf_waitforcompletion() local 104 struct i2c_pca_pf_data *i2c = pd; in i2c_pca_pf_dummyreset() local 111 struct i2c_pca_pf_data *i2c = pd; in i2c_pca_pf_resetchip() local 120 struct i2c_pca_pf_data *i2c = dev_id; in i2c_pca_pf_handler() local [all …]
|
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-mchp-pci1xxxx.c | 334 static int set_sys_lock(struct pci1xxxx_i2c *i2c) in set_sys_lock() 347 static int release_sys_lock(struct pci1xxxx_i2c *i2c) in release_sys_lock() 364 static void pci1xxxx_ack_high_level_intr(struct pci1xxxx_i2c *i2c, u16 intr_msk) in pci1xxxx_ack_high_level_intr() 369 static void pci1xxxx_i2c_configure_smbalert_pin(struct pci1xxxx_i2c *i2c, in pci1xxxx_i2c_configure_smbalert_pin() 385 static void pci1xxxx_i2c_send_start_stop(struct pci1xxxx_i2c *i2c, bool start) in pci1xxxx_i2c_send_start_stop() 405 static void pci1xxxx_i2c_set_clear_FW_ACK(struct pci1xxxx_i2c *i2c, bool set) in pci1xxxx_i2c_set_clear_FW_ACK() 417 static void pci1xxxx_i2c_buffer_write(struct pci1xxxx_i2c *i2c, u8 slaveaddr, in pci1xxxx_i2c_buffer_write() 434 static void pci1xxxx_i2c_enable_ESO(struct pci1xxxx_i2c *i2c) in pci1xxxx_i2c_enable_ESO() 439 static void pci1xxxx_i2c_reset_counters(struct pci1xxxx_i2c *i2c) in pci1xxxx_i2c_reset_counters() 449 static void pci1xxxx_i2c_set_transfer_dir(struct pci1xxxx_i2c *i2c, u8 direction) in pci1xxxx_i2c_set_transfer_dir() [all …]
|
D | i2c-mpc.c | 114 static inline void writeccr(struct mpc_i2c *i2c, u32 x) in writeccr() 124 static void mpc_i2c_fixup(struct mpc_i2c *i2c) in mpc_i2c_fixup() 148 static int i2c_mpc_wait_sr(struct mpc_i2c *i2c, int mask) in i2c_mpc_wait_sr() 176 static void mpc_i2c_fixup_A004447(struct mpc_i2c *i2c) in mpc_i2c_fixup_A004447() 275 struct mpc_i2c *i2c, in mpc_i2c_setup_52xx() 297 struct mpc_i2c *i2c, in mpc_i2c_setup_52xx() 305 struct mpc_i2c *i2c, in mpc_i2c_setup_512x() 333 struct mpc_i2c *i2c, in mpc_i2c_setup_512x() 461 struct mpc_i2c *i2c, in mpc_i2c_setup_8xxx() 486 struct mpc_i2c *i2c, in mpc_i2c_setup_8xxx() [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-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() 273 struct mtk_i2c *i2c; in mtk_i2c_probe() local [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-meson.c | 112 static void meson_i2c_set_mask(struct meson_i2c *i2c, int reg, u32 mask, in meson_i2c_set_mask() 123 static void meson_i2c_reset_tokens(struct meson_i2c *i2c) in meson_i2c_reset_tokens() 130 static void meson_i2c_add_token(struct meson_i2c *i2c, int token) in meson_i2c_add_token() 140 static void meson_gxbb_axg_i2c_set_clk_div(struct meson_i2c *i2c, unsigned int freq) in meson_gxbb_axg_i2c_set_clk_div() 188 static void meson6_i2c_set_clk_div(struct meson_i2c *i2c, unsigned int freq) in meson6_i2c_set_clk_div() 216 static void meson_i2c_get_data(struct meson_i2c *i2c, char *buf, int len) in meson_i2c_get_data() 234 static void meson_i2c_put_data(struct meson_i2c *i2c, char *buf, int len) in meson_i2c_put_data() 252 static void meson_i2c_prepare_xfer(struct meson_i2c *i2c) in meson_i2c_prepare_xfer() 279 static void meson_i2c_transfer_complete(struct meson_i2c *i2c, u32 ctrl) in meson_i2c_transfer_complete() 305 struct meson_i2c *i2c = dev_id; in meson_i2c_irq() local [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-versatile.c | 31 struct i2c_versatile *i2c = data; in i2c_versatile_setsda() local 38 struct i2c_versatile *i2c = data; in i2c_versatile_setscl() local 45 struct i2c_versatile *i2c = data; in i2c_versatile_getsda() local 51 struct i2c_versatile *i2c = data; in i2c_versatile_getscl() local 66 struct i2c_versatile *i2c; in i2c_versatile_probe() local 101 struct i2c_versatile *i2c = platform_get_drvdata(dev); in i2c_versatile_remove() local
|
/linux-6.1.9/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 …]
|
/linux-6.1.9/drivers/mfd/ |
D | max8997.c | 47 int max8997_read_reg(struct i2c_client *i2c, u8 reg, u8 *dest) in max8997_read_reg() 64 int max8997_bulk_read(struct i2c_client *i2c, u8 reg, int count, u8 *buf) in max8997_bulk_read() 79 int max8997_write_reg(struct i2c_client *i2c, u8 reg, u8 value) in max8997_write_reg() 91 int max8997_bulk_write(struct i2c_client *i2c, u8 reg, int count, u8 *buf) in max8997_bulk_write() 106 int max8997_update_reg(struct i2c_client *i2c, u8 reg, u8 val, u8 mask) in max8997_update_reg() 146 static inline unsigned long max8997_i2c_get_driver_data(struct i2c_client *i2c, in max8997_i2c_get_driver_data() 155 static int max8997_i2c_probe(struct i2c_client *i2c, in max8997_i2c_probe() 403 struct i2c_client *i2c = to_i2c_client(dev); in max8997_freeze() local 425 struct i2c_client *i2c = to_i2c_client(dev); in max8997_restore() local 447 struct i2c_client *i2c = to_i2c_client(dev); in max8997_suspend() local [all …]
|
D | max8998.c | 43 int max8998_read_reg(struct i2c_client *i2c, u8 reg, u8 *dest) in max8998_read_reg() 60 int max8998_bulk_read(struct i2c_client *i2c, u8 reg, int count, u8 *buf) in max8998_bulk_read() 75 int max8998_write_reg(struct i2c_client *i2c, u8 reg, u8 value) in max8998_write_reg() 87 int max8998_bulk_write(struct i2c_client *i2c, u8 reg, int count, u8 *buf) in max8998_bulk_write() 102 int max8998_update_reg(struct i2c_client *i2c, u8 reg, u8 val, u8 mask) in max8998_update_reg() 156 static inline unsigned long max8998_i2c_get_driver_data(struct i2c_client *i2c, in max8998_i2c_get_driver_data() 165 static int max8998_i2c_probe(struct i2c_client *i2c, in max8998_i2c_probe() 244 struct i2c_client *i2c = to_i2c_client(dev); in max8998_suspend() local 254 struct i2c_client *i2c = to_i2c_client(dev); in max8998_resume() local 314 struct i2c_client *i2c = to_i2c_client(dev); in max8998_freeze() 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 void stmpe_i2c_remove(struct i2c_client *i2c) in stmpe_i2c_remove()
|
/linux-6.1.9/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() 112 static void ad5593r_i2c_remove(struct i2c_client *i2c) in ad5593r_i2c_remove()
|
/linux-6.1.9/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 …]
|
/linux-6.1.9/drivers/gpu/drm/mgag200/ |
D | mgag200_i2c.c | 63 struct mga_i2c_chan *i2c = data; in mga_gpio_setsda() local 70 struct mga_i2c_chan *i2c = data; in mga_gpio_setscl() local 77 struct mga_i2c_chan *i2c = data; in mga_gpio_getsda() local 84 struct mga_i2c_chan *i2c = data; in mga_gpio_getscl() local 91 struct mga_i2c_chan *i2c = res; in mgag200_i2c_release() local 96 int mgag200_i2c_init(struct mga_device *mdev, struct mga_i2c_chan *i2c) in mgag200_i2c_init()
|