Lines Matching refs:cobalt_i2c_regs
14 struct cobalt_i2c_regs { struct
81 static struct cobalt_i2c_regs __iomem *
82 cobalt_i2c_regs(struct cobalt *cobalt, unsigned idx) in cobalt_i2c_regs() function
87 return (struct cobalt_i2c_regs __iomem *) in cobalt_i2c_regs()
90 return (struct cobalt_i2c_regs __iomem *) in cobalt_i2c_regs()
93 return (struct cobalt_i2c_regs __iomem *) in cobalt_i2c_regs()
96 return (struct cobalt_i2c_regs __iomem *) in cobalt_i2c_regs()
99 return (struct cobalt_i2c_regs __iomem *) in cobalt_i2c_regs()
107 static int cobalt_tx_bytes(struct cobalt_i2c_regs __iomem *regs, in cobalt_tx_bytes()
165 static int cobalt_rx_bytes(struct cobalt_i2c_regs __iomem *regs, in cobalt_rx_bytes()
222 static int cobalt_stop(struct cobalt_i2c_regs __iomem *regs, in cobalt_stop()
234 struct cobalt_i2c_regs __iomem *regs = data->regs; in cobalt_xfer()
318 struct cobalt_i2c_regs __iomem *regs = in cobalt_i2c_init()
319 cobalt_i2c_regs(cobalt, i); in cobalt_i2c_init()