Home
last modified time | relevance | path

Searched refs:gpiodir (Results 1 – 8 of 8) sorted by relevance

/linux-4.1.27/drivers/gpio/
Dgpio-pl061.c89 unsigned char gpiodir; in pl061_direction_input() local
95 gpiodir = readb(chip->base + GPIODIR); in pl061_direction_input()
96 gpiodir &= ~(BIT(offset)); in pl061_direction_input()
97 writeb(gpiodir, chip->base + GPIODIR); in pl061_direction_input()
108 unsigned char gpiodir; in pl061_direction_output() local
115 gpiodir = readb(chip->base + GPIODIR); in pl061_direction_output()
116 gpiodir |= BIT(offset); in pl061_direction_output()
117 writeb(gpiodir, chip->base + GPIODIR); in pl061_direction_output()
/linux-4.1.27/sound/pci/ice1712/
Dhoontech.c318 ice->gpio.direction = ice->eeprom.gpiodir; in snd_ice1712_ez8_init()
320 snd_ice1712_write(ice, ICE1712_IREG_GPIO_DIRECTION, ice->eeprom.gpiodir); in snd_ice1712_ez8_init()
Ddelta.c635 ice->eeprom.gpiodir == 0x7b) in snd_ice1712_delta_init()
639 ice->eeprom.gpiodir == 0xfb) in snd_ice1712_delta_init()
Dice1712.h233 unsigned int gpiodir; member
Dice1724.c1553 ice->eeprom.gpiodir); in snd_vt1724_proc_read()
2387 ice->eeprom.gpiodir = eeprom_triple(ice, ICE_EEP2_GPIO_DIR); in snd_vt1724_read_eeprom()
2412 ice->gpio.direction = ice->eeprom.gpiodir; in snd_vt1724_chip_init()
2414 snd_vt1724_set_gpio_dir(ice, ice->eeprom.gpiodir); in snd_vt1724_chip_init()
Dice1712.c1582 snd_iprintf(buffer, " GPIO direction : 0x%x\n", ice->eeprom.gpiodir); in snd_ice1712_proc_read()
2356 ice->eeprom.gpiodir = ice->eeprom.data[ICE_EEP1_GPIO_DIR]; in snd_ice1712_read_eeprom()
2382 ice->gpio.direction = ice->eeprom.gpiodir; in snd_ice1712_chip_init()
2386 ice->eeprom.gpiodir); in snd_ice1712_chip_init()
/linux-4.1.27/sound/pci/hda/
Dpatch_sigmatel.c302 unsigned int gpiostate, gpiomask, gpiodir; in stac_gpio_set() local
315 gpiodir = snd_hda_codec_read(codec, fg, 0, in stac_gpio_set()
317 gpiodir |= dir_mask; in stac_gpio_set()
325 AC_VERB_SET_GPIO_DIRECTION, gpiodir); /* sync */ in stac_gpio_set()
Dpatch_realtek.c1808 unsigned int gpiostate, gpiomask, gpiodir; in alc882_gpio_mute() local
1822 gpiodir = snd_hda_codec_read(codec, codec->core.afg, 0, in alc882_gpio_mute()
1824 gpiodir |= (1 << pin); in alc882_gpio_mute()
1830 AC_VERB_SET_GPIO_DIRECTION, gpiodir); in alc882_gpio_mute()