/freebsd/sys/dev/regulator/ |
H A D | regulator_fixed.c | 57 struct gpiobus_pin gpio_pin; member 100 regnode_get_gpio_entry(struct gpiobus_pin *gpio_pin) in regnode_get_gpio_entry() argument 106 busdev = GPIO_GET_BUS(gpio_pin->dev); in regnode_get_gpio_entry() 115 if (tmp->gpio_pin.dev == gpio_pin->dev && in regnode_get_gpio_entry() 116 tmp->gpio_pin.pin == gpio_pin->pin) { in regnode_get_gpio_entry() 126 rv = gpiobus_acquire_pin(busdev, gpio_pin->pin); in regnode_get_gpio_entry() 133 entry->gpio_pin = *gpio_pin; in regnode_get_gpio_entry() 159 pin = &sc->gpio_entry->gpio_pin; in regnode_fixed_init() 200 pin = &sc->gpio_entry->gpio_pin; in regnode_fixed_enable() 245 pin = &sc->gpio_entry->gpio_pin; in regnode_fixed_stop() [all …]
|
H A D | regulator_fixed.h | 36 struct gpiobus_pin *gpio_pin; member
|
/freebsd/sys/dev/qcom_tlmm/ |
H A D | qcom_tlmm_pin.c | 59 static struct gpio_pin * 70 struct gpio_pin *pin, unsigned int flags) in qcom_tlmm_pin_configure() 143 struct gpio_pin *p; in qcom_tlmm_pin_getcaps() 214 struct gpio_pin *p; in qcom_tlmm_pin_getname() 231 struct gpio_pin *p; in qcom_tlmm_pin_setflags()
|
H A D | qcom_tlmm_var.h | 154 struct gpio_pin *gpio_pins;
|
H A D | qcom_tlmm_ipq4018.c | 336 /* Note: direct map between gpio pin and gpio_pin[] entry */ in qcom_tlmm_ipq4018_attach()
|
/freebsd/sys/sys/ |
H A D | gpio.h | 91 struct gpio_pin { struct 223 #define GPIOGETCONFIG _IOWR('G', 1, struct gpio_pin) 224 #define GPIOSETCONFIG _IOW('G', 2, struct gpio_pin) 228 #define GPIOSETNAME _IOW('G', 6, struct gpio_pin)
|
/freebsd/lib/libgpio/ |
H A D | gpio.c | 105 struct gpio_pin gppin; in gpio_pin_config() 122 struct gpio_pin gppin; in gpio_pin_set_name() 138 struct gpio_pin gppin; in gpio_pin_set_flags()
|
/freebsd/sys/arm/mv/ |
H A D | mvebu_gpio.c | 107 struct gpio_pin gpio_pins[MV_GPIO_MAX_NPINS]; 123 struct gpio_pin *pin, uint32_t val) in gpio_write() 133 gpio_read(struct mvebu_gpio_softc *sc, bus_size_t reg, struct gpio_pin *pin) in gpio_read() 147 struct gpio_pin *pin, uint32_t val) in gpio_modify() 157 mvebu_gpio_pin_configure(struct mvebu_gpio_softc *sc, struct gpio_pin *pin, in mvebu_gpio_pin_configure() 721 struct gpio_pin *pin; in mvebu_gpio_attach()
|
/freebsd/sys/arm/nvidia/ |
H A D | tegra_gpio.c | 132 struct gpio_pin gpio_pins[NGPIO]; 149 struct gpio_pin *pin, uint32_t val) in gpio_write_masked() 161 gpio_read(struct tegra_gpio_softc *sc, bus_size_t reg, struct gpio_pin *pin) in gpio_read() 172 tegra_gpio_pin_configure(struct tegra_gpio_softc *sc, struct gpio_pin *pin, in tegra_gpio_pin_configure()
|
/freebsd/sys/dev/gpio/ |
H A D | qoriq_gpio.h | 57 struct gpio_pin sc_pins[MAXPIN + 1];
|
/freebsd/sys/arm/freescale/vybrid/ |
H A D | vf_gpio.c | 93 struct gpio_pin gpio_pins[NGPIO]; 289 vf_gpio_pin_configure(struct vf_gpio_softc *sc, struct gpio_pin *pin, in vf_gpio_pin_configure()
|
/freebsd/sys/arm/ti/ |
H A D | ti_pinmux.h | 45 uint16_t gpio_pin; member
|
H A D | ti_pinmux.c | 263 if (padconf->gpio_pin == gpio) in ti_pinmux_padconf_set_gpiomode() 308 if (padconf->gpio_pin == gpio) in ti_pinmux_padconf_get_gpiomode()
|
/freebsd/sys/dev/iicbus/ |
H A D | acpi_iicbus.c | 400 int irq, gpio_pin; in acpi_iicbus_parse_resources_cb() 416 gpio_pin = res->Data.Gpio.PinTable[0]; in acpi_iicbus_parse_resources_cb() 418 printf(" GPIO IRQ pin: %d\n", gpio_pin); in acpi_iicbus_parse_resources_cb() 397 int irq, gpio_pin; acpi_iicbus_parse_resources_cb() local
|
/freebsd/sys/arm/broadcom/bcm2835/ |
H A D | raspberrypi_gpio.c | 58 struct gpio_pin sc_gpio_pins[RPI_FW_GPIO_PINS]; 71 rpi_fw_gpio_pin_configure(struct rpi_fw_gpio_softc *sc, struct gpio_pin *pin, in rpi_fw_gpio_pin_configure()
|
H A D | bcm2835_gpio.c | 124 struct gpio_pin sc_gpio_pins[BCM_GPIO_PINS]; 362 bcm_gpio_pin_configure(struct bcm_gpio_softc *sc, struct gpio_pin *pin, in bcm_gpio_pin_configure()
|
/freebsd/sys/dev/gpio/dwgpio/ |
H A D | dwgpio.c | 112 struct gpio_pin gpio_pins[NR_GPIO_MAX]; 320 struct gpio_pin *pin, unsigned int flags) in dwgpio_pin_configure()
|
/freebsd/sys/arm/freescale/imx/ |
H A D | imx_gpio.c | 123 struct gpio_pin gpio_pins[NGPIO]; 154 struct gpio_pin *, uint32_t); 518 imx51_gpio_pin_configure(struct imx51_gpio_softc *sc, struct gpio_pin *pin, in imx51_gpio_pin_configure()
|
/freebsd/sys/dev/ftgpio/ |
H A D | ftgpio.c | 114 struct gpio_pin pins[FTGPIO_MAX_PIN + 1]; 371 struct gpio_pin *pin; in ftgpio_attach()
|
/freebsd/sys/dev/p2sb/ |
H A D | lewisburg_gpio.c | 56 struct gpio_pin gpio_setup[P2SB_GROUP_GPIO_MAX_PINS];
|
/freebsd/sys/dev/amdgpio/ |
H A D | amdgpio.h | 322 struct gpio_pin sc_gpio_pins[AMD_GPIO_PINS_MAX];
|
/freebsd/sys/dev/usb/misc/ |
H A D | cp2112.c | 229 struct gpio_pin pins[CP2112_GPIO_COUNT]; 593 struct gpio_pin *pin; in cp2112_gpio_pin_setflags() 687 struct gpio_pin *pin; in cp2112gpio_attach()
|
/freebsd/sys/dev/nctgpio/ |
H A D | nctgpio.c | 117 struct gpio_pin pins[NCT_MAX_PIN + 1]; 1229 struct gpio_pin *pin; in nct_attach() 1430 struct gpio_pin *pin; in nct_gpio_pin_setflags()
|
/freebsd/sys/riscv/sifive/ |
H A D | sifive_gpio.c | 74 struct gpio_pin gpio_pins[SFGPIO_MAX_PINS];
|
/freebsd/sys/arm/ti/am335x/ |
H A D | am335x_scm_padconf.c | 51 .gpio_pin = gp, \
|