Lines Matching defs:rd
124 u32 rd;
139 rd = RXFIFO_RD(smbus);
140 if (rd & MRXFIFO_EMPTY) {
144 msg->buf[i] = rd & MRXFIFO_DATA_M;
183 unsigned int rd;
232 rd = RXFIFO_RD(smbus);
233 len = min_t(u8, (rd & MRXFIFO_DATA_M),
264 rd = RXFIFO_RD(smbus);
265 len = min_t(u8, (rd & MRXFIFO_DATA_M),
285 rd = RXFIFO_RD(smbus);
286 if (rd & MRXFIFO_EMPTY) {
290 data->byte = rd & MRXFIFO_DATA_M;
294 rd = RXFIFO_RD(smbus);
295 if (rd & MRXFIFO_EMPTY) {
299 data->word = rd & MRXFIFO_DATA_M;
300 rd = RXFIFO_RD(smbus);
301 if (rd & MRXFIFO_EMPTY) {
305 data->word |= (rd & MRXFIFO_DATA_M) << 8;
311 rd = RXFIFO_RD(smbus);
312 if (rd & MRXFIFO_EMPTY) {
316 data->block[i] = rd & MRXFIFO_DATA_M;