opnsense-src/sys/dev/gpio
John Baldwin 070b6adf01 bus: Document special ranges of IVARs
Some IVAR indices are special in that they have global meaning across
multiple buses where as other IVARs are always private to the local bus.
Try to document this a bit and add constants for the various ranges to
avoid future conflicts.

This is a no-op, but IVAR indices are now generally defined as enums
as that makes it easier to define them in terms of ranges.

Reviewed by:	imp, royger, andrew
Differential Revision:	https://reviews.freebsd.org/D54159

(cherry picked from commit 6cf4e30252fe48b230b9d76cac20576d5b3d2ffa)
2026-09-23 10:52:48 +02:00
..
dwgpio chore: replace {0, 0} with {DEV,KOBJ}METHOD_END 2026-04-25 09:46:07 -07:00
acpi_gpiobus.c acpi_gpiobus: implement bus_child_location 2025-08-20 09:52:11 +03:00
acpi_gpiobusvar.h gpio: rework gpioaei 2025-08-20 09:52:11 +03:00
bytgpio.c gpio: remove gpiobus_attach_bus 2025-08-13 14:14:00 +03:00
chvgpio.c gpio: remove gpiobus_attach_bus 2025-08-13 14:14:00 +03:00
chvgpio_reg.h
gpio_if.m gpio: add GPIO_GET_PIN_LIST 2025-08-28 00:38:32 +03:00
gpioaei.c gpio: rework gpioaei 2025-08-20 09:52:11 +03:00
gpiobacklight.c
gpiobus.c gpiobus: use bus_generic_detach when detaching 2025-11-02 18:20:52 +02:00
gpiobus_if.m gpiobus: add pin_config_32 and pin_access_32 2025-08-28 00:38:31 +03:00
gpiobus_internal.h gpio: make gpioc a child of gpiobus 2025-08-28 00:38:32 +03:00
gpiobusvar.h bus: Document special ranges of IVARs 2026-09-23 10:52:48 +02:00
gpioc.c Match style in 3613896 2025-11-01 02:46:11 +02:00
gpioiic.c
gpiokeys.c
gpiokeys.h
gpiokeys_codes.c
gpioled.c gpioled: remove redundant -1 check 2025-09-21 13:03:14 +03:00
gpioled_fdt.c
gpiomdio.c
gpiopower.c
gpiopps.c gpiopps: don't use internal gpiobus function 2025-07-04 23:24:31 +03:00
gpioregulator.c
gpiospi.c
gpioths.c
ofw_gpiobus.c gpio: make gpioc a child of gpiobus 2025-08-28 00:38:32 +03:00
pl061.c gpio: implement bus_setup_intr and bus_teardown_intr 2025-10-01 12:37:36 +03:00
pl061.h gpio: attach gpiobus when the controller is ready 2025-07-04 16:56:00 +03:00
pl061_acpi.c gpio: attach gpiobus when the controller is ready 2025-07-04 16:56:00 +03:00
pl061_fdt.c gpio: attach gpiobus when the controller is ready 2025-07-04 16:56:00 +03:00
qoriq_gpio.c gpio: remove gpiobus_attach_bus 2025-08-13 14:14:00 +03:00
qoriq_gpio.h