Home
last modified time | relevance | path

Searched refs:reg_dir (Results 1 – 6 of 6) sorted by relevance

/openbmc/qemu/tests/qtest/
H A Dfdc-test.c46 reg_dir = 0x7, enumerator
279 dir = inb(FLOPPY_BASE + reg_dir); in test_no_media_on_start()
281 dir = inb(FLOPPY_BASE + reg_dir); in test_no_media_on_start()
284 dir = inb(FLOPPY_BASE + reg_dir); in test_no_media_on_start()
286 dir = inb(FLOPPY_BASE + reg_dir); in test_no_media_on_start()
309 dir = inb(FLOPPY_BASE + reg_dir); in test_media_insert()
311 dir = inb(FLOPPY_BASE + reg_dir); in test_media_insert()
315 dir = inb(FLOPPY_BASE + reg_dir); in test_media_insert()
317 dir = inb(FLOPPY_BASE + reg_dir); in test_media_insert()
322 dir = inb(FLOPPY_BASE + reg_dir); in test_media_insert()
[all …]
/openbmc/u-boot/drivers/gpio/
H A Daspeed_gpio.c113 reg_dir, enumerator
155 case reg_dir: in bank_reg()
198 u32 dir = readl(bank_reg(priv, bank, reg_dir)); in aspeed_gpio_direction_input()
201 writel(dir, bank_reg(priv, bank, reg_dir)); in aspeed_gpio_direction_input()
212 u32 dir = readl(bank_reg(priv, bank, reg_dir)); in aspeed_gpio_direction_output()
216 writel(dir, bank_reg(priv, bank, reg_dir)); in aspeed_gpio_direction_output()
259 if(readl(bank_reg(priv, bank, reg_dir)) & GPIO_BIT(offset)) in aspeed_gpio_get_function()
/openbmc/linux/drivers/pinctrl/vt8500/
H A Dpinctrl-wmt.h16 .reg_dir = __dir, \
37 u32 reg_dir; member
H A Dpinctrl-wmt.c90 u32 reg_dir = data->banks[bank].reg_dir; in wmt_set_pinmux() local
92 if (reg_dir == NO_REG) { in wmt_set_pinmux()
106 wmt_clearbits(data, reg_dir, BIT(bit)); in wmt_set_pinmux()
111 wmt_setbits(data, reg_dir, BIT(bit)); in wmt_set_pinmux()
485 u32 reg_dir = data->banks[bank].reg_dir; in wmt_gpio_get_direction() local
488 val = readl_relaxed(data->base + reg_dir); in wmt_gpio_get_direction()
/openbmc/linux/drivers/pinctrl/
H A Dpinctrl-sx150x.c80 u8 reg_dir; member
154 .reg_dir = 0x01,
174 .reg_dir = 0x01,
197 .reg_dir = 0x02,
220 .reg_dir = 0x01,
239 .reg_dir = 0x01,
261 .reg_dir = 0x02,
284 .reg_dir = 0x07,
305 .reg_dir = 0x07,
326 .reg_dir = 0x0e,
[all …]
/openbmc/linux/drivers/gpio/
H A Dgpio-aspeed.c177 reg_dir, enumerator
219 case reg_dir: in bank_reg()
434 void __iomem *addr = bank_reg(gpio, bank, reg_dir); in aspeed_gpio_dir_in()
462 void __iomem *addr = bank_reg(gpio, bank, reg_dir); in aspeed_gpio_dir_out()
501 val = ioread32(bank_reg(gpio, bank, reg_dir)) & GPIO_BIT(offset); in aspeed_gpio_get_direction()