Home
last modified time | relevance | path

Searched +full:ctrl +full:- +full:ids (Results 1 – 25 of 212) sorted by relevance

123456789

/linux-6.12.1/drivers/nvme/host/
Dsysfs.c1 // 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 …]
Dcore.c1 // 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
106 * nvme_wq - hosts nvme related works that are not reset or delete
107 * nvme_reset_wq - hosts nvme reset works
108 * nvme_delete_wq - hosts nvme delete works
[all …]
Dzns.c1 // SPDX-License-Identifier: GPL-2.0
10 static int nvme_set_max_append(struct nvme_ctrl *ctrl) in nvme_set_max_append() argument
18 return -ENOMEM; in nvme_set_max_append()
24 status = nvme_submit_sync_cmd(ctrl->admin_q, &c, id, sizeof(*id)); in nvme_set_max_append()
30 if (id->zasl) in nvme_set_max_append()
31 ctrl->max_zone_append = 1 << (id->zasl + 3); in nvme_set_max_append()
33 ctrl->max_zone_append = ctrl->max_hw_sectors; in nvme_set_max_append()
41 struct nvme_effects_log *log = ns->head->effects; in nvme_query_zone_info()
47 if ((le32_to_cpu(log->iocs[nvme_cmd_zone_append]) & in nvme_query_zone_info()
49 if (test_and_clear_bit(NVME_NS_FORCE_RO, &ns->flags)) in nvme_query_zone_info()
[all …]
/linux-6.12.1/drivers/firmware/imx/
Dsm-misc.c1 // 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-6.12.1/drivers/platform/surface/aggregator/
Dcontroller.h1 /* 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-6.12.1/drivers/usb/gadget/
Dcomposite.c1 // SPDX-License-Identifier: GPL-2.0+
3 * composite.c - infrastructure for Composite USB Gadgets
5 * Copyright (C) 2006-2008 David Brownell
27 * struct usb_os_string - represents OS String to be reported by a gadget
46 * with the relevant device-wide data.
52 return (struct usb_gadget_strings **)uc->stash; in get_containers_gs()
56 * function_descriptors() - get function descriptors for speed
75 descriptors = f->ssp_descriptors; in function_descriptors()
80 descriptors = f->ss_descriptors; in function_descriptors()
85 descriptors = f->hs_descriptors; in function_descriptors()
[all …]
/linux-6.12.1/Documentation/driver-api/surface_aggregator/
Dclient.rst1 .. 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-6.12.1/Documentation/devicetree/bindings/firmware/
Dnxp,imx95-scmi.yaml1 # 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-6.12.1/Documentation/devicetree/bindings/clock/
Dimx8mp-audiomix.yaml1 # 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-6.12.1/arch/arm64/boot/dts/ti/
Dk3-j722s-main.dtsi1 // 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 …]
Dk3-am62p-j722s-common-wakeup.dtsi1 // SPDX-License-Identifier: GPL-2.0-only OR MIT
5 * Copyright (C) 2023-2024 Texas Instruments Incorporated - https://www.ti.com/
10 compatible = "simple-bus";
12 #address-cells = <1>;
13 #size-cells = <1>;
15 bootph-all;
18 compatible = "ti,am654-chipid";
20 bootph-all;
23 cpsw_mac_syscon: ethernet-mac-syscon@200 {
24 compatible = "ti,am62p-cpsw-mac-efuse", "syscon";
[all …]
/linux-6.12.1/include/linux/surface_aggregator/
Dcontroller.h1 /* 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-6.12.1/drivers/media/dvb-frontends/
Dmxl5xx_defs.h1 /* 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-6.12.1/drivers/usb/gadget/legacy/
Dzero.c1 // 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-6.12.1/drivers/isdn/mISDN/
Dtei.c1 // 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-6.12.1/drivers/soundwire/
Dslave.c1 // SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause)
2 // Copyright(c) 2015-17 Intel Corporation.
15 mutex_destroy(&slave->sdw_dev_lock); in sdw_slave_release()
34 return -ENOMEM; in sdw_slave_add()
37 memcpy(&slave->id, id, sizeof(*id)); in sdw_slave_add()
38 slave->dev.parent = bus->dev; in sdw_slave_add()
39 slave->dev.fwnode = fwnode; in sdw_slave_add()
41 if (id->unique_id == SDW_IGNORED_UNIQUE_ID) { in sdw_slave_add()
42 /* name shall be sdw:ctrl:link:mfg:part:class */ in sdw_slave_add()
43 dev_set_name(&slave->dev, "sdw:%01x:%01x:%04x:%04x:%02x", in sdw_slave_add()
[all …]
/linux-6.12.1/drivers/hwmon/
Dsbrmi.c1 // 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-6.12.1/drivers/bus/
Dstm32_rifsc.c1 // 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-6.12.1/Documentation/devicetree/bindings/remoteproc/
Dti,k3-dsp-rproc.yaml1 # 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-6.12.1/arch/sparc/include/asm/
Dleon_amba.h1 /* 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-6.12.1/drivers/pci/hotplug/
Dcpqphp_core.c1 // 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-6.12.1/drivers/staging/media/atomisp/pci/hive_isp_css_include/host/
Dirq_public.h1 /* SPDX-License-Identifier: GPL-2.0 */
28 \return none, IRQ[ID].ctrl[reg] = value
41 \return IRQ[ID].ctrl[reg]
159 /*! Return the IDs of all signaling IRQ channels of the virtual super IRQ
166 "irq_get_channel_id()" in a (non-blocked) handler routine
/linux-6.12.1/arch/arm/boot/dts/nxp/mxs/
Dimx28-evk.dts1 // 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 …]
/linux-6.12.1/drivers/media/usb/uvc/
Duvcvideo.h1 /* SPDX-License-Identifier: GPL-2.0 */
17 #include <media/media-device.h>
18 #include <media/v4l2-device.h>
19 #include <media/v4l2-event.h>
20 #include <media/v4l2-fh.h>
21 #include <media/videobuf2-v4l2.h>
23 /* --------------------------------------------------------------------------
29 #define UVC_TERM_DIRECTION(term) ((term)->type & 0x8000)
31 #define UVC_ENTITY_TYPE(entity) ((entity)->type & 0x7fff)
32 #define UVC_ENTITY_IS_UNIT(entity) (((entity)->type & 0xff00) == 0)
[all …]
/linux-6.12.1/drivers/usb/gadget/function/
Df_uvc.c1 // SPDX-License-Identifier: GPL-2.0+
3 * uvc_gadget.c -- USB Video Class Gadget driver
5 * Copyright (C) 2009-2010
24 #include <media/v4l2-dev.h>
25 #include <media/v4l2-event.h>
36 /* --------------------------------------------------------------------------
40 /* string IDs are assigned dynamically */
49 .language = 0x0409, /* en-us */
200 /* --------------------------------------------------------------------------
207 struct uvc_device *uvc = req->context; in uvc_function_ep0_complete()
[all …]

123456789