Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/i2c/busses/
Di2c-imx-lpi2c.c111 static void lpi2c_imx_intctrl(struct lpi2c_imx_struct *lpi2c_imx, in lpi2c_imx_intctrl() argument
114 writel(enable, lpi2c_imx->base + LPI2C_MIER); in lpi2c_imx_intctrl()
117 static int lpi2c_imx_bus_busy(struct lpi2c_imx_struct *lpi2c_imx) in lpi2c_imx_bus_busy() argument
123 temp = readl(lpi2c_imx->base + LPI2C_MSR); in lpi2c_imx_bus_busy()
127 writel(temp, lpi2c_imx->base + LPI2C_MSR); in lpi2c_imx_bus_busy()
135 dev_dbg(&lpi2c_imx->adapter.dev, "bus not work\n"); in lpi2c_imx_bus_busy()
144 static void lpi2c_imx_set_mode(struct lpi2c_imx_struct *lpi2c_imx) in lpi2c_imx_set_mode() argument
146 unsigned int bitrate = lpi2c_imx->bitrate; in lpi2c_imx_set_mode()
160 lpi2c_imx->mode = mode; in lpi2c_imx_set_mode()
163 static int lpi2c_imx_start(struct lpi2c_imx_struct *lpi2c_imx, in lpi2c_imx_start() argument
[all …]