Lines Matching refs:ddc_base
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()
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()
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()
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()
132 par->chan[0].ddc_base = GPIOA; in i810_create_i2c_busses()
134 par->chan[1].ddc_base = GPIOB; in i810_create_i2c_busses()
136 par->chan[2].ddc_base = GPIOC; in i810_create_i2c_busses()