Searched refs:lpi2c_imx (Results 1 – 1 of 1) sorted by relevance
111 static void lpi2c_imx_intctrl(struct lpi2c_imx_struct *lpi2c_imx, in lpi2c_imx_intctrl() argument114 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() argument123 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() argument146 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 …]