Home
last modified time | relevance | path

Searched refs:oe (Results 1 – 7 of 7) sorted by relevance

/drivers/staging/comedi/drivers/
Ddt2817.c48 unsigned int oe = 0; in dt2817_dio_insn_config() local
66 oe |= 0x1; in dt2817_dio_insn_config()
68 oe |= 0x2; in dt2817_dio_insn_config()
70 oe |= 0x4; in dt2817_dio_insn_config()
72 oe |= 0x8; in dt2817_dio_insn_config()
74 outb(oe, dev->iobase + DT2817_CR); in dt2817_dio_insn_config()
/drivers/gpio/
Dgpio-etraxfs.c74 unsigned int oe; member
95 .oe = ETRAX_FS_rw_pa_oe,
102 .oe = ETRAX_FS_rw_pb_oe,
109 .oe = ETRAX_FS_rw_pc_oe,
116 .oe = ETRAX_FS_rw_pd_oe,
123 .oe = ETRAX_FS_rw_pe_oe,
142 .oe = ARTPEC3_rw_pa_oe,
149 .oe = ARTPEC3_rw_pb_oe,
156 .oe = ARTPEC3_rw_pc_oe,
420 void __iomem *dirout = regs + port->oe; in etraxfs_gpio_probe()
Dgpio-tegra.c77 u32 oe[4]; member
197 u32 cnf, oe; in tegra_gpio_get_direction() local
203 oe = tegra_gpio_readl(tgi, GPIO_OE(tgi, offset)); in tegra_gpio_get_direction()
205 return (oe & pin_mask) ? GPIOF_DIR_OUT : GPIOF_DIR_IN; in tegra_gpio_get_direction()
403 for (p = 0; p < ARRAY_SIZE(bank->oe); p++) { in tegra_gpio_resume()
417 tegra_gpio_writel(tgi, bank->oe[p], in tegra_gpio_resume()
442 for (p = 0; p < ARRAY_SIZE(bank->oe); p++) { in tegra_gpio_suspend()
448 bank->oe[p] = tegra_gpio_readl(tgi, in tegra_gpio_suspend()
Dgpio-omap.c41 u32 oe; member
111 bank->context.oe = l; in omap_set_gpio_direction()
1037 bank->context.oe = readl_relaxed(bank->base + bank->regs->direction); in omap_gpio_mod_init()
1482 p->context.oe = readl_relaxed(base + regs->direction); in omap_gpio_init_context()
1518 writel_relaxed(bank->context.oe, bank->base + bank->regs->direction); in omap_gpio_restore_context()
/drivers/pinctrl/
Dpinctrl-st.c231 struct regmap_field *alt, *oe, *pu, *od; member
246 const int alt, oe, pu, od, rt; member
348 .alt = 0, .oe = 40, .pu = 50, .od = 60, .rt = 100,
358 .oe = -1, /* Not Available */
388 struct regmap_field *output_enable = pc->oe; in st_pinconf_set_config()
581 if (pc->oe) { in st_pinconf_get_direction()
582 regmap_field_read(pc->oe, &oe_value); in st_pinconf_get_direction()
1149 pc->oe = st_pc_get_value(dev, regmap, bank/4, data->oe, lsb, msb); in st_parse_syscfgs()
/drivers/tty/
Damiserial.c255 int oe = 0; in receive_chars() local
326 oe = 1; in receive_chars()
330 if (oe == 1) in receive_chars()
/drivers/ata/
Dpata_octeon_cf.c208 reg_tim.s.oe = t2; in octeon_cf_set_piomode()