Searched refs:iop3xx_adap (Results 1 – 1 of 1) sorted by relevance
56 iop3xx_i2c_reset(struct i2c_algo_iop3xx_data *iop3xx_adap) in iop3xx_i2c_reset() argument59 __raw_writel(IOP3XX_ICR_UNIT_RESET, iop3xx_adap->ioaddr + CR_OFFSET); in iop3xx_i2c_reset()60 __raw_writel(IOP3XX_ISR_CLEARBITS, iop3xx_adap->ioaddr + SR_OFFSET); in iop3xx_i2c_reset()61 __raw_writel(0, iop3xx_adap->ioaddr + CR_OFFSET); in iop3xx_i2c_reset()65 iop3xx_i2c_enable(struct i2c_algo_iop3xx_data *iop3xx_adap) in iop3xx_i2c_enable() argument76 if (iop3xx_adap->gpio_scl) in iop3xx_i2c_enable()77 gpiod_set_raw_value(iop3xx_adap->gpio_scl, 0); in iop3xx_i2c_enable()78 if (iop3xx_adap->gpio_sda) in iop3xx_i2c_enable()79 gpiod_set_raw_value(iop3xx_adap->gpio_sda, 0); in iop3xx_i2c_enable()82 iop3xx_adap->SR_enabled = in iop3xx_i2c_enable()[all …]