Home
last modified time | relevance | path

Searched refs:uniphier_fi2c_priv (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/i2c/busses/
H A Di2c-uniphier-f.c78 struct uniphier_fi2c_priv { struct
93 static void uniphier_fi2c_fill_txfifo(struct uniphier_fi2c_priv *priv, in uniphier_fi2c_fill_txfifo() argument
114 static void uniphier_fi2c_drain_rxfifo(struct uniphier_fi2c_priv *priv) in uniphier_fi2c_drain_rxfifo()
128 static void uniphier_fi2c_set_irqs(struct uniphier_fi2c_priv *priv) in uniphier_fi2c_set_irqs()
133 static void uniphier_fi2c_clear_irqs(struct uniphier_fi2c_priv *priv, in uniphier_fi2c_clear_irqs()
139 static void uniphier_fi2c_stop(struct uniphier_fi2c_priv *priv) in uniphier_fi2c_stop()
149 struct uniphier_fi2c_priv *priv = dev_id; in uniphier_fi2c_interrupt()
247 static void uniphier_fi2c_tx_init(struct uniphier_fi2c_priv *priv, u16 addr, in uniphier_fi2c_tx_init()
266 static void uniphier_fi2c_rx_init(struct uniphier_fi2c_priv *priv, u16 addr) in uniphier_fi2c_rx_init()
296 static void uniphier_fi2c_reset(struct uniphier_fi2c_priv *priv) in uniphier_fi2c_reset()
[all …]
/openbmc/u-boot/drivers/i2c/
H A Di2c-uniphier-f.c65 struct uniphier_fi2c_priv { struct
72 static void uniphier_fi2c_reset(struct uniphier_fi2c_priv *priv) in uniphier_fi2c_reset() argument
77 static int uniphier_fi2c_check_bus_busy(struct uniphier_fi2c_priv *priv) in uniphier_fi2c_check_bus_busy()
94 struct uniphier_fi2c_priv *priv = dev_get_priv(dev); in uniphier_fi2c_probe()
116 static int wait_for_irq(struct uniphier_fi2c_priv *priv, u32 flags, in wait_for_irq()
143 static int issue_stop(struct uniphier_fi2c_priv *priv, int old_ret) in issue_stop()
157 static int uniphier_fi2c_transmit(struct uniphier_fi2c_priv *priv, uint addr, in uniphier_fi2c_transmit()
198 static int uniphier_fi2c_receive(struct uniphier_fi2c_priv *priv, uint addr, in uniphier_fi2c_receive()
251 struct uniphier_fi2c_priv *priv = dev_get_priv(bus); in uniphier_fi2c_xfer()
280 struct uniphier_fi2c_priv *priv = dev_get_priv(bus); in uniphier_fi2c_set_bus_speed()
[all …]