Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpio/
Dgpio-zx.c51 u16 gpiodir; in zx_direction_input() local
57 gpiodir = readw_relaxed(chip->base + ZX_GPIO_DIR); in zx_direction_input()
58 gpiodir &= ~BIT(offset); in zx_direction_input()
59 writew_relaxed(gpiodir, chip->base + ZX_GPIO_DIR); in zx_direction_input()
70 u16 gpiodir; in zx_direction_output() local
76 gpiodir = readw_relaxed(chip->base + ZX_GPIO_DIR); in zx_direction_output()
77 gpiodir |= BIT(offset); in zx_direction_output()
78 writew_relaxed(gpiodir, chip->base + ZX_GPIO_DIR); in zx_direction_output()
Dgpio-pl061.c77 unsigned char gpiodir; in pl061_direction_input() local
80 gpiodir = readb(pl061->base + GPIODIR); in pl061_direction_input()
81 gpiodir &= ~(BIT(offset)); in pl061_direction_input()
82 writeb(gpiodir, pl061->base + GPIODIR); in pl061_direction_input()
93 unsigned char gpiodir; in pl061_direction_output() local
97 gpiodir = readb(pl061->base + GPIODIR); in pl061_direction_output()
98 gpiodir |= BIT(offset); in pl061_direction_output()
99 writeb(gpiodir, pl061->base + GPIODIR); in pl061_direction_output()
/kernel/linux/linux-5.10/sound/pci/ice1712/
Dhoontech.c324 ice->gpio.direction = ice->eeprom.gpiodir; in snd_ice1712_ez8_init()
326 snd_ice1712_write(ice, ICE1712_IREG_GPIO_DIRECTION, ice->eeprom.gpiodir); in snd_ice1712_ez8_init()
Ddelta.c621 ice->eeprom.gpiodir == 0x7b) in snd_ice1712_delta_init()
625 ice->eeprom.gpiodir == 0xfb) in snd_ice1712_delta_init()
Dice1712.h220 unsigned int gpiodir; member
Dice1724.c1528 ice->eeprom.gpiodir); in snd_vt1724_proc_read()
2359 ice->eeprom.gpiodir = eeprom_triple(ice, ICE_EEP2_GPIO_DIR); in snd_vt1724_read_eeprom()
2384 ice->gpio.direction = ice->eeprom.gpiodir; in snd_vt1724_chip_init()
2386 snd_vt1724_set_gpio_dir(ice, ice->eeprom.gpiodir); in snd_vt1724_chip_init()
Dice1712.c1540 snd_iprintf(buffer, " GPIO direction : 0x%x\n", ice->eeprom.gpiodir); in snd_ice1712_proc_read()
2311 ice->eeprom.gpiodir = ice->eeprom.data[ICE_EEP1_GPIO_DIR]; in snd_ice1712_read_eeprom()
2338 ice->gpio.direction = ice->eeprom.gpiodir; in snd_ice1712_chip_init()
2342 ice->eeprom.gpiodir); in snd_ice1712_chip_init()
/kernel/linux/linux-5.10/sound/pci/hda/
Dpatch_sigmatel.c292 unsigned int gpiostate, gpiomask, gpiodir; in stac_gpio_set() local
305 gpiodir = snd_hda_codec_read(codec, fg, 0, in stac_gpio_set()
307 gpiodir |= dir_mask; in stac_gpio_set()
315 AC_VERB_SET_GPIO_DIRECTION, gpiodir); /* sync */ in stac_gpio_set()