Lines Matching defs:tmp
45 unsigned char tmp = 0;
47 tmp |= ICE1712_EWX2496_SERIAL_CLOCK;
49 tmp |= ICE1712_EWX2496_SERIAL_DATA;
50 snd_ice1712_write(ice, ICE1712_IREG_GPIO_DATA, tmp);
161 unsigned char tmp;
166 tmp = ICE1712_EWS88_SERIAL_DATA |
170 ice->gpio.direction | tmp);
171 snd_ice1712_write(ice, ICE1712_IREG_GPIO_WRITE_MASK, ~tmp);
187 unsigned char tmp;
189 tmp = ICE1712_EWX2496_SERIAL_DATA |
194 ice->gpio.direction | tmp);
195 snd_ice1712_write(ice, ICE1712_IREG_GPIO_WRITE_MASK, ~tmp);
203 unsigned char tmp;
205 tmp = priv->cs_mask = priv->cs_addr = (1 << chip) & ICE1712_6FIRE_AK4524_CS_MASK;
206 tmp |= ICE1712_6FIRE_SERIAL_DATA |
210 ice->gpio.direction | tmp);
211 snd_ice1712_write(ice, ICE1712_IREG_GPIO_WRITE_MASK, ~tmp);
304 unsigned char tmp;
308 tmp = ice->spdif.cs8403_stream_bits;
309 if (tmp & 0x10) /* consumer */
310 tmp &= (tmp & 0x01) ? ~0x06 : ~0x60;
312 case 32000: tmp |= (tmp & 0x01) ? 0x02 : 0x00; break;
313 case 44100: tmp |= (tmp & 0x01) ? 0x06 : 0x40; break;
314 case 48000: tmp |= (tmp & 0x01) ? 0x04 : 0x20; break;
315 default: tmp |= (tmp & 0x01) ? 0x06 : 0x40; break;
317 change = ice->spdif.cs8403_stream_bits != tmp;
318 ice->spdif.cs8403_stream_bits = tmp;
322 snd_ice1712_ews_cs8404_spdif_write(ice, tmp);