Lines Matching defs:gpio
2063 pci_read_config_word(chip->pci, 0x58, &w); /* something magical with gpio and bus arb. */
2067 outw(0xfffe, ioaddr + 0x64); /* unmask gpio 0 */
2068 outw(0x0001, ioaddr + 0x68); /* gpio write */
2069 outw(0x0000, ioaddr + 0x60); /* write 0 to gpio 0 */
2071 outw(0x0001, ioaddr + 0x60); /* write 1 to gpio 1 */
2082 outw(0xfff7, ioaddr + 0x64); /* unmask gpio 3 */
2084 outw(0x0009, ioaddr + 0x68); /* gpio write 0 & 3 ?? */
2085 outw(0x0001, ioaddr + 0x60); /* write 1 to gpio */
2087 outw(0x0009, ioaddr + 0x60); /* write 9 to gpio */
2544 struct snd_es1968_tea575x_gpio gpio = *get_tea575x_gpio(chip);
2547 val |= (pins & TEA575X_DATA) ? (1 << gpio.data) : 0;
2548 val |= (pins & TEA575X_CLK) ? (1 << gpio.clk) : 0;
2549 val |= (pins & TEA575X_WREN) ? (1 << gpio.wren) : 0;
2557 struct snd_es1968_tea575x_gpio gpio = *get_tea575x_gpio(chip);
2561 if (val & (1 << gpio.data))
2563 if (val & (1 << gpio.most))
2574 struct snd_es1968_tea575x_gpio gpio = *get_tea575x_gpio(chip);
2577 outw(~((1 << gpio.data) | (1 << gpio.clk) | (1 << gpio.wren)),
2579 outw(odir | (1 << gpio.data) | (1 << gpio.clk) | (1 << gpio.wren),
2582 outw(~((1 << gpio.clk) | (1 << gpio.wren) | (1 << gpio.data) | (1 << gpio.most)),
2584 outw((odir & ~((1 << gpio.data) | (1 << gpio.most)))
2585 | (1 << gpio.clk) | (1 << gpio.wren), io + IO_DIR);