• Home
  • Raw
  • Download

Lines Matching defs:i2c

164 #define xiic_tx_space(i2c) ((i2c)->tx_msg->len - (i2c)->tx_pos)  argument
165 #define xiic_rx_space(i2c) ((i2c)->rx_msg->len - (i2c)->rx_pos) argument
178 static inline void xiic_setreg8(struct xiic_i2c *i2c, int reg, u8 value) in xiic_setreg8()
186 static inline u8 xiic_getreg8(struct xiic_i2c *i2c, int reg) in xiic_getreg8()
197 static inline void xiic_setreg16(struct xiic_i2c *i2c, int reg, u16 value) in xiic_setreg16()
205 static inline void xiic_setreg32(struct xiic_i2c *i2c, int reg, int value) in xiic_setreg32()
213 static inline int xiic_getreg32(struct xiic_i2c *i2c, int reg) in xiic_getreg32()
224 static inline void xiic_irq_dis(struct xiic_i2c *i2c, u32 mask) in xiic_irq_dis()
230 static inline void xiic_irq_en(struct xiic_i2c *i2c, u32 mask) in xiic_irq_en()
236 static inline void xiic_irq_clr(struct xiic_i2c *i2c, u32 mask) in xiic_irq_clr()
242 static inline void xiic_irq_clr_en(struct xiic_i2c *i2c, u32 mask) in xiic_irq_clr_en()
248 static void xiic_clear_rx_fifo(struct xiic_i2c *i2c) in xiic_clear_rx_fifo()
257 static void xiic_reinit(struct xiic_i2c *i2c) in xiic_reinit()
279 static void xiic_deinit(struct xiic_i2c *i2c) in xiic_deinit()
290 static void xiic_read_rx(struct xiic_i2c *i2c) in xiic_read_rx()
315 static int xiic_tx_fifo_space(struct xiic_i2c *i2c) in xiic_tx_fifo_space()
321 static void xiic_fill_tx_fifo(struct xiic_i2c *i2c) in xiic_fill_tx_fifo()
342 static void xiic_wakeup(struct xiic_i2c *i2c, int code) in xiic_wakeup()
353 struct xiic_i2c *i2c = dev_id; in xiic_process() local
494 static int xiic_bus_busy(struct xiic_i2c *i2c) in xiic_bus_busy()
501 static int xiic_busy(struct xiic_i2c *i2c) in xiic_busy()
522 static void xiic_start_recv(struct xiic_i2c *i2c) in xiic_start_recv()
562 static void xiic_start_send(struct xiic_i2c *i2c) in xiic_start_send()
594 struct xiic_i2c *i2c = dev_id; in xiic_isr() local
612 static void __xiic_start_xfer(struct xiic_i2c *i2c) in __xiic_start_xfer()
656 static void xiic_start_xfer(struct xiic_i2c *i2c) in xiic_start_xfer()
666 struct xiic_i2c *i2c = i2c_get_adapdata(adap); in xiic_xfer() local
727 struct xiic_i2c *i2c; in xiic_i2c_probe() local
821 struct xiic_i2c *i2c = platform_get_drvdata(pdev); in xiic_i2c_remove() local
849 struct xiic_i2c *i2c = dev_get_drvdata(dev); in xiic_i2c_runtime_suspend() local
858 struct xiic_i2c *i2c = dev_get_drvdata(dev); in xiic_i2c_runtime_resume() local