opnsense-src/sys
Emmanuel Vadot 87f642ac03 arm64: rockchip: rk_gpio: Improve mode switching
Changing mode on a pin (input/output/pullup/pulldown) is a bit slow.
Improve this by caching what we can.
We need to check if the pin is in gpio mode, do that the first time
that we have a request for this pin and cache the result. We can't do
that at attach as we are a child of rk_pinctrl and it didn't finished
its attach then.
Cache also the flags specific to the pinctrl (pullup or pulldown) if the
pin is in input mode.
Cache the registers that deals with input/output mode and output value. Also
remove some register reads when we change the direction of a pin or when we
change the output value since the bit changed in the registers only affect output
pins.
2022-08-10 19:22:31 +02:00
..
amd64 AST: rework 2022-08-02 21:11:09 +03:00
arm arm: Clear TTBCR before enabling the MMU 2022-08-05 16:21:09 -04:00
arm64 arm64: rockchip: rk_gpio: Improve mode switching 2022-08-10 19:22:31 +02:00
bsm
cam Delay GEOM disk_create() until CAM periph probe completes. 2022-07-14 16:17:36 -04:00
cddl dtrace/amd64: Implement emulation of call instructions 2022-08-09 18:34:01 -04:00
compat elf_note_prpsinfo: handle more failures from proc_getargv() 2022-08-09 15:44:45 -04:00
conf Add the PHY driver for the Marvell 88E1512. 2022-08-09 15:59:22 +02:00
contrib Import device-tree files from Linux 5.18 2022-08-10 14:32:46 +02:00
crypto skein: Update guard define check 2022-07-24 16:53:35 -06:00
ddb Adjust db_flush_line() definition to avoid clang 15 warning 2022-07-19 20:37:15 +02:00
dev gpio: mark INVARIANTS variables as __diagused 2022-08-10 10:39:58 -04:00
dts sys/dts: Remove MIPS files 2022-05-20 17:11:27 +01:00
fs nullfs(5): Fix a typo in a source code comment 2022-08-07 14:04:53 +02:00
gdb ddb: use _FLAGS command macros where appropriate 2022-07-05 11:56:55 -03:00
geom Adjust g_waitidle() visibility and definition 2022-08-02 21:11:10 +03:00
gnu bwn: eliminate dead writes in BWN_GPL_PHY 2022-05-04 09:32:59 -04:00
i386 AST: rework 2022-08-02 21:11:09 +03:00
isa Adjust function definition in isa's pnp.c to avoid clang 15 warning 2022-07-27 21:13:59 +02:00
kern elf_note_prpsinfo: handle more failures from proc_getargv() 2022-08-09 15:44:45 -04:00
kgssapi kgssapi krb5: Remove unused variables. 2022-04-06 16:45:29 -07:00
libkern libkern: Fix a typo in a source code comment 2022-06-05 08:57:26 +02:00
modules cxgbe: Rename t4_kern_tls.c to t6_kern_tls.c. 2022-08-08 11:21:53 -07:00
net debugnet: Fix a typo in a source code comment 2022-08-07 16:07:01 +02:00
net80211 net80211(4): Fix a typo in a source code comment 2022-08-07 16:01:13 +02:00
netgraph Adjust ng_{name,ID}_rehash() definitions to avoid clang 15 warnings 2022-07-25 20:02:31 +02:00
netinet tcp: address a wire level race with 2 ACKs at the end of TCP handshake 2022-08-10 07:32:37 -07:00
netinet6 netinet6: allow ND entries creation for all directly-reachable 2022-08-10 14:19:19 +00:00
netipsec ipsec: Improve validation of PMTU 2022-07-27 16:12:34 +02:00
netpfil Introduce and use the NET_EPOCH_DRAIN_CALLBACKS() macro 2022-07-29 21:21:10 +02:00
netsmb smb_smb_treedisconnect: eliminate write only variable mbp 2022-04-04 22:30:57 -06:00
nfs nfs: skip bootpc when vfs.root.mountfrom is other than nfs 2022-05-31 16:07:27 -03:00
nfsclient
nfsserver
nlm sys/nlm: Use C99 fixed-width integer types. 2021-12-28 09:42:42 -08:00
ofed ofed/infiniband: fix ifdefs for new INET changes, fixing LINT-NOIP 2022-07-18 08:02:01 -05:00
opencrypto ddb: annotate some commands with DB_CMD_MEMSAFE 2022-07-18 22:06:09 +00:00
powerpc powerpc/booke: Clamp MAXCPU to 32 for Book-E platforms 2022-08-06 11:42:19 -04:00
riscv AST: rework 2022-08-02 21:11:09 +03:00
rpc Adjust authnone_create() definition to avoid clang 15 warning 2022-07-25 00:40:13 +02:00
security AST: rework 2022-08-02 21:11:09 +03:00
sys atomic: Add plain atomic_load/store_bool() 2022-08-09 18:34:01 -04:00
teken teken: color #3 is yellow not brown - use TC_YELLOW as the name 2022-03-12 09:17:29 -05:00
tests
tools firmware: Map '@' in filenames to '_' in symbols. 2022-06-14 10:50:51 -07:00
ufs AST: rework 2022-08-02 21:11:09 +03:00
vm vm_fault: Shoot down shared mappings in vm_fault_copy_entry() 2022-08-09 15:44:45 -04:00
x86 x86: Remove redundant parentheses 2022-08-09 09:46:50 +02:00
xdr sys/xdr: Use C99 fixed-width integer types. 2021-12-28 09:43:26 -08:00
xen xenbus: improve device tracking 2022-06-07 12:29:53 +02:00
Makefile Fix 'make cscope' with ALL_ARCH defined 2022-01-07 11:53:52 -04:00