Lines Matching defs:sr
111 u32 sr = __raw_readl(iop3xx_adap->ioaddr + SR_OFFSET);
113 if ((sr &= iop3xx_adap->SR_enabled)) {
114 __raw_writel(sr, iop3xx_adap->ioaddr + SR_OFFSET);
115 iop3xx_adap->SR_received |= sr;
123 iop3xx_i2c_error(u32 sr)
127 if ((sr & IOP3XX_ISR_BERRD)) {
131 if ((sr & IOP3XX_ISR_ALD)) {
142 u32 sr;
145 sr = iop3xx_adap->SR_received;
149 return sr;
164 unsigned sr = 0;
172 (done = compare(sr = iop3xx_i2c_get_srstat(iop3xx_adap), flags)),
175 if ((rc = iop3xx_i2c_error(sr)) < 0) {
176 *status = sr;
179 *status = sr;
184 *status = sr;