| /linux/drivers/net/wireless/ralink/rt2x00/ |
| H A D | rt2x00config.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com> 24 struct rt2x00intf_conf conf; in rt2x00lib_config_intf() local 27 conf.type = type; in rt2x00lib_config_intf() 31 conf.sync = TSF_SYNC_ADHOC; in rt2x00lib_config_intf() 35 conf.sync = TSF_SYNC_AP_NONE; in rt2x00lib_config_intf() 38 conf.sync = TSF_SYNC_INFRA; in rt2x00lib_config_intf() 41 conf.sync = TSF_SYNC_NONE; in rt2x00lib_config_intf() 51 memset(conf.mac, 0, sizeof(conf.mac)); in rt2x00lib_config_intf() 53 memcpy(conf.mac, mac, ETH_ALEN); in rt2x00lib_config_intf() [all …]
|
| /linux/drivers/isdn/mISDN/ |
| H A D | dsp_cmx.c | 20 * There are 3 different solutions: -1 = software, 0 = hardware-crossconnect 21 * 1-n = hardware-conference. The n will give the conference number. 39 * - Crossconnecting or even conference, if more than two members are together. 40 * - Force mixing of transmit data with other crossconnect/conference members. 41 * - Echo generation to benchmark the delay of audio processing. 42 * - Use hardware to minimize cpu load, disable FIFO load and minimize delay. 43 * - Dejittering and clock generation. 48 * RX-Buffer 51 * ----------------+-------------+------------------- 53 * The rx-buffer is a ring buffer used to store the received data for each [all …]
|
| H A D | dsp_core.c | 12 * Real-time tone generation 14 * Real-time cross-connection and conferrence 23 * The dsp module provides layer 2 for b-channels (64kbit). It provides 26 * - (1) generation of tones 27 * - (2) detection of dtmf tones 28 * - (3) crossconnecting and conferences (clocking) 29 * - (4) echo generation for delay test 30 * - (5) volume control 31 * - (6) disable receive data 32 * - (7) pipeline [all …]
|
| /linux/drivers/net/ethernet/marvell/octeon_ep_vf/ |
| H A D | octep_vf_cn9k.c | 1 // SPDX-License-Identifier: GPL-2.0 19 struct device *dev = &oct->pdev->dev; in cn93_vf_dump_q_regs() 21 dev_info(dev, "IQ-%d register dump\n", qno); in cn93_vf_dump_q_regs() 50 dev_info(dev, "OQ-%d register dump\n", qno); in cn93_vf_dump_q_regs() 80 /* Reset Hardware Tx queue */ 85 dev_dbg(&oct->pdev->dev, "Reset VF IQ-%d\n", q_no); in cn93_vf_reset_iq() 87 /* Disable the Tx/Instruction Ring */ in cn93_vf_reset_iq() 121 /* Reset all hardware Tx/Rx queues */ 124 struct pci_dev *pdev = oct->pdev; in octep_vf_reset_io_queues_cn93() 127 dev_dbg(&pdev->dev, "Reset OCTEP_CN93 VF IO Queues\n"); in octep_vf_reset_io_queues_cn93() [all …]
|
| H A D | octep_vf_cnxk.c | 1 // SPDX-License-Identifier: GPL-2.0 19 struct device *dev = &oct->pdev->dev; in cnxk_vf_dump_q_regs() 21 dev_info(dev, "IQ-%d register dump\n", qno); in cnxk_vf_dump_q_regs() 50 dev_info(dev, "OQ-%d register dump\n", qno); in cnxk_vf_dump_q_regs() 83 /* Reset Hardware Tx queue */ 88 dev_dbg(&oct->pdev->dev, "Reset VF IQ-%d\n", q_no); in cnxk_vf_reset_iq() 90 /* Disable the Tx/Instruction Ring */ in cnxk_vf_reset_iq() 123 /* Reset all hardware Tx/Rx queues */ 126 struct pci_dev *pdev = oct->pdev; in octep_vf_reset_io_queues_cnxk() 129 dev_dbg(&pdev->dev, "Reset OCTEP_CNXK VF IO Queues\n"); in octep_vf_reset_io_queues_cnxk() [all …]
|
| /linux/arch/arm/boot/dts/xilinx/ |
| H A D | zynq-zc702.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2011 - 2014 Xilinx 6 /dts-v1/; 7 #include "zynq-7000.dtsi" 8 #include <dt-bindings/gpio/gpio.h> 12 compatible = "xlnx,zynq-zc702", "xlnx,zynq-7000"; 31 stdout-path = "serial0:115200n8"; 34 gpio-keys { 35 compatible = "gpio-keys"; 37 switch-14 { [all …]
|
| H A D | zynq-zc706.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2011 - 2014 Xilinx 6 /dts-v1/; 7 #include "zynq-7000.dtsi" 11 compatible = "xlnx,zynq-zc706", "xlnx,zynq-7000"; 30 stdout-path = "serial0:115200n8"; 34 compatible = "usb-nop-xceiv"; 35 #phy-cells = <0>; 40 ps-clk-frequency = <33333333>; 45 phy-mode = "rgmii-id"; [all …]
|
| /linux/net/mac80211/ |
| H A D | wep.c | 1 // SPDX-License-Identifier: GPL-2.0-only 29 get_random_bytes(&local->wep_iv, IEEE80211_WEP_IV_LEN); in ieee80211_wep_init() 51 local->wep_iv++; in ieee80211_wep_get_iv() 52 if (ieee80211_wep_weak_iv(local->wep_iv, keylen)) in ieee80211_wep_get_iv() 53 local->wep_iv += 0x0100; in ieee80211_wep_get_iv() 58 *iv++ = (local->wep_iv >> 16) & 0xff; in ieee80211_wep_get_iv() 59 *iv++ = (local->wep_iv >> 8) & 0xff; in ieee80211_wep_get_iv() 60 *iv++ = local->wep_iv & 0xff; in ieee80211_wep_get_iv() 69 struct ieee80211_hdr *hdr = (struct ieee80211_hdr *)skb->data; in ieee80211_wep_add_iv() 74 hdr->frame_control |= cpu_to_le16(IEEE80211_FCTL_PROTECTED); in ieee80211_wep_add_iv() [all …]
|
| H A D | key.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright 2002-2005, Instant802 Networks, Inc. 4 * Copyright 2005-2006, Devicescape Software, Inc. 5 * Copyright 2006-2007 Jiri Benc <jbenc@suse.cz> 6 * Copyright 2007-2008 Johannes Berg <johannes@sipsolutions.net> 7 * Copyright 2013-2014 Intel Mobile Communications GmbH 8 * Copyright 2015-2017 Intel Deutschland GmbH 9 * Copyright 2018-2020, 2022-2025 Intel Corporation 23 #include "driver-ops.h" 34 * Key handling in mac80211 is done based on per-interface (sub_if_data) [all …]
|
| /linux/drivers/net/ethernet/marvell/octeon_ep/ |
| H A D | octep_cn9k_pf.c | 1 // SPDX-License-Identifier: GPL-2.0 19 /* Names of Hardware non-queue generic interrupts */ 42 struct device *dev = &oct->pdev->dev; in cn93_dump_regs() 44 dev_info(dev, "IQ-%d register dump\n", qno); in cn93_dump_regs() 73 dev_info(dev, "OQ-%d register dump\n", qno); in cn93_dump_regs() 106 /* Reset Hardware Tx queue */ 109 struct octep_config *conf = oct->conf; in cn93_reset_iq() local 112 dev_dbg(&oct->pdev->dev, "Reset PF IQ-%d\n", q_no); in cn93_reset_iq() 115 q_no += conf->pf_ring_cfg.srn; in cn93_reset_iq() 117 /* Disable the Tx/Instruction Ring */ in cn93_reset_iq() [all …]
|
| H A D | octep_cnxk_pf.c | 1 // SPDX-License-Identifier: GPL-2.0 20 /* Names of Hardware non-queue generic interrupts */ 62 struct device *dev = &oct->pdev->dev; in cnxk_dump_regs() 64 dev_info(dev, "IQ-%d register dump\n", qno); in cnxk_dump_regs() 93 dev_info(dev, "OQ-%d register dump\n", qno); in cnxk_dump_regs() 126 /* Reset Hardware Tx queue */ 129 struct octep_config *conf = oct->conf; in cnxk_reset_iq() local 132 dev_dbg(&oct->pdev->dev, "Reset PF IQ-%d\n", q_no); in cnxk_reset_iq() 135 q_no += conf->pf_ring_cfg.srn; in cnxk_reset_iq() 137 /* Disable the Tx/Instruction Ring */ in cnxk_reset_iq() [all …]
|
| H A D | octep_main.c | 1 // SPDX-License-Identifier: GPL-2.0 42 * octep_alloc_ioq_vectors() - Allocate Tx/Rx Queue interrupt info. 46 * Allocate resources to hold per Tx/Rx queue interrupt info. 48 * is scheduled and includes quick access to private data of Tx/Rx queue 52 * -1, if failed to allocate any resource. 59 for (i = 0; i < oct->num_oqs; i++) { in octep_alloc_ioq_vectors() 60 oct->ioq_vector[i] = vzalloc(sizeof(*oct->ioq_vector[i])); in octep_alloc_ioq_vectors() 61 if (!oct->ioq_vector[i]) in octep_alloc_ioq_vectors() 64 ioq_vector = oct->ioq_vector[i]; in octep_alloc_ioq_vectors() 65 ioq_vector->iq = oct->iq[i]; in octep_alloc_ioq_vectors() [all …]
|
| /linux/drivers/net/wireless/ti/wlcore/ |
| H A D | acx.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2008-2009 Nokia Corporation 33 ret = -ENOMEM; in wl1271_acx_wake_up_conditions() 37 wake_up->role_id = wlvif->role_id; in wl1271_acx_wake_up_conditions() 38 wake_up->wake_up_event = wake_up_event; in wl1271_acx_wake_up_conditions() 39 wake_up->listen_interval = listen_interval; in wl1271_acx_wake_up_conditions() 62 ret = -ENOMEM; in wl1271_acx_sleep_auth() 66 auth->sleep_auth = sleep_auth; in wl1271_acx_sleep_auth() 75 wl->sleep_auth = sleep_auth; in wl1271_acx_sleep_auth() 91 return -EINVAL; in wl1271_acx_tx_power() [all …]
|
| H A D | init.c | 1 // SPDX-License-Identifier: GPL-2.0-only 19 #include "tx.h" 30 wl->scan_templ_id_2_4, NULL, in wl1271_init_templates_config() 37 wl->scan_templ_id_5, in wl1271_init_templates_config() 43 if (wl->quirks & WLCORE_QUIRK_DUAL_PROBE_TMPL) { in wl1271_init_templates_config() 45 wl->sched_scan_templ_id_2_4, in wl1271_init_templates_config() 53 wl->sched_scan_templ_id_5, in wl1271_init_templates_config() 153 ret = -ENOMEM; in wl1271_ap_init_deauth_template() 157 tmpl->header.frame_ctl = cpu_to_le16(IEEE80211_FTYPE_MGMT | in wl1271_ap_init_deauth_template() 160 rate = wl1271_tx_min_rate_get(wl, wlvif->basic_rate_set); in wl1271_ap_init_deauth_template() [all …]
|
| /linux/arch/arm64/boot/dts/xilinx/ |
| H A D | zynqmp-zc1751-xm015-dc1.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * dts file for Xilinx ZynqMP zc1751-xm015-dc1 5 * (C) Copyright 2015 - 2022, Xilinx, Inc. 6 * (C) Copyright 2022 - 2023, Advanced Micro Devices, Inc. 11 /dts-v1/; 14 #include "zynqmp-clk-ccf.dtsi" 15 #include <dt-bindings/phy/phy.h> 16 #include <dt-bindings/gpio/gpio.h> 17 #include <dt-bindings/pinctrl/pinctrl-zynqmp.h> 20 model = "ZynqMP zc1751-xm015-dc1 RevA"; [all …]
|
| H A D | zynqmp-zc1751-xm019-dc5.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * dts file for Xilinx ZynqMP zc1751-xm019-dc5 5 * (C) Copyright 2015 - 2021, Xilinx, Inc. 11 /dts-v1/; 14 #include "zynqmp-clk-ccf.dtsi" 15 #include <dt-bindings/gpio/gpio.h> 16 #include <dt-bindings/pinctrl/pinctrl-zynqmp.h> 19 model = "ZynqMP zc1751-xm019-dc5 RevA"; 20 compatible = "xlnx,zynqmp-zc1751", "xlnx,zynqmp"; 33 stdout-path = "serial0:115200n8"; [all …]
|
| /linux/drivers/spi/ |
| H A D | spi-ep93xx.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2010-2011 Mika Westerberg 7 * Explicit FIFO handling code was inspired by amba-pl022 driver. 9 * Chip select support using other than built-in GPIOs by H. Hartley Sweeten. 21 #include <linux/dma-direction.h> 22 #include <linux/dma-mapping.h> 65 /* maximum depth of RX/TX FIFO */ 69 * struct ep93xx_spi - EP93xx SPI controller structure 73 * @tx: current byte in transfer to transmit 75 * @fifo_level: how full is FIFO (%0..%SPI_FIFO_SIZE - %1). Receiving one [all …]
|
| H A D | spi-meson-spicc.c | 7 * SPDX-License-Identifier: GPL-2.0+ 12 #include <linux/clk-provider.h> 24 #include <linux/dma-mapping.h> 33 * For TX, when the number of words in TXFIFO is less than the preset 35 * number of words from TX buffer, then writes them into TXFIFO. 40 * - 64 bits per word 41 * - The transfer length in word must be multiples of the dma_burst_len, and 76 #define SPICC_TE_EN BIT(0) /* TX FIFO Empty Interrupt */ 77 #define SPICC_TH_EN BIT(1) /* TX FIFO Half-Full Interrupt */ 78 #define SPICC_TF_EN BIT(2) /* TX FIFO Full Interrupt */ [all …]
|
| /linux/drivers/net/wireless/ti/wl18xx/ |
| H A D | debugfs.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Copyright (C) 2011-2012 Texas Instruments 45 WL18XX_DEBUGFS_FWSTATS_FILE(tx, tx_prepared_descs, "%u"); 46 WL18XX_DEBUGFS_FWSTATS_FILE(tx, tx_cmplt, "%u"); 47 WL18XX_DEBUGFS_FWSTATS_FILE(tx, tx_template_prepared, "%u"); 48 WL18XX_DEBUGFS_FWSTATS_FILE(tx, tx_data_prepared, "%u"); 49 WL18XX_DEBUGFS_FWSTATS_FILE(tx, tx_template_programmed, "%u"); 50 WL18XX_DEBUGFS_FWSTATS_FILE(tx, tx_data_programmed, "%u"); 51 WL18XX_DEBUGFS_FWSTATS_FILE(tx, tx_burst_programmed, "%u"); 52 WL18XX_DEBUGFS_FWSTATS_FILE(tx, tx_starts, "%u"); [all …]
|
| /linux/drivers/net/wireless/intel/iwlwifi/pcie/gen1_2/ |
| H A D | tx.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 3 * Copyright (C) 2003-2014, 2018-2021, 2023-2025 Intel Corporation 4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH 5 * Copyright (C) 2016-2017 Intel Deutschland GmbH 19 #include "iwl-fh.h" 20 #include "iwl-debug.h" 21 #include "iwl-csr.h" 22 #include "iwl-prph.h" 23 #include "iwl-io.h" 24 #include "iwl-scd.h" [all …]
|
| /linux/drivers/md/ |
| H A D | raid5-ppl.c | 1 // SPDX-License-Identifier: GPL-2.0-only 15 #include "raid5-log.h" 34 * stripe. The modifed raid data chunks form an m-by-n matrix, where m is the 40 * sh->sector dd0 dd1 dd2 ppl 41 * +-----+-----+-----+ 42 * 0 | --- | --- | --- | +----+ 43 * 8 | -W- | -W- | --- | | pp | data_sector = 8 44 * 16 | -W- | -W- | --- | | pp | data_size = 3 * 2 * 4k 45 * 24 | -W- | -W- | --- | | pp | pp_size = 3 * 4k 46 * +-----+-----+-----+ +----+ [all …]
|
| H A D | raid5-log.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 int r5l_init_log(struct r5conf *conf, struct md_rdev *rdev); 6 void r5l_exit_log(struct r5conf *conf); 13 bool r5l_log_disk_error(struct r5conf *conf); 15 int r5c_try_caching_write(struct r5conf *conf, struct stripe_head *sh, 17 void r5c_finish_stripe_write_out(struct r5conf *conf, struct stripe_head *sh, 22 void r5c_handle_cached_data_endio(struct r5conf *conf, 26 void r5c_flush_cache(struct r5conf *conf, int num); 27 void r5c_check_stripe_cache_usage(struct r5conf *conf); 28 void r5c_check_cached_full_stripe(struct r5conf *conf); [all …]
|
| /linux/drivers/net/wireless/ath/ath5k/ |
| H A D | mac80211-ops.c | 1 /*- 2 * Copyright (c) 2002-2005 Sam Leffler, Errno Consulting 3 * Copyright (c) 2004-2005 Atheros Communications, Inc. 21 * 3. Neither the names of the above-listed copyright holders nor the names 61 struct ath5k_hw *ah = hw->priv; in ath5k_tx() 64 if (WARN_ON(qnum >= ah->ah_capabilities.cap_queues.q_tx_num)) { in ath5k_tx() 69 ath5k_tx_queue(hw, skb, &ah->txqs[qnum], control); in ath5k_tx() 76 struct ath5k_hw *ah = hw->priv; in ath5k_add_interface() 78 struct ath5k_vif *avf = (void *)vif->drv_priv; in ath5k_add_interface() 80 mutex_lock(&ah->lock); in ath5k_add_interface() [all …]
|
| /linux/tools/testing/selftests/drivers/net/microchip/ |
| H A D | ksz9477_qos.sh | 2 # SPDX-License-Identifier: GPL-2.0 36 sysctl_set net.ipv6.conf.${h1}.disable_ipv6 1 38 h1_mac=$(ip -j link show dev ${h1} | jq -e '.[].address') 43 sysctl_restore net.ipv6.conf.${h1}.disable_ipv6 50 sysctl_set net.ipv6.conf.${h2}.disable_ipv6 1 51 h2_mac=$(ip -j link show dev ${h2} | jq -e '.[].address') 56 sysctl_restore net.ipv6.conf.${h2}.disable_ipv6 64 sysctl_set net.ipv6.conf.${swp1}.disable_ipv6 1 65 sysctl_set net.ipv6.conf.${swp2}.disable_ipv6 1 72 sysctl_set net.ipv6.conf.br0.disable_ipv6 1 [all …]
|
| /linux/drivers/net/wireless/ath/ath9k/ |
| H A D | htc_drv_main.c | 2 * Copyright (c) 2010-2011 Atheros Communications Inc. 38 mutex_lock(&priv->htc_pm_lock); in ath9k_htc_setpower() 39 ret = ath9k_hw_setpower(priv->ah, mode); in ath9k_htc_setpower() 40 mutex_unlock(&priv->htc_pm_lock); in ath9k_htc_setpower() 47 mutex_lock(&priv->htc_pm_lock); in ath9k_htc_ps_wakeup() 48 if (++priv->ps_usecount != 1) in ath9k_htc_ps_wakeup() 50 ath9k_hw_setpower(priv->ah, ATH9K_PM_AWAKE); in ath9k_htc_ps_wakeup() 53 mutex_unlock(&priv->htc_pm_lock); in ath9k_htc_ps_wakeup() 60 mutex_lock(&priv->htc_pm_lock); in ath9k_htc_ps_restore() 61 if (--priv->ps_usecount != 0) in ath9k_htc_ps_restore() [all …]
|