/linux/drivers/nvme/host/ |
H A D | sysfs.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (c) 2011-2014, Intel Corporation. 8 #include <linux/nvme-auth.h> 17 struct nvme_ctrl *ctrl = dev_get_drvdata(dev); in nvme_sysfs_reset() local 20 ret = nvme_reset_ctrl_sync(ctrl); in nvme_sysfs_reset() 31 struct nvme_ctrl *ctrl = dev_get_drvdata(dev); in nvme_sysfs_rescan() local 33 nvme_queue_scan(ctrl); in nvme_sysfs_rescan() 41 struct nvme_ctrl *ctrl = dev_get_drvdata(dev); in nvme_adm_passthru_err_log_enabled_show() local 44 ctrl->passthru_err_log_enabled ? "on\n" : "off\n"); in nvme_adm_passthru_err_log_enabled_show() 50 struct nvme_ctrl *ctrl = dev_get_drvdata(dev); in nvme_adm_passthru_err_log_enabled_store() local [all …]
|
H A D | core.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Copyright (c) 2011-2014, Intel Corporation. 9 #include <linux/blk-mq.h> 10 #include <linux/blk-integrity.h> 17 #include <linux/backing-dev.h> 29 #include <linux/nvme-auth.h> 37 struct nvme_ns_ids ids; member 108 * nvme_wq - hosts nvme related works that are not reset or delete 109 * nvme_reset_wq - hosts nvme reset works 110 * nvme_delete_wq - hosts nvme delete works [all …]
|
/linux/drivers/firmware/imx/ |
H A D | sm-misc.c | 1 // SPDX-License-Identifier: GPL-2.0+ 20 return -EPROBE_DEFER; in scmi_imx_misc_ctrl_set() 22 return imx_misc_ctrl_ops->misc_ctrl_set(ph, id, 1, &val); in scmi_imx_misc_ctrl_set() 29 return -EPROBE_DEFER; in scmi_imx_misc_ctrl_get() 31 return imx_misc_ctrl_ops->misc_ctrl_get(ph, id, num, val); in scmi_imx_misc_ctrl_get() 49 const struct scmi_handle *handle = sdev->handle; in scmi_imx_misc_ctrl_probe() 50 struct device_node *np = sdev->dev.of_node; in scmi_imx_misc_ctrl_probe() 55 return -ENODEV; in scmi_imx_misc_ctrl_probe() 58 dev_err(&sdev->dev, "misc ctrl already initialized\n"); in scmi_imx_misc_ctrl_probe() 59 return -EEXIST; in scmi_imx_misc_ctrl_probe() [all …]
|
/linux/drivers/platform/surface/aggregator/ |
H A D | controller.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 5 * Copyright (C) 2019-2022 Maximilian Luz <luzmaximilian@gmail.com> 28 /* -- Safe counters. -------------------------------------------------------- */ 31 * struct ssh_seq_counter - Safe counter for SSH sequence IDs. 39 * struct ssh_rqid_counter - Safe counter for SSH request IDs. 47 /* -- Event/notification system. -------------------------------------------- */ 50 * struct ssam_nf_head - Notifier head for SSAM events. 52 * @head: List-head for notifier blocks registered under this head. 60 * struct ssam_nf - Notifier callback- and activation-registry for SSAM events. 61 * @lock: Lock guarding (de-)registration of notifier blocks. Note: This [all …]
|
/linux/Documentation/driver-api/surface_aggregator/ |
H A D | client.rst | 1 .. SPDX-License-Identifier: GPL-2.0+ 35 client-api 45 are non-discoverable and instead need to be explicitly provided by some 49 Non-SSAM Client Drivers 53 representing that EC to the kernel. Drivers targeting a non-SSAM device (and 67 .. code-block:: c 71 struct ssam_controller *ctrl; 73 ctrl = ssam_client_bind(&pdev->dev); 74 if (IS_ERR(ctrl)) 75 return PTR_ERR(ctrl) == -ENODEV ? -EPROBE_DEFER : PTR_ERR(ctrl); [all …]
|
/linux/Documentation/devicetree/bindings/firmware/ |
H A D | nxp,imx95-scmi.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/firmware/nxp,imx95-scmi.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Peng Fan <peng.fan@nxp.com> 15 $ref: '/schemas/firmware/arm,scmi.yaml#/$defs/protocol-node' 23 $ref: '/schemas/firmware/arm,scmi.yaml#/$defs/protocol-node' 30 nxp,ctrl-ids: 32 Each entry consists of 2 integers, represents the ctrl id and the value 35 - description: the ctrl id index [all …]
|
/linux/arch/arm64/boot/dts/ti/ |
H A D | k3-j722s-main.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only OR MIT 5 * Copyright (C) 2023-2024 Texas Instruments Incorporated - https://www.ti.com/ 8 #include <dt-bindings/phy/phy-cadence.h> 9 #include <dt-bindings/phy/phy-ti.h> 12 serdes_refclk: clk-0 { 13 compatible = "fixed-clock"; 14 #clock-cells = <0>; 15 clock-frequency = <0>; 21 compatible = "ti,am64-wiz-10g"; 23 #address-cells = <1>; [all …]
|
H A D | k3-j784s4-main.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only OR MIT 5 * Copyright (C) 2022-2024 Texas Instruments Incorporated - https://www.ti.com/ 10 compatible = "ti,j721s2-c71-dsp"; 13 reg-names = "l2sram", "l1dram"; 15 firmware-name = "j784s4-c71_3-fw"; 17 ti,sci-dev-id = <40>; 18 ti,sci-proc-ids = <0x33 0xff>; 23 compatible = "ti,j784s4-pcie-host"; 30 reg-names = "intd_cfg", "user_cfg", "reg", "cfg"; 31 interrupt-names = "link_state"; [all …]
|
/linux/Documentation/devicetree/bindings/clock/ |
H A D | imx8mp-audiomix.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/clock/imx8mp-audiomix.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Marek Vasut <marex@denx.de> 18 const: fsl,imx8mp-audio-blk-ctrl 23 power-domains: 30 clock-names: 32 - const: ahb 33 - const: sai1 [all …]
|
/linux/include/linux/surface_aggregator/ |
H A D | controller.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 9 * Copyright (C) 2019-2021 Maximilian Luz <luzmaximilian@gmail.com> 22 /* -- Main data types and definitions --------------------------------------- */ 25 * enum ssam_event_flags - Flags for enabling/disabling SAM events 33 * struct ssam_event - SAM event sent from the EC to the host. 51 * enum ssam_request_flags - Flags for SAM requests. 70 * struct ssam_request - SAM request description. 94 * struct ssam_response - Response buffer for SAM request. 110 int ssam_client_link(struct ssam_controller *ctrl, struct device *client); 121 struct ssam_controller *ctrl, [all …]
|
/linux/drivers/media/dvb-frontends/ |
H A D | mxl5xx_defs.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 8 * Copyright (c) 2011-2013 MaxLinear, Inc. All rights reserved 29 /* Firmware-Host Command IDs */ 31 /* --Device command IDs-- */ 37 /* Host-used CMD, not used by firmware */ 44 /* --Tuner command IDs-- */ 48 /* --Demod command IDs-- */ 63 /* --- ABORT channel tune */ 66 /* --SWM/FSK command IDs-- */ 71 /* --DiSeqC command IDs-- */ [all …]
|
/linux/drivers/usb/gadget/legacy/ |
H A D | zero.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * zero.c -- Gadget Zero, for USB development 5 * Copyright (C) 2003-2008 David Brownell 11 * can write a hardware-agnostic gadget driver running inside a USB device. 15 * test of your device-side usb stack, or with "usb-skeleton". 32 * driver assumes self-powered hardware, and 46 /*-------------------------------------------------------------------------*/ 71 /*-------------------------------------------------------------------------*/ 75 * DO NOT REUSE THESE IDs with a protocol-incompatible driver!! Ever!! 76 * Instead: allocate your own, using normal USB-IF procedures. [all …]
|
/linux/drivers/isdn/mISDN/ |
H A D | tei.c | 1 // SPDX-License-Identifier: GPL-2.0-only 72 struct manager *mgr = fi->userdata; in da_debug() 84 printk(KERN_DEBUG "mgr(%d): %pV\n", mgr->ch.st->dev->id, &vaf); in da_debug() 92 struct manager *mgr = fi->userdata; in da_activate() 94 if (fi->state == ST_L1_DEACT_PENDING) in da_activate() 95 mISDN_FsmDelTimer(&mgr->datimer, 1); in da_activate() 108 struct manager *mgr = fi->userdata; in da_deactivate() 112 read_lock_irqsave(&mgr->lock, flags); in da_deactivate() 113 list_for_each_entry(l2, &mgr->layer2, list) { in da_deactivate() 114 if (l2->l2m.state > ST_L2_4) { in da_deactivate() [all …]
|
/linux/drivers/hwmon/ |
H A D | sbrmi.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * sbrmi.c - hwmon driver for a SB-RMI mailbox 6 * Copyright (C) 2020-2021 Advanced Micro Devices, Inc. 28 * SB-RMI supports soft mailbox service request to MP1 (power management 30 * SB-RMI message IDs 39 /* SB-RMI registers */ 78 int ctrl; in sbrmi_enable_alert() local 81 * Enable the SB-RMI Software alert status in sbrmi_enable_alert() 84 ctrl = i2c_smbus_read_byte_data(client, SBRMI_CTRL); in sbrmi_enable_alert() 85 if (ctrl < 0) in sbrmi_enable_alert() [all …]
|
/linux/drivers/soundwire/ |
H A D | slave.c | 1 // SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) 2 // Copyright(c) 2015-17 Intel Corporation. 16 mutex_destroy(&slave->sdw_dev_lock); in sdw_slave_release() 35 return -ENOMEM; in sdw_slave_add() 38 memcpy(&slave->id, id, sizeof(*id)); in sdw_slave_add() 39 slave->dev.parent = bus->dev; in sdw_slave_add() 40 slave->dev.fwnode = fwnode; in sdw_slave_add() 42 if (id->unique_id == SDW_IGNORED_UNIQUE_ID) { in sdw_slave_add() 43 /* name shall be sdw:ctrl:link:mfg:part:class */ in sdw_slave_add() 44 dev_set_name(&slave->dev, "sdw:%01x:%01x:%04x:%04x:%02x", in sdw_slave_add() [all …]
|
H A D | qcom.c | 1 // SPDX-License-Identifier: GPL-2.0 102 #define SWRM_DP_PORT_CTRL_BANK(n, m) (0x1124 + 0x100 * (n - 1) + 0x40 * m) 103 #define SWRM_DP_PORT_CTRL_2_BANK(n, m) (0x1128 + 0x100 * (n - 1) + 0x40 * m) 104 #define SWRM_DP_BLOCK_CTRL_1(n) (0x112C + 0x100 * (n - 1)) 105 #define SWRM_DP_BLOCK_CTRL2_BANK(n, m) (0x1130 + 0x100 * (n - 1) + 0x40 * m) 106 #define SWRM_DP_PORT_HCTRL_BANK(n, m) (0x1134 + 0x100 * (n - 1) + 0x40 * m) 107 #define SWRM_DP_BLOCK_CTRL3_BANK(n, m) (0x1138 + 0x100 * (n - 1) + 0x40 * m) 108 #define SWRM_DP_SAMPLECTRL2_BANK(n, m) (0x113C + 0x100 * (n - 1) + 0x40 * m) 109 #define SWRM_DIN_DPn_PCM_PORT_CTRL(n) (0x1054 + 0x100 * (n - 1)) 162 * Internal IDs for different register layouts. Only few registers differ per [all …]
|
/linux/drivers/bus/ |
H A D | stm32_rifsc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2023, STMicroelectronics - All Rights Reserved 69 /* Compartiment IDs */ 81 void __iomem *addr = stm32_firewall_controller->mmio + RIFSC_RISC_PER0_SEMCR + 0x8 * id; in stm32_rif_acquire_semaphore() 88 return -EACCES; in stm32_rif_acquire_semaphore() 96 void __iomem *addr = stm32_firewall_controller->mmio + RIFSC_RISC_PER0_SEMCR + 0x8 * id; in stm32_rif_release_semaphore() 108 static int stm32_rifsc_grant_access(struct stm32_firewall_controller *ctrl, u32 firewall_id) in stm32_rifsc_grant_access() argument 110 struct stm32_firewall_controller *rifsc_controller = ctrl; in stm32_rifsc_grant_access() 114 if (firewall_id >= rifsc_controller->max_entries) { in stm32_rifsc_grant_access() 115 dev_err(rifsc_controller->dev, "Invalid sys bus ID %u", firewall_id); in stm32_rifsc_grant_access() [all …]
|
/linux/Documentation/devicetree/bindings/remoteproc/ |
H A D | ti,k3-dsp-rproc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/remoteproc/ti,k3-dsp-rproc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Suman Anna <s-anna@ti.com> 13 The TI K3 family of SoCs usually have one or more TI DSP Core sub-systems 14 that are used to offload some of the processor-intensive tasks or algorithms, 17 These processor sub-systems usually contain additional sub-modules like 23 Each DSP Core sub-system is represented as a single DT node. Each node has a 31 - ti,am62a-c7xv-dsp [all …]
|
/linux/arch/sparc/include/asm/ |
H A D | leon_amba.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 4 *Copyright (C) 2004 Stefan Holst (mail@s-holst.de), Uni-Stuttgart 34 * The following defines the bits in the LEON UART Ctrl Registers. 74 * The following defines the bits in the LEON PS/2 Ctrl Registers. 89 #define LEON3_GPTIMER_CONFIG_NRTIMERS(c) ((c)->config & 0x7) 114 u32 unused[(0x1000-0x100)/4]; 120 u32 ctrl; member 127 u32 ctrl; member 258 /* Chip IDs */
|
/linux/drivers/pci/hotplug/ |
H A D | cpqphp_core.c | 1 // SPDX-License-Identifier: GPL-2.0+ 6 * Copyright (C) 2001 Greg Kroah-Hartman <greg@kroah.com> 13 * Jan 12, 2003 - Added 66/100/133MHz PCI-X support, 51 #define DRIVER_AUTHOR "Dan Zink <dan.zink@compaq.com>, Greg Kroah-Hartman <greg@kroah.com>" 68 return (readb(slot->p_sm_slot + SMBIOS_SLOT_WIDTH) == 0x06) ? 1 : 0; in is_slot64bit() 73 return (readb(slot->p_sm_slot + SMBIOS_SLOT_TYPE) == 0x0E) ? 1 : 0; in is_slot66mhz() 77 * detect_SMBIOS_pointer - find the System Management BIOS Table in mem region. 90 endp = (end - sizeof(u32) + 1); in detect_SMBIOS_pointer() 115 * init_SERR - Initializes the per slot SERR generation. 116 * @ctrl: controller to use [all …]
|
/linux/arch/arm/boot/dts/nxp/mxs/ |
H A D | imx28-evk.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 5 /dts-v1/; 10 compatible = "fsl,imx28-evk", "fsl,imx28"; 18 reg_3p3v: regulator-3p3v { 19 compatible = "regulator-fixed"; 20 regulator-name = "3P3V"; 21 regulator-min-microvolt = <3300000>; 22 regulator-max-microvolt = <3300000>; 23 regulator-always-on; 26 reg_vddio_sd0: regulator-vddio-sd0 { [all …]
|
H A D | imx28-tx28.dts | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 4 * Copyright 2013-2017 Lothar Waßmann <LW@KARO-electronics.de> 7 /dts-v1/; 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/interrupt-controller/irq.h> 13 model = "Ka-Ro electronics TX28 module"; 34 reg = <0x40000000 0>; /* will be filled in by U-Boot */ 38 compatible = "w1-gpio"; 43 reg_usb0_vbus: regulator-usb0-vbus { 44 compatible = "regulator-fixed"; [all …]
|
/linux/arch/x86/kernel/cpu/ |
H A D | hygon.c | 1 // SPDX-License-Identifier: GPL-2.0+ 16 #include <asm/spec-ctrl.h> 30 for (i = apicid - 1; i >= 0; i--) { in nearby_node() 49 unsigned int apicid = c->topo.apicid; in srat_detect_node() 53 node = c->topo.llc_id; in srat_detect_node() 56 * On multi-fabric platform (e.g. Numascale NumaChip) a in srat_detect_node() 57 * platform-specific handler needs to be called to fixup some in srat_detect_node() 58 * IDs of the CPU. in srat_detect_node() 67 * - The CPU is missing memory and no node was created. In in srat_detect_node() 70 * - The APIC IDs differ from the HyperTransport node IDs. in srat_detect_node() [all …]
|
/linux/drivers/slimbus/ |
H A D | slimbus.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Copyright (c) 2011-2017, The Linux Foundation 91 * struct slim_framer - Represents SLIMbus framer. 94 * Manager is responsible for framer hand-over. 111 * struct slim_msg_txn - Message to be sent by the controller. 120 * (relevant for message-codes involving read operation) 247 * enum slim_ch_aux_bit_fmt: SLIMbus channel Aux Field format IDs according to 260 * struct slim_channel - SLIMbus channel, used for state machine 279 * struct slim_port - SLIMbus port 303 * @SLIM_PROTO_ASYNC_SMPLX: Asynchronous Protocol-Simplex [all …]
|
/linux/drivers/usb/gadget/function/ |
H A D | f_acm.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * f_acm.c -- USB CDC serial (ACM) function driver 25 * notifications around the generic serial-over-usb code. 27 * Because CDC ACM is standardized by the USB-IF, many host operating 29 * interop solution for serial-port type connections. The control 31 * this bare-bones implementation. 33 * Note that even MS-Windows has some support for ACM. However, that 57 struct usb_cdc_line_coding port_line_coding; /* 8-N-1 etc */ 59 /* SetControlLineState request -- CDC 1.1 section 6.2.14 (INPUT) */ 61 /* SerialState notification -- CDC 1.1 section 6.3.5 (OUTPUT) */ [all …]
|