Home
last modified time | relevance | path

Searched +full:cmd +full:- +full:max +full:- +full:name (Results 1 – 25 of 1038) sorted by relevance

12345678910>>...42

/linux-6.12.1/Documentation/userspace-api/netlink/
Dc-code-gen.rst1 .. SPDX-License-Identifier: BSD-3-Clause
9 allowed in older families by the ``genetlink-c`` protocol level,
12 For brevity this document refers to ``name`` properties of various
14 of ``name`` in an attribute, and ``$family`` is the name of the
15 family (the global ``name`` property).
17 The upper case is used to denote literal values, e.g. ``$family-CMD``
19 ``CMD``.
22 and with dashes (``-``) replaced by underscores (``_``).
24 If the constructed name is a C keyword, an extra underscore is
25 appended (``do`` -> ``do_``).
[all …]
/linux-6.12.1/drivers/macintosh/
Dwindfarm_smu_controls.c1 // SPDX-License-Identifier: GPL-2.0-only
49 s32 min, max; /* min/max values */ member
56 struct smu_cmd cmd; in smu_set_fan() local
62 cmd.cmd = SMU_CMD_FAN_COMMAND; in smu_set_fan()
75 cmd.data_len = 4; in smu_set_fan()
78 return -EINVAL; in smu_set_fan()
84 cmd.data_len = 14; in smu_set_fan()
87 cmd.reply_len = 16; in smu_set_fan()
88 cmd.data_buf = cmd.reply_buf = buffer; in smu_set_fan()
89 cmd.status = 0; in smu_set_fan()
[all …]
/linux-6.12.1/drivers/crypto/
Datmel-sha204a.c1 // SPDX-License-Identifier: GPL-2.0
19 #include "atmel-i2c.h"
24 struct atmel_i2c_client_priv *i2c_priv = work_data->ctx; in atmel_sha204a_rng_done()
28 dev_warn_ratelimited(&i2c_priv->client->dev, in atmel_sha204a_rng_done()
32 rng->priv = (unsigned long)work_data; in atmel_sha204a_rng_done()
33 atomic_dec(&i2c_priv->tfm_count); in atmel_sha204a_rng_done()
37 size_t max) in atmel_sha204a_rng_read_nonblocking() argument
45 if (!atomic_add_unless(&i2c_priv->tfm_count, 1, 1)) in atmel_sha204a_rng_read_nonblocking()
48 if (rng->priv) { in atmel_sha204a_rng_read_nonblocking()
49 work_data = (struct atmel_i2c_work_data *)rng->priv; in atmel_sha204a_rng_read_nonblocking()
[all …]
/linux-6.12.1/sound/soc/sof/
Dipc3-pcm.c1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
11 #include "ipc3-priv.h"
13 #include "sof-priv.h"
14 #include "sof-audio.h"
26 return -EINVAL; in sof_ipc3_pcm_hw_free()
28 if (!spcm->prepared[substream->stream]) in sof_ipc3_pcm_hw_free()
32 stream.hdr.cmd = SOF_IPC_GLB_STREAM_MSG | SOF_IPC_STREAM_PCM_FREE; in sof_ipc3_pcm_hw_free()
33 stream.comp_id = spcm->stream[substream->stream].comp_id; in sof_ipc3_pcm_hw_free()
36 return sof_ipc_tx_message_no_reply(sdev->ipc, &stream, sizeof(stream)); in sof_ipc3_pcm_hw_free()
46 struct sof_ipc_fw_version *v = &sdev->fw_ready.version; in sof_ipc3_pcm_hw_params()
[all …]
/linux-6.12.1/sound/soc/intel/atom/
Dsst-atom-controls.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * sst-atom-controls.c - Intel MID Platform driver DPCM ALSA controls for Mrfld
5 * Copyright (C) 2013-14 Intel Corp
20 #include "sst-mfld-platform.h"
21 #include "sst-atom-controls.h"
28 struct snd_sst_bytes_v2 *byte_data = drv->byte_stream; in sst_fill_byte_control()
30 byte_data->type = SST_CMD_BYTES_SET; in sst_fill_byte_control()
31 byte_data->ipc_msg = ipc_msg; in sst_fill_byte_control()
32 byte_data->block = block; in sst_fill_byte_control()
33 byte_data->task_id = task_id; in sst_fill_byte_control()
[all …]
/linux-6.12.1/Documentation/netlink/specs/
Dnlctrl.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
3 name: nlctrl
4 protocol: genetlink-legacy
5 uapi-header: linux/genetlink.h
8 genetlink meta-family that exposes information about all genetlink
12 -
13 name: op-flags
15 enum-name:
17 - admin-perm
18 - cmd-cap-do
[all …]
/linux-6.12.1/drivers/gpu/drm/tests/
Ddrm_framebuffer_test.c1 // SPDX-License-Identifier: GPL-2.0
24 struct drm_mode_fb_cmd2 cmd; member
25 const char *name; member
29 { .buffer_created = 1, .name = "ABGR8888 normal sizes",
30 .cmd = { .width = 600, .height = 600, .pixel_format = DRM_FORMAT_ABGR8888,
34 { .buffer_created = 1, .name = "ABGR8888 max sizes",
35 .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888,
39 { .buffer_created = 1, .name = "ABGR8888 pitch greater than min required",
40 .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888,
44 { .buffer_created = 0, .name = "ABGR8888 pitch less than min required",
[all …]
/linux-6.12.1/arch/arm64/boot/dts/freescale/
Dimx93-9x9-qsb.dts1 // SPDX-License-Identifier: (GPL-2.0-only OR MIT)
6 /dts-v1/;
8 #include <dt-bindings/usb/pd.h>
13 compatible = "fsl,imx93-9x9-qsb", "fsl,imx93";
16 stdout-path = &lpuart1;
19 reserved-memory {
20 #address-cells = <2>;
21 #size-cells = <2>;
25 compatible = "shared-dma-pool";
28 linux,cma-default;
[all …]
Dimx93-14x14-evk.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
8 #include <dt-bindings/usb/pd.h>
13 compatible = "fsl,imx93-14x14-evk", "fsl,imx93";
16 stdout-path = &lpuart1;
19 reserved-memory {
20 #address-cells = <2>;
21 #size-cells = <2>;
25 compatible = "shared-dma-pool";
27 alloc-ranges = <0 0x80000000 0 0x40000000>;
[all …]
Dimx93-11x11-evk.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
8 #include <dt-bindings/usb/pd.h>
13 compatible = "fsl,imx93-11x11-evk", "fsl,imx93";
16 stdout-path = &lpuart1;
19 reserved-memory {
20 #address-cells = <2>;
21 #size-cells = <2>;
25 compatible = "shared-dma-pool";
27 alloc-ranges = <0 0x80000000 0 0x40000000>;
[all …]
/linux-6.12.1/drivers/comedi/drivers/
Ddas16.c1 // SPDX-License-Identifier: GPL-2.0+
6 * COMEDI - Linux Control and Measurement Device Interface
16 * Devices: [Keithley Metrabyte] DAS-16 (das-16), DAS-16G (das-16g),
17 * DAS-16F (das-16f), DAS-1201 (das-1201), DAS-1202 (das-1202),
18 * DAS-1401 (das-1401), DAS-1402 (das-1402), DAS-1601 (das-1601),
19 * DAS-1602 (das-1602),
20 * [ComputerBoards] PC104-DAS16/JR (pc104-das16jr),
21 * PC104-DAS16JR/16 (pc104-das16jr/16), CIO-DAS16 (cio-das16),
22 * CIO-DAS16F (cio-das16/f), CIO-DAS16/JR (cio-das16/jr),
23 * CIO-DAS16JR/16 (cio-das16jr/16), CIO-DAS1401/12 (cio-das1401/12),
[all …]
/linux-6.12.1/drivers/nvdimm/
Ddimm_devs.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright(c) 2013-2015 Intel Corporation. All rights reserved.
14 #include "nd-core.h"
29 if (!nvdimm->cmd_mask || in nvdimm_check_config_data()
30 !test_bit(ND_CMD_GET_CONFIG_DATA, &nvdimm->cmd_mask)) { in nvdimm_check_config_data()
31 if (test_bit(NDD_LABELING, &nvdimm->flags)) in nvdimm_check_config_data()
32 return -ENXIO; in nvdimm_check_config_data()
34 return -ENOTTY; in nvdimm_check_config_data()
45 return -EINVAL; in validate_dimm()
47 rc = nvdimm_check_config_data(ndd->dev); in validate_dimm()
[all …]
/linux-6.12.1/tools/testing/selftests/drivers/net/hw/
Ddevlink_port_split.py2 # SPDX-License-Identifier: GPL-2.0
12 # Test port split configuration using devlink-port lanes attribute.
21 # Kselftest framework requirement - SKIP code is 4
23 Port = collections.namedtuple('Port', 'bus_info name')
26 def run_command(cmd, should_fail=False): argument
32 p = Popen(cmd, stdout=PIPE, stderr=PIPE, shell=True)
37 print("Error sending command: %s" % cmd)
57 cmd = "devlink -j port show"
58 stdout, stderr = run_command(cmd)
67 arr.append(Port(bus_info=port, name=ports[port]['netdev']))
[all …]
/linux-6.12.1/arch/arm64/boot/dts/mediatek/
Dmt8390-genio-700-evk.dts1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
4 * Author: Chris Chen <chris-qj.chen@mediatek.com>
8 /dts-v1/;
12 #include <dt-bindings/gpio/gpio.h>
13 #include <dt-bindings/input/input.h>
14 #include <dt-bindings/interrupt-controller/irq.h>
15 #include <dt-bindings/pinctrl/mediatek,mt8188-pinfunc.h>
16 #include <dt-bindings/regulator/mediatek,mt6360-regulator.h>
17 #include <dt-bindings/spmi/spmi.h>
18 #include <dt-bindings/usb/pd.h>
[all …]
Dmt8395-genio-1200-evk.dts1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
7 /dts-v1/;
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/input/input.h>
13 #include <dt-bindings/interrupt-controller/irq.h>
14 #include <dt-bindings/pinctrl/mt8195-pinfunc.h>
15 #include <dt-bindings/regulator/mediatek,mt6360-regulator.h>
16 #include <dt-bindings/spmi/spmi.h>
17 #include <dt-bindings/usb/pd.h>
20 model = "MediaTek Genio 1200 EVK-P1V2-EMMC";
[all …]
Dmt8173-evb.dts1 // SPDX-License-Identifier: GPL-2.0-only
7 /dts-v1/;
8 #include <dt-bindings/gpio/gpio.h>
13 chassis-type = "embedded";
14 compatible = "mediatek,mt8173-evb", "mediatek,mt8173";
31 compatible = "hdmi-connector";
37 remote-endpoint = <&hdmi0_out>;
43 compatible = "linux,extcon-usb-gpio";
44 id-gpios = <&pio 16 GPIO_ACTIVE_HIGH>;
47 usb_p1_vbus: regulator-usb-p1 {
[all …]
Dmt8195-demo.dts1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
6 /dts-v1/;
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/input/input.h>
13 #include <dt-bindings/pinctrl/mt8195-pinfunc.h>
14 #include <dt-bindings/regulator/mediatek,mt6360-regulator.h>
18 compatible = "mediatek,mt8195-demo", "mediatek,mt8195";
25 stdout-path = "serial0:921600n8";
30 compatible = "linaro,optee-tz";
35 gpio-keys {
[all …]
/linux-6.12.1/drivers/net/ethernet/cisco/enic/
Denic_ethtool.c1 // SPDX-License-Identifier: GPL-2.0-only
16 char name[ETH_GSTRING_LEN]; member
21 .name = #stat, \
26 .name = #stat, \
31 .name = #stat, \
36 .name = "rq[%d]_"#stat, \
41 .name = "wq[%d]_"#stat, \
123 for (i = 0; i < enic->rq_count; i++) { in enic_intr_coal_set_rx()
125 vnic_intr_coalescing_timer_set(&enic->intr[intr], timer); in enic_intr_coal_set_rx()
133 struct ethtool_link_settings *base = &ecmd->base; in enic_get_ksettings()
[all …]
/linux-6.12.1/drivers/input/misc/
Duinput.c1 // SPDX-License-Identifier: GPL-2.0-or-later
11 * - add UI_GET_SYSNAME ioctl
13 * - updated ff support for the changes in kernel interface
14 * - added MODULE_VERSION
16 * - added force feedback support
17 * - added UI_SET_PHYS
19 * - first public version
31 #include "../input-compat.h"
80 udev->buff[udev->head] = (struct input_event) { in uinput_dev_event()
88 udev->head = (udev->head + 1) % UINPUT_BUFFER_SIZE; in uinput_dev_event()
[all …]
/linux-6.12.1/drivers/char/hw_random/
Dimx-rngc.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (C) 2008-2012 Freescale Semiconductor, Inc.
76 u32 ctrl, cmd; in imx_rngc_irq_mask_clear() local
79 ctrl = readl(rngc->base + RNGC_CONTROL); in imx_rngc_irq_mask_clear()
81 writel(ctrl, rngc->base + RNGC_CONTROL); in imx_rngc_irq_mask_clear()
88 cmd = readl(rngc->base + RNGC_COMMAND); in imx_rngc_irq_mask_clear()
89 cmd |= RNGC_CMD_CLR_INT | RNGC_CMD_CLR_ERR; in imx_rngc_irq_mask_clear()
90 writel(cmd, rngc->base + RNGC_COMMAND); in imx_rngc_irq_mask_clear()
97 ctrl = readl(rngc->base + RNGC_CONTROL); in imx_rngc_irq_unmask()
99 writel(ctrl, rngc->base + RNGC_CONTROL); in imx_rngc_irq_unmask()
[all …]
/linux-6.12.1/drivers/input/touchscreen/
Dcyttsp5.c1 // SPDX-License-Identifier: GPL-2.0
6 * Copyright (C) 2012-2015 Cypress Semiconductor
13 #include <linux/crc-itu-t.h>
32 #define CY_NUM_BTN_EVENT_ID GENMASK(CY_BITS_PER_BTN - 1, 0)
161 size_t max; /* max value */ member
219 static int cyttsp5_read(struct cyttsp5 *ts, u8 *buf, u32 max) in cyttsp5_read() argument
226 error = regmap_bulk_read(ts->regmap, HID_INPUT_REG, temp, sizeof(temp)); in cyttsp5_read()
234 if (size > max) in cyttsp5_read()
235 return -EINVAL; in cyttsp5_read()
238 return regmap_bulk_read(ts->regmap, HID_INPUT_REG, buf, size); in cyttsp5_read()
[all …]
/linux-6.12.1/sound/pci/pcxhr/
Dpcxhr_mixer.c1 // SPDX-License-Identifier: GPL-2.0-or-later
25 #define PCXHR_LINE_CAPTURE_LEVEL_MIN 0 /* -112.0 dB */
27 #define PCXHR_LINE_CAPTURE_ZERO_LEVEL 224 /* 0.0 dB ( 0 dBu -> 0 dBFS ) */
29 #define PCXHR_LINE_PLAYBACK_LEVEL_MIN 0 /* -104.0 dB */
31 #define PCXHR_LINE_PLAYBACK_ZERO_LEVEL 104 /* 0.0 dB ( 0 dBFS -> 0 dBu ) */
33 static const DECLARE_TLV_DB_SCALE(db_scale_analog_capture, -11200, 50, 1550);
34 static const DECLARE_TLV_DB_SCALE(db_scale_analog_playback, -10400, 100, 2400);
36 static const DECLARE_TLV_DB_SCALE(db_scale_a_hr222_capture, -11150, 50, 1600);
37 static const DECLARE_TLV_DB_SCALE(db_scale_a_hr222_playback, -2550, 50, 2400);
47 rmh.cmd[0] |= IO_NUM_REG_IN_ANA_LEVEL; in pcxhr_update_analog_audio_level()
[all …]
/linux-6.12.1/drivers/clk/at91/
Dclk-peripheral.c1 // SPDX-License-Identifier: GPL-2.0-or-later
7 #include <linux/clk-provider.h>
52 u32 id = periph->id; in clk_peripheral_enable()
58 regmap_write(periph->regmap, offset, PERIPHERAL_MASK(id)); in clk_peripheral_enable()
67 u32 id = periph->id; in clk_peripheral_disable()
73 regmap_write(periph->regmap, offset, PERIPHERAL_MASK(id)); in clk_peripheral_disable()
81 u32 id = periph->id; in clk_peripheral_is_enabled()
87 regmap_read(periph->regmap, offset, &status); in clk_peripheral_is_enabled()
99 at91_clk_register_peripheral(struct regmap *regmap, const char *name, in at91_clk_register_peripheral() argument
108 if (!name || !(parent_name || parent_hw) || id > PERIPHERAL_ID_MAX) in at91_clk_register_peripheral()
[all …]
/linux-6.12.1/drivers/perf/hisilicon/
Dhisi_uncore_sllc_pmu.c1 // SPDX-License-Identifier: GPL-2.0-only
8 * This code is based on the uncore PMUs like arm-cci and arm-ccn.
51 static bool tgtid_is_valid(u32 max, u32 min) in tgtid_is_valid() argument
53 return max > 0 && max >= min; in tgtid_is_valid()
58 struct hisi_pmu *sllc_pmu = to_hisi_pmu(event->pmu); in hisi_sllc_pmu_enable_tracetag()
64 val = readl(sllc_pmu->base + SLLC_PERF_CTRL); in hisi_sllc_pmu_enable_tracetag()
66 writel(val, sllc_pmu->base + SLLC_PERF_CTRL); in hisi_sllc_pmu_enable_tracetag()
72 struct hisi_pmu *sllc_pmu = to_hisi_pmu(event->pmu); in hisi_sllc_pmu_disable_tracetag()
78 val = readl(sllc_pmu->base + SLLC_PERF_CTRL); in hisi_sllc_pmu_disable_tracetag()
80 writel(val, sllc_pmu->base + SLLC_PERF_CTRL); in hisi_sllc_pmu_disable_tracetag()
[all …]
/linux-6.12.1/drivers/gpu/drm/panel/
Dpanel-samsung-s6e63m0-dsi.c1 // SPDX-License-Identifier: GPL-2.0
14 #include "panel-samsung-s6e63m0.h"
17 #define S6E63M0_DSI_MAX_CHUNK 15 /* CMD + 15 bytes max */
20 const u8 cmd, u8 *data) in s6e63m0_dsi_dcs_read() argument
25 ret = mipi_dsi_dcs_read(dsi, cmd, data, 1); in s6e63m0_dsi_dcs_read()
27 dev_err(dev, "could not read DCS CMD %02x\n", cmd); in s6e63m0_dsi_dcs_read()
31 dev_dbg(dev, "DSI read CMD %02x = %02x\n", cmd, *data); in s6e63m0_dsi_dcs_read()
41 u8 cmd; in s6e63m0_dsi_dcs_write() local
50 cmd = *seqp; in s6e63m0_dsi_dcs_write()
53 remain = len - 1; in s6e63m0_dsi_dcs_write()
[all …]

12345678910>>...42