Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/gpio/
H A Dxilinx_gpio.c20 u32 gpiodir; member
133 val = readl(&platdata->regs->gpiodir + bank * 2); in xilinx_gpio_get_function()
160 val = readl(&platdata->regs->gpiodir + bank * 2); in xilinx_gpio_direction_output()
162 writel(val, &platdata->regs->gpiodir + bank * 2); in xilinx_gpio_direction_output()
186 val = readl(&platdata->regs->gpiodir + bank * 2); in xilinx_gpio_direction_input()
188 writel(val, &platdata->regs->gpiodir + bank * 2); in xilinx_gpio_direction_input()
H A Dspear_gpio.c22 val = readl(&regs->gpiodir); in gpio_direction()
29 writel(val, &regs->gpiodir); in gpio_direction()
/openbmc/linux/drivers/gpio/
H A 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()
/openbmc/u-boot/arch/arm/include/asm/arch-spear/
H A Dgpio.h17 u32 gpiodir; /* 0x400 */ member
/openbmc/u-boot/board/freescale/common/
H A Dngpixis.h26 u8 gpiodir; member
/openbmc/linux/sound/pci/ice1712/
H A 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()
H A Ddelta.c621 ice->eeprom.gpiodir == 0x7b) in snd_ice1712_delta_init()
625 ice->eeprom.gpiodir == 0xfb) in snd_ice1712_delta_init()
H A Dice1712.h220 unsigned int gpiodir; member
H A Dice1712.c1534 snd_iprintf(buffer, " GPIO direction : 0x%x\n", ice->eeprom.gpiodir); in snd_ice1712_proc_read()
2305 ice->eeprom.gpiodir = ice->eeprom.data[ICE_EEP1_GPIO_DIR]; in snd_ice1712_read_eeprom()
2332 ice->gpio.direction = ice->eeprom.gpiodir; in snd_ice1712_chip_init()
2336 ice->eeprom.gpiodir); in snd_ice1712_chip_init()
H A Dice1724.c1509 ice->eeprom.gpiodir); in snd_vt1724_proc_read()
2333 ice->eeprom.gpiodir = eeprom_triple(ice, ICE_EEP2_GPIO_DIR); in snd_vt1724_read_eeprom()
2358 ice->gpio.direction = ice->eeprom.gpiodir; in snd_vt1724_chip_init()
2360 snd_vt1724_set_gpio_dir(ice, ice->eeprom.gpiodir); in snd_vt1724_chip_init()
/openbmc/linux/sound/pci/hda/
H A 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()