| /kernel/linux/linux-6.6/drivers/tty/serial/8250/ |
| D | 8250_port.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Base port operations for 8250/16550-type serial ports 255 * tx_loadsz is set to 63-bytes instead of 64-bytes to implement 256 * workaround of errata A-008006 which states that tx_loadsz should 268 .name = "Palmchip BK-3103", 336 static u32 default_serial_dl_read(struct uart_8250_port *up) in default_serial_dl_read() argument 338 /* Assign these in pieces to truncate any bits above 7. */ in default_serial_dl_read() 339 unsigned char dll = serial_in(up, UART_DLL); in default_serial_dl_read() 340 unsigned char dlm = serial_in(up, UART_DLM); in default_serial_dl_read() 346 static void default_serial_dl_write(struct uart_8250_port *up, u32 value) in default_serial_dl_write() argument [all …]
|
| D | 8250_omap.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * 8250-core based driver for the OMAP internal UART 5 * based on omap-serial.c, Copyright (C) 2010 Texas Instruments. 28 #include <linux/dma-mapping.h> 41 * The same errata is applicable to AM335x and DRA7x processors too. 165 return readl(priv->membase + (reg << OMAP_UART_REGSHIFT)); in uart_read() 178 struct uart_8250_port *up = up_to_u8250p(port); in __omap8250_set_mctrl() local 179 struct omap8250_priv *priv = up->port.private_data; in __omap8250_set_mctrl() 184 if (!mctrl_gpio_to_gpiod(up->gpios, UART_GPIO_RTS)) { in __omap8250_set_mctrl() 189 lcr = serial_in(up, UART_LCR); in __omap8250_set_mctrl() [all …]
|
| D | 8250_core.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Universal/legacy driver for 8250/16550-type serial ports 9 * Supports: ISA-compatible 8250/16550 ports 12 * userspace-configurable "phantom" ports 48 * share_irqs - whether we pass IRQF_SHARED to request_irq(). This option 49 * is unsafe when used on edge-triggered interrupts. 63 * SERIAL_PORT_DFNS tells us about built-in ports that have no 93 static DEFINE_MUTEX(hash_mutex); /* Used to walk the hash */ 99 * Alan disagrees, saying that need the complexity to handle the weird 102 * In order to handle ISA shared interrupts properly, we need to check [all …]
|
| /kernel/linux/linux-5.10/Documentation/networking/dsa/ |
| D | configuration.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 network configuration suites by now and has to be performed manualy. 10 .. _dsa-config-showcases: 13 ----------------------- 15 To configure a DSA switch a couple of commands need to be executed. In this 33 interface. The CPU port is the switch port connected to an Ethernet MAC chip. 37 The slave interfaces depend on the master interface. They can only brought up, 38 when the master interface is up. 61 * lan1: 192.0.2.1/30 (192.0.2.0 - 192.0.2.3) 62 * lan2: 192.0.2.5/30 (192.0.2.4 - 192.0.2.7) [all …]
|
| D | b53.rst | 1 .. SPDX-License-Identifier: GPL-2.0 20 The switch is, if possible, configured to enable a Broadcom specific 4-bytes 21 switch tag which gets inserted by the switch for every packet forwarded to the 30 configuration described in the :ref:`dsa-config-showcases`. 33 ---------------------------------- 35 The tagging based configuration is desired. It is not specific to the b53 38 See :ref:`dsa-tagged-configuration`. 41 ------------------------------------- 48 The configuration slightly differ from the :ref:`dsa-vlan-configuration`. 54 In difference to the configuration described in :ref:`dsa-vlan-configuration` [all …]
|
| /kernel/linux/linux-5.10/drivers/tty/serial/8250/ |
| D | 8250_port.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Base port operations for 8250/16550-type serial ports 257 * tx_loadsz is set to 63-bytes instead of 64-bytes to implement 258 * workaround of errata A-008006 which states that tx_loadsz should 270 .name = "Palmchip BK-3103", 314 static int default_serial_dl_read(struct uart_8250_port *up) in default_serial_dl_read() argument 316 /* Assign these in pieces to truncate any bits above 7. */ in default_serial_dl_read() 317 unsigned char dll = serial_in(up, UART_DLL); in default_serial_dl_read() 318 unsigned char dlm = serial_in(up, UART_DLM); in default_serial_dl_read() 324 static void default_serial_dl_write(struct uart_8250_port *up, int value) in default_serial_dl_write() argument [all …]
|
| D | 8250_core.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Universal/legacy driver for 8250/16550-type serial ports 9 * Supports: ISA-compatible 8250/16550 ports 12 * userspace-configurable "phantom" ports 48 * share_irqs - whether we pass IRQF_SHARED to request_irq(). This option 49 * is unsafe when used on edge-triggered interrupts. 63 * SERIAL_PORT_DFNS tells us about built-in ports that have no 93 static DEFINE_MUTEX(hash_mutex); /* Used to walk the hash */ 99 * Alan disagrees, saying that need the complexity to handle the weird 102 * In order to handle ISA shared interrupts properly, we need to check [all …]
|
| D | 8250_omap.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * 8250-core based driver for the OMAP internal UART 5 * based on omap-serial.c, Copyright (C) 2010 Texas Instruments. 29 #include <linux/dma-mapping.h> 42 * The same errata is applicable to AM335x and DRA7x processors too. 159 return readl(priv->membase + (reg << OMAP_UART_REGSHIFT)); in uart_read() 164 writel(val, priv->membase + (reg << OMAP_UART_REGSHIFT)); in uart_write() 173 struct uart_8250_port *up = up_to_u8250p(port); in __omap8250_set_mctrl() local 174 struct omap8250_priv *priv = up->port.private_data; in __omap8250_set_mctrl() 179 if (!mctrl_gpio_to_gpiod(up->gpios, UART_GPIO_RTS)) { in __omap8250_set_mctrl() [all …]
|
| /kernel/linux/linux-6.6/Documentation/networking/dsa/ |
| D | configuration.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 network configuration suites by now and has to be performed manually. 10 .. _dsa-config-showcases: 13 ----------------------- 15 To configure a DSA switch a couple of commands need to be executed. In this 33 interface. The CPU port is the switch port connected to an Ethernet MAC chip. 37 The slave interfaces depend on the master interface being up in order for them 38 to send or receive traffic. Prior to kernel v5.12, the state of the master 39 interface had to be managed explicitly by the user. Starting with kernel v5.12, 42 - when a DSA slave interface is brought up, the master interface is [all …]
|
| D | b53.rst | 1 .. SPDX-License-Identifier: GPL-2.0 20 The switch is, if possible, configured to enable a Broadcom specific 4-bytes 21 switch tag which gets inserted by the switch for every packet forwarded to the 30 configuration described in the :ref:`dsa-config-showcases`. 33 ---------------------------------- 35 The tagging based configuration is desired. It is not specific to the b53 38 See :ref:`dsa-tagged-configuration`. 41 ------------------------------------- 48 The configuration slightly differ from the :ref:`dsa-vlan-configuration`. 54 In difference to the configuration described in :ref:`dsa-vlan-configuration` [all …]
|
| /kernel/linux/linux-5.10/drivers/base/power/ |
| D | wakeirq.c | 1 // SPDX-License-Identifier: GPL-2.0 13 * dev_pm_attach_wake_irq - Attach device interrupt as a wake IRQ 15 * @irq: Device wake-up capable interrupt 18 * Internal function to attach either a device IO interrupt or a 19 * dedicated wake-up interrupt as a wake IRQ. 27 return -EINVAL; in dev_pm_attach_wake_irq() 29 spin_lock_irqsave(&dev->power.lock, flags); in dev_pm_attach_wake_irq() 30 if (dev_WARN_ONCE(dev, dev->power.wakeirq, in dev_pm_attach_wake_irq() 32 spin_unlock_irqrestore(&dev->power.lock, flags); in dev_pm_attach_wake_irq() 33 return -EEXIST; in dev_pm_attach_wake_irq() [all …]
|
| /kernel/linux/linux-5.10/drivers/tty/serial/ |
| D | pxa.c | 1 // SPDX-License-Identifier: GPL-2.0+ 11 * easier to add DMA support. 14 * If someone else wants to request an "official" allocation of major/minor 16 * to come from Intel might have more than 3 or 4 of those UARTs. Let's 18 * with the serial core maintainer satisfaction to appear soon. 51 static inline unsigned int serial_in(struct uart_pxa_port *up, int offset) in serial_in() argument 54 return readl(up->port.membase + offset); in serial_in() 57 static inline void serial_out(struct uart_pxa_port *up, int offset, int value) in serial_out() argument 60 writel(value, up->port.membase + offset); in serial_out() 65 struct uart_pxa_port *up = (struct uart_pxa_port *)port; in serial_pxa_enable_ms() local [all …]
|
| D | sunsu.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * Copyright (C) 1998-1999 Pete Zaitcev (zaitcev@yahoo.com) 8 * This is mainly a variation of 8250.c, credits go to authors mentioned 12 * Fixed to use tty_get_baud_rate(). 13 * Theodore Ts'o <tytso@mit.edu>, 2001-Oct-12 15 * Converted to new 2.5.x UART layer. 16 * David S. Miller (davem@davemloft.net), 2002-Jul-29 104 static unsigned int serial_in(struct uart_sunsu_port *up, int offset) in serial_in() argument 106 offset <<= up->port.regshift; in serial_in() 108 switch (up->port.iotype) { in serial_in() [all …]
|
| D | omap-serial.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Driver for OMAP-UART controller. 14 * features like DMA, it makes easier to implement features like DMA and 16 * this driver as required for the omap-platform. 37 #include <linux/platform_data/serial-omap.h> 78 #define OMAP_UART_DMA_CH_FREE -1 117 /* timer to poll activity on rx dma */ 171 static void serial_omap_mdr1_errataset(struct uart_omap_port *up, u8 mdr1); 173 static inline unsigned int serial_in(struct uart_omap_port *up, int offset) in serial_in() argument 175 offset <<= up->port.regshift; in serial_in() [all …]
|
| /kernel/linux/linux-6.6/drivers/tty/serial/ |
| D | omap-serial.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Driver for OMAP-UART controller. 14 * features like DMA, it makes easier to implement features like DMA and 16 * this driver as required for the omap-platform. 38 #include <linux/platform_data/serial-omap.h> 79 #define OMAP_UART_DMA_CH_FREE -1 118 /* timer to poll activity on rx dma */ 172 static void serial_omap_mdr1_errataset(struct uart_omap_port *up, u8 mdr1); 174 static inline unsigned int serial_in(struct uart_omap_port *up, int offset) in serial_in() argument 176 offset <<= up->port.regshift; in serial_in() [all …]
|
| D | pxa.c | 1 // SPDX-License-Identifier: GPL-2.0+ 11 * easier to add DMA support. 14 * If someone else wants to request an "official" allocation of major/minor 16 * to come from Intel might have more than 3 or 4 of those UARTs. Let's 18 * with the serial core maintainer satisfaction to appear soon. 52 static inline unsigned int serial_in(struct uart_pxa_port *up, int offset) in serial_in() argument 55 return readl(up->port.membase + offset); in serial_in() 58 static inline void serial_out(struct uart_pxa_port *up, int offset, int value) in serial_out() argument 61 writel(value, up->port.membase + offset); in serial_out() 66 struct uart_pxa_port *up = (struct uart_pxa_port *)port; in serial_pxa_enable_ms() local [all …]
|
| D | sunsu.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * Copyright (C) 1998-1999 Pete Zaitcev (zaitcev@yahoo.com) 8 * This is mainly a variation of 8250.c, credits go to authors mentioned 12 * Fixed to use tty_get_baud_rate(). 13 * Theodore Ts'o <tytso@mit.edu>, 2001-Oct-12 15 * Converted to new 2.5.x UART layer. 16 * David S. Miller (davem@davemloft.net), 2002-Jul-29 104 static unsigned int serial_in(struct uart_sunsu_port *up, int offset) in serial_in() argument 106 offset <<= up->port.regshift; in serial_in() 108 switch (up->port.iotype) { in serial_in() [all …]
|
| /kernel/linux/linux-6.6/lib/crypto/mpi/ |
| D | mpih-mul.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* mpihelp-mul.c - MPI helper functions 10 * way the data is stored; this is to support the abstraction 12 * to avoid revealing of sensitive data due to paging etc. 14 * however I decided to publish this code under the plain GPL. 18 #include "mpi-internal.h" 21 #define MPN_MUL_N_RECURSE(prodp, up, vp, size, tspace) \ argument 24 mul_n_basecase(prodp, up, vp, size); \ 26 mul_n(prodp, up, vp, size, tspace); \ 29 #define MPN_SQR_N_RECURSE(prodp, up, size, tspace) \ argument [all …]
|
| /kernel/linux/linux-5.10/lib/mpi/ |
| D | mpih-mul.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* mpihelp-mul.c - MPI helper functions 10 * way the data is stored; this is to support the abstraction 12 * to avoid revealing of sensitive data due to paging etc. 14 * however I decided to publish this code under the plain GPL. 18 #include "mpi-internal.h" 21 #define MPN_MUL_N_RECURSE(prodp, up, vp, size, tspace) \ argument 24 mul_n_basecase(prodp, up, vp, size); \ 26 mul_n(prodp, up, vp, size, tspace); \ 29 #define MPN_SQR_N_RECURSE(prodp, up, size, tspace) \ argument [all …]
|
| /kernel/linux/linux-6.6/drivers/base/power/ |
| D | wakeirq.c | 1 // SPDX-License-Identifier: GPL-2.0 13 * dev_pm_attach_wake_irq - Attach device interrupt as a wake IRQ 17 * Internal function to attach a dedicated wake-up interrupt as a wake IRQ. 24 return -EINVAL; in dev_pm_attach_wake_irq() 26 spin_lock_irqsave(&dev->power.lock, flags); in dev_pm_attach_wake_irq() 27 if (dev_WARN_ONCE(dev, dev->power.wakeirq, in dev_pm_attach_wake_irq() 29 spin_unlock_irqrestore(&dev->power.lock, flags); in dev_pm_attach_wake_irq() 30 return -EEXIST; in dev_pm_attach_wake_irq() 33 dev->power.wakeirq = wirq; in dev_pm_attach_wake_irq() 36 spin_unlock_irqrestore(&dev->power.lock, flags); in dev_pm_attach_wake_irq() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/can/usb/ |
| D | ucan.c | 1 // SPDX-License-Identifier: GPL-2.0 41 /* the CAN controller needs a while to enable/disable the bus */ 48 * ------------------------ 64 * m[n] is is aligned to a 4 byte boundary, hence 79 /* start the can transceiver - val defines the operation mode */ 83 /* send can transceiver into low-power sleep mode */ 85 /* wake up can transceiver from low-power sleep mode */ 89 /* get piece of info from the can transceiver - subcmd defines what 93 /* clear or disable hardware filter - subcmd defines which of the two */ 97 /* recover from bus-off state */ [all …]
|
| /kernel/linux/linux-5.10/drivers/net/can/usb/ |
| D | ucan.c | 1 // SPDX-License-Identifier: GPL-2.0 40 /* the CAN controller needs a while to enable/disable the bus */ 47 * ------------------------ 63 * m[n] is is aligned to a 4 byte boundary, hence 78 /* start the can transceiver - val defines the operation mode */ 82 /* send can transceiver into low-power sleep mode */ 84 /* wake up can transceiver from low-power sleep mode */ 88 /* get piece of info from the can transceiver - subcmd defines what 92 /* clear or disable hardware filter - subcmd defines which of the two */ 96 /* recover from bus-off state */ [all …]
|
| /kernel/linux/linux-5.10/Documentation/admin-guide/aoe/ |
| D | aoe.rst | 4 ATA over Ethernet is a network protocol that provides simple access to 11 http://support.coraid.com/support/linux/EtherDrive-2.6-HOWTO.html 16 http://support.coraid.com/support/linux/EtherDrive-2.6-HOWTO-5.html#ss5.19 18 The aoetools are userland programs that are designed to work with this 23 The scripts in this Documentation/admin-guide/aoe directory are intended to 32 automatically, but to create all the necessary device nodes, use the 35 There is a udev-install.sh script that shows how to install these 38 There is also an autoload script that shows how to edit 39 /etc/modprobe.d/aoe.conf to ensure that the aoe module is loaded when 40 necessary. Preloading the aoe module is preferable to autoloading, [all …]
|
| /kernel/linux/linux-6.6/Documentation/admin-guide/aoe/ |
| D | aoe.rst | 4 ATA over Ethernet is a network protocol that provides simple access to 11 http://support.coraid.com/support/linux/EtherDrive-2.6-HOWTO.html 16 http://support.coraid.com/support/linux/EtherDrive-2.6-HOWTO-5.html#ss5.19 18 The aoetools are userland programs that are designed to work with this 23 The scripts in this Documentation/admin-guide/aoe directory are intended to 32 automatically, but to create all the necessary device nodes, use the 35 There is a udev-install.sh script that shows how to install these 38 There is also an autoload script that shows how to edit 39 /etc/modprobe.d/aoe.conf to ensure that the aoe module is loaded when 40 necessary. Preloading the aoe module is preferable to autoloading, [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/ |
| D | uar.c | 2 * Copyright (c) 2013-2015, Mellanox Technologies. All rights reserved. 4 * This software is available to you under a choice of one of two 5 * licenses. You may choose to be licensed under the terms of the GNU 14 * - Redistributions of source code must retain the above 18 * - Redistributions in binary form must reproduce the above 24 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 74 system_page_index = index >> (PAGE_SHIFT - MLX5_ADAPTER_PAGE_SHIFT); in uar2pfn() 78 return (mdev->bar_addr >> PAGE_SHIFT) + system_page_index; in uar2pfn() 83 struct mlx5_uars_page *up = container_of(kref, struct mlx5_uars_page, ref_count); in up_rel_func() local 85 list_del(&up->list); in up_rel_func() [all …]
|