/linux-6.14.4/drivers/mmc/core/ |
D | sdio_cis.c | 1 // 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 …]
|
D | sdio_bus.c | 1 // 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-6.14.4/sound/soc/intel/avs/ |
D | topology.c | 1 // 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 43 u32 tuples_size = le32_to_cpu(tuples->size); in avs_tplg_vendor_array_lookup() 46 return -EINVAL; in avs_tplg_vendor_array_lookup() 48 tuple = tuples->value; in avs_tplg_vendor_array_lookup() [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/pinctrl/ |
D | microchip,sparx5-sgpio.yaml | 1 # 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 <[email protected]> 21 pattern: "^gpio@[0-9a-f]+$" 25 - microchip,sparx5-sgpio 26 - mscc,ocelot-sgpio 27 - mscc,luton-sgpio 29 "#address-cells": [all …]
|
/linux-6.14.4/tools/testing/selftests/drivers/net/hw/ |
D | rss_ctx.py | 2 # 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-6.14.4/sound/soc/sof/ |
D | topology.c | 1 // 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-point notation 28 /* 40th root of 10 in Q1.16 fixed-point notation*/ 40 * sof_update_ipc_object - Parse multiple sets of tokens within the token array associated with the 45 * @tuples: pointer to the tuples array 46 * @num_tuples: number of tuples in the tuples array 53 struct snd_sof_tuple *tuples, int num_tuples, in sof_update_ipc_object() argument 62 token_list = tplg_ops ? tplg_ops->token_list : NULL; in sof_update_ipc_object() [all …]
|
D | ipc3-topology.c | 1 // 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 …]
|
D | sof-audio.h | 1 /* 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 …]
|
D | ipc4-topology.c | 1 // 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-6.14.4/include/pcmcia/ |
D | cistpl.h | 1 /* 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-6.14.4/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_main.c | 1 // 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 …]
|
D | hclge_main.h | 1 /* 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-6.14.4/Documentation/devicetree/bindings/misc/ |
D | fsl,qoriq-mc.yaml | 1 # 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 <[email protected]> 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-6.14.4/tools/testing/selftests/bpf/prog_tests/ |
D | cls_redirect.c | 1 // 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-6.14.4/Documentation/devicetree/bindings/interrupt-controller/ |
D | marvell,gicp.txt | 2 ----------------------- 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-6.14.4/Documentation/ |
D | conf.py | 1 # -*- 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-6.14.4/Documentation/devicetree/bindings/leds/ |
D | leds-trigger-pattern.txt | 3 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-6.14.4/Documentation/devicetree/bindings/pci/ |
D | 83xx-512x-pci.txt | 6 - 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 …]
|
D | pci-iommu.txt | 12 * 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-6.14.4/drivers/pcmcia/ |
D | cistpl.c | 1 // 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-6.14.4/include/linux/mmc/ |
D | card.h | 1 /* 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-6.14.4/Documentation/devicetree/bindings/sound/ |
D | audio-graph-port.yaml | 1 # 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 <[email protected]> 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-6.14.4/drivers/acpi/x86/ |
D | apple.c | 1 // 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-6.14.4/Documentation/power/ |
D | opp.rst | 5 (C) 2009-2010 Nishanth Menon <[email protected]>, 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-6.14.4/drivers/net/wireless/broadcom/b43/ |
D | sdio.c | 1 // 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 …]
|