/linux-6.12.1/Documentation/ABI/stable/ |
D | sysfs-class-infiniband | 2 ------------------------------------------------- 9 Contact: linux-rdma@vger.kernel.org 24 Contact: linux-rdma@vger.kernel.org 34 Contact: linux-rdma@vger.kernel.org 39 What: /sys/class/infiniband/<device>/ports/<port-num>/lid 40 What: /sys/class/infiniband/<device>/ports/<port-num>/rate 41 What: /sys/class/infiniband/<device>/ports/<port-num>/lid_mask_count 42 What: /sys/class/infiniband/<device>/ports/<port-num>/sm_sl 43 What: /sys/class/infiniband/<device>/ports/<port-num>/sm_lid 44 What: /sys/class/infiniband/<device>/ports/<port-num>/state [all …]
|
/linux-6.12.1/drivers/xen/ |
D | privcmd.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Interface to privileged domain-0 commands. 7 * Copyright (c) 2002-2004, K A Fraser, B Dragovic 47 #include <xen/xen-ops.h> 82 struct privcmd_data *data = file->private_data; in privcmd_ioctl_hypercall() 87 if (data->domid != DOMID_INVALID) in privcmd_ioctl_hypercall() 88 return -EPERM; in privcmd_ioctl_hypercall() 91 return -EFAULT; in privcmd_ioctl_hypercall() 132 while (nelem--) { in gather_array() 133 if (pageidx > PAGE_SIZE-size) { in gather_array() [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/soc/fsl/cpm_qe/qe/ |
D | par_io.txt | 1 * Parallel I/O Ports 3 This node configures Parallel I/O ports for CPUs with QE support. 5 device that using parallel I/O ports, a child node should be created. 10 - device_type : should be "par_io". 11 - reg : offset to the register set and its length. 12 - num-ports : number of Parallel I/O ports 17 #address-cells = <1>; 18 #size-cells = <0>; 20 num-ports = <7>; 27 via its own gpio-controller node: [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/net/dsa/ |
D | brcm,sf2.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Florian Fainelli <f.fainelli@gmail.com> 15 - enum: 16 - brcm,bcm4908-switch 17 - brcm,bcm7278-switch-v4.0 18 - brcm,bcm7278-switch-v4.8 19 - brcm,bcm7445-switch-v4.0 25 reg-names: [all …]
|
/linux-6.12.1/Documentation/ABI/testing/ |
D | configfs-rdma_cm | 4 Description: Interface is used to configure RDMA-cable HCAs in respect to 5 RDMA-CM attributes. 9 # mount -t configfs none /config/ 13 mkdir -p /config/rdma_cm/<hca> 16 What: /config/rdma_cm/<hca>/ports/<port-num>/default_roce_mode 19 Description: RDMA-CM based connections from HCA <hca> at port <port-num> 24 What: /config/rdma_cm/<hca>/ports/<port-num>/default_roce_tos 27 Description: RDMA-CM QPs from HCA <hca> at port <port-num> 30 The possible RoCE TOS values are 0-255.
|
/linux-6.12.1/drivers/net/ethernet/cavium/liquidio/ |
D | octeon_device.c | 7 * Copyright (c) 2003-2016 Cavium, Inc. 14 * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty 68 /* Max Txqs: Half for each of the two ports :max_iq/2 */ 74 /* Max Rxqs: Half for each of the two ports :max_oq/2 */ 80 /* Num of desc for rx rings */ 83 /* Num of desc for tx rings */ 97 /* Max Txqs: Half for each of the two ports :max_iq/2 */ 103 /* Max Rxqs: Half for each of the two ports :max_oq/2 */ 109 /* Num of desc for rx rings */ 112 /* Num of desc for tx rings */ [all …]
|
D | octeon_config.h | 7 * Copyright (c) 2003-2016 Cavium, Inc. 14 * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty 25 /*--------------------------CONFIG VALUES------------------------*/ 121 #define CFG_GET_IQ_CFG(cfg) ((cfg)->iq) 122 #define CFG_GET_IQ_MAX_Q(cfg) ((cfg)->iq.max_iqs) 123 #define CFG_GET_IQ_PENDING_LIST_SIZE(cfg) ((cfg)->iq.pending_list_size) 124 #define CFG_GET_IQ_INSTR_TYPE(cfg) ((cfg)->iq.instr_type) 125 #define CFG_GET_IQ_DB_MIN(cfg) ((cfg)->iq.db_min) 126 #define CFG_GET_IQ_DB_TIMEOUT(cfg) ((cfg)->iq.db_timeout) 128 #define CFG_GET_IQ_INTR_PKT(cfg) ((cfg)->iq.iq_intr_pkt) [all …]
|
/linux-6.12.1/sound/core/seq/ |
D | seq_ports.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * ALSA sequencer Ports 17 registration of client ports 25 not optimal for clients that have many ports. For sending messages to all 33 ports 35 2) replace the linked list of ports by a array of pointers which is 43 /* return pointer to port structure - port is locked if found */ 45 int num) in snd_seq_port_use_ptr() argument 51 guard(read_lock)(&client->ports_lock); in snd_seq_port_use_ptr() 52 list_for_each_entry(port, &client->ports_list_head, list) { in snd_seq_port_use_ptr() [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/arm/ |
D | qcom,coresight-tpdm.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 4 --- 5 $id: http://devicetree.org/schemas/arm/qcom,coresight-tpdm.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Trace, Profiling and Diagnostics Monitor - TPDM 13 Basic Counts (BC), Tenure Counts (TC), Continuous Multi-Bit (CMB), and Discrete 22 - Mao Jinlong <quic_jinlmao@quicinc.com> 23 - Tao Zhang <quic_taozha@quicinc.com> 31 - qcom,coresight-tpdm 33 - compatible [all …]
|
/linux-6.12.1/sound/soc/generic/ |
D | audio-graph-card2.c | 1 // SPDX-License-Identifier: GPL-2.0 8 // based on ${LINUX}/sound/soc/generic/audio-graph-card.c 22 ports { 25 bitclock-master; 27 frame-master; 36 You can set daifmt at ports/port/endpoint. 39 sample0: left_j, bitclock-master, frame-master 40 sample1: i2s, bitclock-master 56 linux/sound/soc/soc-utils.c 57 linux/sound/soc/generic/test-component.c [all …]
|
D | audio-graph-card.c | 1 // SPDX-License-Identifier: GPL-2.0 8 // based on ${LINUX}/sound/soc/generic/simple-card.c 26 struct device_node *ports = of_get_parent(port); in port_to_ports() local 28 if (!of_node_name_eq(ports, "ports")) { in port_to_ports() 29 of_node_put(ports); in port_to_ports() 32 return ports; in port_to_ports() 39 struct snd_soc_dapm_context *dapm = w->dapm; in graph_outdrv_event() 40 struct simple_util_priv *priv = snd_soc_card_get_drvdata(dapm->card); in graph_outdrv_event() 44 gpiod_set_value_cansleep(priv->pa_gpio, 1); in graph_outdrv_event() 47 gpiod_set_value_cansleep(priv->pa_gpio, 0); in graph_outdrv_event() [all …]
|
D | simple-card-utils.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // simple-card-utils.c 7 #include <dt-bindings/sound/audio-graph.h> 21 int val = -EINVAL; in simple_util_get_sample_fmt() 35 if (!strcmp(data->convert_sample_format, in simple_util_get_sample_fmt() 72 snprintf(prop, sizeof(prop), "%s%s", prefix, "convert-rate"); in simple_util_parse_convert() 73 of_property_read_u32(np, prop, &data->convert_rate); in simple_util_parse_convert() 76 snprintf(prop, sizeof(prop), "%s%s", prefix, "convert-channels"); in simple_util_parse_convert() 77 of_property_read_u32(np, prop, &data->convert_channels); in simple_util_parse_convert() 80 snprintf(prop, sizeof(prop), "%s%s", prefix, "convert-sample-format"); in simple_util_parse_convert() [all …]
|
/linux-6.12.1/sound/soc/codecs/ |
D | cs42l42-sdw.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 // cs42l42-sdw.c -- CS42L42 ALSA SoC audio driver SoundWire driver 55 struct cs42l42_private *cs42l42 = snd_soc_component_get_drvdata(dai->component); in cs42l42_sdw_dai_startup() 57 if (!cs42l42->init_done) in cs42l42_sdw_dai_startup() 58 return -ENODEV; in cs42l42_sdw_dai_startup() 67 struct cs42l42_private *cs42l42 = snd_soc_component_get_drvdata(dai->component); in cs42l42_sdw_dai_hw_params() 74 return -EINVAL; in cs42l42_sdw_dai_hw_params() 77 cs42l42->sample_rate = params_rate(params); in cs42l42_sdw_dai_hw_params() 81 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in cs42l42_sdw_dai_hw_params() 82 port_config.num = CS42L42_SDW_PLAYBACK_PORT; in cs42l42_sdw_dai_hw_params() [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/usb/ |
D | atmel-usb.txt | 6 - compatible: Should be "atmel,at91rm9200-ohci" for USB controllers 8 - reg: Address and length of the register set for the device 9 - interrupts: Should contain ohci interrupt 10 - clocks: Should reference the peripheral, host and system clocks 11 - clock-names: Should contain three strings 15 - num-ports: Number of ports. 16 - atmel,vbus-gpio: If present, specifies a gpio that needs to be 18 - atmel,oc-gpio: If present, specifies a gpio that needs to be 22 compatible = "atmel,at91rm9200-ohci", "usb-ohci"; 25 clock-names = "ohci_clk", "hclk", "uhpck"; [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/pci/ |
D | nvidia,tegra20-pcie.txt | 4 - compatible: Must be: 5 - "nvidia,tegra20-pcie": for Tegra20 6 - "nvidia,tegra30-pcie": for Tegra30 7 - "nvidia,tegra124-pcie": for Tegra124 and Tegra132 8 - "nvidia,tegra210-pcie": for Tegra210 9 - "nvidia,tegra186-pcie": for Tegra186 10 - power-domains: To ungate power partition by BPMP powergate driver. Must 13 - device_type: Must be "pci" 14 - reg: A list of physical base address and length for each set of controller 15 registers. Must contain an entry for each entry in the reg-names property. [all …]
|
/linux-6.12.1/arch/arm/boot/dts/ti/omap/ |
D | am335x-boneblack-hdmi.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ 6 #include <dt-bindings/display/tda998x.h> 7 #include <dt-bindings/interrupt-controller/irq.h> 10 nxp_hdmi_bonelt_pins: nxp-hdmi-bonelt-pins { 11 pinctrl-single,pins = < 36 nxp_hdmi_bonelt_off_pins: nxp-hdmi-bonelt-off-pins { 37 pinctrl-single,pins = < 42 mcasp0_pins: mcasp0-pins { 43 pinctrl-single,pins = < [all …]
|
/linux-6.12.1/drivers/soundwire/ |
D | bus.h | 1 /* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */ 2 /* Copyright(c) 2015-17 Intel Corporation. */ 17 return -ENOTSUPP; in sdw_acpi_find_slaves() 52 * struct sdw_msg - Message structure 87 * @num: Port number. For audio streams, valid port number ranges from 94 * SoundWire spec has no mention of ports for Master interface but the 98 int num; member 113 * @port_list: List of Slave Ports configured for this stream 132 * @port_list: List of Master Ports configured for this stream, can be zero. 176 params->port_num = port_num; in sdw_fill_xport_params() [all …]
|
D | cadence_master.h | 1 /* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */ 2 /* Copyright(c) 2015-17 Intel Corporation. */ 22 * @num: pdi number 31 int num; member 106 * struct sdw_cdns - Cadence driver context 110 * @ip_offset: version-dependent offset to access IP_MCP registers and fields 113 * @ports: Data ports 114 * @num_ports: Total number of data ports 120 * @status_update_lock: protect concurrency between interrupt-based and delayed work 138 struct sdw_cdns_port *ports; member
|
/linux-6.12.1/arch/arm64/boot/dts/renesas/ |
D | ulcb-kf-audio-graph-card.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 9 * (A) CPU0 <----> ak4613 10 * (B) CPU1 ----> HDMI 11 * (C) CPU2 ----> PCM3168A-p (8ch) 12 * (D) CPU3 <---- PCM3168A-c (6ch) 14 * (A) aplay -D plughw:0,0 xxx.wav 15 * (B) aplay -D plughw:0,1 xxx.wav 16 * (C) aplay -D plughw:1,0 xxx.wav 18 * (A) arecord -D plughw:0,0 xxx.wav 19 * (D) arecord -D plughw:1,1 xxx.wav [all …]
|
/linux-6.12.1/drivers/net/ethernet/mediatek/ |
D | mtk_ppe_offload.c | 1 // SPDX-License-Identifier: GPL-2.0-only 39 u8 num; member 43 u8 num; member 59 data->v4.src_addr, data->src_port, in mtk_flow_set_ipv4_addr() 60 data->v4.dst_addr, data->dst_port); in mtk_flow_set_ipv4_addr() 68 data->v6.src_addr.s6_addr32, data->src_port, in mtk_flow_set_ipv6_addr() 69 data->v6.dst_addr.s6_addr32, data->dst_port); in mtk_flow_set_ipv6_addr() 75 void *dest = eth + act->mangle.offset; in mtk_flow_offload_mangle_eth() 76 const void *src = &act->mangle.val; in mtk_flow_offload_mangle_eth() 78 if (act->mangle.offset > 8) in mtk_flow_offload_mangle_eth() [all …]
|
/linux-6.12.1/drivers/usb/host/ |
D | xhci-tegra.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (c) 2014-2020, NVIDIA CORPORATION. All rights reserved. 11 #include <linux/dma-mapping.h> 193 unsigned int num; member 237 } ports; member 321 return readl(tegra->fpci_base + offset); in fpci_readl() 327 writel(value, tegra->fpci_base + offset); in fpci_writel() 332 return readl(tegra->ipfs_base + offset); in ipfs_readl() 338 writel(value, tegra->ipfs_base + offset); in ipfs_writel() 343 return readl(tegra->bar2_base + offset); in bar2_readl() [all …]
|
/linux-6.12.1/net/dsa/ |
D | port.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (c) 2017 Savoir-faire Linux Inc. 22 * dsa_port_notify - Notify the switching fabric of changes to a port 25 * @v: event-specific value. 29 * reconfigure themselves for cross-chip operations. Can also be used to 30 * reconfigure ports without net_devices (CPU ports, DSA links) whenever 35 return dsa_tree_notify(dp->ds->dst, e, v); in dsa_port_notify() 57 struct dsa_switch *ds = dp->ds; in dsa_port_fast_age() 59 if (!ds->ops->port_fast_age) in dsa_port_fast_age() 62 ds->ops->port_fast_age(ds, dp->index); in dsa_port_fast_age() [all …]
|
/linux-6.12.1/drivers/net/dsa/microchip/ |
D | ksz_ptp.c | 1 // SPDX-License-Identifier: GPL-2.0 24 /* Sub-nanoseconds-adj,max * sub-nanoseconds / 40ns * 1ns 25 * = (2^30-1) * (2 ^ 32) / 40 ns * 1 ns = 6249999 85 return -EINVAL; in ksz_ptp_tou_pulse_verify() 89 return -ERANGE; in ksz_ptp_tou_pulse_verify() 100 if ((ts->tv_sec & 0xffffffff) != ts->tv_sec) in ksz_ptp_tou_target_time_set() 101 return -EINVAL; in ksz_ptp_tou_target_time_set() 103 ret = ksz_write32(dev, REG_TRIG_TARGET_NANOSEC, ts->tv_nsec); in ksz_ptp_tou_target_time_set() 107 ret = ksz_write32(dev, REG_TRIG_TARGET_SEC, ts->tv_sec); in ksz_ptp_tou_target_time_set() 124 * - the ACTIVE flag is NOT cleared an error! in ksz_ptp_tou_start() [all …]
|
/linux-6.12.1/include/linux/hsi/ |
D | hsi.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 36 HSI_ARB_RR, /* Round-robin arbitration */ 58 * struct hsi_channel - channel resource used by the hsi clients 68 * struct hsi_config - Configuration for RX/TX HSI modules 90 * struct hsi_board_info - HSI client board info 97 * @archdata: Architecture-dependent device data 121 * struct hsi_client - HSI client attached to an HSI port 140 dev_set_drvdata(&cl->device, data); in hsi_client_set_drvdata() 145 return dev_get_drvdata(&cl->device); in hsi_client_drvdata() 153 * struct hsi_client_driver - Driver associated to an HSI client [all …]
|
/linux-6.12.1/drivers/i2c/busses/ |
D | i2c-fsi.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * FSI-attached I2C controller algorithm 151 struct list_head ports; member 193 rc = fsi_i2c_write_reg(i2c->fsi, I2C_FSI_INT_MASK, &interrupt); in fsi_i2c_dev_init() 198 rc = fsi_i2c_write_reg(i2c->fsi, I2C_FSI_MODE, &mode); in fsi_i2c_dev_init() 202 rc = fsi_i2c_read_reg(i2c->fsi, I2C_FSI_ESTAT, &extended_status); in fsi_i2c_dev_init() 206 i2c->fifo_size = FIELD_GET(I2C_ESTAT_FIFO_SZ, extended_status); in fsi_i2c_dev_init() 208 i2c->fifo_size - I2C_FIFO_HI_LVL); in fsi_i2c_dev_init() 211 return fsi_i2c_write_reg(i2c->fsi, I2C_FSI_WATER_MARK, &watermark); in fsi_i2c_dev_init() 217 struct fsi_device *fsi = port->ctrl->fsi; in fsi_i2c_set_port() [all …]
|