/linux/Documentation/devicetree/bindings/net/ |
H A D | snps,dwmac.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Alexandre Torgue <alexandre.torgue@foss.st.com> 11 - Giuseppe Cavallaro <peppe.cavallaro@st.com> 12 - Jose Abreu <joabreu@synopsys.com> 23 - snps,dwmac 24 - snps,dwmac-3.40a 25 - snps,dwmac-3.50a 26 - snps,dwmac-3.610 [all …]
|
H A D | intel,dwmac-plat.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/net/intel,dwmac-plat.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Vineetha G. Jaya Kumaran <vineetha.g.jaya.kumaran@intel.com> 17 - intel,keembay-dwmac 19 - compatible 22 - $ref: snps,dwmac.yaml# 27 - items: 28 - enum: [all …]
|
/linux/arch/arm64/boot/dts/qcom/ |
H A D | sa8540p-ride.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 7 /dts-v1/; 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 13 #include "sa8540p-pmics.dtsi" 17 compatible = "qcom,sa8540p-ride", "qcom,sa8540p"; 29 stdout-path = "serial0:115200n8"; 34 regulators-0 { 35 compatible = "qcom,pm8150-rpmh-regulators"; 36 qcom,pmic-id = "a"; [all …]
|
H A D | sa8775p-ride.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 /dts-v1/; 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 12 #include "sa8775p-pmics.dtsi" 28 stdout-path = "serial0:115200n8"; 33 regulators-0 { 34 compatible = "qcom,pmm8654au-rpmh-regulators"; 35 qcom,pmic-id = "a"; 38 regulator-name = "vreg_s4a"; [all …]
|
H A D | sa8155p-adp.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 6 /dts-v1/; 8 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 9 #include <dt-bindings/gpio/gpio.h> 16 compatible = "qcom,sa8155p-adp", "qcom,sa8155p"; 24 stdout-path = "serial0:115200n8"; 27 vreg_3p3: vreg-3p3-regulator { 28 compatible = "regulator-fixed"; 29 regulator-name = "vreg_3p3"; 30 regulator-min-microvolt = <3300000>; [all …]
|
/linux/net/rxrpc/ |
H A D | recvmsg.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 13 #include <linux/sched/signal.h> 17 #include "ar-internal.h" 25 struct rxrpc_sock *rx; in rxrpc_notify_socket() local 28 _enter("%d", call->debug_id); in rxrpc_notify_socket() 30 if (!list_empty(&call->recvmsg_link)) in rxrpc_notify_socket() 35 rx = rcu_dereference(call->socket); in rxrpc_notify_socket() 36 sk = &rx->sk; in rxrpc_notify_socket() 37 if (rx && sk->sk_state < RXRPC_CLOSE) { in rxrpc_notify_socket() 38 if (call->notify_rx) { in rxrpc_notify_socket() [all …]
|
/linux/drivers/mfd/ |
H A D | rave-sp.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * Supervisory Processor(SP) MCU that is connected via dedicated UART 12 #include <linux/crc-itu-t.h> 18 #include <linux/mfd/rave-sp.h> 22 #include <linux/sched.h> 28 * - message to MCU => ACK response 29 * - event from MCU => event ACK 34 * - STX - is start of transmission character 35 * - ETX - end of transmission 36 * - DATA - payload [all …]
|
/linux/arch/parisc/kernel/ |
H A D | signal.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * PA-RISC architecture-specific signal handling support. 5 * Copyright (C) 2000 David Huggins-Daines <dhd@debian.org> 7 * Copyright (C) 2000-2022 Helge Deller <deller@gmx.de> 13 #include <linux/sched.h> 14 #include <linux/sched/debug.h> 31 #include <asm/asm-offsets.h> 57 * Do a signal return - restore sigcontext. 65 err |= __copy_from_user(regs->gr, sc->sc_gr, sizeof(regs->gr)); in restore_sigcontext() 66 err |= __copy_from_user(regs->fr, sc->sc_fr, sizeof(regs->fr)); in restore_sigcontext() [all …]
|
/linux/drivers/net/ethernet/sis/ |
H A D | sis900.c | 17 SiS 7014 Single Chip 100BASE-TX/10BASE-T Physical Layer Solution, 25 Rev 1.08.05 Jun. 6 2002 Mufasa Yang bug fix for read_eeprom & Tx descriptor over-boundary 28 Rev 1.08.02 Nov. 30 2001 Hui-Fen Hsu workaround for EDB & bug fix for dhcp problem 29 Rev 1.08.01 Aug. 25 2001 Hui-Fen Hsu update for 630ET & workaround for ICS1893 PHY 30 Rev 1.08.00 Jun. 11 2001 Hui-Fen Hsu workaround for RTL8201 PHY and some bug fix 31 …Rev 1.07.11 Apr. 2 2001 Hui-Fen Hsu updates PCI drivers to use the new pci_set_dma_mask for kerne… 32 Rev 1.07.10 Mar. 1 2001 Hui-Fen Hsu <hfhsu@sis.com.tw> some bug fix & 635M/B support 34 Rev 1.07.08 Jan. 8 2001 Lei-Chun Chang added RTL8201 PHY support 35 …Rev 1.07.07 Nov. 29 2000 Lei-Chun Chang added kernel-doc extractable documentation and 630 workaro… 38 Rev 1.07.04 Sep. 6 2000 Lei-Chun Chang added ICS1893 PHY support [all …]
|
/linux/drivers/net/ethernet/stmicro/stmmac/ |
H A D | stmmac_platform.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 Copyright (C) 2007-2011 STMicroelectronics Ltd 26 * dwmac1000_validate_mcast_bins - validates the number of Multicast filter bins 57 * dwmac1000_validate_ucast_entries - validate the Unicast address entries 88 * stmmac_axi_setup - parse DT parameters for programming the AXI register 91 * if required, from device-tree the AXI internal register can be tuned 99 np = of_parse_phandle(pdev->dev.of_node, "snps,axi-config", 0); in stmmac_axi_setup() 103 axi = devm_kzalloc(&pdev->dev, sizeof(*axi), GFP_KERNEL); in stmmac_axi_setup() 106 return ERR_PTR(-ENOMEM); in stmmac_axi_setup() 109 axi->axi_lpi_en = of_property_read_bool(np, "snps,lpi_en"); in stmmac_axi_setup() [all …]
|
/linux/net/l2tp/ |
H A D | l2tp_ppp.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * PPPoX --- Generic PPP encapsulation socket family 6 * PPPoL2TP --- PPP over L2TP (RFC 2661) 30 * over an L2TP session:- 41 * sax.pppol2tp.addr.sin_addr.s_addr = addr->sin_addr.s_addr; 42 * sax.pppol2tp.addr.sin_port = addr->sin_port; 66 #include <linux/sched.h> 83 #include <linux/ppp-ioctl.h> 114 * l2tp_session, referenced via session->priv[]. 142 sk = rcu_dereference(ps->sk); in pppol2tp_session_get_sock() [all …]
|
/linux/arch/arm/mm/ |
H A D | alignment.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Modifications for ARM processor (c) 1995-2001 Russell King 8 * - Adapted from gdb/sim/arm/thumbemu.c -- Thumb instruction emulation. 14 #include <linux/sched/debug.h> 20 #include <linux/sched/signal.h> 32 * 32-bit misaligned trap handler (c) 1998 San Mehat (CCC) -July 1998 52 #define LDSTHD_I_BIT(i) (i & (1 << 22)) /* double/half-word immed */ 72 /* Thumb-2 32 bit format per ARMv7 DDI0406A A6.3, either f800h,e800h,f800h */ 107 * CPUs since we spin re-faulting the instruction without in safe_usermode() 158 return -EFAULT; in alignment_proc_write() [all …]
|
/linux/drivers/scsi/qla2xxx/ |
H A D | qla_def.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * Copyright (c) 2003-2014 QLogic Corporation 15 #include <linux/dma-mapping.h> 16 #include <linux/sched.h> 234 /* 83XX: Macros defining 8200 AEN Error-levels */ 248 /* 83XX: Macros for defining IDC-Control bits */ 257 /* 83XX: Macros for defining class in DEV-Partition Info register */ 263 /* 83XX: Macros for IDC Lock-Recovery stages */ 265 * lock-recovery 267 #define IDC_LOCK_RECOVERY_STAGE2 0x2 /* Stage2: Perform lock-recovery */ [all …]
|
H A D | qla_os.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright (c) 2003-2014 QLogic Corporation 16 #include <linux/blk-mq-pci.h> 66 "Enable/disable security. 0(Default) - Security disabled. 1 - Security enabled."); 72 "beginning. Default is 0 - class 2 not supported."); 84 "a PORT-DOWN status."); 91 "Default is 0 - no PLOGI. 1 - perform PLOGI."); 103 "vary by ISP type. Default is 1 - allocate memory."); 110 "\t\tDefault is 0 - no logging. 0x40000000 - Module Init & Probe.\n" 111 "\t\t0x20000000 - Mailbox Cmnds. 0x10000000 - Device Discovery.\n" [all …]
|
H A D | qla_init.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright (c) 2003-2014 QLogic Corporation 43 /* SRB Extensions ---------------------------------------------------------- */ 48 srb_t *sp = from_timer(sp, t, u.iocb_cmd.timer); in qla2x00_sp_timeout() local 50 scsi_qla_host_t *vha = sp->vha; in qla2x00_sp_timeout() 53 iocb = &sp->u.iocb_cmd; in qla2x00_sp_timeout() 54 iocb->timeout(sp); in qla2x00_sp_timeout() 57 kref_put(&sp->cmd_kref, qla2x00_sp_release); in qla2x00_sp_timeout() 59 if (vha && qla2x00_isp_reg_stat(vha->hw)) { in qla2x00_sp_timeout() 66 void qla2x00_sp_free(srb_t *sp) in qla2x00_sp_free() argument [all …]
|
/linux/arch/arm64/boot/dts/mediatek/ |
H A D | mt2712e.dtsi | 5 * SPDX-License-Identifier: (GPL-2.0 OR MIT) 8 #include <dt-bindings/clock/mt2712-clk.h> 9 #include <dt-bindings/interrupt-controller/irq.h> 10 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 #include <dt-bindings/memory/mt2712-larb-port.h> 12 #include <dt-bindings/phy/phy.h> 13 #include <dt-bindings/power/mt2712-power.h> 14 #include "mt2712-pinfunc.h" 18 interrupt-parent = <&sysirq>; 19 #address-cells = <2>; [all …]
|
/linux/arch/arm64/boot/dts/freescale/ |
H A D | imx8mp-evk.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include <dt-bindings/phy/phy-imx8-pcie.h> 13 compatible = "fsl,imx8mp-evk", "fsl,imx8mp"; 16 stdout-path = &uart2; 19 backlight_lvds: backlight-lvds { 20 compatible = "pwm-backlight"; 22 brightness-levels = <0 100>; 23 num-interpolated-steps = <100>; 24 default-brightness-level = <100>; [all …]
|
/linux/net/mac80211/ |
H A D | debugfs_sta.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright 2003-2005 Devicescape Software, Inc. 6 * Copyright 2013-2014 Intel Mobile Communications GmbH 8 * Copyright (C) 2018 - 2023 Intel Corporation 17 #include "driver-ops.h" 26 struct sta_info *sta = file->private_data; \ 28 format_string, sta->field); \ 73 FLAG(SP), 90 char *end = buf + sizeof(buf) - 1; in sta_flags_read() 91 struct sta_info *sta = file->private_data; in sta_flags_read() [all …]
|
/linux/drivers/net/ethernet/broadcom/ |
H A D | tg3.c | 7 * Copyright (C) 2005-2016 Broadcom Corporation. 8 * Copyright (C) 2016-2017 Broadcom Limited. 14 * Copyright (C) 2000-2016 Broadcom Corporation. 15 * Copyright (C) 2016-2017 Broadcom Ltd. 29 #include <linux/sched/signal.h> 52 #include <linux/dma-mapping.h> 56 #include <linux/hwmon-sysfs.h> 93 _tg3_flag(TG3_FLAG_##flag, (tp)->tg3_flags) 95 _tg3_flag_set(TG3_FLAG_##flag, (tp)->tg3_flags) 97 _tg3_flag_clear(TG3_FLAG_##flag, (tp)->tg3_flags) [all …]
|
/linux/drivers/net/wireless/ath/wil6210/ |
H A D | cfg80211.c | 1 // SPDX-License-Identifier: ISC 3 * Copyright (c) 2012-2017 Qualcomm Atheros, Inc. 4 * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved. 59 /* Rx channel bonding mode */ 109 if (!test_bit(WMI_FW_CAPABILITY_CHANNEL_4, wil->fw_capabilities)) in wil_num_supported_channels() 110 num_channels--; in wil_num_supported_channels() 121 wiphy->bands[NL80211_BAND_60GHZ]->n_channels = in update_supported_bands() 124 if (test_bit(WMI_FW_CAPABILITY_CHANNEL_BONDING, wil->fw_capabilities)) { in update_supported_bands() 125 wiphy->bands[NL80211_BAND_60GHZ]->edmg_cap.channels = in update_supported_bands() 127 wiphy->bands[NL80211_BAND_60GHZ]->edmg_cap.bw_config = in update_supported_bands() [all …]
|
/linux/drivers/net/wireless/st/cw1200/ |
H A D | wsm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * ST-Ericsson CW1200 mac80211 drivers. 6 * Copyright (c) 2010, ST-Ericsson 13 #include <linux/sched.h> 29 if ((buf)->data + size > (buf)->end) \ 31 (buf)->data += size; \ 36 if ((buf)->data + size > (buf)->end) \ 38 memcpy(ptr, (buf)->data, size); \ 39 (buf)->data += size; \ 45 if ((buf)->data + sizeof(type) > (buf)->end) \ [all …]
|
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_debugfs.c | 1 // SPDX-License-Identifier: GPL-2.0+ 2 /* Copyright (c) 2018-2019 Hisilicon Limited. */ 5 #include <linux/sched/clock.h> 745 len -= HCLGE_DBG_LINE_END_LEN; in hclge_dbg_fill_content() 760 len -= item_len; in hclge_dbg_fill_content() 769 sprintf(buf, "vf%u", id - 1U); in hclge_dbg_get_func_id_str() 786 dev_err(&hdev->pdev->dev, in hclge_dbg_get_dfx_bd_num() 797 dev_err(&hdev->pdev->dev, "The value of dfx bd_num is 0!\n"); in hclge_dbg_get_dfx_bd_num() 798 return -EINVAL; in hclge_dbg_get_dfx_bd_num() 811 desc->data[0] = cpu_to_le32(index); in hclge_dbg_cmd_send() [all …]
|
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | sdio.c | 1 // SPDX-License-Identifier: ISC 14 #include <linux/sched/signal.h> 72 __le32 buf; /* Can't be pointer on (64-bit) hosts */ 117 #define TXHI (TXQLEN - 256) /* turn on flow control above TXHI */ 118 #define TXLOW (TXHI - 256) /* turn off flow control below TXLOW */ 123 #define BRCMF_RXBOUND 50 /* Default for max rx frames in 129 #define BRCMF_TXMINMAX 1 /* Max tx frames if rx still pending */ 146 /* 1: isolate internal sdio signals, put external pads in tri-state; requires 151 /* Force SD->SB reset mapping (rev 11) */ 247 #define SFC_ABORTALL (1 << 3) /* Abort all in-progress frames */ [all …]
|
/linux/include/net/sctp/ |
H A D | structs.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 4 * Copyright (c) 1999-2000 Cisco, Inc. 5 * Copyright (c) 1999-2001 Motorola, Inc. 12 * lksctp developers <linux-sctp@vger.kernel.org> 36 #include <linux/generic-radix-tree.h> 37 #include <linux/rhashtable-types.h> 247 static inline struct sock *sctp_opt2sk(const struct sctp_sock *sp) in sctp_opt2sk() argument 249 return (struct sock *)sp; in sctp_opt2sk() 260 /* This is our APPLICATION-SPECIFIC state cookie. 309 * Include the source port of the INIT-ACK [all …]
|
/linux/drivers/net/wireless/ath/ath11k/ |
H A D | wmi.c | 1 // SPDX-License-Identifier: BSD-3-Clause-Clear 3 * Copyright (c) 2018-2019 The Linux Foundation. All rights reserved. 4 * Copyright (c) 2021-2024 Qualcomm Innovation Center, Inc. All rights reserved. 192 ptr - begin, len, sizeof(*tlv)); in ath11k_wmi_tlv_iter() 193 return -EINVAL; in ath11k_wmi_tlv_iter() 197 tlv_tag = FIELD_GET(WMI_TLV_TAG, tlv->header); in ath11k_wmi_tlv_iter() 198 tlv_len = FIELD_GET(WMI_TLV_LEN, tlv->header); in ath11k_wmi_tlv_iter() 200 len -= sizeof(*tlv); in ath11k_wmi_tlv_iter() 204 tlv_tag, ptr - begin, len, tlv_len); in ath11k_wmi_tlv_iter() 205 return -EINVAL; in ath11k_wmi_tlv_iter() [all …]
|