Lines Matching defs:gpio
2060 pci_read_config_word(chip->pci, 0x58, &w); /* something magical with gpio and bus arb. */
2064 outw(0xfffe, ioaddr + 0x64); /* unmask gpio 0 */
2065 outw(0x0001, ioaddr + 0x68); /* gpio write */
2066 outw(0x0000, ioaddr + 0x60); /* write 0 to gpio 0 */
2068 outw(0x0001, ioaddr + 0x60); /* write 1 to gpio 1 */
2079 outw(0xfff7, ioaddr + 0x64); /* unmask gpio 3 */
2081 outw(0x0009, ioaddr + 0x68); /* gpio write 0 & 3 ?? */
2082 outw(0x0001, ioaddr + 0x60); /* write 1 to gpio */
2084 outw(0x0009, ioaddr + 0x60); /* write 9 to gpio */
2534 struct snd_es1968_tea575x_gpio gpio = *get_tea575x_gpio(chip);
2537 val |= (pins & TEA575X_DATA) ? (1 << gpio.data) : 0;
2538 val |= (pins & TEA575X_CLK) ? (1 << gpio.clk) : 0;
2539 val |= (pins & TEA575X_WREN) ? (1 << gpio.wren) : 0;
2547 struct snd_es1968_tea575x_gpio gpio = *get_tea575x_gpio(chip);
2551 if (val & (1 << gpio.data))
2553 if (val & (1 << gpio.most))
2564 struct snd_es1968_tea575x_gpio gpio = *get_tea575x_gpio(chip);
2567 outw(~((1 << gpio.data) | (1 << gpio.clk) | (1 << gpio.wren)),
2569 outw(odir | (1 << gpio.data) | (1 << gpio.clk) | (1 << gpio.wren),
2572 outw(~((1 << gpio.clk) | (1 << gpio.wren) | (1 << gpio.data) | (1 << gpio.most)),
2574 outw((odir & ~((1 << gpio.data) | (1 << gpio.most)))
2575 | (1 << gpio.clk) | (1 << gpio.wren), io + IO_DIR);