/openbmc/linux/Documentation/ABI/stable/ |
H A 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 …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-security/nmap/files/ |
H A D | 0003-Fix-off-by-one-overflow-in-the-IP-protocol-table.patch | 4 Subject: [PATCH] Fix off-by-one overflow in the IP protocol table. 8 Upstream-Status: Backport [https://github.com/nmap/nmap/commit/efa0dc36f2ecade6ba8d2ed25dd4d5fbffde… 10 Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> 11 --- 13 portlist.cc | 8 ++++---- 14 protocols.cc | 6 +++--- 16 scan_lists.cc | 10 +++++----- 17 5 files changed, 17 insertions(+), 12 deletions(-) 19 diff --git a/CHANGELOG b/CHANGELOG 21 --- a/CHANGELOG [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/soc/fsl/cpm_qe/qe/ |
H A 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 …]
|
/openbmc/linux/Documentation/devicetree/bindings/net/dsa/ |
H A 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 …]
|
/openbmc/linux/Documentation/ABI/testing/ |
H A 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.
|
/openbmc/linux/sound/core/seq/ |
H A 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 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 …]
|
/openbmc/linux/sound/soc/generic/ |
H A D | audio-graph-card2.c | 1 // SPDX-License-Identifier: GPL-2.0 8 // based on ${LINUX}/sound/soc/generic/audio-graph-card.c 25 ports { 28 bitclock-master; 30 frame-master; 39 You can set daifmt at ports/port/endpoint. 42 sample0: left_j, bitclock-master, frame-master 43 sample1: i2s, bitclock-master 59 linux/sound/soc/soc-utils.c 60 linux/sound/soc/generic/test-component.c [all …]
|
H A D | audio-graph-card.c | 1 // SPDX-License-Identifier: GPL-2.0 8 // based on ${LINUX}/sound/soc/generic/simple-card.c 29 struct snd_soc_dapm_context *dapm = w->dapm; in graph_outdrv_event() 30 struct asoc_simple_priv *priv = snd_soc_card_get_drvdata(dapm->card); in graph_outdrv_event() 34 gpiod_set_value_cansleep(priv->pa_gpio, 1); in graph_outdrv_event() 37 gpiod_set_value_cansleep(priv->pa_gpio, 0); in graph_outdrv_event() 40 return -EINVAL; in graph_outdrv_event() 62 if (dai && (dai->component->driver->pcm_construct || in soc_component_is_pcm() 63 (dai->driver->ops && dai->driver->ops->pcm_new))) in soc_component_is_pcm() 73 struct device_node *top = dev->of_node; in graph_parse_convert() [all …]
|
H A D | simple-card-utils.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // simple-card-utils.c 35 if (!strcmp(data->convert_sample_format, in asoc_simple_fixup_sample_fmt() 54 snprintf(prop, sizeof(prop), "%s%s", prefix, "convert-rate"); in asoc_simple_parse_convert() 55 of_property_read_u32(np, prop, &data->convert_rate); in asoc_simple_parse_convert() 58 snprintf(prop, sizeof(prop), "%s%s", prefix, "convert-channels"); in asoc_simple_parse_convert() 59 of_property_read_u32(np, prop, &data->convert_channels); in asoc_simple_parse_convert() 62 snprintf(prop, sizeof(prop), "%s%s", prefix, "convert-sample-format"); in asoc_simple_parse_convert() 63 of_property_read_string(np, prop, &data->convert_sample_format); in asoc_simple_parse_convert() 68 * asoc_simple_is_convert_required() - Query if HW param conversion was requested [all …]
|
/openbmc/linux/drivers/net/ethernet/cavium/liquidio/ |
H A 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 …]
|
/openbmc/u-boot/cmd/ |
H A D | mac.c | 1 // SPDX-License-Identifier: GPL-2.0+ 15 "[read|save|id|num|errata|date|ports|port_number]\n" 17 " - read EEPROM content into memory data structure\n" 19 " - save memory data structure to the EEPROM\n" 21 " - program system id per hard coded value\n" 22 "mac num string\n" 23 " - program system serial number to value string\n" 25 " - program errata data to value string\n" 27 " - program date to string value YYMMDDhhmmss\n" 28 "mac ports N\n" [all …]
|
/openbmc/linux/sound/soc/codecs/ |
H A 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 …]
|
/openbmc/linux/Documentation/devicetree/bindings/usb/ |
H A 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 …]
|
/openbmc/linux/Documentation/devicetree/bindings/pci/ |
H A 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 …]
|
/openbmc/linux/arch/arm/boot/dts/ti/omap/ |
H A 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 …]
|
/openbmc/linux/drivers/soundwire/ |
H A 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 …]
|
H A 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
|
/openbmc/linux/arch/arm64/boot/dts/renesas/ |
H A 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:0,2 xxx.wav 18 * (A) arecord -D plughw:0,0 xxx.wav 19 * (D) arecord -D plughw:0,3 xxx.wav [all …]
|
/openbmc/linux/drivers/net/ethernet/mediatek/ |
H A 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 …]
|
/openbmc/linux/drivers/usb/host/ |
H A 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 …]
|
/openbmc/linux/drivers/net/dsa/microchip/ |
H A 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 …]
|
/openbmc/linux/include/linux/hsi/ |
H A 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 …]
|
/openbmc/u-boot/board/freescale/ls1021aqds/ |
H A D | eth.c | 1 // SPDX-License-Identifier: GPL-2.0+ 6 * Freescale LS1021AQDS board. The RGMII PHYs are the three on-board 1Gb 7 * ports. The SGMII PHYs are provided by the standard Freescale four-port 71 struct ls1021a_mdio *priv = bus->priv; in ls1021a_mdio_read() 75 return priv->realbus->read(priv->realbus, addr, devad, regnum); in ls1021a_mdio_read() 81 struct ls1021a_mdio *priv = bus->priv; in ls1021a_mdio_write() 85 return priv->realbus->write(priv->realbus, addr, devad, regnum, value); in ls1021a_mdio_write() 90 struct ls1021a_mdio *priv = bus->priv; in ls1021a_mdio_reset() 92 return priv->realbus->reset(priv->realbus); in ls1021a_mdio_reset() 102 return -1; in ls1021a_mdio_init() [all …]
|
/openbmc/linux/drivers/i2c/busses/ |
H A D | i2c-fsi.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * FSI-attached I2C master 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->master->fsi; in fsi_i2c_set_port() [all …]
|
/openbmc/linux/drivers/staging/vc04_services/vchiq-mmal/ |
H A D | mmal-vchiq.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 19 #include "mmal-common.h" 20 #include "mmal-msg-format.h" 34 MMAL_ES_TYPE_SUBPICTURE /**< Sub-picture elementary stream */ 38 unsigned int num; /* number of buffers */ member 88 u32 inputs; /* Number of input ports */ 89 u32 outputs; /* Number of output ports */ 90 u32 clocks; /* Number of clock ports */ 92 struct vchiq_mmal_port input[MAX_PORT_COUNT]; /* input ports */ 93 struct vchiq_mmal_port output[MAX_PORT_COUNT]; /* output ports */ [all …]
|