Home
last modified time | relevance | path

Searched +full:3 +full:- +full:tuples (Results 1 – 25 of 69) sorted by relevance

123

/linux/drivers/mmc/core/
H A Dsdio_cis.c1 // SPDX-License-Identifier: GPL-2.0-or-later
38 /* Find all null-terminated (including zero length) strings in in cistpl_vers_1()
41 size -= 2; in cistpl_vers_1()
57 return -ENOMEM; in cistpl_vers_1()
69 func->major_rev = major_rev; in cistpl_vers_1()
70 func->minor_rev = minor_rev; in cistpl_vers_1()
71 func->num_info = nr_strings; in cistpl_vers_1()
72 func->info = (const char**)buffer; in cistpl_vers_1()
74 card->major_rev = major_rev; in cistpl_vers_1()
75 card->minor_rev = minor_rev; in cistpl_vers_1()
[all …]
/linux/sound/soc/intel/avs/
H A Dtopology.c1 // SPDX-License-Identifier: GPL-2.0-only
12 #include <sound/soc-acpi.h>
13 #include <sound/soc-topology.h>
26 (avs_tplg_vendor_array_at(array, le32_to_cpu((array)->size)))
29 * Scan provided block of tuples for the specified token. If found,
33 * Returns 0 on success, -ENOENT if not found and error code otherwise.
36 avs_tplg_vendor_array_lookup(struct snd_soc_tplg_vendor_array *tuples, in avs_tplg_vendor_array_lookup() argument
72 avs_tplg_vendor_array_lookup_next(struct snd_soc_tplg_vendor_array * tuples,u32 block_size,u32 token,u32 * offset) avs_tplg_vendor_array_lookup_next() argument
101 avs_tplg_vendor_entry_size(struct snd_soc_tplg_vendor_array * tuples,u32 block_size,u32 entry_id_token,u32 * size) avs_tplg_vendor_entry_size() argument
198 avs_parse_uuid_tokens(struct snd_soc_component * comp,void * object,const struct avs_tplg_token_parser * parsers,int count,struct snd_soc_tplg_vendor_array * tuples) avs_parse_uuid_tokens() argument
224 avs_parse_string_tokens(struct snd_soc_component * comp,void * object,const struct avs_tplg_token_parser * parsers,int count,struct snd_soc_tplg_vendor_array * tuples) avs_parse_string_tokens() argument
250 avs_parse_word_tokens(struct snd_soc_component * comp,void * object,const struct avs_tplg_token_parser * parsers,int count,struct snd_soc_tplg_vendor_array * tuples) avs_parse_word_tokens() argument
281 avs_parse_tokens(struct snd_soc_component * comp,void * object,const struct avs_tplg_token_parser * parsers,size_t count,struct snd_soc_tplg_vendor_array * tuples,int priv_size) avs_parse_tokens() argument
425 parse_dictionary_header(struct snd_soc_component * comp,struct snd_soc_tplg_vendor_array * tuples,void ** dict,u32 * num_entries,size_t entry_size,u32 num_entries_token) parse_dictionary_header() argument
449 parse_dictionary_entries(struct snd_soc_component * comp,struct snd_soc_tplg_vendor_array * tuples,u32 block_size,void * dict,u32 num_entries,size_t entry_size,u32 entry_id_token,const struct avs_tplg_token_parser * parsers,size_t num_parsers) parse_dictionary_entries() argument
482 parse_dictionary(struct snd_soc_component * comp,struct snd_soc_tplg_vendor_array * tuples,u32 block_size,void ** dict,u32 * num_entries,size_t entry_size,u32 num_entries_token,u32 entry_id_token,const struct avs_tplg_token_parser * parsers,size_t num_parsers) parse_dictionary() argument
513 avs_tplg_parse_libraries(struct snd_soc_component * comp,struct snd_soc_tplg_vendor_array * tuples,u32 block_size) avs_tplg_parse_libraries() argument
577 avs_tplg_parse_audio_formats(struct snd_soc_component * comp,struct snd_soc_tplg_vendor_array * tuples,u32 block_size) avs_tplg_parse_audio_formats() argument
618 avs_tplg_parse_modcfgs_base(struct snd_soc_component * comp,struct snd_soc_tplg_vendor_array * tuples,u32 block_size) avs_tplg_parse_modcfgs_base() argument
939 avs_tplg_parse_modcfg_ext(struct snd_soc_component * comp,struct avs_tplg_modcfg_ext * cfg,struct snd_soc_tplg_vendor_array * tuples,u32 block_size) avs_tplg_parse_modcfg_ext() argument
988 avs_tplg_parse_modcfgs_ext(struct snd_soc_component * comp,struct snd_soc_tplg_vendor_array * tuples,u32 block_size) avs_tplg_parse_modcfgs_ext() argument
1060 avs_tplg_parse_pplcfgs(struct snd_soc_component * comp,struct snd_soc_tplg_vendor_array * tuples,u32 block_size) avs_tplg_parse_pplcfgs() argument
1125 avs_tplg_parse_bindings(struct snd_soc_component * comp,struct snd_soc_tplg_vendor_array * tuples,u32 block_size) avs_tplg_parse_bindings() argument
1200 avs_tplg_module_create(struct snd_soc_component * comp,struct avs_tplg_pipeline * owner,struct snd_soc_tplg_vendor_array * tuples,u32 block_size) avs_tplg_module_create() argument
1285 avs_tplg_pipeline_create(struct snd_soc_component * comp,struct avs_tplg_path * owner,struct snd_soc_tplg_vendor_array * tuples,u32 block_size) avs_tplg_pipeline_create() argument
1392 avs_tplg_path_create(struct snd_soc_component * comp,struct avs_tplg_path_template * owner,struct snd_soc_tplg_vendor_array * tuples,u32 block_size,const struct avs_tplg_token_parser * parsers,u32 num_parsers) avs_tplg_path_create() argument
1458 parse_path_template(struct snd_soc_component * comp,struct snd_soc_tplg_vendor_array * tuples,u32 block_size,struct avs_tplg_path_template * template,const struct avs_tplg_token_parser * tmpl_tokens,u32 num_tmpl_tokens,const struct avs_tplg_token_parser * path_tokens,u32 num_path_tokens) parse_path_template() argument
1505 avs_tplg_path_template_create(struct snd_soc_component * comp,struct avs_tplg * owner,struct snd_soc_tplg_vendor_array * tuples,u32 block_size) avs_tplg_path_template_create() argument
1549 avs_tplg_parse_initial_configs(struct snd_soc_component * comp,struct snd_soc_tplg_vendor_array * tuples,u32 block_size) avs_tplg_parse_initial_configs() argument
1768 struct snd_soc_tplg_vendor_array *tuples = manifest->priv.array; avs_manifest() local
1941 struct snd_soc_tplg_vendor_array *tuples; avs_control_load() local
[all...]
/linux/Documentation/devicetree/bindings/pinctrl/
H A Dmicrochip,sparx5-sgpio.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/pinctrl/microchip,sparx5-sgpio.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Lars Povlsen <lars.povlsen@microchip.com>
21 pattern: "^gpio@[0-9a-f]+$"
25 - microchip,sparx5-sgpio
26 - mscc,ocelot-sgpio
27 - mscc,luton-sgpio
29 "#address-cells":
[all …]
/linux/tools/testing/selftests/drivers/net/hw/
H A Drss_ctx.py2 # SPDX-License-Identifier: GPL-2.0
27 if 'rss-hash-key' not in data:
29 non_zero = [x for x in data['rss-hash-key'] if x != 0]
30 ksft_eq(bool(non_zero), True, comment=f"RSS key is all zero {data['rss-hash-key']}")
34 return ethtool(f"-
[all...]
/linux/sound/soc/sof/
H A Dtopology.c1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
18 #include "sof-priv.h"
19 #include "sof-audio.h"
29 * from dB gain 20th root of 10 in Q1.16 fixed-point notation
32 /* 40th root of 10 in Q1.16 fixed-point notation*/
44 * sof_update_ipc_object - Parse multiple sets of tokens within the token array associated with the
49 * @tuples: pointer to the tuples array
50 * @num_tuples: number of tuples in the tuples array
57 struct snd_sof_tuple *tuples, int num_tuples, in sof_update_ipc_object() argument
66 token_list = tplg_ops ? tplg_ops->token_list : NULL; in sof_update_ipc_object()
[all …]
H A Dipc3-topology.c1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
12 #include "sof-priv.h"
13 #include "sof-audio.h"
14 #include "ipc3-priv.h"
21 #define SOF_IPC3_TPLG_ABI_SIZE 3
354 * sof_comp_alloc - allocate and initialize buffer for a new component
367 size_t ext_size = sizeof(swidget->uuid); in sof_comp_alloc()
369 /* only non-zero UUID is valid */ in sof_comp_alloc()
370 if (!guid_is_null(&swidget->uuid)) in sof_comp_alloc()
378 comp->hdr.size = total_size; in sof_comp_alloc()
[all …]
H A Dsof-audio.h1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */
22 #include "sof-priv.h"
24 #define SOF_AUDIO_PCM_DRV_NAME "sof-audio-component"
28 * per widget, because only 3 bits are used for queue(pin) ID
64 #define SOF_TLV_ITEMS 3
69 return volume_map[size - 1]; in mixer_to_ipc()
83 return i - 1; in ipc_to_mixer()
94 int dai_data; /* contains DAI-specific information */
95 int dai_node_id; /* contains DAI-specific information for Gateway configuration */
99 * struct sof_ipc_pcm_ops - IPC-specific PCM ops
[all …]
H A Dipc4-topology.c1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
14 #include <sound/intel-nhlt.h>
15 #include "sof-priv.h"
16 #include "sof-audio.h"
17 #include "ipc4-priv.h"
18 #include "ipc4-topology.h"
216 list_for_each_entry(swidget, &sdev->widget_list, list) { in sof_ipc4_find_swidget_by_ids()
217 struct sof_ipc4_fw_module *fw_module = swidget->module_info; in sof_ipc4_find_swidget_by_ids()
220 if (!swidget->use_count) in sof_ipc4_find_swidget_by_ids()
223 if (fw_module && fw_module->man4_module_entry.id == module_id && in sof_ipc4_find_swidget_by_ids()
[all …]
/linux/include/pcmcia/
H A Dcistpl.h1 /* SPDX-License-Identifier: GPL-2.0-only */
48 /* Layer 2 tuples */
56 /* Layer 3 tuples */
169 Modem Function Extension Tuples
278 LAN Function Extension Tuples
332 IDE Function Extension Tuples
393 #define CISTPL_POWER_ISTATIC 3
/linux/Documentation/devicetree/bindings/misc/
H A Dfsl,qoriq-mc.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/misc/fsl,qoriq-mc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Frank Li <Frank.Li@nxp.com>
13 The Freescale Management Complex (fsl-mc) is a hardware resource
15 network-oriented packet processing applications. After the fsl-mc
22 For an overview of the DPAA2 architecture and fsl-mc bus see:
26 same hardware "isolation context" and a 10-bit value called an ICID
31 between ICIDs and IOMMUs, so an iommu-map property is used to define
[all …]
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dcls_redirect.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
44 switch (sa->sa_family) { in fill_addr_port()
47 ap->in_addr = in->sin_addr; in fill_addr_port()
48 ap->port = in->sin_port; in fill_addr_port()
53 ap->in6_addr = in6->sin6_addr; in fill_addr_port()
54 ap->port = in6->sin6_port; in fill_addr_port()
87 if (CHECK_FAIL(!fill_addr_port(sa, &tuple->dst))) in set_up_conn()
94 if (CHECK_FAIL(!fill_addr_port(sa, &tuple->src))) in set_up_conn()
97 tuple->family = ss.ss_family; in set_up_conn()
102 *conn = -1; in set_up_conn()
[all …]
/linux/Documentation/devicetree/bindings/interrupt-controller/
H A Dmarvell,ap806-gicp.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/interrupt-controller/marvell,ap806-gicp.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Thomas Petazzoni <thomas.petazzoni@bootlin.com>
20 const: marvell,ap806-gicp
25 marvell,spi-ranges:
26 description: Tuples of GIC SPI interrupt ranges available for this GICP
27 $ref: /schemas/types.yaml#/definitions/uint32-matrix
30 - description: SPI interrupt base
[all …]
/linux/Documentation/devicetree/bindings/leds/
H A Dleds-trigger-pattern.txt3 The pattern is given by a series of tuples, of brightness and duration (ms).
19 It will make the LED go gradually from zero-intensity to max (255) intensity in
24 255-| / \ / \ /
28 0-| / \/ \/
29 +---0----1----2----3----4----5----6------------> time (s)
32 use zero-time lengths (the brightness must be same as the previous tuple's). So
44 255-| +---------+ +---------+
48 0-| -----+ +----+ +----
49 +---0----1----2----3----4----5----6------------> time (s)
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_main.h1 /* SPDX-License-Identifier: GPL-2.0+ */
2 // Copyright (c) 2016-2017 Hisilicon Limited.
139 #define HCLGE_VF_ID_S 3
140 #define HCLGE_VF_ID_M GENMASK(10, 3)
143 #define HCLGE_NETWORK_PORT_ID_M GENMASK(3, 0)
178 (pci_resource_len((hdev)->pdev, HCLGE_MEM_BAR) >> 1)
190 #define HCLGE_SUPPORT_50G_R2_BIT BIT(3)
328 #define HCLGE_FILTER_FE_ROCE_EGRESS_B BIT(3)
385 u8 num_pg; /* It must be 1 if vNET-Base schd */
529 /* fec base-r mode per lanes stats */
[all …]
/linux/drivers/pcmcia/
H A Dcistpl.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * cistpl.c -- 16-bit PCMCIA Card Information Structure parser
45 (mantissa[(((v)>>3)&15)-1] * exponent[(v)&7] / 10)
48 (mantissa[((v)>>3)&15] * exponent[(v)&7] / 10)
51 /* Upper limit on reasonable # of tuples */
57 /* 16-bit CIS? */
63 mutex_lock(&s->ops_mutex); in release_cis_mem()
64 if (s->cis_mem.flags & MAP_ACTIVE) { in release_cis_mem()
65 s->cis_mem.flags &= ~MAP_ACTIVE; in release_cis_mem()
66 s->ops->set_mem_map(s, &s->cis_mem); in release_cis_mem()
[all …]
/linux/include/linux/mmc/
H A Dcard.h1 /* SPDX-License-Identifier: GPL-2.0-only */
121 u8 raw_sectors[4]; /* 212 - 4 bytes */
142 #define SD_SCR_CMD58_SUPPORT (1<<3)
166 #define UHS_SDR104_BUS_SPEED 3
184 #define SD_SET_CURRENT_LIMIT_800 3
185 #define SD_SET_CURRENT_NO_CHANGE (-1)
195 #define SD4_SET_POWER_LIMIT_2_88W 3
214 #define SD_EXT_PERF_CACHE (1<<3)
293 #define MMC_BLK_DATA_AREA_RPMB (1<<3)
308 #define MMC_TYPE_SD_COMBO 3 /* SD combo (IO+mem) card */
[all …]
/linux/Documentation/devicetree/bindings/pci/
H A Dpci-ep.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/pci/pci-ep.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
13 - Kishon Vijay Abraham I <kishon@kernel.org>
14 - Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
18 pattern: "^pcie-ep@"
20 iommu-map:
21 $ref: /schemas/types.yaml#/definitions/uint32-matrix
24 - description: Device ID (see msi-map) base
[all …]
/linux/Documentation/devicetree/bindings/sound/
H A Daudio-graph-port.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/audio-graph-port.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
15 port-base:
17 - $ref: /schemas/graph.yaml#/$defs/port-base
18 - $ref: /schemas/sound/dai-params.yaml#
20 mclk-fs:
21 $ref: simple-card.yaml#/definitions/mclk-fs
[all …]
/linux/drivers/acpi/x86/
H A Dapple.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * apple.c - Apple ACPI quirks
19 * acpi_extract_apple_properties - retrieve and convert Apple _DSM properties
25 * of 2-element packages. Convert to _DSD format and make them available under
38 props = acpi_evaluate_dsm_typed(adev->handle, &apple_prp_guid, 1, 0, in acpi_extract_apple_properties()
43 if (!props->buffer.length) in acpi_extract_apple_properties()
46 if (props->buffer.pointer[0] != 3) { in acpi_extract_apple_properties()
47 acpi_handle_info(adev->handle, FW_INFO in acpi_extract_apple_properties()
49 props->buffer.length, props->buffer.pointer); in acpi_extract_apple_properties()
54 props = acpi_evaluate_dsm_typed(adev->handle, &apple_prp_guid, 1, 1, in acpi_extract_apple_properties()
[all …]
/linux/Documentation/power/
H A Dopp.rst5 (C) 2009-2010 Nishanth Menon <nm@ti.com>, Texas Instruments Incorporated
11 3. OPP Search Functions
20 -------------------------------------------------
22 Complex SoCs of today consists of a multiple sub-modules working in conjunction.
25 facilitate this, sub-modules in a SoC are grouped into domains, allowing some
29 The set of discrete tuples consisting of frequency and voltage pairs that
39 We can represent these as three OPPs as the following {Hz, uV} tuples:
41 - {300000000, 1000000}
42 - {800000000, 1200000}
43 - {1000000000, 1300000}
[all …]
/linux/drivers/net/wireless/broadcom/b43/
H A Dsdio.c1 // SPDX-License-Identifier: GPL-2.0-or-later
41 for (q = b43_sdio_quirks; q->quirks; q++) { in b43_sdio_get_quirks()
42 if (vendor == q->vendor && device == q->device) in b43_sdio_get_quirks()
43 return q->quirks; in b43_sdio_get_quirks()
52 struct b43_wldev *dev = sdio->irq_handler_opaque; in b43_sdio_interrupt_dispatcher()
58 sdio->irq_handler(dev); in b43_sdio_interrupt_dispatcher()
65 struct ssb_bus *bus = dev->dev->sdev->bus; in b43_sdio_request_irq()
66 struct sdio_func *func = bus->host_sdio; in b43_sdio_request_irq()
70 sdio->irq_handler_opaque = dev; in b43_sdio_request_irq()
71 sdio->irq_handler = handler; in b43_sdio_request_irq()
[all …]
/linux/Documentation/devicetree/bindings/regulator/
H A Dti-abb-regulator.txt4 - compatible: Should be one of:
5 - "ti,abb-v1" for older SoCs like OMAP3
6 - "ti,abb-v2" for newer SoCs like OMAP4, OMAP5
7 - "ti,abb-v3" for a generic definition where setup and control registers are
9 - reg: Address and length of the register set for the device. It contains
10 the information of registers in the same order as described by reg-names
11 - reg-names: Should contain the reg names
12 - "base-address" - contains base address of ABB module (ti,abb-v1,ti,abb-v2)
13 - "control-address" - contains control register address of ABB module (ti,abb-v3)
14 - "setup-address" - contains setup register address of ABB module (ti,abb-v3)
[all …]
/linux/drivers/ssb/
H A Dsdio.c3 * SDIO-Hostbus related functions
9 * Copyright 2007-2008 Michael Buesch <m@bues.ch>
27 /* Hardware invariants CIS tuples */
36 #define SSB_SDIO_CIS_PA_PA0B1_HI 3
60 #define SBSDIO_FUNC1_SBADDRMID 0x1000b /* SB Address window Mid (b23-b16) */
61 #define SBSDIO_FUNC1_SBADDRHIGH 0x1000c /* SB Address window High (b24-b31) */
71 #define SBSDIO_SB_ACCESS_2_4B_FLAG 0x8000 /* forces 32-bit SB access */
78 * ------- ------- ------------------------------------------
85 * In order to access the contents of a 32-bit Silicon Backplane address
94 * a 32-bit access flag
[all …]
/linux/include/uapi/linux/
H A Dnubus.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
7 Hacked to death by C. Scott Ananian and David Huggins-Daines.
44 /* Known <Cat,Type,SW,HW> tuples: (according to TattleTech and Slots)
49 * Toby Frame Buffer card: <3,1,1,1>
50 * RBV built-in video (IIci): <3,1,1,24>
51 * Valkyrie built-in video (Q630): <3,1,1,46>
52 * Macintosh Display Card: <3,1,1,25>
53 * Sonora built-in video (P460): <3,1,1,34>
54 * Jet framebuffer (DuoDock Plus): <3,1,1,41>
56 * SONIC comm-slot/on-board and DuoDock Ethernet: <4,1,1,272>
[all …]
/linux/include/uapi/sound/
H A Dsnd_sst_tokens.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
3 * snd_sst_tokens.h - Intel SST tokens definition
15 * tuples, bytes, short and words
79 * SSP3=3, SSP4=4,
128 * SKL_SAMPLE_TYPE_INT_UNSIGNED = 3,
215 * %SKL_TKN_U32_ASTATE_IDX: Table Index for the A-State entry to be filled
218 * %SKL_TKN_U32_ASTATE_COUNT: Number of valid entries in A-State table
224 * %SKL_TKN_U32_ASTATE_CLK_SRC: Clock source for A-State entry

123