Lines Matching defs:tmp

100 	unsigned int tmp;
105 tmp = snd_ice1712_gpio_read(ice);
110 tmp |= AUREON_WM_RW;
111 tmp |= AUREON_CS8415_CS | AUREON_WM_CS; /* disable SPI devices */
113 tmp &= ~AUREON_SPI_MOSI;
114 tmp &= ~AUREON_SPI_CLK;
115 snd_ice1712_gpio_write(ice, tmp);
122 tmp |= AUREON_SPI_CLK;
123 snd_ice1712_gpio_write(ice, tmp);
125 tmp |= AUREON_SPI_MOSI;
126 snd_ice1712_gpio_write(ice, tmp);
128 tmp &= ~AUREON_SPI_MOSI;
129 snd_ice1712_gpio_write(ice, tmp);
131 tmp &= ~AUREON_SPI_CLK;
132 snd_ice1712_gpio_write(ice, tmp);
151 tmp &= ~AUREON_SPI_CLK;
152 snd_ice1712_gpio_write(ice, tmp);
155 tmp |= AUREON_SPI_MOSI;
157 tmp &= ~AUREON_SPI_MOSI;
158 snd_ice1712_gpio_write(ice, tmp);
160 tmp |= AUREON_SPI_CLK;
161 snd_ice1712_gpio_write(ice, tmp);
164 tmp &= ~AUREON_SPI_CLK;
165 snd_ice1712_gpio_write(ice, tmp);
167 tmp |= AUREON_SPI_CLK;
168 snd_ice1712_gpio_write(ice, tmp);
170 tmp &= ~AUREON_SPI_CLK;
171 snd_ice1712_gpio_write(ice, tmp);
174 tmp &= ~AUREON_SPI_CLK;
175 snd_ice1712_gpio_write(ice, tmp);
177 tmp &= ~AUREON_SPI_MOSI;
178 snd_ice1712_gpio_write(ice, tmp);
180 tmp |= AUREON_SPI_CLK;
181 snd_ice1712_gpio_write(ice, tmp);
183 tmp |= AUREON_SPI_MOSI;
184 snd_ice1712_gpio_write(ice, tmp);
233 unsigned int tmp;
236 tmp = (snd_ice1712_gpio_read(ice) & ~0xFF) | (reg & 0x7F);
237 snd_ice1712_gpio_write(ice, tmp);
239 tmp |= AUREON_AC97_ADDR;
240 snd_ice1712_gpio_write(ice, tmp);
242 tmp &= ~AUREON_AC97_ADDR;
243 snd_ice1712_gpio_write(ice, tmp);
247 tmp &= ~AUREON_AC97_DATA_MASK;
248 tmp |= val & AUREON_AC97_DATA_MASK;
249 snd_ice1712_gpio_write(ice, tmp);
251 tmp |= AUREON_AC97_DATA_LOW;
252 snd_ice1712_gpio_write(ice, tmp);
254 tmp &= ~AUREON_AC97_DATA_LOW;
255 snd_ice1712_gpio_write(ice, tmp);
259 tmp &= ~AUREON_AC97_DATA_MASK;
260 tmp |= (val >> 8) & AUREON_AC97_DATA_MASK;
262 snd_ice1712_gpio_write(ice, tmp);
264 tmp |= AUREON_AC97_DATA_HIGH;
265 snd_ice1712_gpio_write(ice, tmp);
267 tmp &= ~AUREON_AC97_DATA_HIGH;
268 snd_ice1712_gpio_write(ice, tmp);
272 tmp |= AUREON_AC97_COMMIT;
273 snd_ice1712_gpio_write(ice, tmp);
275 tmp &= ~AUREON_AC97_COMMIT;
276 snd_ice1712_gpio_write(ice, tmp);
317 unsigned int tmp;
320 tmp = (snd_ice1712_gpio_read(ice) | AUREON_AC97_RESET) & ~AUREON_AC97_DATA_MASK;
321 snd_ice1712_gpio_write(ice, tmp);
324 tmp &= ~AUREON_AC97_RESET;
325 snd_ice1712_gpio_write(ice, tmp);
328 tmp |= AUREON_AC97_RESET;
329 snd_ice1712_gpio_write(ice, tmp);
472 unsigned int tmp;
476 tmp = snd_ice1712_gpio_read(ice);
489 tmp |= AUREON_WM_RW;
492 tmp &= ~cs;
493 snd_ice1712_gpio_write(ice, tmp);
497 tmp &= ~clk;
498 snd_ice1712_gpio_write(ice, tmp);
501 tmp |= mosi;
503 tmp &= ~mosi;
504 snd_ice1712_gpio_write(ice, tmp);
506 tmp |= clk;
507 snd_ice1712_gpio_write(ice, tmp);
511 tmp &= ~clk;
512 tmp |= cs;
513 snd_ice1712_gpio_write(ice, tmp);
515 tmp |= clk;
516 snd_ice1712_gpio_write(ice, tmp);
527 unsigned int tmp;
529 tmp = (snd_ice1712_gpio_read(ice) & ~AUREON_SPI_CLK) | AUREON_CS8415_CS|AUREON_WM_CS;
530 snd_ice1712_gpio_write(ice, tmp);
531 tmp &= ~cs;
532 snd_ice1712_gpio_write(ice, tmp);
537 tmp |= AUREON_SPI_MOSI;
539 tmp &= ~AUREON_SPI_MOSI;
540 snd_ice1712_gpio_write(ice, tmp);
543 tmp |= AUREON_SPI_CLK;
544 snd_ice1712_gpio_write(ice, tmp);
547 tmp &= ~AUREON_SPI_CLK;
548 snd_ice1712_gpio_write(ice, tmp);
555 tmp = snd_ice1712_gpio_read(ice);
557 outdata |= (tmp & AUREON_SPI_MISO) ? 1 : 0;
560 tmp |= AUREON_SPI_CLK;
561 snd_ice1712_gpio_write(ice, tmp);
564 tmp &= ~AUREON_SPI_CLK;
565 snd_ice1712_gpio_write(ice, tmp);
571 tmp |= cs;
572 snd_ice1712_gpio_write(ice, tmp);
1267 unsigned int tmp, tmp2;
1269 tmp2 = tmp = snd_ice1712_gpio_read(ice);
1273 tmp |= AUREON_HP_SEL;
1275 tmp |= PRODIGY_HP_SEL;
1279 tmp &= ~AUREON_HP_SEL;
1281 tmp &= ~PRODIGY_HP_SEL;
1282 if (tmp != tmp2) {
1283 snd_ice1712_gpio_write(ice, tmp);
1291 unsigned int tmp = snd_ice1712_gpio_read(ice);
1293 return (tmp & AUREON_HP_SEL) != 0;
1996 unsigned int tmp;
2011 tmp = snd_ice1712_gpio_read(ice);
2012 tmp &= ~AUREON_WM_RESET;
2013 snd_ice1712_gpio_write(ice, tmp);
2015 tmp |= AUREON_WM_CS | AUREON_CS8415_CS;
2016 snd_ice1712_gpio_write(ice, tmp);
2018 tmp |= AUREON_WM_RESET;
2019 snd_ice1712_gpio_write(ice, tmp);