opnsense-src/sys/dev/gpio
Pedro F. Giffuni 26c1d774b5 dev: make some use of mallocarray(9).
Focus on code where we are doing multiplications within malloc(9). None of
these is likely to overflow, however the change is still useful as some
static checkers can benefit from the allocation attributes we use for
mallocarray.

This initial sweep only covers malloc(9) calls with M_NOWAIT. No good
reason but I started doing the changes before r327796 and at that time it
was convenient to make sure the sorrounding code could handle NULL values.
2018-01-13 22:30:30 +00:00
..
bytgpio.c [bytgpio] prepare bytgpio(4) for modularization 2016-11-21 19:43:01 +00:00
gpio_if.m Add gpio methods to read/write/configure up to 32 pins simultaneously. 2017-09-10 18:08:25 +00:00
gpiobacklight.c Use GPIO pin management API in gpiobacklight 2016-05-11 00:26:52 +00:00
gpiobus.c dev: make some use of mallocarray(9). 2018-01-13 22:30:30 +00:00
gpiobus_if.m Add a new ioctl to allow the setting of GPIO pin names. 2015-03-08 00:47:50 +00:00
gpiobusvar.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
gpioc.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
gpioiic.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
gpiokeys.c Fix detach routine for gpiokeys 2016-05-12 20:15:23 +00:00
gpiokeys.h Add gpiokeys driver 2016-05-11 17:57:26 +00:00
gpiokeys_codes.c Add gpiokeys driver 2016-05-11 17:57:26 +00:00
gpioled.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
gpioled_fdt.c Refactor FDT part of gpioled driver 2016-11-07 21:15:39 +00:00
gpiopower.c Add a GPIO poweroff and reset driver. 2016-11-16 02:14:07 +00:00
gpiopps.c Add a PPS driver that takes the timing pulse from a gpio pin. Currently 2016-05-26 23:56:12 +00:00
gpioregulator.c Add driver for GPIO controlled regulator. 2016-10-15 20:04:14 +00:00
gpiospi.c [gpiospi] add clock delay to avoid smashing of bits 2016-12-13 10:03:29 +00:00
gpioths.c [gpioths] new driver for temperature/humidity sensor DHT11 2017-01-16 15:36:36 +00:00
ofw_gpiobus.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00