Lines Matching refs:xiic_i2c

64 struct xiic_i2c {  struct
175 static int xiic_start_xfer(struct xiic_i2c *i2c, struct i2c_msg *msgs, int num);
176 static void __xiic_start_xfer(struct xiic_i2c *i2c);
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()
253 static inline void xiic_irq_clr_en(struct xiic_i2c *i2c, u32 mask) in xiic_irq_clr_en()
259 static int xiic_clear_rx_fifo(struct xiic_i2c *i2c) in xiic_clear_rx_fifo()
278 static int xiic_reinit(struct xiic_i2c *i2c) in xiic_reinit()
306 static void xiic_deinit(struct xiic_i2c *i2c) in xiic_deinit()
317 static void xiic_read_rx(struct xiic_i2c *i2c) in xiic_read_rx()
342 static int xiic_tx_fifo_space(struct xiic_i2c *i2c) in xiic_tx_fifo_space()
348 static void xiic_fill_tx_fifo(struct xiic_i2c *i2c) in xiic_fill_tx_fifo()
370 static void xiic_wakeup(struct xiic_i2c *i2c, enum xilinx_i2c_state code) in xiic_wakeup()
381 struct xiic_i2c *i2c = dev_id; in xiic_process()
542 static int xiic_bus_busy(struct xiic_i2c *i2c) in xiic_bus_busy()
549 static int xiic_busy(struct xiic_i2c *i2c) in xiic_busy()
579 static void xiic_start_recv(struct xiic_i2c *i2c) in xiic_start_recv()
616 static void xiic_start_send(struct xiic_i2c *i2c) in xiic_start_send()
646 static void __xiic_start_xfer(struct xiic_i2c *i2c) in __xiic_start_xfer()
667 static int xiic_start_xfer(struct xiic_i2c *i2c, struct i2c_msg *msgs, int num) in xiic_start_xfer()
694 struct xiic_i2c *i2c = i2c_get_adapdata(adap); in xiic_xfer()
753 struct xiic_i2c *i2c; in xiic_i2c_probe()
855 struct xiic_i2c *i2c = platform_get_drvdata(pdev); in xiic_i2c_remove()
885 struct xiic_i2c *i2c = dev_get_drvdata(dev); in xiic_i2c_runtime_suspend()
894 struct xiic_i2c *i2c = dev_get_drvdata(dev); in xiic_i2c_runtime_resume()