Home
last modified time | relevance | path

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

1234

/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 …]
H A 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);
54 if (num > func->num_info) \
55 return -ENODATA; \
56 if (!func->info[num - 1][0]) \
58 return sysfs_emit(buf, "%s\n", func->info[num - 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
879 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
928 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
1000 avs_tplg_parse_pplcfgs(struct snd_soc_component * comp,struct snd_soc_tplg_vendor_array * tuples,u32 block_size) avs_tplg_parse_pplcfgs() argument
1065 avs_tplg_parse_bindings(struct snd_soc_component * comp,struct snd_soc_tplg_vendor_array * tuples,u32 block_size) avs_tplg_parse_bindings() argument
1140 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
1225 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
1332 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
1398 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
1445 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
1489 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
1708 struct snd_soc_tplg_vendor_array *tuples = manifest->priv.array; avs_manifest() local
1871 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
26 if 'rss-hash-key' not in data:
28 non_zero = [x for x in data['rss-hash-key'] if x != 0]
29 ksft_eq(bool(non_zero), True, comment=f"RSS key is all zero {data['rss-hash-key']}")
33 return ethtool(f"-x {cfg.ifname} context {context}", json=True)[0]
37 stats = ip("-s -s link show dev " + cfg.ifname, json=True)[0]
50 return int(output.split()[-1])
54 features = ethtool(f"-k {cfg.ifname}", json=True)[0]
55 if not features["ntuple-filters"]["active"]:
58 … raise KsftSkipEx("Ntuple filters not enabled on the device: " + str(features["ntuple-filters"]))
[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"
25 * from dB gain 20th root of 10 in Q1.16 fixed-poin
53 sof_update_ipc_object(struct snd_soc_component * scomp,void * object,enum sof_tokens token_id,struct snd_sof_tuple * tuples,int num_tuples,size_t object_size,int token_instance_num) sof_update_ipc_object() argument
498 sof_copy_tuples(struct snd_sof_dev * sdev,struct snd_soc_tplg_vendor_array * array,int array_size,u32 token_id,int token_instance_num,struct snd_sof_tuple * tuples,int tuples_size,int * num_copied_tuples) sof_copy_tuples() argument
1173 sof_get_token_value(u32 token_id,struct snd_sof_tuple * tuples,int num_tuples) sof_get_token_value() argument
[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-componen
405 struct snd_sof_tuple *tuples; global() member
461 struct snd_sof_tuple *tuples; global() member
[all...]
H A Dipc4-topology.c1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
13 #include <sound/intel-nhlt.h>
14 #include "sof-priv.h"
15 #include "sof-audio.h"
16 #include "ipc4-priv.h"
17 #include "ipc4-topology.h"
175 list_for_each_entry(swidget, &sdev->widget_list, list) { in sof_ipc4_find_swidget_by_ids()
176 struct sof_ipc4_fw_module *fw_module = swidget->module_info; in sof_ipc4_find_swidget_by_ids()
179 if (!swidget->use_count) in sof_ipc4_find_swidget_by_ids()
182 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/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_main.c1 // SPDX-License-Identifier: GPL-2.0+
2 // Copyright (c) 2016-2017 Hisilicon Limited.
326 { OUTER_DST_MAC, 48, KEY_OPT_MAC, -1, -1 },
327 { OUTER_SRC_MAC, 48, KEY_OPT_MAC, -1, -1 },
328 { OUTER_VLAN_TAG_FST, 16, KEY_OPT_LE16, -1, -1 },
329 { OUTER_VLAN_TAG_SEC, 16, KEY_OPT_LE16, -1, -1 },
330 { OUTER_ETH_TYPE, 16, KEY_OPT_LE16, -1, -1 },
331 { OUTER_L2_RSV, 16, KEY_OPT_LE16, -1, -1 },
332 { OUTER_IP_TOS, 8, KEY_OPT_U8, -1, -1 },
333 { OUTER_IP_PROTO, 8, KEY_OPT_U8, -1, -1 },
[all …]
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/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/
H A Dconf.py1 # -*- coding: utf-8 -*-
4 # sphinx-quickstart on Fri Feb 12 13:51:46 2016.
21 # ------
32 major, minor, patch = sphinx.version_info[:3]
47 # -- General configuration ------------------------------------------------
60 if major >= 3:
61 if (major > 3) or (minor > 0 or patch >= 2):
171 #source_encoding = 'utf-8-sig'
213 # command-line options and find it for ourselves.
224 return c_version + '-' + c_release
[all …]
/linux/Documentation/devicetree/bindings/interrupt-controller/
H A Dmarvell,gicp.txt2 -----------------------
11 - compatible: Must be "marvell,ap806-gicp"
13 - reg: Must be the address and size of the GICP SPI registers
15 - marvell,spi-ranges: tuples of GIC SPI interrupts ranges available
18 - msi-controller: indicates that this is an MSI controller
22 gicp_spi: gicp-spi@3f0040 {
23 compatible = "marvell,ap806-gicp";
25 marvell,spi-ranges = <64 64>, <288 64>;
26 msi-controller;
/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/Documentation/devicetree/bindings/pci/
H A D83xx-512x-pci.txt6 - reg: should contain two address length tuples
12 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
13 interrupt-map = <
14 /* IDSEL 0x0E -mini PCI */
20 /* IDSEL 0x0F - PCI slot */
25 interrupt-parent = <&ipic>;
27 bus-range = <0x0 0x0>;
31 clock-frequency = <66666666>;
32 #interrupt-cells = <1>;
33 #size-cells = <2>;
[all …]
H A Dpci-iommu.txt12 * Bits [7:3] are the Device number.
33 -------------------
35 - iommu-map: Maps a Requester ID to an IOMMU and associated IOMMU specifier
38 The property is an arbitrary number of tuples of
39 (rid-base,iommu,iommu-base,length).
41 Any RID r in the interval [rid-base, rid-base + length) is associated with
42 the listed IOMMU, with the IOMMU specifier (r - rid-base + iommu-base).
44 - iommu-map-mask: A mask to be applied to each Requester ID prior to being
45 mapped to an IOMMU specifier per the iommu-map property.
52 #address-cells = <1>;
[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/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/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/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/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 …]

1234