Searched refs:li2c (Results 1 – 3 of 3) sorted by relevance
16 static void __lsdc_gpio_i2c_set(struct lsdc_i2c * const li2c, int mask, int state) in __lsdc_gpio_i2c_set() argument18 struct lsdc_device *ldev = to_lsdc(li2c->ddev); in __lsdc_gpio_i2c_set()29 val = readb(li2c->dir_reg); in __lsdc_gpio_i2c_set()31 writeb(val, li2c->dir_reg); in __lsdc_gpio_i2c_set()34 val = readb(li2c->dir_reg); in __lsdc_gpio_i2c_set()36 writeb(val, li2c->dir_reg); in __lsdc_gpio_i2c_set()39 val = readb(li2c->dat_reg); in __lsdc_gpio_i2c_set()41 writeb(val, li2c->dat_reg); in __lsdc_gpio_i2c_set()52 static int __lsdc_gpio_i2c_get(struct lsdc_i2c * const li2c, int mask) in __lsdc_gpio_i2c_get() argument54 struct lsdc_device *ldev = to_lsdc(li2c->ddev); in __lsdc_gpio_i2c_get()[all …]
85 if (dispipe->li2c) in lsdc_modeset_init()86 ddc = &dispipe->li2c->adapter; in lsdc_modeset_init()
192 struct lsdc_i2c *li2c; member