Home
last modified time | relevance | path

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

12345678910>>...14

/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/diag/
Den_tc_tracepoint.h1 /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */
15 #define __parse_action(ids, num) parse_action(p, ids, num) argument
17 void put_ids_to_array(int *ids,
19 unsigned int num);
22 int *ids,
23 unsigned int num);
29 __field(unsigned int, num)
30 __dynamic_array(int, ids, f->rule ?
31 f->rule->action.num_entries : 0)
33 TP_fast_assign(__entry->cookie = (void *)f->cookie;
[all …]
Den_tc_tracepoint.c1 // SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB
7 void put_ids_to_array(int *ids, in put_ids_to_array() argument
9 unsigned int num) in put_ids_to_array() argument
13 for (i = 0; i < num; i++) in put_ids_to_array()
14 ids[i] = entries[i].id; in put_ids_to_array()
43 int *ids, in parse_action() argument
44 unsigned int num) in parse_action() argument
49 for (i = 0; i < num; i++) { in parse_action()
50 if (ids[i] < NUM_FLOW_ACTIONS) in parse_action()
51 trace_seq_printf(p, "%s ", FLOWACT2STR[ids[i]]); in parse_action()
/linux-6.12.1/Documentation/devicetree/bindings/interrupt-controller/
Driscv,imsics.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/interrupt-controller/riscv,imsics.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: RISC-V Incoming MSI Controller (IMSIC)
10 - Anup Patel <anup@brainfault.org>
13 The RISC-V advanced interrupt architecture (AIA) defines a per-CPU incoming
14 MSI controller (IMSIC) for handling MSIs in a RISC-V platform. The RISC-V
15 AIA specification can be found at https://github.com/riscv/riscv-aia.
17 The IMSIC is a per-CPU (or per-HART) device with separate interrupt file
[all …]
/linux-6.12.1/drivers/mmc/core/
Dsdio_bus.c1 // SPDX-License-Identifier: GPL-2.0-or-later
43 sdio_config_attr(class, "0x%02x\n", func->class);
44 sdio_config_attr(vendor, "0x%04x\n", func->vendor);
45 sdio_config_attr(device, "0x%04x\n", func->device);
46 sdio_config_attr(revision, "%u.%u\n", func->major_rev, func->minor_rev);
47 sdio_config_attr(modalias, "sdio:c%02Xv%04Xd%04X\n", func->class, func->vendor, func->device);
49 #define sdio_info_attr(num) \ argument
50 static ssize_t info##num##_show(struct device *dev, struct device_attribute *attr, char *buf) \
54 if (num > func->num_info) \
55 return -ENODATA; \
[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()
26 int scmi_imx_misc_ctrl_get(u32 id, u32 *num, u32 *val) in scmi_imx_misc_ctrl_get() argument
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()
52 int ret, i, num; in scmi_imx_misc_ctrl_probe() local
55 return -ENODEV; in scmi_imx_misc_ctrl_probe()
[all …]
/linux-6.12.1/drivers/cdx/
Dcdx.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2022-2023, Advanced Micro Devices, Inc.
16 * the FPGA program manager and the APUs. The RPU provides memory-mapped
21 * +--------------------------------------+
30 * +-----------------------------|--------+
34 * +------------------------| RPU if |----+
39 * +--------------------------------------+
41 * +---------------------|----------------+
43 * | +-----------------------+ |
45 * | +-------+ +-------+ +-------+ |
[all …]
/linux-6.12.1/tools/perf/util/
Dexpr.y12 #include "expr-bison.h"
18 %parse-param { double *final_val }
19 %parse-param { struct expr_parse_ctx *ctx }
20 %parse-param { bool compute_ids }
21 %parse-param {void *scanner}
22 %lex-param {void* scanner}
25 double num;
27 struct ids {
29 * When creating ids, holds the working set of event ids. NULL
32 struct hashmap *ids;
[all …]
Dbpf-filter.c1 /* SPDX-License-Identifier: GPL-2.0 */
15 * To support non-root users, the filters map can be loaded and pinned in the BPF
16 * filesystem by root (perf record --setup-filter pin). Then each user will get
18 * BPF program will find the filter using (task-id, event-id) as a key.
24 * event->id ---> | id | ---+ idx_hash | filters
26 * | .... | +-> | idx | --+--> | exprs | ---> perf_bpf_filter_entry[]
28 * task id (tgid) --------------+ | .... | | | ... | .term (+ part)
33 * This is used for per-task use cases while system-wide profiling (normally from
35 * it can proceed even if a lot of non-root users are using the filters at the
59 #include "util/bpf-filter.h"
[all …]
/linux-6.12.1/arch/arm/boot/dts/nxp/mxs/
Dimx28-cfa10049.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
7 * The CFA-10049 is an expansion board for the CFA-10036 module, thus we
8 * need to include the CFA-10036 DTS.
10 #include "imx28-cfa10036.dts"
13 model = "Crystalfontz CFA-10049 Board";
17 compatible = "i2c-mux-gpio";
18 #address-cells = <1>;
19 #size-cells = <0>;
20 pinctrl-names = "default";
21 pinctrl-0 = <&i2cmux_pins_cfa10049>;
[all …]
Dimx28-cfa10055.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
8 * The CFA-10055 is an expansion board for the CFA-10036 module and
9 * CFA-10037, thus we need to include the CFA-10037 DTS.
11 #include "imx28-cfa10037.dts"
14 model = "Crystalfontz CFA-10055 Board";
17 spi-2 {
18 compatible = "spi-gpio";
19 pinctrl-names = "default";
20 pinctrl-0 = <&spi2_pins_cfa10055>;
22 sck-gpios = <&gpio2 16 0>;
[all …]
Dimx28-cfa10056.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
7 * The CFA-10055 is an expansion board for the CFA-10036 module and
8 * CFA-10037, thus we need to include the CFA-10037 DTS.
10 #include "imx28-cfa10037.dts"
13 model = "Crystalfontz CFA-10056 Board";
16 spi-2 {
17 compatible = "spi-gpio";
18 pinctrl-names = "default";
19 pinctrl-0 = <&spi2_pins_cfa10056>;
21 sck-gpios = <&gpio2 16 0>;
[all …]
/linux-6.12.1/drivers/iommu/
Dmsm_iommu.h1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /* Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved.
25 /* Maximum number of Machine IDs that we are allowing to be mapped to the same
37 * struct msm_iommu_dev - a single IOMMU hardware instance
64 * struct msm_iommu_ctx_dev - an IOMMU context bank instance
66 * num Index of this context bank within the hardware
67 * mids List of Machine IDs that are to be mapped into this context
68 * bank, terminated by -1. The MID is a set of signals on the
76 int num; member
/linux-6.12.1/drivers/gpu/drm/xe/
Dxe_gt_sriov_pf_config.c1 // SPDX-License-Identifier: MIT
3 * Copyright © 2023-2024 Intel Corporation
52 return xe_guc_ct_send_block(&guc->ct, request, ARRAY_SIZE(request)); in guc_action_update_vf_cfg()
60 struct xe_guc *guc = &gt->uc.guc; in pf_send_vf_cfg_reset()
65 return ret <= 0 ? ret : -EPROTO; in pf_send_vf_cfg_reset()
77 struct xe_guc *guc = &gt->uc.guc; in pf_send_vf_cfg_klvs()
90 xe_map_memcpy_to(xe, &bo->vmap, 0, klvs, bytes); in pf_send_vf_cfg_klvs()
100 * Return: 0 on success, -ENOKEY if some KLVs were not updated, -EPROTO if reply was malformed,
113 int err = ret < 0 ? ret : ret < num_klvs ? -ENOKEY : -EPROTO; in pf_push_vf_cfg_klvs()
168 static int pf_push_vf_cfg_ctxs(struct xe_gt *gt, unsigned int vfid, u32 begin, u32 num) in pf_push_vf_cfg_ctxs() argument
[all …]
/linux-6.12.1/arch/powerpc/include/asm/
Dkvm_book3s.h1 /* SPDX-License-Identifier: GPL-2.0-only */
15 #include <asm/guest-state-buffer.h>
37 #define SID_MAP_MASK (SID_MAP_NUM - 1)
88 u64 tb_offset; /* guest timebase - host timebase */
389 return vcpu->arch.book3s; in to_book3s()
401 static inline void kvmppc_set_gpr(struct kvm_vcpu *vcpu, int num, ulong val) in kvmppc_set_gpr() argument
403 vcpu->arch.regs.gpr[num] = val; in kvmppc_set_gpr()
404 kvmhv_nestedv2_mark_dirty(vcpu, KVMPPC_GSID_GPR(num)); in kvmppc_set_gpr()
407 static inline ulong kvmppc_get_gpr(struct kvm_vcpu *vcpu, int num) in kvmppc_get_gpr() argument
409 WARN_ON(kvmhv_nestedv2_cached_reload(vcpu, KVMPPC_GSID_GPR(num)) < 0); in kvmppc_get_gpr()
[all …]
/linux-6.12.1/drivers/pnp/pnpacpi/
Dcore.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * pnpacpi -- PnP ACPI driver
18 static int num; variable
21 * Compatible Device IDs
45 pnp_dbg(&dev->dev, "get resources\n"); in pnpacpi_get_resources()
55 pnp_dbg(&dev->dev, "set resources\n"); in pnpacpi_set_resources()
57 acpi_dev = ACPI_COMPANION(&dev->dev); in pnpacpi_set_resources()
59 dev_dbg(&dev->dev, "ACPI device not found in %s!\n", __func__); in pnpacpi_set_resources()
60 return -ENODEV; in pnpacpi_set_resources()
63 if (WARN_ON_ONCE(acpi_dev != dev->data)) in pnpacpi_set_resources()
[all …]
/linux-6.12.1/drivers/usb/misc/
Dusb-ljca.c1 // SPDX-License-Identifier: GPL-2.0-only
30 (LJCA_MAX_PACKET_SIZE - sizeof(struct ljca_msg))
78 u8 num; member
79 struct ljca_i2c_ctr_info info[] __counted_by(num);
89 u8 num; member
90 struct ljca_spi_ctr_info info[] __counted_by(num);
108 * struct ljca_adapter - represent a ljca adapter
162 const struct acpi_device_id *ids; member
197 list_for_each_entry(client, &adap->client_list, link) { in ljca_handle_event()
203 if (client->type == header->type) { in ljca_handle_event()
[all …]
/linux-6.12.1/include/linux/crush/
Dcrush.h1 /* SPDX-License-Identifier: GPL-2.0 */
13 * CRUSH is a pseudo-random data distribution algorithm that
20 * https://www.ssrc.ucsc.edu/Papers/weil-sc06.pdf
39 * CRUSH uses user-defined "rules" to describe how inputs should be
53 CRUSH_RULE_CHOOSE_FIRSTN = 2, /* arg1 = num items to pick */
69 * for specifying choose num (arg1) relative to the max parameter
73 #define CRUSH_CHOOSE_N_MINUS(x) (-(x))
106 * ------------------------------------------------
133 __u16 type; /* non-zero; type=0 is reserved for devices */
136 __u32 weight; /* 16-bit fixed point */
[all …]
/linux-6.12.1/sound/soc/meson/
Daiu.c1 // SPDX-License-Identifier: GPL-2.0
13 #include <sound/soc-dai.h>
15 #include <dt-bindings/sound/meson-aiu.h>
17 #include "aiu-fifo.h"
52 if (args->args_count != 2) in aiu_of_xlate_dai_name()
53 return -EINVAL; in aiu_of_xlate_dai_name()
55 if (args->args[0] != component_id) in aiu_of_xlate_dai_name()
56 return -EINVAL; in aiu_of_xlate_dai_name()
58 id = args->args[1]; in aiu_of_xlate_dai_name()
60 if (id < 0 || id >= component->num_dai) in aiu_of_xlate_dai_name()
[all …]
/linux-6.12.1/tools/lib/bpf/
Dbtf_relocate.c1 // SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause)
25 #define qsort(base, num, sz, cmp) sort(base, num, sz, cmp, NULL) argument
55 #define BTF_IS_EMBEDDED ((__u32)-1)
68 struct btf_type *t = btf_type_by_id(r->btf, i); in btf_relocate_rewrite_type_id()
78 *id = r->id_map[*id]; in btf_relocate_rewrite_type_id()
83 * types are named. If strings match, and size is non-zero for both elements
90 int name_diff = strcmp(ni1->name, ni2->name); in cmp_btf_name_size()
92 if (!name_diff && ni1->needs_size && ni2->needs_size) in cmp_btf_name_size()
93 return ni2->size - ni1->size; in cmp_btf_name_size()
107 int high = nelems - 1; in search_btf_name_size()
[all …]
/linux-6.12.1/drivers/xen/
Dxen-acpi-pad.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * xen-acpi-pad.c - Xen pad interface
16 #include <xen/xen-ops.h>
48 * return -1 on failure
54 int num = -1; in acpi_pad_pur() local
57 return num; in acpi_pad_pur()
60 return num; in acpi_pad_pur()
64 if (package->type == ACPI_TYPE_PACKAGE && in acpi_pad_pur()
65 package->package.count == 2 && in acpi_pad_pur()
66 package->package.elements[0].integer.value == 1) /* rev 1 */ in acpi_pad_pur()
[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 …]
/linux-6.12.1/fs/squashfs/
Dsuper.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Squashfs - a compressed read only filesystem for Linux
13 * in-memory structures at mount time, and all the VFS glue code to register
76 opts->thread_ops = &squashfs_decompressor_single; in squashfs_parse_param_threads_str()
80 opts->thread_ops = &squashfs_decompressor_multi; in squashfs_parse_param_threads_str()
84 opts->thread_ops = &squashfs_decompressor_percpu; in squashfs_parse_param_threads_str()
88 return -EINVAL; in squashfs_parse_param_threads_str()
95 unsigned long num; in squashfs_parse_param_threads_num() local
97 ret = kstrtoul(str, 0, &num); in squashfs_parse_param_threads_num()
99 return -EINVAL; in squashfs_parse_param_threads_num()
[all …]
/linux-6.12.1/arch/parisc/kernel/
Ddrivers.c1 // SPDX-License-Identifier: GPL-2.0-or-later
7 * Copyright (c) 2001-2023 Helge Deller <deller@gmx.de>
9 * Copyright (c) 2004-2005 Thibaut VARENE <varenet@parisc-linux.org>
16 * - 715/Mirage device paths have a dummy device between Lasi and its children
17 * - The EISA adapter may show up as a sibling or child of Wax
18 * - Dino has an optionally functional serial port. If firmware enables it,
21 * - Dino has both parisc and pci devices as children
22 * - parisc devices are discovered in a random order, including children
33 #include <linux/dma-map-ops.h>
37 #include <asm/parisc-device.h>
[all …]
/linux-6.12.1/arch/um/drivers/
Dvirtio_uml.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Virtio vhost-user driver
7 * This driver allows virtio devices to be used over a vhost-user socket.
14 * <socket> := vhost-user socket path to connect
21 * Based on Virtio MMIO driver by Pawel Moll, copyright 2011-2014, ARM Ltd.
30 #include <linux/time-internal.h>
31 #include <linux/virtio-uml.h>
32 #include <shared/as-layout.h>
77 #define vu_err(vu_dev, ...) dev_err(&(vu_dev)->pdev->dev, ##__VA_ARGS__)
79 /* Vhost-user protocol */
[all …]
/linux-6.12.1/drivers/scsi/bnx2i/
Dbnx2i.h3 * Copyright (c) 2006 - 2013 Broadcom Corporation
14 * Maintained by: QLogic-Storage-Upstream@qlogic.com
60 #define ISCSI_MAX_CMDS_PER_HBA_5708 (28 * (ISCSI_MAX_CMDS_PER_SESS - 1))
61 #define ISCSI_MAX_CMDS_PER_HBA_5709 (128 * (ISCSI_MAX_CMDS_PER_SESS - 1))
62 #define ISCSI_MAX_CMDS_PER_HBA_57710 (256 * (ISCSI_MAX_CMDS_PER_SESS - 1))
129 readl(__hba->regview + offset)
131 writel(val, __hba->regview + offset)
136 spin_lock_bh(&__hba->stat_lock); \
137 dst->field##_lo = __hba->stats.field##_lo; \
138 dst->field##_hi = __hba->stats.field##_hi; \
[all …]

12345678910>>...14