Searched refs:gpiop (Results 1 – 4 of 4) sorted by relevance
/external/u-boot/board/astro/mcf5373l/ |
D | fpga.c | 29 gpio_t *gpiop = (gpio_t *)MMAP_GPIO; in altera_pre_fn() local 35 tmp_char = readb(&gpiop->par_timer); in altera_pre_fn() 37 writeb(tmp_char, &gpiop->par_timer); in altera_pre_fn() 39 writew(0x0000, &gpiop->par_qspi); in altera_pre_fn() 41 tmp_short = __raw_readw(&gpiop->par_uart); in altera_pre_fn() 43 __raw_writew(tmp_short, &gpiop->par_uart); in altera_pre_fn() 45 writeb(0x00, &gpiop->par_pwm); in altera_pre_fn() 47 writeb(0x01, &gpiop->pddr_timer); in altera_pre_fn() 48 writeb(0x25, &gpiop->pddr_qspi); in altera_pre_fn() 49 writeb(0x0c, &gpiop->pddr_uart); in altera_pre_fn() [all …]
|
/external/u-boot/drivers/gpio/ |
D | sh_pfc.c | 174 struct pinmux_gpio *gpiop = &gpioc->gpios[gpio]; in setup_data_reg() local 178 if (!enum_in_range(gpiop->enum_id, &gpioc->data)) in setup_data_reg() 191 if (data_reg->enum_ids[n] == gpiop->enum_id) { in setup_data_reg() 192 gpiop->flags &= ~PINMUX_FLAG_DREG; in setup_data_reg() 193 gpiop->flags |= (k << PINMUX_FLAG_DREG_SHIFT); in setup_data_reg() 194 gpiop->flags &= ~PINMUX_FLAG_DBIT; in setup_data_reg() 195 gpiop->flags |= (n << PINMUX_FLAG_DBIT_SHIFT); in setup_data_reg() 231 struct pinmux_gpio *gpiop = &gpioc->gpios[gpio]; in get_data_reg() local 234 if (!enum_in_range(gpiop->enum_id, &gpioc->data)) in get_data_reg() 237 k = (gpiop->flags & PINMUX_FLAG_DREG) >> PINMUX_FLAG_DREG_SHIFT; in get_data_reg() [all …]
|
D | gpio-uclass.c | 92 unsigned int *offsetp, unsigned int *gpiop) in gpio_lookup_name() argument 107 if (gpiop) { in gpio_lookup_name() 110 *gpiop = uc_priv->gpio_base + desc.offset; in gpio_lookup_name()
|
/external/u-boot/include/asm-generic/ |
D | gpio.h | 363 unsigned int *offsetp, unsigned int *gpiop);
|