Lines Matching full:mmio
46 u8 __iomem *mmio = par->mmio_start_virtual; in i810i2c_setscl() local
49 i810_writel(mmio, chan->ddc_base, SCL_DIR_MASK | SCL_VAL_MASK); in i810i2c_setscl()
51 i810_writel(mmio, chan->ddc_base, SCL_DIR | SCL_DIR_MASK | SCL_VAL_MASK); in i810i2c_setscl()
52 i810_readl(mmio, chan->ddc_base); /* flush posted write */ in i810i2c_setscl()
59 u8 __iomem *mmio = par->mmio_start_virtual; in i810i2c_setsda() local
62 i810_writel(mmio, chan->ddc_base, SDA_DIR_MASK | SDA_VAL_MASK); in i810i2c_setsda()
64 i810_writel(mmio, chan->ddc_base, SDA_DIR | SDA_DIR_MASK | SDA_VAL_MASK); in i810i2c_setsda()
65 i810_readl(mmio, chan->ddc_base); /* flush posted write */ in i810i2c_setsda()
72 u8 __iomem *mmio = par->mmio_start_virtual; in i810i2c_getscl() local
74 i810_writel(mmio, chan->ddc_base, SCL_DIR_MASK); in i810i2c_getscl()
75 i810_writel(mmio, chan->ddc_base, 0); in i810i2c_getscl()
76 return ((i810_readl(mmio, chan->ddc_base) & SCL_VAL_IN) != 0); in i810i2c_getscl()
83 u8 __iomem *mmio = par->mmio_start_virtual; in i810i2c_getsda() local
85 i810_writel(mmio, chan->ddc_base, SDA_DIR_MASK); in i810i2c_getsda()
86 i810_writel(mmio, chan->ddc_base, 0); in i810i2c_getsda()
87 return ((i810_readl(mmio, chan->ddc_base) & SDA_VAL_IN) != 0); in i810i2c_getsda()