HomeSort by: relevance | last modified time | path
    Searched defs:pin_def (Results 1 - 3 of 3) sorted by relevancy

  /src/sys/arch/arm/nvidia/
tegra_pinmux.c 88 const struct tegra_pinmux_pins *pin_def; local in function:tegra_pinmux_lookup_byname
92 pin_def = &sc->sc_conf->pins[n];
93 if (strcmp(pin_def->tpp_name, name) == 0)
94 return pin_def;
101 tegra_pinmux_lookup_func(const struct tegra_pinmux_pins *pin_def, const int phandle)
111 if (pin_def->tpp_functions[n] == NULL)
114 if (strcmp(pin_def->tpp_functions[n], func) == 0)
120 __func__, pin_def->tpp_name, func);
127 const struct tegra_pinmux_pins *pin_def, const int phandle)
132 if (pin_def->tpp_type == TEGRA_PINMUX)
211 const struct tegra_pinmux_pins *pin_def; local in function:tegra_pinmux_set_config
    [all...]
  /src/sys/arch/arm/amlogic/
meson_pinctrl.c 69 const struct meson_pinctrl_gpio *pin_def; member in struct:meson_pinctrl_gpio_pin
235 const struct meson_pinctrl_gpio *pin_def = &sc->sc_conf->gpios[pin]; local in function:meson_pinctrl_pin_read
236 const struct meson_pinctrl_gpioreg *gpio_reg = &pin_def->in;
254 const struct meson_pinctrl_gpio *pin_def = &sc->sc_conf->gpios[pin]; local in function:meson_pinctrl_pin_write
255 const struct meson_pinctrl_gpioreg *gpio_reg = &pin_def->out;
275 const struct meson_pinctrl_gpio *pin_def, int flags)
282 bsh = meson_pinctrl_gpio_handle(sc, &pin_def->oen);
283 data = bus_space_read_4(sc->sc_bst, bsh, pin_def->oen.reg);
285 data |= pin_def->oen.mask;
287 data &= ~pin_def->oen.mask
295 const struct meson_pinctrl_gpio *pin_def = &sc->sc_conf->gpios[pin]; local in function:meson_pinctrl_pin_ctl
345 const struct meson_pinctrl_gpio *pin_def; local in function:meson_pinctrl_gpio_acquire
388 const struct meson_pinctrl_gpio *pin_def = gpin->pin_def; local in function:meson_pinctrl_gpio_release
404 const struct meson_pinctrl_gpio *pin_def = gpin->pin_def; local in function:meson_pinctrl_gpio_read
419 const struct meson_pinctrl_gpio *pin_def = gpin->pin_def; local in function:meson_pinctrl_gpio_write
491 const struct meson_pinctrl_gpio *pin_def; local in function:meson_pinctrl_initgpio
    [all...]
  /src/sys/arch/arm/sunxi/
sunxi_gpio.c 179 const struct sunxi_gpio_pins *pin_def; member in struct:sunxi_gpio_pin
198 const struct sunxi_gpio_pins *pin_def; local in function:sunxi_gpio_lookup
202 pin_def = &sc->sc_padconf->pins[n];
203 if (pin_def->port == port && pin_def->pin == pin)
204 return pin_def;
213 const struct sunxi_gpio_pins *pin_def; local in function:sunxi_gpio_lookup_byname
217 pin_def = &sc->sc_padconf->pins[n];
218 if (strcmp(pin_def->name, name) == 0)
219 return pin_def;
332 const struct sunxi_gpio_pins *pin_def; local in function:sunxi_gpio_acquire
382 const struct sunxi_gpio_pins *pin_def = pin->pin_def; local in function:sunxi_gpio_read
411 const struct sunxi_gpio_pins *pin_def = pin->pin_def; local in function:sunxi_gpio_write
553 const struct sunxi_gpio_pins *pin_def; local in function:sunxi_fdt_intr_establish
611 const struct sunxi_gpio_pins *pin_def; local in function:sunxi_fdt_intrstr
643 const struct sunxi_gpio_pins *pin_def; local in function:sunxi_gpio_intr_establish
688 const struct sunxi_gpio_pins *pin_def; local in function:sunxi_gpio_intrstr
834 const struct sunxi_gpio_pins *pin_def; local in function:sunxi_pinctrl_set_config
891 const struct sunxi_gpio_pins *pin_def = &sc->sc_padconf->pins[pin]; local in function:sunxi_gpio_pin_read
911 const struct sunxi_gpio_pins *pin_def = &sc->sc_padconf->pins[pin]; local in function:sunxi_gpio_pin_write
933 const struct sunxi_gpio_pins *pin_def = &sc->sc_padconf->pins[pin]; local in function:sunxi_gpio_pin_ctl
946 const struct sunxi_gpio_pins *pin_def; local in function:sunxi_gpio_attach_ports
1052 const struct sunxi_gpio_pins *pin_def = &sc->sc_padconf->pins[i]; local in function:sunxi_gpio_attach
    [all...]

Completed in 12 milliseconds