Searched refs:gpio_pin (Results 1 - 25 of 29) sorted by relevance

12

/freebsd-13-stable/sys/dev/extres/regulator/
H A Dregulator_fixed.h38 struct gpiobus_pin *gpio_pin; member in struct:regnode_fixed_init_def
H A Dregulator_fixed.c56 struct gpiobus_pin gpio_pin; member in struct:gpio_entry
99 regnode_get_gpio_entry(struct gpiobus_pin *gpio_pin) argument
105 busdev = GPIO_GET_BUS(gpio_pin->dev);
114 if (tmp->gpio_pin.dev == gpio_pin->dev &&
115 tmp->gpio_pin.pin == gpio_pin->pin) {
125 rv = gpiobus_acquire_pin(busdev, gpio_pin->pin);
132 entry->gpio_pin = *gpio_pin;
339 struct gpiobus_pin gpio_pin; member in struct:regfix_softc
[all...]
/freebsd-13-stable/sys/sys/
H A Dgpio.h93 struct gpio_pin { struct
225 #define GPIOGETCONFIG _IOWR('G', 1, struct gpio_pin)
226 #define GPIOSETCONFIG _IOW('G', 2, struct gpio_pin)
230 #define GPIOSETNAME _IOW('G', 6, struct gpio_pin)
/freebsd-13-stable/sys/mips/cavium/
H A Docteon_gpiovar.h55 struct gpio_pin gpio_pins[OCTEON_GPIO_PINS];
H A Docteon_gpio.c81 struct gpio_pin *pin, uint32_t flags);
108 octeon_gpio_pin_configure(struct octeon_gpio_softc *sc, struct gpio_pin *pin,
/freebsd-13-stable/sys/arm/ti/
H A Dti_pinmux.h47 uint16_t gpio_pin; member in struct:ti_pinmux_padconf
H A Dti_pinmux.c265 if (padconf->gpio_pin == gpio)
310 if (padconf->gpio_pin == gpio)
/freebsd-13-stable/sys/mips/atheros/
H A Dar71xx_gpiovar.h71 struct gpio_pin *gpio_pins;
H A Dar71xx_gpio.c74 struct gpio_pin *pin, uint32_t flags);
192 ar71xx_gpio_pin_configure(struct ar71xx_gpio_softc *sc, struct gpio_pin *pin,
/freebsd-13-stable/sys/mips/atheros/ar531x/
H A Dar5315_gpiovar.h69 struct gpio_pin *gpio_pins;
H A Dar5315_gpio.c68 struct gpio_pin *pin, uint32_t flags);
112 ar5315_gpio_pin_configure(struct ar5315_gpio_softc *sc, struct gpio_pin *pin,
399 sc->gpio_pins = malloc(sizeof(struct gpio_pin) * sc->gpio_npins,
/freebsd-13-stable/lib/libgpio/
H A Dgpio.c107 struct gpio_pin gppin;
124 struct gpio_pin gppin;
140 struct gpio_pin gppin;
/freebsd-13-stable/sys/arm/freescale/vybrid/
H A Dvf_gpio.c96 struct gpio_pin gpio_pins[NGPIO];
292 vf_gpio_pin_configure(struct vf_gpio_softc *sc, struct gpio_pin *pin,
/freebsd-13-stable/sys/arm/mv/
H A Dmvebu_gpio.c112 struct gpio_pin gpio_pins[MV_GPIO_MAX_NPINS];
128 struct gpio_pin *pin, uint32_t val)
141 gpio_read(struct mvebu_gpio_softc *sc, bus_size_t reg, struct gpio_pin *pin)
153 mvebu_gpio_pin_configure(struct mvebu_gpio_softc *sc, struct gpio_pin *pin,
709 struct gpio_pin *pin;
/freebsd-13-stable/sys/dev/nctgpio/
H A Dnctgpio.c115 struct gpio_pin pins[NCT_MAX_PIN + 1];
523 struct gpio_pin *pin;
708 struct gpio_pin *pin;
/freebsd-13-stable/sys/dev/iicbus/
H A Dacpi_iicbus.c399 int irq, gpio_pin; local
415 gpio_pin = res->Data.Gpio.PinTable[0];
417 printf(" GPIO IRQ pin: %d\n", gpio_pin);
/freebsd-13-stable/sys/dev/gpio/dwgpio/
H A Ddwgpio.c115 struct gpio_pin gpio_pins[NR_GPIO_MAX];
323 struct gpio_pin *pin, unsigned int flags)
/freebsd-13-stable/sys/arm/broadcom/bcm2835/
H A Draspberrypi_gpio.c60 struct gpio_pin sc_gpio_pins[RPI_FW_GPIO_PINS];
73 rpi_fw_gpio_pin_configure(struct rpi_fw_gpio_softc *sc, struct gpio_pin *pin,
H A Dbcm2835_gpio.c118 struct gpio_pin sc_gpio_pins[BCM_GPIO_PINS];
328 bcm_gpio_pin_configure(struct bcm_gpio_softc *sc, struct gpio_pin *pin,
/freebsd-13-stable/sys/dev/amdgpio/
H A Damdgpio.h324 struct gpio_pin sc_gpio_pins[AMD_GPIO_PINS_MAX];
/freebsd-13-stable/sys/arm/nvidia/
H A Dtegra_gpio.c134 struct gpio_pin gpio_pins[NGPIO];
151 struct gpio_pin *pin, uint32_t val)
163 gpio_read(struct tegra_gpio_softc *sc, bus_size_t reg, struct gpio_pin *pin)
174 tegra_gpio_pin_configure(struct tegra_gpio_softc *sc, struct gpio_pin *pin,
/freebsd-13-stable/sys/arm/freescale/imx/
H A Dimx_gpio.c126 struct gpio_pin gpio_pins[NGPIO];
156 struct gpio_pin *, uint32_t);
520 imx51_gpio_pin_configure(struct imx51_gpio_softc *sc, struct gpio_pin *pin,
/freebsd-13-stable/sys/dev/usb/misc/
H A Dcp2112.c232 struct gpio_pin pins[CP2112_GPIO_COUNT];
609 struct gpio_pin *pin;
703 struct gpio_pin *pin;
/freebsd-13-stable/sys/arm64/qoriq/
H A Dls1046_gpio.c73 struct gpio_pin setup[PIN_COUNT];
/freebsd-13-stable/sys/arm/ti/omap4/
H A Domap4_scm_padconf.c68 .gpio_pin = gp, \

Completed in 138 milliseconds

12