| /linux/drivers/xen/ |
| H A 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/Documentation/devicetree/bindings/arm/ |
| H A 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/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 …]
|
| /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 …]
|
| /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 …]
|
| H A 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/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.
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/lag/ |
| H A D | lag.c | 14 * - Redistributions of source code must retain the above 18 * - Redistributions in binary form must reproduce the above 72 mlx5_infer_tx_enabled(&ldev->tracker, ldev, enabled_ports, in lag_active_port_bits() 87 u8 *ports = ldev->v2p_map; in mlx5_cmd_create_lag() local 98 return -EINVAL; in mlx5_cmd_create_lag() 102 MLX5_SET(lagc, lag_ctx, tx_remap_affinity_1, ports[idx0]); in mlx5_cmd_create_lag() 103 MLX5_SET(lagc, lag_ctx, tx_remap_affinity_2, ports[idx1]); in mlx5_cmd_create_lag() 121 u8 *ports) in mlx5_cmd_modify_lag() argument 130 return -EINVAL; in mlx5_cmd_modify_lag() 135 MLX5_SET(lagc, lag_ctx, tx_remap_affinity_1, ports[idx0]); in mlx5_cmd_modify_lag() [all …]
|
| /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 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 …]
|
| /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 …]
|
| H A D | snps,dwc3-common.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/usb/snps,dwc3-common.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Felipe Balbi <balbi@kernel.org> 14 vendor-specific implementation or as a standalone component. 17 - $ref: usb-drd.yaml# 18 - if: 24 - dr_mode 28 $ref: usb-xhci.yaml# [all …]
|
| /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 …]
|
| /linux/drivers/usb/typec/ucsi/ |
| H A D | ucsi_huawei_gaokun.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * ucsi-huawei-gaokun - A UCSI driver for HUAWEI Matebook E Go 5 * Copyright (C) 2024-2025 Pengyu Luo <mitltlatltl@gmail.com> 8 #include <drm/bridge/aux-bridge.h> 16 #include <linux/platform_data/huawei-gaokun-ec.h> 35 #define GET_IDX(updt) (ffs(updt) - 1) 56 USBC_DPAM_PAN_A, /* Not supported after USB Type-C Standard v1.0b */ 57 USBC_DPAM_PAN_B, /* Not supported after USB Type-C Standard v1.0b */ 58 USBC_DPAM_PAN_C, /* USBC_DPAM_PAN_C_REVERSE - 6 */ 61 USBC_DPAM_PAN_F, /* Not supported after USB Type-C Standard v1.0b */ [all …]
|
| /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 …]
|
| /linux/drivers/net/ethernet/mediatek/ |
| H A D | mtk_ppe_offload.c | 1 // SPDX-License-Identifier: GPL-2.0-only 41 u8 num; member 45 u8 num; member 61 data->v4.src_addr, data->src_port, in mtk_flow_set_ipv4_addr() 62 data->v4.dst_addr, data->dst_port); in mtk_flow_set_ipv4_addr() 70 data->v6.src_addr.s6_addr32, data->src_port, in mtk_flow_set_ipv6_addr() 71 data->v6.dst_addr.s6_addr32, data->dst_port); in mtk_flow_set_ipv6_addr() 77 void *dest = eth + act->mangle.offset; in mtk_flow_offload_mangle_eth() 78 const void *src = &act->mangle.val; in mtk_flow_offload_mangle_eth() 80 if (act->mangle.offset > 8) in mtk_flow_offload_mangle_eth() [all …]
|
| /linux/arch/arm64/boot/dts/qcom/ |
| H A D | talos.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 #include <dt-bindings/clock/qcom,dsi-phy-28nm.h> 7 #include <dt-bindings/clock/qcom,qcs615-camcc.h> 8 #include <dt-bindings/clock/qcom,qcs615-dispcc.h> 9 #include <dt-bindings/clock/qcom,qcs615-gcc.h> 10 #include <dt-bindings/clock/qcom,qcs615-gpucc.h> 11 #include <dt-bindings/clock/qcom,qcs615-videocc.h> 12 #include <dt-bindings/clock/qcom,rpmh.h> 13 #include <dt-bindings/dma/qcom-gpi.h> 14 #include <dt-bindings/interconnect/qcom,icc.h> [all …]
|
| H A D | monaco.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 #include <dt-bindings/clock/qcom,qcs8300-gcc.h> 7 #include <dt-bindings/clock/qcom,rpmh.h> 8 #include <dt-bindings/clock/qcom,sa8775p-camcc.h> 9 #include <dt-bindings/clock/qcom,sa8775p-dispcc.h> 10 #include <dt-bindings/clock/qcom,sa8775p-gpucc.h> 11 #include <dt-bindings/clock/qcom,sa8775p-videocc.h> 12 #include <dt-bindings/dma/qcom-gpi.h> 13 #include <dt-bindings/firmware/qcom,scm.h> 14 #include <dt-bindings/interconnect/qcom,icc.h> [all …]
|
| H A D | hamoa.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 #include <dt-bindings/clock/qcom,rpmh.h> 7 #include <dt-bindings/clock/qcom,sc8280xp-lpasscc.h> 8 #include <dt-bindings/clock/qcom,sm8450-videocc.h> 9 #include <dt-bindings/clock/qcom,x1e80100-dispcc.h> 10 #include <dt-bindings/clock/qcom,x1e80100-gcc.h> 11 #include <dt-bindings/clock/qcom,x1e80100-gpucc.h> 12 #include <dt-bindings/clock/qcom,x1e80100-tcsr.h> 13 #include <dt-bindings/dma/qcom-gpi.h> 14 #include <dt-bindings/interconnect/qcom,icc.h> [all …]
|
| /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:1,0 xxx.wav 18 * (A) arecord -D plughw:0,0 xxx.wav 19 * (D) arecord -D plughw:1,1 xxx.wav [all …]
|
| /linux/drivers/net/ethernet/airoha/ |
| H A D | airoha_ppe.c | 1 // SPDX-License-Identifier: GPL-2.0-only 38 return -EOPNOTSUPP; in airoha_ppe2_is_enabled() 40 if (airoha_is_7583(ppe->eth)) in airoha_ppe_get_timestamp() 41 return -EOPNOTSUPP; in airoha_ppe_get_timestamp() 51 struct airoha_eth *eth = ppe->eth; in airoha_ppe_hw_init() 53 num_stats = num_stats * eth->soc->num_pp in airoha_ppe_hw_init() 1051 struct flow_match_ports ports; airoha_ppe_flow_offload_replace() local [all...] |
| /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> 196 unsigned int num; member 241 } ports; member 327 return readl(tegra->fpci_base + offset); in fpci_readl() 333 writel(value, tegra->fpci_base + offset); in fpci_writel() 338 return readl(tegra->ipfs_base + offset); in ipfs_readl() 344 writel(value, tegra->ipfs_base + offset); in ipfs_writel() 349 return readl(tegra->bar2_base + offset); in bar2_readl() [all …]
|
| /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 …]
|
| /linux/drivers/i2c/busses/ |
| H A 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 …]
|
| /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 …]
|
| /linux/include/net/ |
| H A D | protocol.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 91 #define INET_PROTOSW_REUSE 0x01 /* Are ports automatically reusable? */ 103 int inet_add_protocol(const struct net_protocol *prot, unsigned char num); 104 int inet_del_protocol(const struct net_protocol *prot, unsigned char num); 105 int inet_add_offload(const struct net_offload *prot, unsigned char num); 106 int inet_del_offload(const struct net_offload *prot, unsigned char num); 111 int inet6_add_protocol(const struct inet6_protocol *prot, unsigned char num); 112 int inet6_del_protocol(const struct inet6_protocol *prot, unsigned char num); 116 int inet6_add_offload(const struct net_offload *prot, unsigned char num); 117 int inet6_del_offload(const struct net_offload *prot, unsigned char num);
|