Searched refs:gpiodir (Results 1 – 8 of 8) sorted by relevance
/Linux-v4.19/drivers/gpio/ |
D | gpio-zx.c | 54 u16 gpiodir; in zx_direction_input() local 60 gpiodir = readw_relaxed(chip->base + ZX_GPIO_DIR); in zx_direction_input() 61 gpiodir &= ~BIT(offset); in zx_direction_input() 62 writew_relaxed(gpiodir, chip->base + ZX_GPIO_DIR); in zx_direction_input() 73 u16 gpiodir; in zx_direction_output() local 79 gpiodir = readw_relaxed(chip->base + ZX_GPIO_DIR); in zx_direction_output() 80 gpiodir |= BIT(offset); in zx_direction_output() 81 writew_relaxed(gpiodir, chip->base + ZX_GPIO_DIR); in zx_direction_output()
|
D | gpio-pl061.c | 75 unsigned char gpiodir; in pl061_direction_input() local 78 gpiodir = readb(pl061->base + GPIODIR); in pl061_direction_input() 79 gpiodir &= ~(BIT(offset)); in pl061_direction_input() 80 writeb(gpiodir, pl061->base + GPIODIR); in pl061_direction_input() 91 unsigned char gpiodir; in pl061_direction_output() local 95 gpiodir = readb(pl061->base + GPIODIR); in pl061_direction_output() 96 gpiodir |= BIT(offset); in pl061_direction_output() 97 writeb(gpiodir, pl061->base + GPIODIR); in pl061_direction_output()
|
/Linux-v4.19/sound/pci/ice1712/ |
D | hoontech.c | 338 ice->gpio.direction = ice->eeprom.gpiodir; in snd_ice1712_ez8_init() 340 snd_ice1712_write(ice, ICE1712_IREG_GPIO_DIRECTION, ice->eeprom.gpiodir); in snd_ice1712_ez8_init()
|
D | delta.c | 635 ice->eeprom.gpiodir == 0x7b) in snd_ice1712_delta_init() 639 ice->eeprom.gpiodir == 0xfb) in snd_ice1712_delta_init()
|
D | ice1712.h | 234 unsigned int gpiodir; member
|
D | ice1724.c | 1551 ice->eeprom.gpiodir); in snd_vt1724_proc_read() 2385 ice->eeprom.gpiodir = eeprom_triple(ice, ICE_EEP2_GPIO_DIR); in snd_vt1724_read_eeprom() 2410 ice->gpio.direction = ice->eeprom.gpiodir; in snd_vt1724_chip_init() 2412 snd_vt1724_set_gpio_dir(ice, ice->eeprom.gpiodir); in snd_vt1724_chip_init()
|
D | ice1712.c | 1582 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-v4.19/sound/pci/hda/ |
D | patch_sigmatel.c | 303 unsigned int gpiostate, gpiomask, gpiodir; in stac_gpio_set() local 316 gpiodir = snd_hda_codec_read(codec, fg, 0, in stac_gpio_set() 318 gpiodir |= dir_mask; in stac_gpio_set() 326 AC_VERB_SET_GPIO_DIRECTION, gpiodir); /* sync */ in stac_gpio_set()
|