Searched refs:gpiodir (Results 1 - 9 of 9) sorted by relevance

/linux-4.4.14/drivers/gpio/
H A Dgpio-zx.c55 u16 gpiodir; zx_direction_input() local
61 gpiodir = readw_relaxed(chip->base + ZX_GPIO_DIR); zx_direction_input()
62 gpiodir &= ~BIT(offset); zx_direction_input()
63 writew_relaxed(gpiodir, chip->base + ZX_GPIO_DIR); zx_direction_input()
74 u16 gpiodir; zx_direction_output() local
80 gpiodir = readw_relaxed(chip->base + ZX_GPIO_DIR); zx_direction_output()
81 gpiodir |= BIT(offset); zx_direction_output()
82 writew_relaxed(gpiodir, chip->base + ZX_GPIO_DIR); zx_direction_output()
H A Dgpio-pl061.c65 unsigned char gpiodir; pl061_direction_input() local
71 gpiodir = readb(chip->base + GPIODIR); pl061_direction_input()
72 gpiodir &= ~(BIT(offset)); pl061_direction_input()
73 writeb(gpiodir, chip->base + GPIODIR); pl061_direction_input()
84 unsigned char gpiodir; pl061_direction_output() local
91 gpiodir = readb(chip->base + GPIODIR); pl061_direction_output()
92 gpiodir |= BIT(offset); pl061_direction_output()
93 writeb(gpiodir, chip->base + GPIODIR); pl061_direction_output()
/linux-4.4.14/sound/pci/ice1712/
H A Dhoontech.c318 ice->gpio.direction = ice->eeprom.gpiodir; snd_ice1712_ez8_init()
320 snd_ice1712_write(ice, ICE1712_IREG_GPIO_DIRECTION, ice->eeprom.gpiodir); snd_ice1712_ez8_init()
H A Ddelta.c635 ice->eeprom.gpiodir == 0x7b) snd_ice1712_delta_init()
639 ice->eeprom.gpiodir == 0xfb) snd_ice1712_delta_init()
H A Dice1724.c1553 ice->eeprom.gpiodir); snd_vt1724_proc_read()
2387 ice->eeprom.gpiodir = eeprom_triple(ice, ICE_EEP2_GPIO_DIR); snd_vt1724_read_eeprom()
2412 ice->gpio.direction = ice->eeprom.gpiodir; snd_vt1724_chip_init()
2414 snd_vt1724_set_gpio_dir(ice, ice->eeprom.gpiodir); snd_vt1724_chip_init()
H A Dice1712.c1582 snd_iprintf(buffer, " GPIO direction : 0x%x\n", ice->eeprom.gpiodir); snd_ice1712_proc_read()
2356 ice->eeprom.gpiodir = ice->eeprom.data[ICE_EEP1_GPIO_DIR]; snd_ice1712_read_eeprom()
2382 ice->gpio.direction = ice->eeprom.gpiodir; snd_ice1712_chip_init()
2386 ice->eeprom.gpiodir); snd_ice1712_chip_init()
H A Dice1712.h233 unsigned int gpiodir; member in struct:snd_ice1712_eeprom
/linux-4.4.14/sound/pci/hda/
H A Dpatch_sigmatel.c302 unsigned int gpiostate, gpiomask, gpiodir; stac_gpio_set() local
315 gpiodir = snd_hda_codec_read(codec, fg, 0, stac_gpio_set()
317 gpiodir |= dir_mask; stac_gpio_set()
325 AC_VERB_SET_GPIO_DIRECTION, gpiodir); /* sync */ stac_gpio_set()
H A Dpatch_realtek.c1813 unsigned int gpiostate, gpiomask, gpiodir; alc882_gpio_mute() local
1827 gpiodir = snd_hda_codec_read(codec, codec->core.afg, 0, alc882_gpio_mute()
1829 gpiodir |= (1 << pin); alc882_gpio_mute()
1835 AC_VERB_SET_GPIO_DIRECTION, gpiodir); alc882_gpio_mute()

Completed in 319 milliseconds