PATH:
usr
/
src
/
kernels
/
5.14.0-611.49.2.el9_7.x86_64
/
include
/
linux
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * linux/drivers/char/serial_core.h * * Copyright (C) 2000 Deep Blue Solutions Ltd. */ #ifndef LINUX_SERIAL_CORE_H #define LINUX_SERIAL_CORE_H #include <linux/bitops.h> #include <linux/compiler.h> #include <linux/console.h> #include <linux/interrupt.h> #include <linux/circ_buf.h> #include <linux/spinlock.h> #include <linux/sched.h> #include <linux/tty.h> #include <linux/mutex.h> #include <linux/sysrq.h> #include <uapi/linux/serial_core.h> #ifdef CONFIG_SERIAL_CORE_CONSOLE #define uart_console(port) \ ((port)->cons && (port)->cons->index == (port)->line) #else #define uart_console(port) ({ (void)port; 0; }) #endif struct uart_port; struct serial_struct; struct serial_port_device; struct device; struct gpio_desc; /** * struct uart_ops -- interface between serial_core and the driver * * This structure describes all the operations that can be done on the * physical hardware. * * @tx_empty: ``unsigned int ()(struct uart_port *port)`` * * This function tests whether the transmitter fifo and shifter for the * @port is empty. If it is empty, this function should return * %TIOCSER_TEMT, otherwise return 0. If the port does not support this * operation, then it should return %TIOCSER_TEMT. * * Locking: none. * Interrupts: caller dependent. * This call must not sleep * * @set_mctrl: ``void ()(struct uart_port *port, unsigned int mctrl)`` * * This function sets the modem control lines for @port to the state * described by @mctrl. The relevant bits of @mctrl are: * * - %TIOCM_RTS RTS signal. * - %TIOCM_DTR DTR signal. * - %TIOCM_OUT1 OUT1 signal. * - %TIOCM_OUT2 OUT2 signal. * - %TIOCM_LOOP Set the port into loopback mode. * * If the appropriate bit is set, the signal should be driven * active. If the bit is clear, the signal should be driven * inactive. * * Locking: @port->lock taken. * Interrupts: locally disabled. * This call must not sleep * * @get_mctrl: ``unsigned int ()(struct uart_port *port)`` * * Returns the current state of modem control inputs of @port. The state * of the outputs should not be returned, since the core keeps track of * their state. The state information should include: * * - %TIOCM_CAR state of DCD signal * - %TIOCM_CTS state of CTS signal * - %TIOCM_DSR state of DSR signal * - %TIOCM_RI state of RI signal * * The bit is set if the signal is currently driven active. If * the port does not support CTS, DCD or DSR, the driver should * indicate that the signal is permanently active. If RI is * not available, the signal should not be indicated as active. * * Locking: @port->lock taken. * Interrupts: locally disabled. * This call must not sleep * * @stop_tx: ``void ()(struct uart_port *port)`` * * Stop transmitting characters. This might be due to the CTS line * becoming inactive or the tty layer indicating we want to stop * transmission due to an %XOFF character. * * The driver should stop transmitting characters as soon as possible. * * Locking: @port->lock taken. * Interrupts: locally disabled. * This call must not sleep * * @start_tx: ``void ()(struct uart_port *port)`` * * Start transmitting characters. * * Locking: @port->lock taken. * Interrupts: locally disabled. * This call must not sleep * * @throttle: ``void ()(struct uart_port *port)`` * * Notify the serial driver that input buffers for the line discipline are * close to full, and it should somehow signal that no more characters * should be sent to the serial port. * This will be called only if hardware assisted flow control is enabled. * * Locking: serialized with @unthrottle() and termios modification by the * tty layer. * * @unthrottle: ``void ()(struct uart_port *port)`` * * Notify the serial driver that characters can now be sent to the serial * port without fear of overrunning the input buffers of the line * disciplines. * * This will be called only if hardware assisted flow control is enabled. * * Locking: serialized with @throttle() and termios modification by the * tty layer. * * @send_xchar: ``void ()(struct uart_port *port, char ch)`` * * Transmit a high priority character, even if the port is stopped. This * is used to implement XON/XOFF flow control and tcflow(). If the serial * driver does not implement this function, the tty core will append the * character to the circular buffer and then call start_tx() / stop_tx() * to flush the data out. * * Do not transmit if @ch == '\0' (%__DISABLED_CHAR). * * Locking: none. * Interrupts: caller dependent. * * @start_rx: ``void ()(struct uart_port *port)`` * * Start receiving characters. * * Locking: @port->lock taken. * Interrupts: locally disabled. * This call must not sleep * * @stop_rx: ``void ()(struct uart_port *port)`` * * Stop receiving characters; the @port is in the process of being closed. * * Locking: @port->lock taken. * Interrupts: locally disabled. * This call must not sleep * * @enable_ms: ``void ()(struct uart_port *port)`` * * Enable the modem status interrupts. * * This method may be called multiple times. Modem status interrupts * should be disabled when the @shutdown() method is called. * * Locking: @port->lock taken. * Interrupts: locally disabled. * This call must not sleep * * @break_ctl: ``void ()(struct uart_port *port, int ctl)`` * * Control the transmission of a break signal. If @ctl is nonzero, the * break signal should be transmitted. The signal should be terminated * when another call is made with a zero @ctl. * * Locking: caller holds tty_port->mutex * * @startup: ``int ()(struct uart_port *port)`` * * Grab any interrupt resources and initialise any low level driver state. * Enable the port for reception. It should not activate RTS nor DTR; * this will be done via a separate call to @set_mctrl(). * * This method will only be called when the port is initially opened. * * Locking: port_sem taken. * Interrupts: globally disabled. * * @shutdown: ``void ()(struct uart_port *port)`` * * Disable the @port, disable any break condition that may be in effect, * and free any interrupt resources. It should not disable RTS nor DTR; * this will have already been done via a separate call to @set_mctrl(). * * Drivers must not access @port->state once this call has completed. * * This method will only be called when there are no more users of this * @port. * * Locking: port_sem taken. * Interrupts: caller dependent. * * @flush_buffer: ``void ()(struct uart_port *port)`` * * Flush any write buffers, reset any DMA state and stop any ongoing DMA * transfers. * * This will be called whenever the @port->state->xmit circular buffer is * cleared. * * Locking: @port->lock taken. * Interrupts: locally disabled. * This call must not sleep * * @set_termios: ``void ()(struct uart_port *port, struct ktermios *new, * struct ktermios *old)`` * * Change the @port parameters, including word length, parity, stop bits. * Update @port->read_status_mask and @port->ignore_status_mask to * indicate the types of events we are interested in receiving. Relevant * ktermios::c_cflag bits are: * * - %CSIZE - word size * - %CSTOPB - 2 stop bits * - %PARENB - parity enable * - %PARODD - odd parity (when %PARENB is in force) * - %ADDRB - address bit (changed through uart_port::rs485_config()). * - %CREAD - enable reception of characters (if not set, still receive * characters from the port, but throw them away). * - %CRTSCTS - if set, enable CTS status change reporting. * - %CLOCAL - if not set, enable modem status change reporting. * * Relevant ktermios::c_iflag bits are: * * - %INPCK - enable frame and parity error events to be passed to the TTY * layer. * - %BRKINT / %PARMRK - both of these enable break events to be passed to * the TTY layer. * - %IGNPAR - ignore parity and framing errors. * - %IGNBRK - ignore break errors. If %IGNPAR is also set, ignore overrun * errors as well. * * The interaction of the ktermios::c_iflag bits is as follows (parity * error given as an example): * * ============ ======= ======= ========================================= * Parity error INPCK IGNPAR * ============ ======= ======= ========================================= * n/a 0 n/a character received, marked as %TTY_NORMAL * None 1 n/a character received, marked as %TTY_NORMAL * Yes 1 0 character received, marked as %TTY_PARITY * Yes 1 1 character discarded * ============ ======= ======= ========================================= * * Other flags may be used (eg, xon/xoff characters) if your hardware * supports hardware "soft" flow control. * * Locking: caller holds tty_port->mutex * Interrupts: caller dependent. * This call must not sleep * * @set_ldisc: ``void ()(struct uart_port *port, struct ktermios *termios)`` * * Notifier for discipline change. See * Documentation/driver-api/tty/tty_ldisc.rst. * * Locking: caller holds tty_port->mutex * * @pm: ``void ()(struct uart_port *port, unsigned int state, * unsigned int oldstate)`` * * Perform any power management related activities on the specified @port. * @state indicates the new state (defined by enum uart_pm_state), * @oldstate indicates the previous state. * * This function should not be used to grab any resources. * * This will be called when the @port is initially opened and finally * closed, except when the @port is also the system console. This will * occur even if %CONFIG_PM is not set. * * Locking: none. * Interrupts: caller dependent. * * @type: ``const char *()(struct uart_port *port)`` * * Return a pointer to a string constant describing the specified @port, * or return %NULL, in which case the string 'unknown' is substituted. * * Locking: none. * Interrupts: caller dependent. * * @release_port: ``void ()(struct uart_port *port)`` * * Release any memory and IO region resources currently in use by the * @port. * * Locking: none. * Interrupts: caller dependent. * * @request_port: ``int ()(struct uart_port *port)`` * * Request any memory and IO region resources required by the port. If any * fail, no resources should be registered when this function returns, and * it should return -%EBUSY on failure. * * Locking: none. * Interrupts: caller dependent. * * @config_port: ``void ()(struct uart_port *port, int type)`` * * Perform any autoconfiguration steps required for the @port. @type * contains a bit mask of the required configuration. %UART_CONFIG_TYPE * indicates that the port requires detection and identification. * @port->type should be set to the type found, or %PORT_UNKNOWN if no * port was detected. * * %UART_CONFIG_IRQ indicates autoconfiguration of the interrupt signal, * which should be probed using standard kernel autoprobing techniques. * This is not necessary on platforms where ports have interrupts * internally hard wired (eg, system on a chip implementations). * * Locking: none. * Interrupts: caller dependent. * * @verify_port: ``int ()(struct uart_port *port, * struct serial_struct *serinfo)`` * * Verify the new serial port information contained within @serinfo is * suitable for this port type. * * Locking: none. * Interrupts: caller dependent. * * @ioctl: ``int ()(struct uart_port *port, unsigned int cmd, * unsigned long arg)`` * * Perform any port specific IOCTLs. IOCTL commands must be defined using * the standard numbering system found in <asm/ioctl.h>. * * Locking: none. * Interrupts: caller dependent. * * @poll_init: ``int ()(struct uart_port *port)`` * * Called by kgdb to perform the minimal hardware initialization needed to * support @poll_put_char() and @poll_get_char(). Unlike @startup(), this * should not request interrupts. * * Locking: %tty_mutex and tty_port->mutex taken. * Interrupts: n/a. * * @poll_put_char: ``void ()(struct uart_port *port, unsigned char ch)`` * * Called by kgdb to write a single character @ch directly to the serial * @port. It can and should block until there is space in the TX FIFO. * * Locking: none. * Interrupts: caller dependent. * This call must not sleep * * @poll_get_char: ``int ()(struct uart_port *port)`` * * Called by kgdb to read a single character directly from the serial * port. If data is available, it should be returned; otherwise the * function should return %NO_POLL_CHAR immediately. * * Locking: none. * Interrupts: caller dependent. * This call must not sleep */ struct uart_ops { unsigned int (*tx_empty)(struct uart_port *); void (*set_mctrl)(struct uart_port *, unsigned int mctrl); unsigned int (*get_mctrl)(struct uart_port *); void (*stop_tx)(struct uart_port *); void (*start_tx)(struct uart_port *); void (*throttle)(struct uart_port *); void (*unthrottle)(struct uart_port *); void (*send_xchar)(struct uart_port *, char ch); void (*stop_rx)(struct uart_port *); void (*start_rx)(struct uart_port *); void (*enable_ms)(struct uart_port *); void (*break_ctl)(struct uart_port *, int ctl); int (*startup)(struct uart_port *); void (*shutdown)(struct uart_port *); void (*flush_buffer)(struct uart_port *); void (*set_termios)(struct uart_port *, struct ktermios *new, const struct ktermios *old); void (*set_ldisc)(struct uart_port *, struct ktermios *); void (*pm)(struct uart_port *, unsigned int state, unsigned int oldstate); const char *(*type)(struct uart_port *); void (*release_port)(struct uart_port *); int (*request_port)(struct uart_port *); void (*config_port)(struct uart_port *, int); int (*verify_port)(struct uart_port *, struct serial_struct *); int (*ioctl)(struct uart_port *, unsigned int, unsigned long); #ifdef CONFIG_CONSOLE_POLL int (*poll_init)(struct uart_port *); void (*poll_put_char)(struct uart_port *, unsigned char); int (*poll_get_char)(struct uart_port *); #endif }; #define NO_POLL_CHAR 0x00ff0000 #define UART_CONFIG_TYPE (1 << 0) #define UART_CONFIG_IRQ (1 << 1) struct uart_icount { __u32 cts; __u32 dsr; __u32 rng; __u32 dcd; __u32 rx; __u32 tx; __u32 frame; __u32 overrun; __u32 parity; __u32 brk; __u32 buf_overrun; }; typedef u64 __bitwise upf_t; typedef unsigned int __bitwise upstat_t; struct uart_port { spinlock_t lock; /* port lock */ unsigned long iobase; /* in/out[bwl] */ unsigned char __iomem *membase; /* read/write[bwl] */ unsigned int (*serial_in)(struct uart_port *, int); void (*serial_out)(struct uart_port *, int, int); void (*set_termios)(struct uart_port *, struct ktermios *new, const struct ktermios *old); void (*set_ldisc)(struct uart_port *, struct ktermios *); unsigned int (*get_mctrl)(struct uart_port *); void (*set_mctrl)(struct uart_port *, unsigned int); unsigned int (*get_divisor)(struct uart_port *, unsigned int baud, unsigned int *frac); void (*set_divisor)(struct uart_port *, unsigned int baud, unsigned int quot, unsigned int quot_frac); int (*startup)(struct uart_port *port); void (*shutdown)(struct uart_port *port); void (*throttle)(struct uart_port *port); void (*unthrottle)(struct uart_port *port); int (*handle_irq)(struct uart_port *); void (*pm)(struct uart_port *, unsigned int state, unsigned int old); void (*handle_break)(struct uart_port *); int (*rs485_config)(struct uart_port *, struct ktermios *termios, struct serial_rs485 *rs485); int (*iso7816_config)(struct uart_port *, struct serial_iso7816 *iso7816); unsigned int ctrl_id; /* optional serial core controller id */ unsigned int port_id; /* optional serial core port id */ unsigned int irq; /* irq number */ unsigned long irqflags; /* irq flags */ unsigned int uartclk; /* base uart clock */ unsigned int fifosize; /* tx fifo size */ unsigned char x_char; /* xon/xoff char */ unsigned char regshift; /* reg offset shift */ unsigned char iotype; /* io access style */ unsigned char quirks; /* internal quirks */ #define UPIO_PORT (SERIAL_IO_PORT) /* 8b I/O port access */ #define UPIO_HUB6 (SERIAL_IO_HUB6) /* Hub6 ISA card */ #define UPIO_MEM (SERIAL_IO_MEM) /* driver-specific */ #define UPIO_MEM32 (SERIAL_IO_MEM32) /* 32b little endian */ #define UPIO_AU (SERIAL_IO_AU) /* Au1x00 and RT288x type IO */ #define UPIO_TSI (SERIAL_IO_TSI) /* Tsi108/109 type IO */ #define UPIO_MEM32BE (SERIAL_IO_MEM32BE) /* 32b big endian */ #define UPIO_MEM16 (SERIAL_IO_MEM16) /* 16b little endian */ /* quirks must be updated while holding port mutex */ #define UPQ_NO_TXEN_TEST BIT(0) unsigned int read_status_mask; /* driver specific */ unsigned int ignore_status_mask; /* driver specific */ struct uart_state *state; /* pointer to parent state */ struct uart_icount icount; /* statistics */ struct console *cons; /* struct console, if any */ bool nbcon_locked_port; /* True, if the port is locked by nbcon */ /* flags must be updated while holding port mutex */ upf_t flags; /* * These flags must be equivalent to the flags defined in * include/uapi/linux/tty_flags.h which are the userspace definitions * assigned from the serial_struct flags in uart_set_info() * [for bit definitions in the UPF_CHANGE_MASK] * * Bits [0..ASYNCB_LAST_USER] are userspace defined/visible/changeable * The remaining bits are serial-core specific and not modifiable by * userspace. */ #define UPF_FOURPORT ((__force upf_t) ASYNC_FOURPORT /* 1 */ ) #define UPF_SAK ((__force upf_t) ASYNC_SAK /* 2 */ ) #define UPF_SPD_HI ((__force upf_t) ASYNC_SPD_HI /* 4 */ ) #define UPF_SPD_VHI ((__force upf_t) ASYNC_SPD_VHI /* 5 */ ) #define UPF_SPD_CUST ((__force upf_t) ASYNC_SPD_CUST /* 0x0030 */ ) #define UPF_SPD_WARP ((__force upf_t) ASYNC_SPD_WARP /* 0x1010 */ ) #define UPF_SPD_MASK ((__force upf_t) ASYNC_SPD_MASK /* 0x1030 */ ) #define UPF_SKIP_TEST ((__force upf_t) ASYNC_SKIP_TEST /* 6 */ ) #define UPF_AUTO_IRQ ((__force upf_t) ASYNC_AUTO_IRQ /* 7 */ ) #define UPF_HARDPPS_CD ((__force upf_t) ASYNC_HARDPPS_CD /* 11 */ ) #define UPF_SPD_SHI ((__force upf_t) ASYNC_SPD_SHI /* 12 */ ) #define UPF_LOW_LATENCY ((__force upf_t) ASYNC_LOW_LATENCY /* 13 */ ) #define UPF_BUGGY_UART ((__force upf_t) ASYNC_BUGGY_UART /* 14 */ ) #define UPF_MAGIC_MULTIPLIER ((__force upf_t) ASYNC_MAGIC_MULTIPLIER /* 16 */ ) #define UPF_NO_THRE_TEST ((__force upf_t) BIT_ULL(19)) /* Port has hardware-assisted h/w flow control */ #define UPF_AUTO_CTS ((__force upf_t) BIT_ULL(20)) #define UPF_AUTO_RTS ((__force upf_t) BIT_ULL(21)) #define UPF_HARD_FLOW ((__force upf_t) (UPF_AUTO_CTS | UPF_AUTO_RTS)) /* Port has hardware-assisted s/w flow control */ #define UPF_SOFT_FLOW ((__force upf_t) BIT_ULL(22)) #define UPF_CONS_FLOW ((__force upf_t) BIT_ULL(23)) #define UPF_SHARE_IRQ ((__force upf_t) BIT_ULL(24)) #define UPF_EXAR_EFR ((__force upf_t) BIT_ULL(25)) #define UPF_BUG_THRE ((__force upf_t) BIT_ULL(26)) /* The exact UART type is known and should not be probed. */ #define UPF_FIXED_TYPE ((__force upf_t) BIT_ULL(27)) #define UPF_BOOT_AUTOCONF ((__force upf_t) BIT_ULL(28)) #define UPF_FIXED_PORT ((__force upf_t) BIT_ULL(29)) #define UPF_DEAD ((__force upf_t) BIT_ULL(30)) #define UPF_IOREMAP ((__force upf_t) BIT_ULL(31)) #define UPF_FULL_PROBE ((__force upf_t) BIT_ULL(32)) #define __UPF_CHANGE_MASK 0x17fff #define UPF_CHANGE_MASK ((__force upf_t) __UPF_CHANGE_MASK) #define UPF_USR_MASK ((__force upf_t) (UPF_SPD_MASK|UPF_LOW_LATENCY)) #if __UPF_CHANGE_MASK > ASYNC_FLAGS #error Change mask not equivalent to userspace-visible bit defines #endif /* * Must hold termios_rwsem, port mutex and port lock to change; * can hold any one lock to read. */ upstat_t status; #define UPSTAT_CTS_ENABLE ((__force upstat_t) (1 << 0)) #define UPSTAT_DCD_ENABLE ((__force upstat_t) (1 << 1)) #define UPSTAT_AUTORTS ((__force upstat_t) (1 << 2)) #define UPSTAT_AUTOCTS ((__force upstat_t) (1 << 3)) #define UPSTAT_AUTOXOFF ((__force upstat_t) (1 << 4)) #define UPSTAT_SYNC_FIFO ((__force upstat_t) (1 << 5)) bool hw_stopped; /* sw-assisted CTS flow state */ unsigned int mctrl; /* current modem ctrl settings */ unsigned int frame_time; /* frame timing in ns */ unsigned int type; /* port type */ const struct uart_ops *ops; unsigned int custom_divisor; unsigned int line; /* port index */ unsigned int minor; resource_size_t mapbase; /* for ioremap */ resource_size_t mapsize; struct device *dev; /* serial port physical parent device */ struct serial_port_device *port_dev; /* serial core port device */ unsigned long sysrq; /* sysrq timeout */ u8 sysrq_ch; /* char for sysrq */ unsigned char has_sysrq; unsigned char sysrq_seq; /* index in sysrq_toggle_seq */ unsigned char hub6; /* this should be in the 8250 driver */ unsigned char suspended; unsigned char console_reinit; const char *name; /* port name */ struct attribute_group *attr_group; /* port specific attributes */ const struct attribute_group **tty_groups; /* all attributes (serial core use only) */ struct serial_rs485 rs485; struct serial_rs485 rs485_supported; /* Supported mask for serial_rs485 */ struct gpio_desc *rs485_term_gpio; /* enable RS485 bus termination */ struct gpio_desc *rs485_rx_during_tx_gpio; /* Output GPIO that sets the state of RS485 RX during TX */ struct serial_iso7816 iso7816; void *private_data; /* generic platform data pointer */ }; /** * uart_port_lock - Lock the UART port * @up: Pointer to UART port structure */ static inline void uart_port_lock(struct uart_port *up) { spin_lock(&up->lock); nbcon_acquire(up); } /** * uart_port_lock_irq - Lock the UART port and disable interrupts * @up: Pointer to UART port structure */ static inline void uart_port_lock_irq(struct uart_port *up) { spin_lock_irq(&up->lock); nbcon_acquire(up); } /** * uart_port_lock_irqsave - Lock the UART port, save and disable interrupts * @up: Pointer to UART port structure * @flags: Pointer to interrupt flags storage */ static inline void uart_port_lock_irqsave(struct uart_port *up, unsigned long *flags) { spin_lock_irqsave(&up->lock, *flags); nbcon_acquire(up); } /** * uart_port_trylock - Try to lock the UART port * @up: Pointer to UART port structure * * Returns: True if lock was acquired, false otherwise */ static inline bool uart_port_trylock(struct uart_port *up) { if (!spin_trylock(&up->lock)) return false; nbcon_acquire(up); return true; } /** * uart_port_trylock_irqsave - Try to lock the UART port, save and disable interrupts * @up: Pointer to UART port structure * @flags: Pointer to interrupt flags storage * * Returns: True if lock was acquired, false otherwise */ static inline bool uart_port_trylock_irqsave(struct uart_port *up, unsigned long *flags) { if (!spin_trylock_irqsave(&up->lock, *flags)) return false; nbcon_acquire(up); return true; } /** * uart_port_unlock - Unlock the UART port * @up: Pointer to UART port structure */ static inline void uart_port_unlock(struct uart_port *up) { nbcon_release(up); spin_unlock(&up->lock); } /** * uart_port_unlock_irq - Unlock the UART port and re-enable interrupts * @up: Pointer to UART port structure */ static inline void uart_port_unlock_irq(struct uart_port *up) { nbcon_release(up); spin_unlock_irq(&up->lock); } /** * uart_port_unlock_irqrestore - Unlock the UART port, restore interrupts * @up: Pointer to UART port structure * @flags: The saved interrupt flags for restore */ static inline void uart_port_unlock_irqrestore(struct uart_port *up, unsigned long flags) { nbcon_release(up); spin_unlock_irqrestore(&up->lock, flags); } /* Only for use in the console->driver_enter() callback. */ static inline void __uart_port_lock_irqsave(struct uart_port *up, unsigned long *flags) { spin_lock_irqsave(&up->lock, *flags); } /* Only for use in the console->driver_exit() callback. */ static inline void __uart_port_unlock_irqrestore(struct uart_port *up, unsigned long flags) { spin_unlock_irqrestore(&up->lock, flags); } static inline int serial_port_in(struct uart_port *up, int offset) { return up->serial_in(up, offset); } static inline void serial_port_out(struct uart_port *up, int offset, int value) { up->serial_out(up, offset, value); } /** * enum uart_pm_state - power states for UARTs * @UART_PM_STATE_ON: UART is powered, up and operational * @UART_PM_STATE_OFF: UART is powered off * @UART_PM_STATE_UNDEFINED: sentinel */ enum uart_pm_state { UART_PM_STATE_ON = 0, UART_PM_STATE_OFF = 3, /* number taken from ACPI */ UART_PM_STATE_UNDEFINED, }; /* * This is the state information which is persistent across opens. */ struct uart_state { struct tty_port port; enum uart_pm_state pm_state; struct circ_buf xmit; atomic_t refcount; wait_queue_head_t remove_wait; struct uart_port *uart_port; }; #define UART_XMIT_SIZE PAGE_SIZE /* number of characters left in xmit buffer before we ask for more */ #define WAKEUP_CHARS 256 /** * uart_xmit_advance - Advance xmit buffer and account Tx'ed chars * @up: uart_port structure describing the port * @chars: number of characters sent * * This function advances the tail of circular xmit buffer by the number of * @chars transmitted and handles accounting of transmitted bytes (into * @up's icount.tx). */ static inline void uart_xmit_advance(struct uart_port *up, unsigned int chars) { struct circ_buf *xmit = &up->state->xmit; xmit->tail = (xmit->tail + chars) & (UART_XMIT_SIZE - 1); up->icount.tx += chars; } struct module; struct tty_driver; struct uart_driver { struct module *owner; const char *driver_name; const char *dev_name; int major; int minor; int nr; struct console *cons; /* * these are private; the low level driver should not * touch these; they should be initialised to NULL */ struct uart_state *state; struct tty_driver *tty_driver; }; void uart_write_wakeup(struct uart_port *port); #define __uart_port_tx(uport, ch, tx_ready, put_char, tx_done, for_test, \ for_post) \ ({ \ struct uart_port *__port = (uport); \ struct circ_buf *xmit = &__port->state->xmit; \ unsigned int pending; \ \ for (; (for_test) && (tx_ready); (for_post), __port->icount.tx++) { \ if (__port->x_char) { \ (ch) = __port->x_char; \ (put_char); \ __port->x_char = 0; \ continue; \ } \ \ if (uart_circ_empty(xmit) || uart_tx_stopped(__port)) \ break; \ \ (ch) = xmit->buf[xmit->tail]; \ (put_char); \ xmit->tail = (xmit->tail + 1) % UART_XMIT_SIZE; \ } \ \ (tx_done); \ \ pending = uart_circ_chars_pending(xmit); \ if (pending < WAKEUP_CHARS) { \ uart_write_wakeup(__port); \ \ if (pending == 0) \ __port->ops->stop_tx(__port); \ } \ \ pending; \ }) /** * uart_port_tx_limited -- transmit helper for uart_port with count limiting * @port: uart port * @ch: variable to store a character to be written to the HW * @count: a limit of characters to send * @tx_ready: can HW accept more data function * @put_char: function to write a character * @tx_done: function to call after the loop is done * * This helper transmits characters from the xmit buffer to the hardware using * @put_char(). It does so until @count characters are sent and while @tx_ready * evaluates to true. * * Returns: the number of characters in the xmit buffer when done. * * The expression in macro parameters shall be designed as follows: * * **tx_ready:** should evaluate to true if the HW can accept more data to * be sent. This parameter can be %true, which means the HW is always ready. * * **put_char:** shall write @ch to the device of @port. * * **tx_done:** when the write loop is done, this can perform arbitrary * action before potential invocation of ops->stop_tx() happens. If the * driver does not need to do anything, use e.g. ({}). * * For all of them, @port->lock is held, interrupts are locally disabled and * the expressions must not sleep. */ #define uart_port_tx_limited(port, ch, count, tx_ready, put_char, tx_done) ({ \ unsigned int __count = (count); \ __uart_port_tx(port, ch, tx_ready, put_char, tx_done, __count, \ __count--); \ }) /** * uart_port_tx -- transmit helper for uart_port * @port: uart port * @ch: variable to store a character to be written to the HW * @tx_ready: can HW accept more data function * @put_char: function to write a character * * See uart_port_tx_limited() for more details. */ #define uart_port_tx(port, ch, tx_ready, put_char) \ __uart_port_tx(port, ch, tx_ready, put_char, ({}), true, ({})) /* * Baud rate helpers. */ void uart_update_timeout(struct uart_port *port, unsigned int cflag, unsigned int baud); unsigned int uart_get_baud_rate(struct uart_port *port, struct ktermios *termios, const struct ktermios *old, unsigned int min, unsigned int max); unsigned int uart_get_divisor(struct uart_port *port, unsigned int baud); /* * Calculates FIFO drain time. */ static inline unsigned long uart_fifo_timeout(struct uart_port *port) { u64 fifo_timeout = (u64)READ_ONCE(port->frame_time) * port->fifosize; /* Add .02 seconds of slop */ fifo_timeout += 20 * NSEC_PER_MSEC; return max(nsecs_to_jiffies(fifo_timeout), 1UL); } /* Base timer interval for polling */ static inline int uart_poll_timeout(struct uart_port *port) { int timeout = uart_fifo_timeout(port); return timeout > 6 ? (timeout / 2 - 2) : 1; } /* * Console helpers. */ struct earlycon_device { struct console *con; struct uart_port port; char options[32]; /* e.g., 115200n8 */ unsigned int baud; }; struct earlycon_id { char name[15]; char name_term; /* In case compiler didn't '\0' term name */ char compatible[128]; int (*setup)(struct earlycon_device *, const char *options); }; extern const struct earlycon_id __earlycon_table[]; extern const struct earlycon_id __earlycon_table_end[]; #if defined(CONFIG_SERIAL_EARLYCON) && !defined(MODULE) #define EARLYCON_USED_OR_UNUSED __used #else #define EARLYCON_USED_OR_UNUSED __maybe_unused #endif #define OF_EARLYCON_DECLARE(_name, compat, fn) \ static const struct earlycon_id __UNIQUE_ID(__earlycon_##_name) \ EARLYCON_USED_OR_UNUSED __section("__earlycon_table") \ __aligned(__alignof__(struct earlycon_id)) \ = { .name = __stringify(_name), \ .compatible = compat, \ .setup = fn } #define EARLYCON_DECLARE(_name, fn) OF_EARLYCON_DECLARE(_name, "", fn) int of_setup_earlycon(const struct earlycon_id *match, unsigned long node, const char *options); #ifdef CONFIG_SERIAL_EARLYCON extern bool earlycon_acpi_spcr_enable __initdata; int setup_earlycon(char *buf); #else static const bool earlycon_acpi_spcr_enable EARLYCON_USED_OR_UNUSED; static inline int setup_earlycon(char *buf) { return 0; } #endif /* Variant of uart_console_registered() when the console_list_lock is held. */ static inline bool uart_console_registered_locked(struct uart_port *port) { return uart_console(port) && console_is_registered_locked(port->cons); } static inline bool uart_console_registered(struct uart_port *port) { return uart_console(port) && console_is_registered(port->cons); } struct uart_port *uart_get_console(struct uart_port *ports, int nr, struct console *c); int uart_parse_earlycon(char *p, unsigned char *iotype, resource_size_t *addr, char **options); void uart_parse_options(const char *options, int *baud, int *parity, int *bits, int *flow); int uart_set_options(struct uart_port *port, struct console *co, int baud, int parity, int bits, int flow); struct tty_driver *uart_console_device(struct console *co, int *index); void uart_console_write(struct uart_port *port, const char *s, unsigned int count, void (*putchar)(struct uart_port *, unsigned char)); /* * Port/driver registration/removal */ int uart_register_driver(struct uart_driver *uart); void uart_unregister_driver(struct uart_driver *uart); int uart_add_one_port(struct uart_driver *reg, struct uart_port *port); void uart_remove_one_port(struct uart_driver *reg, struct uart_port *port); bool uart_match_port(const struct uart_port *port1, const struct uart_port *port2); /* * Power Management */ int uart_suspend_port(struct uart_driver *reg, struct uart_port *port); int uart_resume_port(struct uart_driver *reg, struct uart_port *port); #define uart_circ_empty(circ) ((circ)->head == (circ)->tail) #define uart_circ_clear(circ) ((circ)->head = (circ)->tail = 0) #define uart_circ_chars_pending(circ) \ (CIRC_CNT((circ)->head, (circ)->tail, UART_XMIT_SIZE)) #define uart_circ_chars_free(circ) \ (CIRC_SPACE((circ)->head, (circ)->tail, UART_XMIT_SIZE)) static inline int uart_tx_stopped(struct uart_port *port) { struct tty_struct *tty = port->state->port.tty; if ((tty && tty->flow.stopped) || port->hw_stopped) return 1; return 0; } static inline bool uart_cts_enabled(struct uart_port *uport) { return !!(uport->status & UPSTAT_CTS_ENABLE); } static inline bool uart_softcts_mode(struct uart_port *uport) { upstat_t mask = UPSTAT_CTS_ENABLE | UPSTAT_AUTOCTS; return ((uport->status & mask) == UPSTAT_CTS_ENABLE); } /* * The following are helper functions for the low level drivers. */ void uart_handle_dcd_change(struct uart_port *uport, bool active); void uart_handle_cts_change(struct uart_port *uport, bool active); void uart_insert_char(struct uart_port *port, unsigned int status, unsigned int overrun, u8 ch, u8 flag); void uart_xchar_out(struct uart_port *uport, int offset); #ifdef CONFIG_MAGIC_SYSRQ_SERIAL #define SYSRQ_TIMEOUT (HZ * 5) bool uart_try_toggle_sysrq(struct uart_port *port, u8 ch); static inline int uart_handle_sysrq_char(struct uart_port *port, u8 ch) { if (!port->sysrq) return 0; if (ch && time_before(jiffies, port->sysrq)) { if (sysrq_mask()) { handle_sysrq(ch); port->sysrq = 0; return 1; } if (uart_try_toggle_sysrq(port, ch)) return 1; } port->sysrq = 0; return 0; } static inline int uart_prepare_sysrq_char(struct uart_port *port, u8 ch) { if (!port->sysrq) return 0; if (ch && time_before(jiffies, port->sysrq)) { if (sysrq_mask()) { port->sysrq_ch = ch; port->sysrq = 0; return 1; } if (uart_try_toggle_sysrq(port, ch)) return 1; } port->sysrq = 0; return 0; } static inline void uart_unlock_and_check_sysrq(struct uart_port *port) { u8 sysrq_ch; if (!port->has_sysrq) { uart_port_unlock(port); return; } sysrq_ch = port->sysrq_ch; port->sysrq_ch = 0; uart_port_unlock(port); if (sysrq_ch) handle_sysrq(sysrq_ch); } static inline void uart_unlock_and_check_sysrq_irqrestore(struct uart_port *port, unsigned long flags) { u8 sysrq_ch; if (!port->has_sysrq) { uart_port_unlock_irqrestore(port, flags); return; } sysrq_ch = port->sysrq_ch; port->sysrq_ch = 0; uart_port_unlock_irqrestore(port, flags); if (sysrq_ch) handle_sysrq(sysrq_ch); } #else /* CONFIG_MAGIC_SYSRQ_SERIAL */ static inline int uart_handle_sysrq_char(struct uart_port *port, u8 ch) { return 0; } static inline int uart_prepare_sysrq_char(struct uart_port *port, u8 ch) { return 0; } static inline void uart_unlock_and_check_sysrq(struct uart_port *port) { uart_port_unlock(port); } static inline void uart_unlock_and_check_sysrq_irqrestore(struct uart_port *port, unsigned long flags) { uart_port_unlock_irqrestore(port, flags); } #endif /* CONFIG_MAGIC_SYSRQ_SERIAL */ /* * We do the SysRQ and SAK checking like this... */ static inline int uart_handle_break(struct uart_port *port) { struct uart_state *state = port->state; if (port->handle_break) port->handle_break(port); #ifdef CONFIG_MAGIC_SYSRQ_SERIAL if (port->has_sysrq && uart_console(port)) { if (!port->sysrq) { port->sysrq = jiffies + SYSRQ_TIMEOUT; return 1; } port->sysrq = 0; } #endif if (port->flags & UPF_SAK) do_SAK(state->port.tty); return 0; } /* * UART_ENABLE_MS - determine if port should enable modem status irqs */ #define UART_ENABLE_MS(port,cflag) ((port)->flags & UPF_HARDPPS_CD || \ (cflag) & CRTSCTS || \ !((cflag) & CLOCAL)) int uart_get_rs485_mode(struct uart_port *port); #endif /* LINUX_SERIAL_CORE_H */
[+]
..
[-] node.h
[edit]
[-] via.h
[edit]
[-] ks0108.h
[edit]
[-] vfio.h
[edit]
[-] rbtree.h
[edit]
[-] stacktrace.h
[edit]
[-] list.h
[edit]
[-] mroute.h
[edit]
[-] psp.h
[edit]
[-] evm.h
[edit]
[-] interconnect.h
[edit]
[-] context_tracking_irq.h
[edit]
[-] phy_fixed.h
[edit]
[-] typecheck.h
[edit]
[-] rio_ids.h
[edit]
[-] sem.h
[edit]
[-] instrumented.h
[edit]
[-] count_zeros.h
[edit]
[-] fs.h
[edit]
[-] keyctl.h
[edit]
[-] rtc.h
[edit]
[-] mmu_context.h
[edit]
[+]
dsa
[-] virtio_caif.h
[edit]
[-] atalk.h
[edit]
[-] rndis.h
[edit]
[-] virtio_anchor.h
[edit]
[-] posix_acl.h
[edit]
[-] rhashtable-types.h
[edit]
[-] swap.h
[edit]
[-] purgatory.h
[edit]
[-] rtsx_pci.h
[edit]
[-] aio.h
[edit]
[-] rv.h
[edit]
[-] nvme-auth.h
[edit]
[-] args.h
[edit]
[-] license.h
[edit]
[-] bpfilter.h
[edit]
[-] tty_flip.h
[edit]
[-] crash_reserve.h
[edit]
[-] compiler_attributes.h
[edit]
[-] omap-dma.h
[edit]
[-] range.h
[edit]
[-] dfl.h
[edit]
[-] if_ltalk.h
[edit]
[-] attribute_container.h
[edit]
[-] gfp_types.h
[edit]
[-] hashtable_api.h
[edit]
[-] dynamic_debug.h
[edit]
[-] a.out.h
[edit]
[-] cpuset.h
[edit]
[-] ftrace.h
[edit]
[-] export-internal.h
[edit]
[-] vmalloc.h
[edit]
[-] nd.h
[edit]
[-] gfp.h
[edit]
[-] kdb.h
[edit]
[-] namei.h
[edit]
[-] lockref.h
[edit]
[-] in6.h
[edit]
[-] skbuff.h
[edit]
[-] ti-emif-sram.h
[edit]
[-] logic_iomem.h
[edit]
[-] phy_led_triggers.h
[edit]
[-] trace_events.h
[edit]
[-] radix-tree.h
[edit]
[-] mount.h
[edit]
[-] font.h
[edit]
[-] tc.h
[edit]
[-] dirent.h
[edit]
[-] io-64-nonatomic-lo-hi.h
[edit]
[-] crc7.h
[edit]
[-] pstore_ram.h
[edit]
[-] stmp_device.h
[edit]
[-] mm_api.h
[edit]
[-] mdev.h
[edit]
[-] percpu.h
[edit]
[-] once.h
[edit]
[-] mdio-gpio.h
[edit]
[-] ktime.h
[edit]
[-] ata_platform.h
[edit]
[-] tnum.h
[edit]
[-] verification.h
[edit]
[-] regmap.h
[edit]
[-] lsm_count.h
[edit]
[-] eventpoll.h
[edit]
[-] cgroup_subsys.h
[edit]
[-] arm-smccc.h
[edit]
[-] debugobjects.h
[edit]
[-] leds-regulator.h
[edit]
[-] printk.h
[edit]
[-] i2c-algo-pcf.h
[edit]
[-] signal_types.h
[edit]
[-] page-flags.h
[edit]
[-] rpmsg.h
[edit]
[-] wait.h
[edit]
[-] blk-integrity.h
[edit]
[-] bug.h
[edit]
[-] ppp_channel.h
[edit]
[-] kstrtox.h
[edit]
[-] prefetch.h
[edit]
[-] adxl.h
[edit]
[-] serial_8250.h
[edit]
[-] mnt_idmapping.h
[edit]
[-] kgdb.h
[edit]
[-] hdlcdrv.h
[edit]
[-] bcm47xx_wdt.h
[edit]
[-] irqhandler.h
[edit]
[-] fwnode.h
[edit]
[-] mc6821.h
[edit]
[-] fwnode_mdio.h
[edit]
[-] buildid.h
[edit]
[-] amd-pmf-io.h
[edit]
[+]
irqchip
[-] netdevice.h
[edit]
[-] root_dev.h
[edit]
[-] leds-lp3952.h
[edit]
[-] f75375s.h
[edit]
[-] nl802154.h
[edit]
[-] if_vlan.h
[edit]
[-] list_bl.h
[edit]
[-] elfnote-lto.h
[edit]
[-] mdio-mux.h
[edit]
[-] dma-fence-chain.h
[edit]
[-] workqueue.h
[edit]
[-] delayacct.h
[edit]
[-] spinlock_types.h
[edit]
[-] smp_types.h
[edit]
[-] interval_tree.h
[edit]
[-] oom.h
[edit]
[-] phy_link_topology.h
[edit]
[-] sysfb.h
[edit]
[-] crc32.h
[edit]
[-] mbus.h
[edit]
[-] indirect_call_wrapper.h
[edit]
[-] netfilter_bridge.h
[edit]
[-] percpu-refcount.h
[edit]
[-] cookie.h
[edit]
[-] flex_proportions.h
[edit]
[-] sonet.h
[edit]
[-] entry-kvm.h
[edit]
[-] migrate.h
[edit]
[-] leds-ti-lmu-common.h
[edit]
[-] map_benchmark.h
[edit]
[-] kthread.h
[edit]
[-] t10-pi.h
[edit]
[-] dlm_plock.h
[edit]
[-] vdpa.h
[edit]
[-] spmi.h
[edit]
[-] joystick.h
[edit]
[-] rodata_test.h
[edit]
[-] i2c-dev.h
[edit]
[-] irq.h
[edit]
[-] dma-mapping.h
[edit]
[-] inet_diag.h
[edit]
[-] blk-crypto.h
[edit]
[-] fileattr.h
[edit]
[-] stmmac.h
[edit]
[-] pci-epf.h
[edit]
[-] seqlock_types.h
[edit]
[-] entry-common.h
[edit]
[-] hwmon-sysfs.h
[edit]
[-] moxtet.h
[edit]
[-] ppp-comp.h
[edit]
[-] cordic.h
[edit]
[-] eisa.h
[edit]
[-] reset.h
[edit]
[-] pcs-lynx.h
[edit]
[+]
netfilter
[-] mxm-wmi.h
[edit]
[-] generic-radix-tree.h
[edit]
[-] llist.h
[edit]
[-] dma-buf.h
[edit]
[-] bitfield.h
[edit]
[-] vt_kern.h
[edit]
[-] consolemap.h
[edit]
[-] module_symbol.h
[edit]
[-] jbd2.h
[edit]
[-] bit_spinlock.h
[edit]
[-] dasd_mod.h
[edit]
[-] ipmi_smi.h
[edit]
[-] seqno-fence.h
[edit]
[-] rcupdate.h
[edit]
[-] netpoll.h
[edit]
[-] llist_api.h
[edit]
[-] badblocks.h
[edit]
[-] libps2.h
[edit]
[-] visorbus.h
[edit]
[-] swap_slots.h
[edit]
[-] rtnetlink.h
[edit]
[-] mm_inline.h
[edit]
[-] trace.h
[edit]
[-] xarray.h
[edit]
[-] seq_file.h
[edit]
[-] hugetlb_inline.h
[edit]
[-] pid.h
[edit]
[-] libfdt.h
[edit]
[-] wait_api.h
[edit]
[-] siox.h
[edit]
[-] omap-mailbox.h
[edit]
[-] uuid.h
[edit]
[-] parman.h
[edit]
[-] nfs_page.h
[edit]
[-] util_macros.h
[edit]
[-] psp-platform-access.h
[edit]
[-] rcutree.h
[edit]
[-] mailbox_controller.h
[edit]
[-] cgroup_rdma.h
[edit]
[-] static_call_types.h
[edit]
[-] memfd.h
[edit]
[-] lz4.h
[edit]
[-] omapfb.h
[edit]
[-] base64.h
[edit]
[-] termios_internal.h
[edit]
[-] led-class-multicolor.h
[edit]
[-] hwspinlock.h
[edit]
[-] cfi.h
[edit]
[-] seq_file_net.h
[edit]
[-] misc_cgroup.h
[edit]
[-] string_helpers.h
[edit]
[-] sxgbe_platform.h
[edit]
[-] clockchips.h
[edit]
[-] tty_buffer.h
[edit]
[-] tca6416_keypad.h
[edit]
[-] brcmphy.h
[edit]
[-] scs.h
[edit]
[-] sock_diag.h
[edit]
[-] freezer.h
[edit]
[-] netfilter.h
[edit]
[-] zconf.h
[edit]
[-] stackdepot.h
[edit]
[-] build-salt.h
[edit]
[-] seg6.h
[edit]
[-] cm4000_cs.h
[edit]
[-] gameport.h
[edit]
[-] tpm_svsm.h
[edit]
[-] hpet.h
[edit]
[-] pata_arasan_cf_data.h
[edit]
[-] restart_block.h
[edit]
[-] nfs_fs.h
[edit]
[-] of_fdt.h
[edit]
[-] mem_encrypt.h
[edit]
[-] dpll.h
[edit]
[-] proc_fs.h
[edit]
[-] ahci-remap.h
[edit]
[-] topology.h
[edit]
[-] ssbi.h
[edit]
[-] randomize_kstack.h
[edit]
[-] configfs.h
[edit]
[-] iscsi_boot_sysfs.h
[edit]
[-] netfs.h
[edit]
[-] security.h
[edit]
[-] bpf_lsm.h
[edit]
[-] spinlock_rt.h
[edit]
[+]
soundwire
[-] acpi_viot.h
[edit]
[-] cn_proc.h
[edit]
[-] genl_magic_struct.h
[edit]
[-] thermal.h
[edit]
[-] scatterlist.h
[edit]
[-] ahci_platform.h
[edit]
[-] dma-resv.h
[edit]
[-] spinlock_api_up.h
[edit]
[-] backing-dev-defs.h
[edit]
[-] hash.h
[edit]
[-] pvclock_gtod.h
[edit]
[-] kconfig.h
[edit]
[+]
mmc
[-] uidgid.h
[edit]
[-] s3c_adc_battery.h
[edit]
[-] cdrom.h
[edit]
[-] parport_pc.h
[edit]
[-] random.h
[edit]
[-] fscache.h
[edit]
[-] watch_queue.h
[edit]
[-] tty_ldisc.h
[edit]
[-] btree-128.h
[edit]
[-] mm_types.h
[edit]
[-] pwm_backlight.h
[edit]
[-] usbdevice_fs.h
[edit]
[-] libfdt_env.h
[edit]
[-] firmware.h
[edit]
[-] miscdevice.h
[edit]
[-] kmsan_string.h
[edit]
[-] threads.h
[edit]
[-] mpi.h
[edit]
[-] ip.h
[edit]
[-] kbd_diacr.h
[edit]
[+]
regulator
[-] jz4740-adc.h
[edit]
[-] bma150.h
[edit]
[-] bio.h
[edit]
[-] bpf_lirc.h
[edit]
[-] nvme-fc-driver.h
[edit]
[-] rmi.h
[edit]
[-] ds2782_battery.h
[edit]
[-] mhi_ep.h
[edit]
[-] tick.h
[edit]
[-] isa.h
[edit]
[-] srcutiny.h
[edit]
[-] cnt32_to_63.h
[edit]
[-] extcon.h
[edit]
[-] intel_vsec.h
[edit]
[-] etherdevice.h
[edit]
[-] apple_bl.h
[edit]
[-] of_platform.h
[edit]
[-] iommu-dma.h
[edit]
[+]
pse-pd
[-] dm-verity-loadpin.h
[edit]
[-] nfs_fs_sb.h
[edit]
[-] flat.h
[edit]
[-] libnvdimm.h
[edit]
[-] fsl_devices.h
[edit]
[-] scc.h
[edit]
[-] olpc-ec.h
[edit]
[+]
avf
[-] auto_dev-ioctl.h
[edit]
[-] ioprio.h
[edit]
[-] compiler-gcc.h
[edit]
[-] sh_clk.h
[edit]
[-] spinlock_api.h
[edit]
[-] init_task.h
[edit]
[-] sys.h
[edit]
[-] virtio_dma_buf.h
[edit]
[-] once_lite.h
[edit]
[-] ascii85.h
[edit]
[-] lockdep_api.h
[edit]
[-] dns_resolver.h
[edit]
[-] transport_class.h
[edit]
[-] if_pppol2tp.h
[edit]
[-] devfreq_cooling.h
[edit]
[-] pm.h
[edit]
[-] mroute6.h
[edit]
[-] kernel.h
[edit]
[-] module.h
[edit]
[-] scpi_protocol.h
[edit]
[-] io-64-nonatomic-hi-lo.h
[edit]
[-] counter.h
[edit]
[-] dtlk.h
[edit]
[-] devm-helpers.h
[edit]
[-] rwlock_rt.h
[edit]
[-] ratelimit_types.h
[edit]
[-] kmsg_dump.h
[edit]
[-] memcontrol.h
[edit]
[-] pstore.h
[edit]
[+]
mlx5
[-] scx200.h
[edit]
[-] rational.h
[edit]
[-] fwctl.h
[edit]
[-] filter.h
[edit]
[+]
remoteproc
[-] l2tp.h
[edit]
[-] rio_drv.h
[edit]
[-] lis3lv02d.h
[edit]
[-] aer.h
[edit]
[-] string_choices.h
[edit]
[-] ata.h
[edit]
[-] stdarg.h
[edit]
[-] phylib_stubs.h
[edit]
[-] pgtable_api.h
[edit]
[-] local_lock_internal.h
[edit]
[-] gcd.h
[edit]
[-] stringhash.h
[edit]
[-] icmpv6.h
[edit]
[-] bpf_trace.h
[edit]
[-] arm_sdei.h
[edit]
[-] nvme-tcp.h
[edit]
[-] min_heap.h
[edit]
[-] drbd_genl_api.h
[edit]
[-] stmp3xxx_rtc_wdt.h
[edit]
[-] pm_domain.h
[edit]
[-] prime_numbers.h
[edit]
[-] if_fddi.h
[edit]
[-] ucb1400.h
[edit]
[-] mnt_namespace.h
[edit]
[-] if_macvlan.h
[edit]
[-] posix-clock.h
[edit]
[-] isapnp.h
[edit]
[-] pm_opp.h
[edit]
[-] memory.h
[edit]
[-] if_link.h
[edit]
[-] vt.h
[edit]
[-] libgcc.h
[edit]
[-] tifm.h
[edit]
[-] rcu_node_tree.h
[edit]
[-] mISDNif.h
[edit]
[-] tracepoint-defs.h
[edit]
[-] wm97xx.h
[edit]
[-] nfsacl.h
[edit]
[-] exportfs.h
[edit]
[-] skb_array.h
[edit]
[-] i2c-mux.h
[edit]
[-] filelock.h
[edit]
[-] errqueue.h
[edit]
[-] of_graph.h
[edit]
[-] of_mdio.h
[edit]
[-] nospec.h
[edit]
[-] tracefs.h
[edit]
[-] jiffies.h
[edit]
[-] dca.h
[edit]
[-] i2c-algo-pca.h
[edit]
[-] igmp.h
[edit]
[-] edd.h
[edit]
[+]
decompress
[-] isa-dma.h
[edit]
[-] wwan.h
[edit]
[-] numa.h
[edit]
[-] spinlock_api_smp.h
[edit]
[-] 8250_pci.h
[edit]
[-] ipv6_route.h
[edit]
[-] dma-map-ops.h
[edit]
[-] minmax.h
[edit]
[-] if_tunnel.h
[edit]
[-] devcoredump.h
[edit]
[-] via-core.h
[edit]
[-] bootmem_info.h
[edit]
[+]
device
[-] kmsan-checks.h
[edit]
[-] user.h
[edit]
[-] most.h
[edit]
[-] sony-laptop.h
[edit]
[+]
fsl
[+]
mdio
[-] ww_mutex.h
[edit]
[-] workqueue_api.h
[edit]
[-] seq_buf.h
[edit]
[+]
isdn
[-] io_uring.h
[edit]
[-] kmod.h
[edit]
[-] rculist.h
[edit]
[-] regset.h
[edit]
[-] logic_pio.h
[edit]
[-] mman.h
[edit]
[-] memblock.h
[edit]
[-] if_tun.h
[edit]
[+]
extcon
[-] dmi.h
[edit]
[-] union_find.h
[edit]
[-] page_idle.h
[edit]
[-] page_reporting.h
[edit]
[-] openvswitch.h
[edit]
[-] if_eql.h
[edit]
[-] cgroup.h
[edit]
[-] atm_tcp.h
[edit]
[-] pci-doe.h
[edit]
[-] nls.h
[edit]
[-] led-lm3530.h
[edit]
[-] iversion.h
[edit]
[-] kmemleak.h
[edit]
[-] rhashtable.h
[edit]
[-] tsacct_kern.h
[edit]
[-] coresight-stm.h
[edit]
[-] smscphy.h
[edit]
[-] smc911x.h
[edit]
[-] watchdog.h
[edit]
[-] kcov.h
[edit]
[-] dm-region-hash.h
[edit]
[-] sysrq.h
[edit]
[-] wmi.h
[edit]
[-] clk.h
[edit]
[-] bitmap.h
[edit]
[-] smp.h
[edit]
[-] hashtable.h
[edit]
[-] adreno-smmu-priv.h
[edit]
[-] videodev2.h
[edit]
[-] taskstats_kern.h
[edit]
[-] errname.h
[edit]
[-] array_size.h
[edit]
[-] objtool_types.h
[edit]
[-] if_team.h
[edit]
[+]
io_uring
[-] device-mapper.h
[edit]
[-] blk_types.h
[edit]
[-] async.h
[edit]
[-] audit.h
[edit]
[-] blk-mq.h
[edit]
[-] damon.h
[edit]
[+]
power
[-] vmw_vmci_defs.h
[edit]
[-] acpi_pmtmr.h
[edit]
[-] pldmfw.h
[edit]
[-] journal-head.h
[edit]
[-] swapops.h
[edit]
[-] ipmi.h
[edit]
[-] kref_api.h
[edit]
[-] netfilter_ipv6.h
[edit]
[-] nfs3.h
[edit]
[-] padata.h
[edit]
[-] cred.h
[edit]
[-] syscalls.h
[edit]
[-] srcu.h
[edit]
[-] ntb_transport.h
[edit]
[-] apm_bios.h
[edit]
[-] efi.h
[edit]
[-] elf.h
[edit]
[-] ntb.h
[edit]
[-] lsm_hooks.h
[edit]
[-] altera_uart.h
[edit]
[-] uio.h
[edit]
[-] nubus.h
[edit]
[-] jhash.h
[edit]
[-] iommufd.h
[edit]
[-] align.h
[edit]
[-] fsnotify_backend.h
[edit]
[-] screen_info.h
[edit]
[-] devfreq.h
[edit]
[-] synclink.h
[edit]
[-] vmpressure.h
[edit]
[-] spinlock_types_raw.h
[edit]
[-] rcutiny.h
[edit]
[-] kexec.h
[edit]
[-] netlink.h
[edit]
[-] xxhash.h
[edit]
[-] unroll.h
[edit]
[-] scmi_protocol.h
[edit]
[-] srcutree.h
[edit]
[-] stm.h
[edit]
[-] utsname.h
[edit]
[-] ring_buffer.h
[edit]
[-] pm_wakeup.h
[edit]
[-] initrd.h
[edit]
[-] dma-direct.h
[edit]
[-] micrel_phy.h
[edit]
[-] latencytop.h
[edit]
[-] phonet.h
[edit]
[-] mv643xx_i2c.h
[edit]
[-] packing.h
[edit]
[-] lcd.h
[edit]
[-] tpm.h
[edit]
[-] dm-io.h
[edit]
[-] dqblk_v2.h
[edit]
[-] local_lock.h
[edit]
[-] of_reserved_mem.h
[edit]
[-] host1x_context_bus.h
[edit]
[-] sdb.h
[edit]
[-] path.h
[edit]
[-] async_tx.h
[edit]
[-] rslib.h
[edit]
[-] limits.h
[edit]
[-] shdma-base.h
[edit]
[-] cb710.h
[edit]
[-] hardirq.h
[edit]
[-] fsi-sbefifo.h
[edit]
[-] group_cpus.h
[edit]
[-] hid-over-i2c.h
[edit]
[-] nodemask.h
[edit]
[-] of_address.h
[edit]
[-] posix_acl_xattr.h
[edit]
[-] atomic.h
[edit]
[-] find.h
[edit]
[-] mpls_iptunnel.h
[edit]
[+]
platform_data
[-] compaction.h
[edit]
[-] eeprom_93cx6.h
[edit]
[-] zorro.h
[edit]
[-] timb_dma.h
[edit]
[-] interval_tree_generic.h
[edit]
[-] pda_power.h
[edit]
[-] kobject_api.h
[edit]
[-] lru_cache.h
[edit]
[-] libata.h
[edit]
[-] earlycpio.h
[edit]
[-] debug_locks.h
[edit]
[-] maple.h
[edit]
[-] cpuidle.h
[edit]
[-] fs_types.h
[edit]
[+]
firmware
[-] ksm.h
[edit]
[-] backlight.h
[edit]
[-] pagevec.h
[edit]
[-] goldfish.h
[edit]
[-] mpls.h
[edit]
[-] connector.h
[edit]
[-] instrumentation.h
[edit]
[-] zswap.h
[edit]
[-] fs_context.h
[edit]
[-] gpio_keys.h
[edit]
[-] qnx6_fs.h
[edit]
[-] sunxi-rsb.h
[edit]
[-] msg.h
[edit]
[-] intel_rapl.h
[edit]
[-] surface_acpi_notify.h
[edit]
[-] bpf_mprog.h
[edit]
[-] eeprom_93xx46.h
[edit]
[-] khugepaged.h
[edit]
[-] cuda.h
[edit]
[-] hmm.h
[edit]
[-] hil_mlc.h
[edit]
[-] pm-trace.h
[edit]
[-] intel_tpmi.h
[edit]
[-] preempt.h
[edit]
[-] zlib.h
[edit]
[-] dma-fence-unwrap.h
[edit]
[-] container_of.h
[edit]
[-] ns_common.h
[edit]
[-] pl320-ipc.h
[edit]
[-] pti.h
[edit]
[-] eventfd.h
[edit]
[-] pkeys.h
[edit]
[-] leds.h
[edit]
[-] fd.h
[edit]
[-] irqflags.h
[edit]
[-] nvram.h
[edit]
[-] trace_clock.h
[edit]
[-] tboot.h
[edit]
[-] unicode.h
[edit]
[-] irqdomain_defs.h
[edit]
[-] sched_clock.h
[edit]
[-] seccomp.h
[edit]
[-] quotaops.h
[edit]
[-] cfi_types.h
[edit]
[-] firmware-map.h
[edit]
[-] vermagic.h
[edit]
[-] uaccess.h
[edit]
[-] sm501-regs.h
[edit]
[-] hid-roccat.h
[edit]
[-] list_sort.h
[edit]
[-] linear_range.h
[edit]
[-] sram.h
[edit]
[+]
mux
[-] elfnote.h
[edit]
[-] anon_inodes.h
[edit]
[-] fs_api.h
[edit]
[-] page_ref.h
[edit]
[-] tracehook.h
[edit]
[+]
atomic
[-] rmap.h
[edit]
[-] mpage.h
[edit]
[-] if_ether.h
[edit]
[-] instruction_pointer.h
[edit]
[-] davinci_emac.h
[edit]
[-] pci_ids.h
[edit]
[-] ethtool_netlink.h
[edit]
[-] virtio_pci_legacy.h
[edit]
[-] cleanup.h
[edit]
[-] mii_timestamper.h
[edit]
[-] dim.h
[edit]
[-] efs_vh.h
[edit]
[-] bio-integrity.h
[edit]
[-] parser.h
[edit]
[-] refcount_api.h
[edit]
[-] vga_switcheroo.h
[edit]
[-] reset-controller.h
[edit]
[-] average.h
[edit]
[-] pm_wakeirq.h
[edit]
[-] crc8.h
[edit]
[-] trace_seq.h
[edit]
[-] of_dma.h
[edit]
[-] fixp-arith.h
[edit]
[-] bpf_verifier.h
[edit]
[-] ptr_ring.h
[edit]
[-] cma.h
[edit]
[-] drbd_genl.h
[edit]
[-] nvme-rdma.h
[edit]
[-] ftrace_irq.h
[edit]
[-] sh_timer.h
[edit]
[-] pmu.h
[edit]
[-] writeback.h
[edit]
[-] i2c.h
[edit]
[-] bits.h
[edit]
[-] inetdevice.h
[edit]
[-] mmzone.h
[edit]
[-] bcd.h
[edit]
[-] zstd_lib.h
[edit]
[-] blk-crypto-profile.h
[edit]
[-] fsi.h
[edit]
[-] uacce.h
[edit]
[-] elf-fdpic.h
[edit]
[-] fsi-occ.h
[edit]
[+]
surface_aggregator
[-] yam.h
[edit]
[-] set_memory.h
[edit]
[-] timekeeping.h
[edit]
[-] prmt.h
[edit]
[-] dev_printk.h
[edit]
[-] extcon-provider.h
[edit]
[-] selection.h
[edit]
[-] smsc911x.h
[edit]
[-] uts.h
[edit]
[+]
spi
[-] pxa168_eth.h
[edit]
[-] aperture.h
[edit]
[-] leds-lp3944.h
[edit]
[-] serial_s3c.h
[edit]
[-] mv643xx_eth.h
[edit]
[-] ihex.h
[edit]
[-] hugetlb.h
[edit]
[-] toshiba.h
[edit]
[-] lsm_audit.h
[edit]
[-] virtio_byteorder.h
[edit]
[-] console_struct.h
[edit]
[-] if_bridge.h
[edit]
[-] bitrev.h
[edit]
[-] vm_event_item.h
[edit]
[-] statfs.h
[edit]
[-] clocksource.h
[edit]
[-] parport.h
[edit]
[-] fscrypt.h
[edit]
[-] cpuidle_haltpoll.h
[edit]
[-] textsearch_fsm.h
[edit]
[-] fcntl.h
[edit]
[-] build_bug.h
[edit]
[-] icmp.h
[edit]
[-] swiotlb.h
[edit]
[-] cciss_ioctl.h
[edit]
[-] smpboot.h
[edit]
[-] page_owner.h
[edit]
[-] leds-pca9532.h
[edit]
[-] zstd.h
[edit]
[-] ptrace.h
[edit]
[-] dlm.h
[edit]
[-] umh.h
[edit]
[-] glob.h
[edit]
[-] swapfile.h
[edit]
[-] blkdev.h
[edit]
[-] crc64.h
[edit]
[-] buffer_head.h
[edit]
[-] input.h
[edit]
[-] sys_soc.h
[edit]
[-] adb.h
[edit]
[-] atmel-ssc.h
[edit]
[-] efi-bgrt.h
[edit]
[-] greybus.h
[edit]
[-] lockdep.h
[edit]
[-] syslog.h
[edit]
[-] altera_jtaguart.h
[edit]
[-] stackprotector.h
[edit]
[-] err.h
[edit]
[-] powercap.h
[edit]
[-] virtio_console.h
[edit]
[-] psci.h
[edit]
[-] ctype.h
[edit]
[-] pktcdvd.h
[edit]
[-] usb.h
[edit]
[-] cache.h
[edit]
[-] stringify.h
[edit]
[-] virtio_config.h
[edit]
[-] bcm47xx_nvram.h
[edit]
[-] socket.h
[edit]
[-] adfs_fs.h
[edit]
[-] stat.h
[edit]
[-] hidraw.h
[edit]
[-] mmdebug.h
[edit]
[-] ethtool.h
[edit]
[-] refcount.h
[edit]
[-] console.h
[edit]
[-] static_key.h
[edit]
[-] sctp.h
[edit]
[-] pnfs_osd_xdr.h
[edit]
[-] irqnr.h
[edit]
[-] slab.h
[edit]
[-] fortify-string.h
[edit]
[-] cfag12864b.h
[edit]
[-] rwlock_types.h
[edit]
[-] extable.h
[edit]
[-] rcuwait_api.h
[edit]
[-] interrupt.h
[edit]
[-] irqbypass.h
[edit]
[-] swap_cgroup.h
[edit]
[-] irqchip.h
[edit]
[-] kvm_para.h
[edit]
[-] dm-dirty-log.h
[edit]
[-] if_pppox.h
[edit]
[-] iommu.h
[edit]
[-] nvme.h
[edit]
[-] lcm.h
[edit]
[-] sprintf.h
[edit]
[-] io-mapping.h
[edit]
[-] uprobes.h
[edit]
[-] module_signature.h
[edit]
[-] component.h
[edit]
[-] resource_ext.h
[edit]
[-] rwlock.h
[edit]
[-] clkdev.h
[edit]
[-] serial_core.h
[edit]
[-] gpio-pxa.h
[edit]
[-] pr.h
[edit]
[-] of_gpio.h
[edit]
[-] pstore_blk.h
[edit]
[-] pruss_driver.h
[edit]
[-] soundcard.h
[edit]
[-] coredump.h
[edit]
[-] nvmem-provider.h
[edit]
[-] asn1_encoder.h
[edit]
[-] memregion.h
[edit]
[-] zpool.h
[edit]
[-] kfence.h
[edit]
[-] int_log.h
[edit]
[-] list_lru.h
[edit]
[-] ecryptfs.h
[edit]
[-] dqblk_qtree.h
[edit]
[-] cpumask_api.h
[edit]
[-] kmsan.h
[edit]
[-] if_rmnet.h
[edit]
[-] device.h
[edit]
[-] digsig.h
[edit]
[-] kernel-page-flags.h
[edit]
[-] cacheflush.h
[edit]
[-] acpi.h
[edit]
[-] w1-gpio.h
[edit]
[+]
greybus
[-] auxiliary_bus.h
[edit]
[-] userfaultfd_k.h
[edit]
[-] sysctl.h
[edit]
[-] bpf-cgroup.h
[edit]
[-] gfp_api.h
[edit]
[-] elfcore-compat.h
[edit]
[-] pci-ats.h
[edit]
[-] linkmode.h
[edit]
[-] cpuhotplug.h
[edit]
[-] bpf_mem_alloc.h
[edit]
[-] page-flags-layout.h
[edit]
[-] dynamic_queue_limits.h
[edit]
[-] ptp_classify.h
[edit]
[-] i8253.h
[edit]
[-] lapb.h
[edit]
[-] led-class-flash.h
[edit]
[-] dma-fence-array.h
[edit]
[-] htcpld.h
[edit]
[-] switchtec.h
[edit]
[-] psi_types.h
[edit]
[-] sh_dma.h
[edit]
[-] msi.h
[edit]
[-] fsl-diu-fb.h
[edit]
[-] rethook.h
[edit]
[-] perf_regs.h
[edit]
[+]
amba
[-] xattr.h
[edit]
[-] acpi_mdio.h
[edit]
[-] kvm_dirty_ring.h
[edit]
[-] kref.h
[edit]
[-] kmsan_types.h
[edit]
[-] auto_fs.h
[edit]
[-] bcm47xx_sprom.h
[edit]
[-] signalfd.h
[edit]
[-] kobj_map.h
[edit]
[-] sync_file.h
[edit]
[-] notifier.h
[edit]
[-] ks8851_mll.h
[edit]
[-] delayed_call.h
[edit]
[-] tee_core.h
[edit]
[-] swait.h
[edit]
[-] projid.h
[edit]
[-] pwm.h
[edit]
[-] cgroup-defs.h
[edit]
[-] bottom_half.h
[edit]
[-] key.h
[edit]
[-] virtio_net.h
[edit]
[-] iopoll.h
[edit]
[-] bcm963xx_tag.h
[edit]
[-] kernel_stat.h
[edit]
[-] cpu_cooling.h
[edit]
[-] syscalls_api.h
[edit]
[-] mempolicy.h
[edit]
[-] fprobe.h
[edit]
[-] linkage.h
[edit]
[-] win_minmax.h
[edit]
[-] balloon_compaction.h
[edit]
[-] const.h
[edit]
[-] vgaarb.h
[edit]
[-] rwlock_api_smp.h
[edit]
[-] ism.h
[edit]
[+]
rpmsg
[-] mm.h
[edit]
[-] objtool.h
[edit]
[-] timex.h
[edit]
[-] timecounter.h
[edit]
[-] time_namespace.h
[edit]
[-] nsproxy.h
[edit]
[-] iova_bitmap.h
[edit]
[-] polynomial.h
[edit]
[-] sm501.h
[edit]
[-] kbuild.h
[edit]
[-] key-type.h
[edit]
[-] timer.h
[edit]
[-] iova.h
[edit]
[-] seg6_local.h
[edit]
[-] vtime.h
[edit]
[-] rbtree_augmented.h
[edit]
[-] panic.h
[edit]
[-] llc.h
[edit]
[-] cpu_rmap.h
[edit]
[-] amd-iommu.h
[edit]
[-] phy.h
[edit]
[-] fs_enet_pd.h
[edit]
[+]
iio
[-] wl12xx.h
[edit]
[-] alcor_pci.h
[edit]
[-] stop_machine.h
[edit]
[-] hp_sdc.h
[edit]
[-] lwq.h
[edit]
[-] bpf.h
[edit]
[-] pim.h
[edit]
[-] vt_buffer.h
[edit]
[-] raid_class.h
[edit]
[-] shmem_fs.h
[edit]
[+]
netfilter_bridge
[-] types.h
[edit]
[-] of_net.h
[edit]
[+]
mtd
[-] bpf_types.h
[edit]
[-] siphash.h
[edit]
[-] inotify.h
[edit]
[-] fips.h
[edit]
[-] devpts_fs.h
[edit]
[-] ucs2_string.h
[edit]
[-] pci-p2pdma.h
[edit]
[-] panic_notifier.h
[edit]
[-] uio_driver.h
[edit]
[-] crc-ccitt.h
[edit]
[-] zsmalloc.h
[edit]
[-] pe.h
[edit]
[-] sed-opal.h
[edit]
[-] shrinker.h
[edit]
[-] c2port.h
[edit]
[-] poll.h
[edit]
[-] genl_magic_func.h
[edit]
[-] ratelimit.h
[edit]
[-] pps_kernel.h
[edit]
[-] textsearch.h
[edit]
[-] ieee802154.h
[edit]
[-] reciprocal_div.h
[edit]
[-] trace_recursion.h
[edit]
[-] mISDNhw.h
[edit]
[-] reboot.h
[edit]
[-] ccp.h
[edit]
[-] btree-type.h
[edit]
[-] btrfs.h
[edit]
[-] posix-timers.h
[edit]
[-] fault-inject-usercopy.h
[edit]
[-] kasan.h
[edit]
[-] if_arp.h
[edit]
[-] sort.h
[edit]
[-] gpio.h
[edit]
[-] fs_stack.h
[edit]
[-] dm-kcopyd.h
[edit]
[-] crash_dump.h
[edit]
[-] start_kernel.h
[edit]
[-] sonypi.h
[edit]
[-] spinlock_types_up.h
[edit]
[-] cdev.h
[edit]
[-] w1.h
[edit]
[-] slimbus.h
[edit]
[-] pci-acpi.h
[edit]
[-] percpu-defs.h
[edit]
[-] workqueue_types.h
[edit]
[-] assoc_array.h
[edit]
[-] usb_usual.h
[edit]
[-] linux_logo.h
[edit]
[-] z2_battery.h
[edit]
[-] math.h
[edit]
[-] agp_backend.h
[edit]
[-] kdev_t.h
[edit]
[-] user-return-notifier.h
[edit]
[-] slab_def.h
[edit]
[-] quota.h
[edit]
[-] of_irq.h
[edit]
[-] dmaengine.h
[edit]
[-] mdio.h
[edit]
[+]
sunrpc
[-] errno.h
[edit]
[-] fec.h
[edit]
[-] drbd_config.h
[edit]
[-] kernel_read_file.h
[edit]
[-] u64_stats_sync_api.h
[edit]
[+]
pinctrl
[-] kfifo.h
[edit]
[-] capability.h
[edit]
[-] bpf-cgroup-defs.h
[edit]
[-] highmem.h
[edit]
[-] mutex.h
[edit]
[-] ipack.h
[edit]
[-] timer_types.h
[edit]
[-] rcu_segcblist.h
[edit]
[-] seqlock.h
[edit]
[-] bch.h
[edit]
[-] hil.h
[edit]
[-] ptp_clock_kernel.h
[edit]
[-] arm_ffa.h
[edit]
[+]
mlx4
[-] hyperv.h
[edit]
[-] kasan-checks.h
[edit]
[-] plist.h
[edit]
[-] pipe_fs_i.h
[edit]
[-] firewire.h
[edit]
[-] ima.h
[edit]
[-] if_tap.h
[edit]
[-] coresight.h
[edit]
[-] sed-opal-key.h
[edit]
[-] property.h
[edit]
[-] net_tstamp.h
[edit]
[+]
soc
[-] nfs_ssc.h
[edit]
[-] nvme-keyring.h
[edit]
[-] hid.h
[edit]
[-] netfilter_ipv4.h
[edit]
[-] stddef.h
[edit]
[-] hid-sensor-ids.h
[edit]
[-] intel-ish-client-if.h
[edit]
[-] kobject.h
[edit]
[-] psi.h
[edit]
[-] cpu_smt.h
[edit]
[-] iosys-map.h
[edit]
[-] ext2_fs.h
[edit]
[-] acpi_dma.h
[edit]
[-] btf_ids.h
[edit]
[-] mvebu-pmsu.h
[edit]
[-] dma-fence.h
[edit]
[-] of_iommu.h
[edit]
[-] kvm_types.h
[edit]
[-] fb.h
[edit]
[-] coresight-pmu.h
[edit]
[-] svga.h
[edit]
[-] mei_aux.h
[edit]
[+]
reset
[-] swait_api.h
[edit]
[-] vme.h
[edit]
[-] remoteproc.h
[edit]
[-] pstore_zone.h
[edit]
[-] cpu.h
[edit]
[-] i8042.h
[edit]
[-] vmw_vmci_api.h
[edit]
[-] atmel_pdc.h
[edit]
[-] platform_profile.h
[edit]
[-] asn1_ber_bytecode.h
[edit]
[-] nmi.h
[edit]
[-] rcupdate_wait.h
[edit]
[+]
qat
[-] fw_table.h
[edit]
[-] seg6_genl.h
[edit]
[-] device_cgroup.h
[edit]
[-] tty_port.h
[edit]
[-] tcp.h
[edit]
[-] irqdesc.h
[edit]
[-] edac.h
[edit]
[-] coda.h
[edit]
[-] fsnotify.h
[edit]
[-] pci.h
[edit]
[-] seqlock_api.h
[edit]
[-] timerqueue.h
[edit]
[-] mmu_notifier.h
[edit]
[-] msdos_fs.h
[edit]
[+]
qed
[-] virtio.h
[edit]
[-] pmbus.h
[edit]
[-] percpu_counter.h
[edit]
[-] hid_bpf.h
[edit]
[-] dmapool.h
[edit]
[-] time64.h
[edit]
[-] sbitmap.h
[edit]
[-] fbcon.h
[edit]
[-] pci-dma-compat.h
[edit]
[-] iscsi_ibft.h
[edit]
[-] pfn_t.h
[edit]
[-] serial_bcm63xx.h
[edit]
[-] context_tracking_state.h
[edit]
[-] cpuhplock.h
[edit]
[-] seg6_iptunnel.h
[edit]
[-] xz.h
[edit]
[-] fscache-cache.h
[edit]
[-] apple-gmux.h
[edit]
[-] efi_embedded_fw.h
[edit]
[-] io-pgtable.h
[edit]
[-] nfs_iostat.h
[edit]
[-] timerfd.h
[edit]
[-] hwmon-vid.h
[edit]
[-] hid-sensor-hub.h
[edit]
[-] zutil.h
[edit]
[-] jump_label.h
[edit]
[-] atm.h
[edit]
[-] sync_core.h
[edit]
[-] rculist_bl.h
[edit]
[-] ipv6.h
[edit]
[-] hrtimer.h
[edit]
[-] syscall_user_dispatch.h
[edit]
[-] sunserialcore.h
[edit]
[+]
clk
[-] blk-cgroup.h
[edit]
[-] atmel-isc-media.h
[edit]
[-] msdos_partition.h
[edit]
[-] skmsg.h
[edit]
[-] devfreq-event.h
[edit]
[-] ti_wilink_st.h
[edit]
[-] lockdep_types.h
[edit]
[-] usermode_driver.h
[edit]
[-] tpm_eventlog.h
[edit]
[-] hdmi.h
[edit]
[-] futex.h
[edit]
[-] pfn.h
[edit]
[-] ras.h
[edit]
[-] crc16.h
[edit]
[-] kernfs.h
[edit]
[-] serial.h
[edit]
[-] hippidevice.h
[edit]
[-] lp.h
[edit]
[-] ptp_mock.h
[edit]
[-] bsg.h
[edit]
[-] processor.h
[edit]
[-] apm-emulation.h
[edit]
[+]
mailbox
[-] armada-37xx-rwtm-mailbox.h
[edit]
[-] patchkey.h
[edit]
[-] freelist.h
[edit]
[-] serdev.h
[edit]
[-] mmap_lock.h
[edit]
[-] spinlock.h
[edit]
[-] fault-inject.h
[edit]
[-] msi_api.h
[edit]
[-] sound.h
[edit]
[-] vhost_iotlb.h
[edit]
[-] proc_ns.h
[edit]
[-] crc-itu-t.h
[edit]
[-] delay.h
[edit]
[-] shm.h
[edit]
[+]
mfd
[-] power_supply.h
[edit]
[-] platform_device.h
[edit]
[-] rtmutex.h
[edit]
[-] ipc.h
[edit]
[-] mv643xx.h
[edit]
[-] maple_tree.h
[edit]
[-] page_table_check.h
[edit]
[-] cacheinfo.h
[edit]
[-] rfkill.h
[edit]
[-] rcuref.h
[edit]
[-] cpufeature.h
[edit]
[-] mmiotrace.h
[edit]
[-] semaphore.h
[edit]
[-] wkup_m3_ipc.h
[edit]
[-] pagemap.h
[edit]
[-] mailbox_client.h
[edit]
[-] sw842.h
[edit]
[-] sockptr.h
[edit]
[-] dma-heap.h
[edit]
[-] leds-bd2802.h
[edit]
[-] intel_th.h
[edit]
[-] auxvec.h
[edit]
[-] imx-media.h
[edit]
[-] thread_info.h
[edit]
[-] serial_max3100.h
[edit]
[-] mroute_base.h
[edit]
[-] cgroup_api.h
[edit]
[-] vfio_pci_core.h
[edit]
[-] hte.h
[edit]
[+]
can
[-] i2c-smbus.h
[edit]
[-] jump_label_ratelimit.h
[edit]
[-] energy_model.h
[edit]
[-] pm_runtime.h
[edit]
[-] static_call.h
[edit]
[-] genalloc.h
[edit]
[-] fddidevice.h
[edit]
[-] fsldma.h
[edit]
[-] poison.h
[edit]
[+]
sched
[-] fs_struct.h
[edit]
[-] hw_random.h
[edit]
[-] getcpu.h
[edit]
[-] hw_breakpoint.h
[edit]
[-] zstd_errors.h
[edit]
[-] fsverity.h
[edit]
[-] dax.h
[edit]
[-] in.h
[edit]
[-] if_phonet.h
[edit]
[-] livepatch.h
[edit]
[-] keyboard.h
[edit]
[-] drbd_limits.h
[edit]
[-] virtio_ring.h
[edit]
[-] nfs_fs_i.h
[edit]
[-] crc32poly.h
[edit]
[-] udp.h
[edit]
[-] signal.h
[edit]
[-] iocontext.h
[edit]
[-] nitro_enclaves.h
[edit]
[+]
phy
[-] lantiq.h
[edit]
[-] compiler.h
[edit]
[+]
ssb
[-] osq_lock.h
[edit]
[-] hrtimer_defs.h
[edit]
[-] pci-ep-cfs.h
[edit]
[-] irqreturn.h
[edit]
[-] blockgroup_lock.h
[edit]
[-] wireless.h
[edit]
[-] vfs.h
[edit]
[-] init.h
[edit]
[-] pci-tph.h
[edit]
[-] dm-bufio.h
[edit]
[-] irq_work.h
[edit]
[-] i2c-algo-bit.h
[edit]
[-] sungem_phy.h
[edit]
[-] mISDNdsp.h
[edit]
[-] hid-debug.h
[edit]
[-] cs5535.h
[edit]
[-] of.h
[edit]
[-] dma-direction.h
[edit]
[-] rculist_nulls.h
[edit]
[+]
i3c
[-] tegra-icc.h
[edit]
[-] error-injection.h
[edit]
[-] clocksource_ids.h
[edit]
[+]
pcs
[-] file.h
[edit]
[-] overflow.h
[edit]
[-] wait_bit.h
[edit]
[+]
rtc
[-] timb_gpio.h
[edit]
[-] sh_intc.h
[edit]
[-] sysv_fs.h
[edit]
[-] task_io_accounting_ops.h
[edit]
[-] kbd_kern.h
[edit]
[-] netdev_features.h
[edit]
[-] dtpm.h
[edit]
[-] cper.h
[edit]
[-] if_hsr.h
[edit]
[-] rtsx_usb.h
[edit]
[-] irqdomain.h
[edit]
[-] string.h
[edit]
[-] rwbase_rt.h
[edit]
[-] percpu-rwsem.h
[edit]
[-] context_tracking.h
[edit]
[-] ioremap.h
[edit]
[-] memory_hotplug.h
[edit]
[-] pci-epc.h
[edit]
[-] io_uring_types.h
[edit]
[-] alarmtimer.h
[edit]
[+]
raid
[-] acct.h
[edit]
[-] page_counter.h
[edit]
[-] page_ext.h
[edit]
[-] perf_event.h
[edit]
[-] bsearch.h
[edit]
[-] dqblk_v1.h
[edit]
[-] pageblock-flags.h
[edit]
[-] mii.h
[edit]
[-] page-isolation.h
[edit]
[-] kernelcapi.h
[edit]
[-] elf-randomize.h
[edit]
[-] resctrl.h
[edit]
[-] fs_pin.h
[edit]
[-] crc32c.h
[edit]
[-] smc91x.h
[edit]
[+]
lockd
[-] thunderbolt.h
[edit]
[-] kvm_irqfd.h
[edit]
[-] hiddev.h
[edit]
[-] pid_namespace.h
[edit]
[-] kallsyms.h
[edit]
[-] inet.h
[edit]
[-] sfp.h
[edit]
[-] tracepoint.h
[edit]
[-] serio.h
[edit]
[-] fs_parser.h
[edit]
[-] completion.h
[edit]
[-] moduleloader.h
[edit]
[-] acpi_iort.h
[edit]
[+]
netfilter_ipv6
[-] dm9000.h
[edit]
[-] vexpress.h
[edit]
[-] task_io_accounting.h
[edit]
[-] io.h
[edit]
[-] phylink.h
[edit]
[-] fsl_hypervisor.h
[edit]
[-] swab.h
[edit]
[-] hdlc.h
[edit]
[-] resume_user_mode.h
[edit]
[-] microchipphy.h
[edit]
[-] iomap.h
[edit]
[-] relay.h
[edit]
[-] bitops.h
[edit]
[-] of_clk.h
[edit]
[-] securebits.h
[edit]
[-] part_stat.h
[edit]
[-] tee_drv.h
[edit]
[-] dw_apb_timer.h
[edit]
[-] asn1.h
[edit]
[-] nvme-fc.h
[edit]
[-] profile.h
[edit]
[-] tfrc.h
[edit]
[-] tty.h
[edit]
[-] vmstat.h
[edit]
[-] tpm_command.h
[edit]
[-] objagg.h
[edit]
[-] mutex_types.h
[edit]
[-] interconnect-provider.h
[edit]
[-] pm_qos.h
[edit]
[-] pagewalk.h
[edit]
[-] iommu-helper.h
[edit]
[-] vlynq.h
[edit]
[+]
dma
[-] btf.h
[edit]
[-] mcb.h
[edit]
[-] rbtree_types.h
[edit]
[-] pci_hotplug.h
[edit]
[-] mhi.h
[edit]
[-] kprobes.h
[edit]
[-] of_pdt.h
[edit]
[-] nfs.h
[edit]
[-] hugetlb_cgroup.h
[edit]
[+]
fpga
[-] mutex_api.h
[edit]
[-] sizes.h
[edit]
[-] bootconfig.h
[edit]
[+]
unaligned
[-] pch_dma.h
[edit]
[-] crypto.h
[edit]
[-] rh_kabi.h
[edit]
[-] fanotify.h
[edit]
[-] units.h
[edit]
[-] f2fs_fs.h
[edit]
[-] dnotify.h
[edit]
[-] rbtree_latch.h
[edit]
[-] compat.h
[edit]
[-] irq_poll.h
[edit]
[-] klist.h
[edit]
[-] lsm_hook_defs.h
[edit]
[-] ramfs.h
[edit]
[-] nfs4.h
[edit]
[-] acpi_amd_wbrf.h
[edit]
[-] blkpg.h
[edit]
[-] audit_arch.h
[edit]
[-] kasan-tags.h
[edit]
[-] agpgart.h
[edit]
[-] compiler-clang.h
[edit]
[-] splice.h
[edit]
[-] crash_core.h
[edit]
[-] vmcore_info.h
[edit]
[-] arch_topology.h
[edit]
[-] mm_types_task.h
[edit]
[-] compiler-version.h
[edit]
[-] binfmts.h
[edit]
[+]
bcma
[-] timekeeper_internal.h
[edit]
[-] syscore_ops.h
[edit]
[-] kobject_ns.h
[edit]
[-] drbd.h
[edit]
[-] ioport.h
[edit]
[-] idle_inject.h
[edit]
[-] ks8842.h
[edit]
[-] bsg-lib.h
[edit]
[-] dcache.h
[edit]
[-] rio.h
[edit]
[-] net.h
[edit]
[-] crc4.h
[edit]
[-] pci-ecam.h
[edit]
[-] rcupdate_trace.h
[edit]
[-] dccp.h
[edit]
[+]
netfilter_arp
[-] memory-tiers.h
[edit]
[+]
input
[-] ts-nbus.h
[edit]
[-] spinlock_up.h
[edit]
[-] kvm_host.h
[edit]
[-] omap-iommu.h
[edit]
[-] vringh.h
[edit]
[-] serial_sci.h
[edit]
[-] pm_clock.h
[edit]
[-] seg6_hmac.h
[edit]
[-] netfilter_defs.h
[edit]
[-] mbcache.h
[edit]
[-] init_syscalls.h
[edit]
[-] cxl_err.h
[edit]
[-] u64_stats_sync.h
[edit]
[-] memremap.h
[edit]
[-] ptdump.h
[edit]
[-] hid-over-spi.h
[edit]
[-] jz4780-nemc.h
[edit]
[-] time32.h
[edit]
[-] mdio-bitbang.h
[edit]
[-] psp-sev.h
[edit]
[-] fdtable.h
[edit]
[-] suspend.h
[edit]
[-] ktime_api.h
[edit]
[-] atmdev.h
[edit]
[-] bcm963xx_nvram.h
[edit]
[-] fiemap.h
[edit]
[-] fsl_ifc.h
[edit]
[-] asn1_decoder.h
[edit]
[-] netfilter_netdev.h
[edit]
[-] resource.h
[edit]
[-] cpumask.h
[edit]
[+]
gpio
[-] hidden.h
[edit]
[-] clk-provider.h
[edit]
[-] elfcore.h
[edit]
[-] bpfptr.h
[edit]
[-] bpf_local_storage.h
[edit]
[-] errseq.h
[edit]
[+]
perf
[-] ppp_defs.h
[edit]
[-] marvell_phy.h
[edit]
[-] psp-tee.h
[edit]
[-] livepatch_sched.h
[edit]
[-] rw_hint.h
[edit]
[-] pnp.h
[edit]
[-] kcore.h
[edit]
[-] arm-cci.h
[edit]
[-] rio_regs.h
[edit]
[-] init_ohci1394_dma.h
[edit]
[-] moduleparam.h
[edit]
[-] backing-dev.h
[edit]
[-] export.h
[edit]
[-] highuid.h
[edit]
[-] bpf-netns.h
[edit]
[+]
hsi
[-] fcdevice.h
[edit]
[-] blktrace_api.h
[edit]
[-] rcu_notifier.h
[edit]
[-] hypervisor.h
[edit]
[-] falloc.h
[edit]
[+]
net
[-] reboot-mode.h
[edit]
[-] container.h
[edit]
[-] dio.h
[edit]
[-] kcsan-checks.h
[edit]
[-] nvmem-consumer.h
[edit]
[-] kdebug.h
[edit]
[-] softirq.h
[edit]
[-] personality.h
[edit]
[-] nsc_gpio.h
[edit]
[-] rtsx_common.h
[edit]
[-] task_work.h
[edit]
[-] sched.h
[edit]
[-] litex.h
[edit]
[-] secretmem.h
[edit]
[-] nfs_xdr.h
[edit]
[-] ptp_pch.h
[edit]
[-] pgtable.h
[edit]
[-] sysfs.h
[edit]
[-] hrtimer_api.h
[edit]
[-] pseudo_fs.h
[edit]
[-] mempool.h
[edit]
[-] via_i2c.h
[edit]
[-] pxa2xx_ssp.h
[edit]
[-] virtio_pci_modern.h
[edit]
[-] log2.h
[edit]
[-] highmem-internal.h
[edit]
[-] host1x.h
[edit]
[-] mc146818rtc.h
[edit]
[-] dmar.h
[edit]
[-] rcuwait.h
[edit]
[-] assoc_array_priv.h
[edit]
[-] vbox_utils.h
[edit]
[-] scx200_gpio.h
[edit]
[-] timeriomem-rng.h
[edit]
[-] sh_eth.h
[edit]
[-] counter_enum.h
[edit]
[-] memstick.h
[edit]
[-] torture.h
[edit]
[-] math64.h
[edit]
[-] blk-pm.h
[edit]
[-] kasan-enabled.h
[edit]
[-] intel_tcc.h
[edit]
[-] oid_registry.h
[edit]
[-] crc-t10dif.h
[edit]
[-] ref_tracker.h
[edit]
[-] rwsem.h
[edit]
[-] bvec.h
[edit]
[-] gnss.h
[edit]
[-] ipc_namespace.h
[edit]
[-] ndctl.h
[edit]
[+]
byteorder
[-] cgroup_refcnt.h
[edit]
[-] compiler_types.h
[edit]
[-] enclosure.h
[edit]
[-] stackleak.h
[edit]
[-] perf_event_api.h
[edit]
[-] via-gpio.h
[edit]
[+]
ceph
[-] kern_levels.h
[edit]
[-] cpufreq.h
[edit]
[-] time.h
[edit]
[-] superhyway.h
[edit]
[+]
crush
[-] debugfs.h
[edit]
[-] scmi_imx_protocol.h
[edit]
[-] of_pci.h
[edit]
[-] hwmon.h
[edit]
[-] virtio_vsock.h
[edit]
[-] lzo.h
[edit]
[-] of_device.h
[edit]
[-] tty_driver.h
[edit]
[-] circ_buf.h
[edit]
[+]
netfilter_ipv4
[-] ieee80211.h
[edit]
[-] idr.h
[edit]
[-] mod_devicetable.h
[edit]
[-] tsm.h
[edit]
[-] cc_platform.h
[edit]
[-] integrity.h
[edit]
[-] omap-gpmc.h
[edit]
[-] mei_cl_bus.h
[edit]
[-] ptp_kvm.h
[edit]
[-] cpu_pm.h
[edit]
[-] mtio.h
[edit]
[-] irq_sim.h
[edit]
[+]
ulpi
[-] ptrace_api.h
[edit]
[-] rcu_sync.h
[edit]
[-] huge_mm.h
[edit]
[-] user_namespace.h
[edit]
[-] list_nulls.h
[edit]
[-] kcsan.h
[edit]
[-] prandom.h
[edit]
[+]
usb
[-] migrate_mode.h
[edit]
[-] btree.h
[edit]