Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/i2c/
H A Dmv_i2c.c74 writel(readl(&base->icr) & ~ICR_IUE, &base->icr); /* disable unit */ in i2c_reset()
77 writel(readl(&base->icr) & ~ICR_IUE, &base->icr); /* disable unit */ in i2c_reset()
85 writel(readl(&base->icr) | ICR_IUE, &base->icr); /* enable unit */ in i2c_reset()
388 writel(readl(&base->icr) & ~(ICR_SCLE | ICR_IUE), &base->icr); in i2c_board_init()
H A Dmv_i2c.h36 #define ICR_IUE 0x40 /* unit enable */ macro
/openbmc/linux/drivers/i2c/busses/
H A Di2c-pxa.c47 #define ICR_IUE (1 << 6) /* unit enable */ macro
333 PXA_BIT(ICR_IUE, "IUE", "iue"),
594 writel(readl(_ICR(i2c)) | ICR_IUE, _ICR(i2c)); in i2c_pxa_enable()
1239 if (!(readl(_ICR(i2c)) & ICR_IUE)) in i2c_pxa_pio_xfer()