| /kernel/linux/linux-5.10/include/uapi/scsi/fc/ |
| D | fc_ns.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 5 * Maintained at www.Open-FCoE.org 14 * Fibre Channel Services - Name Service (dNS) 15 * From T11.org FC-GS-2 Rev 5.3 November 1998. 19 * Common-transport sub-type for Name Server. 29 FC_NS_GI_A = 0x0101, /* get identifiers - scope */ 30 FC_NS_GPN_ID = 0x0112, /* get port name by ID */ 31 FC_NS_GNN_ID = 0x0113, /* get node name by ID */ 32 FC_NS_GSPN_ID = 0x0118, /* get symbolic port name */ 33 FC_NS_GID_PN = 0x0121, /* get ID for port name */ [all …]
|
| /kernel/linux/linux-6.6/include/uapi/scsi/fc/ |
| D | fc_ns.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 5 * Maintained at www.Open-FCoE.org 14 * Fibre Channel Services - Name Service (dNS) 15 * From T11.org FC-GS-2 Rev 5.3 November 1998. 19 * Common-transport sub-type for Name Server. 29 FC_NS_GI_A = 0x0101, /* get identifiers - scope */ 30 FC_NS_GPN_ID = 0x0112, /* get port name by ID */ 31 FC_NS_GNN_ID = 0x0113, /* get node name by ID */ 32 FC_NS_GSPN_ID = 0x0118, /* get symbolic port name */ 33 FC_NS_GID_PN = 0x0121, /* get ID for port name */ [all …]
|
| /kernel/linux/linux-6.6/drivers/cxl/core/ |
| D | hdm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 15 * instances per CXL port and per CXL endpoint. Define common helpers 21 static int add_hdm_decoder(struct cxl_port *port, struct cxl_decoder *cxld, in add_hdm_decoder() argument 28 put_device(&cxld->dev); in add_hdm_decoder() 29 dev_err(&port->dev, "Failed to add decoder\n"); in add_hdm_decoder() 33 rc = cxl_decoder_autoremove(&port->dev, cxld); in add_hdm_decoder() 37 dev_dbg(&cxld->dev, "Added to port %s\n", dev_name(&port->dev)); in add_hdm_decoder() 44 * single ported host-bridges need not publish a decoder capability when a 49 int devm_cxl_add_passthrough_decoder(struct cxl_port *port) in devm_cxl_add_passthrough_decoder() argument 55 struct cxl_hdm *cxlhdm = dev_get_drvdata(&port->dev); in devm_cxl_add_passthrough_decoder() [all …]
|
| /kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/ |
| D | isp2400_input_system_public.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 27 /*! Read the state of INPUT_SYSTEM[ID] 29 \param ID[in] INPUT_SYSTEM identifier 32 \return none, state = INPUT_SYSTEM[ID].state 35 const input_system_ID_t ID, 38 /*! Read the state of RECEIVER[ID] 40 \param ID[in] RECEIVER identifier 43 \return none, state = RECEIVER[ID].state 46 const rx_ID_t ID, 58 /*! Set compression parameters for cfg[cfg_ID] of RECEIVER[ID] [all …]
|
| /kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/ |
| D | isp2400_input_system_public.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 27 /*! Read the state of INPUT_SYSTEM[ID] 29 \param ID[in] INPUT_SYSTEM identifier 32 \return none, state = INPUT_SYSTEM[ID].state 35 const input_system_ID_t ID, 38 /*! Read the state of RECEIVER[ID] 40 \param ID[in] RECEIVER identifier 43 \return none, state = RECEIVER[ID].state 46 const rx_ID_t ID, 58 /*! Set compression parameters for cfg[cfg_ID] of RECEIVER[ID] [all …]
|
| /kernel/linux/linux-5.10/drivers/nvme/target/ |
| D | discovery.c | 1 // SPDX-License-Identifier: GPL-2.0 15 static void __nvmet_disc_changed(struct nvmet_port *port, in __nvmet_disc_changed() argument 18 if (ctrl->port != port) in __nvmet_disc_changed() 28 void nvmet_port_disc_changed(struct nvmet_port *port, in nvmet_port_disc_changed() argument 36 mutex_lock(&nvmet_disc_subsys->lock); in nvmet_port_disc_changed() 37 list_for_each_entry(ctrl, &nvmet_disc_subsys->ctrls, subsys_entry) { in nvmet_port_disc_changed() 38 if (subsys && !nvmet_host_allowed(subsys, ctrl->hostnqn)) in nvmet_port_disc_changed() 41 __nvmet_disc_changed(port, ctrl); in nvmet_port_disc_changed() 43 mutex_unlock(&nvmet_disc_subsys->lock); in nvmet_port_disc_changed() 46 if (port->tr_ops && port->tr_ops->discovery_chg) in nvmet_port_disc_changed() [all …]
|
| /kernel/linux/linux-6.6/drivers/nvme/target/ |
| D | discovery.c | 1 // SPDX-License-Identifier: GPL-2.0 15 static void __nvmet_disc_changed(struct nvmet_port *port, in __nvmet_disc_changed() argument 18 if (ctrl->port != port) in __nvmet_disc_changed() 28 void nvmet_port_disc_changed(struct nvmet_port *port, in nvmet_port_disc_changed() argument 36 mutex_lock(&nvmet_disc_subsys->lock); in nvmet_port_disc_changed() 37 list_for_each_entry(ctrl, &nvmet_disc_subsys->ctrls, subsys_entry) { in nvmet_port_disc_changed() 38 if (subsys && !nvmet_host_allowed(subsys, ctrl->hostnqn)) in nvmet_port_disc_changed() 41 __nvmet_disc_changed(port, ctrl); in nvmet_port_disc_changed() 43 mutex_unlock(&nvmet_disc_subsys->lock); in nvmet_port_disc_changed() 46 if (port->tr_ops && port->tr_ops->discovery_chg) in nvmet_port_disc_changed() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/ |
| D | nfp_port.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 /* Copyright (C) 2017-2018 Netronome Systems, Inc. */ 19 return nn->port; in nfp_port_from_netdev() 25 return repr->port; in nfp_port_from_netdev() 36 struct nfp_port *port; in nfp_port_get_port_parent_id() local 39 port = nfp_port_from_netdev(netdev); in nfp_port_get_port_parent_id() 40 if (!port) in nfp_port_get_port_parent_id() 41 return -EOPNOTSUPP; in nfp_port_get_port_parent_id() 43 ppid->id_len = nfp_cpp_serial(port->app->cpp, &serial); in nfp_port_get_port_parent_id() 44 memcpy(&ppid->id, serial, ppid->id_len); in nfp_port_get_port_parent_id() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/marvell/prestera/ |
| D | prestera_main.c | 1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 2 /* Copyright (c) 2019-2020 Marvell International Ltd. All rights reserved */ 50 int prestera_port_learning_set(struct prestera_port *port, bool learn) in prestera_port_learning_set() argument 52 return prestera_hw_port_learning_set(port, learn); in prestera_port_learning_set() 55 int prestera_port_uc_flood_set(struct prestera_port *port, bool flood) in prestera_port_uc_flood_set() argument 57 return prestera_hw_port_uc_flood_set(port, flood); in prestera_port_uc_flood_set() 60 int prestera_port_mc_flood_set(struct prestera_port *port, bool flood) in prestera_port_mc_flood_set() argument 62 return prestera_hw_port_mc_flood_set(port, flood); in prestera_port_mc_flood_set() 65 int prestera_port_br_locked_set(struct prestera_port *port, bool br_locked) in prestera_port_br_locked_set() argument 67 return prestera_hw_port_br_locked_set(port, br_locked); in prestera_port_br_locked_set() [all …]
|
| /kernel/linux/linux-6.6/drivers/rapidio/ |
| D | rio-scan.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 10 * - Added Port-Write/Error Management initialization and handling 14 * - Added Input- Output- enable functionality, to allow full communication 21 #include <linux/dma-mapping.h> 39 u16 start; /* logical minimal id */ 49 * rio_destid_alloc - Allocate next available destID for given network 52 * Returns next available device destination ID for the specified RIO network. 53 * Marks allocated ID as one in use. 59 struct rio_id_table *idtab = (struct rio_id_table *)net->enum_data; in rio_destid_alloc() 61 spin_lock(&idtab->lock); in rio_destid_alloc() [all …]
|
| /kernel/linux/linux-5.10/drivers/rapidio/ |
| D | rio-scan.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 10 * - Added Port-Write/Error Management initialization and handling 14 * - Added Input- Output- enable functionality, to allow full communication 21 #include <linux/dma-mapping.h> 39 u16 start; /* logical minimal id */ 49 * rio_destid_alloc - Allocate next available destID for given network 52 * Returns next available device destination ID for the specified RIO network. 53 * Marks allocated ID as one in use. 59 struct rio_id_table *idtab = (struct rio_id_table *)net->enum_data; in rio_destid_alloc() 61 spin_lock(&idtab->lock); in rio_destid_alloc() [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/net/ |
| D | marvell,pp2.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/net/marvell,pp2.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Marcin Wojtas <mw@semihalf.com> 11 - Russell King <linux@armlinux.org> 21 - marvell,armada-375-pp2 22 - marvell,armada-7k-pp22 28 "#address-cells": 31 "#size-cells": [all …]
|
| /kernel/linux/linux-5.10/drivers/net/wan/ |
| D | ixp4xx_hss.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Intel IXP4xx HSS (synchronous serial port) driver for Linux 5 * Copyright (C) 2007-2008 Krzysztof Hałasa <khc@pm.waw.pl> 13 #include <linux/dma-mapping.h> 83 #define PKT_HDLC_CRC_32 0x2 /* default = CRC-16 */ 136 /* 56k data endiannes - which bit unused: high (default) or low */ 176 * The clock sequence consists of (C - B) states of 0s and 1s, each state is 188 * The sequence takes (C - B) * A + (B + 1) * (A + 1) = 5 * 2 + 3 * 3 bits 197 #define TDMMAP_HDLC 1 /* HDLC - packetized */ 198 #define TDMMAP_VOICE56K 2 /* Voice56K - 7-bit channelized */ [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/netronome/nfp/ |
| D | nfp_port.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 /* Copyright (C) 2017-2018 Netronome Systems, Inc. */ 19 return nn->port; in nfp_port_from_netdev() 25 return repr->port; in nfp_port_from_netdev() 36 struct nfp_port *port; in nfp_port_get_port_parent_id() local 39 port = nfp_port_from_netdev(netdev); in nfp_port_get_port_parent_id() 40 if (!port) in nfp_port_get_port_parent_id() 41 return -EOPNOTSUPP; in nfp_port_get_port_parent_id() 43 ppid->id_len = nfp_cpp_serial(port->app->cpp, &serial); in nfp_port_get_port_parent_id() 44 memcpy(&ppid->id, serial, ppid->id_len); in nfp_port_get_port_parent_id() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpio/ |
| D | gpio-gpio-mm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * GPIO driver for the Diamond Systems GPIO-MM 6 * This driver supports the following Diamond Systems devices: GPIO-MM and 7 * GPIO-MM-12. 28 MODULE_PARM_DESC(base, "Diamond Systems GPIO-MM base addresses"); 31 * struct gpiomm_gpio - GPIO device private data structure 37 * @base: base port address of the GPIO device 52 const unsigned int port = offset / 8; in gpiomm_gpio_get_direction() local 55 if (gpiommgpio->io_state[port] & mask) in gpiomm_gpio_get_direction() 67 const unsigned int control_addr = gpiommgpio->base + 3 + control_port*4; in gpiomm_gpio_direction_input() [all …]
|
| D | gpio-mxs.c | 1 // SPDX-License-Identifier: GPL-2.0+ 7 // Copyright (C) 2004-2010 Freescale Semiconductor, Inc. All Rights Reserved. 26 #define PINCTRL_DOUT(p) ((is_imx23_gpio(p) ? 0x0500 : 0x0700) + (p->id) * 0x10) 27 #define PINCTRL_DIN(p) ((is_imx23_gpio(p) ? 0x0600 : 0x0900) + (p->id) * 0x10) 28 #define PINCTRL_DOE(p) ((is_imx23_gpio(p) ? 0x0700 : 0x0b00) + (p->id) * 0x10) 29 #define PINCTRL_PIN2IRQ(p) ((is_imx23_gpio(p) ? 0x0800 : 0x1000) + (p->id) * 0x10) 30 #define PINCTRL_IRQEN(p) ((is_imx23_gpio(p) ? 0x0900 : 0x1100) + (p->id) * 0x10) 31 #define PINCTRL_IRQLEV(p) ((is_imx23_gpio(p) ? 0x0a00 : 0x1200) + (p->id) * 0x10) 32 #define PINCTRL_IRQPOL(p) ((is_imx23_gpio(p) ? 0x0b00 : 0x1300) + (p->id) * 0x10) 33 #define PINCTRL_IRQSTAT(p) ((is_imx23_gpio(p) ? 0x0c00 : 0x1400) + (p->id) * 0x10) [all …]
|
| /kernel/linux/linux-5.10/drivers/tty/serial/ |
| D | uartlite.c | 1 // SPDX-License-Identifier: GPL-2.0 31 /* --------------------------------------------------------------------- 58 /* Static pointer to console port */ 103 static inline u32 uart_in32(u32 offset, struct uart_port *port) in uart_in32() argument 105 struct uartlite_data *pdata = port->private_data; in uart_in32() 107 return pdata->reg_ops->in(port->membase + offset); in uart_in32() 110 static inline void uart_out32(u32 val, u32 offset, struct uart_port *port) in uart_out32() argument 112 struct uartlite_data *pdata = port->private_data; in uart_out32() 114 pdata->reg_ops->out(val, port->membase + offset); in uart_out32() 119 /* --------------------------------------------------------------------- [all …]
|
| D | meson_uart.c | 1 // SPDX-License-Identifier: GPL-2.0 83 static void meson_uart_set_mctrl(struct uart_port *port, unsigned int mctrl) in meson_uart_set_mctrl() argument 87 static unsigned int meson_uart_get_mctrl(struct uart_port *port) in meson_uart_get_mctrl() argument 92 static unsigned int meson_uart_tx_empty(struct uart_port *port) in meson_uart_tx_empty() argument 96 val = readl(port->membase + AML_UART_STATUS); in meson_uart_tx_empty() 101 static void meson_uart_stop_tx(struct uart_port *port) in meson_uart_stop_tx() argument 105 val = readl(port->membase + AML_UART_CONTROL); in meson_uart_stop_tx() 107 writel(val, port->membase + AML_UART_CONTROL); in meson_uart_stop_tx() 110 static void meson_uart_stop_rx(struct uart_port *port) in meson_uart_stop_rx() argument 114 val = readl(port->membase + AML_UART_CONTROL); in meson_uart_stop_rx() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpio/ |
| D | gpio-mxs.c | 1 // SPDX-License-Identifier: GPL-2.0+ 7 // Copyright (C) 2004-2010 Freescale Semiconductor, Inc. All Rights Reserved. 25 #define PINCTRL_DOUT(p) ((is_imx23_gpio(p) ? 0x0500 : 0x0700) + (p->id) * 0x10) 26 #define PINCTRL_DIN(p) ((is_imx23_gpio(p) ? 0x0600 : 0x0900) + (p->id) * 0x10) 27 #define PINCTRL_DOE(p) ((is_imx23_gpio(p) ? 0x0700 : 0x0b00) + (p->id) * 0x10) 28 #define PINCTRL_PIN2IRQ(p) ((is_imx23_gpio(p) ? 0x0800 : 0x1000) + (p->id) * 0x10) 29 #define PINCTRL_IRQEN(p) ((is_imx23_gpio(p) ? 0x0900 : 0x1100) + (p->id) * 0x10) 30 #define PINCTRL_IRQLEV(p) ((is_imx23_gpio(p) ? 0x0a00 : 0x1200) + (p->id) * 0x10) 31 #define PINCTRL_IRQPOL(p) ((is_imx23_gpio(p) ? 0x0b00 : 0x1300) + (p->id) * 0x10) 32 #define PINCTRL_IRQSTAT(p) ((is_imx23_gpio(p) ? 0x0c00 : 0x1400) + (p->id) * 0x10) [all …]
|
| /kernel/linux/linux-6.6/drivers/tty/serial/ |
| D | meson_uart.c | 1 // SPDX-License-Identifier: GPL-2.0 89 static void meson_uart_set_mctrl(struct uart_port *port, unsigned int mctrl) in meson_uart_set_mctrl() argument 93 static unsigned int meson_uart_get_mctrl(struct uart_port *port) in meson_uart_get_mctrl() argument 98 static unsigned int meson_uart_tx_empty(struct uart_port *port) in meson_uart_tx_empty() argument 102 val = readl(port->membase + AML_UART_STATUS); in meson_uart_tx_empty() 107 static void meson_uart_stop_tx(struct uart_port *port) in meson_uart_stop_tx() argument 111 val = readl(port->membase + AML_UART_CONTROL); in meson_uart_stop_tx() 113 writel(val, port->membase + AML_UART_CONTROL); in meson_uart_stop_tx() 116 static void meson_uart_stop_rx(struct uart_port *port) in meson_uart_stop_rx() argument 120 val = readl(port->membase + AML_UART_CONTROL); in meson_uart_stop_rx() [all …]
|
| D | uartlite.c | 1 // SPDX-License-Identifier: GPL-2.0 31 /* --------------------------------------------------------------------- 59 /* Static pointer to console port */ 113 static inline u32 uart_in32(u32 offset, struct uart_port *port) in uart_in32() argument 115 struct uartlite_data *pdata = port->private_data; in uart_in32() 117 return pdata->reg_ops->in(port->membase + offset); in uart_in32() 120 static inline void uart_out32(u32 val, u32 offset, struct uart_port *port) in uart_out32() argument 122 struct uartlite_data *pdata = port->private_data; in uart_out32() 124 pdata->reg_ops->out(val, port->membase + offset); in uart_out32() 131 /* --------------------------------------------------------------------- [all …]
|
| /kernel/linux/linux-6.6/Documentation/netlink/specs/ |
| D | devlink.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 5 protocol: genetlink-legacy 10 - 12 name: sb-pool-type 14 - 16 - 19 attribute-sets: 20 - 22 name-prefix: devlink-attr- 24 - [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/ |
| D | marvell-pp2.txt | 6 - compatible: should be one of: 7 "marvell,armada-375-pp2" 8 "marvell,armada-7k-pp2" 9 - reg: addresses and length of the register sets for the device. 10 For "marvell,armada-375-pp2", must contain the following register 12 - common controller registers 13 - LMS registers 14 - one register area per Ethernet port 15 For "marvell,armada-7k-pp2", must contain the following register 17 - packet processor registers [all …]
|
| /kernel/linux/linux-5.10/drivers/input/gameport/ |
| D | ns558.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (c) 1999-2001 Vojtech Pavlik 8 * NS558 based standard IBM game port driver for Linux 53 struct gameport *port; in ns558_isa_probe() local 59 if (!request_region(io, 1, "ns558-isa")) in ns558_isa_probe() 60 return -EBUSY; in ns558_isa_probe() 63 * We must not be able to write arbitrary values to the port. in ns558_isa_probe() 72 return -ENODEV; in ns558_isa_probe() 83 return -ENODEV; in ns558_isa_probe() 95 return -ENODEV; in ns558_isa_probe() [all …]
|
| /kernel/linux/linux-6.6/drivers/input/gameport/ |
| D | ns558.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (c) 1999-2001 Vojtech Pavlik 8 * NS558 based standard IBM game port driver for Linux 50 struct gameport *port; in ns558_isa_probe() local 56 if (!request_region(io, 1, "ns558-isa")) in ns558_isa_probe() 57 return -EBUSY; in ns558_isa_probe() 60 * We must not be able to write arbitrary values to the port. in ns558_isa_probe() 69 return -ENODEV; in ns558_isa_probe() 80 return -ENODEV; in ns558_isa_probe() 92 return -ENODEV; in ns558_isa_probe() [all …]
|