| /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/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 …]
|
| H A D | zynq-ebaz4205.dts | 1 // SPDX-License-Identifier: GPL-2.0 5 /dts-v1/; 6 /include/ "zynq-7000.dtsi" 10 compatible = "ebang,ebaz4205", "xlnx,zynq-7000"; 23 stdout-path = "serial0:115200n8"; 28 ps-clk-frequency = <33333333>; 29 fclk-enable = <8>; 34 phy-mode = "mii"; 35 phy-handle = <&phy>; 38 assigned-clocks = <&clkc 18>; [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 | tx.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> 7 * Copyright 2013-2014 Intel Mobile Communications GmbH 8 * Copyright (C) 2018-2025 Intel Corporation 33 #include "driver-op 43 ieee80211_duration(struct ieee80211_tx_data * tx,struct sk_buff * skb,int group_addr,int next_frag_len) ieee80211_duration() argument 193 ieee80211_tx_h_dynamic_ps(struct ieee80211_tx_data * tx) ieee80211_tx_h_dynamic_ps() argument 270 ieee80211_tx_h_check_assoc(struct ieee80211_tx_data * tx) ieee80211_tx_h_check_assoc() argument 378 ieee80211_tx_h_multicast_ps_buf(struct ieee80211_tx_data * tx) ieee80211_tx_h_multicast_ps_buf() argument 458 ieee80211_tx_h_unicast_ps_buf(struct ieee80211_tx_data * tx) ieee80211_tx_h_unicast_ps_buf() argument 537 ieee80211_tx_h_ps_buf(struct ieee80211_tx_data * tx) ieee80211_tx_h_ps_buf() argument 549 ieee80211_tx_h_check_control_port_protocol(struct ieee80211_tx_data * tx) ieee80211_tx_h_check_control_port_protocol() argument 564 ieee80211_select_link_key(struct ieee80211_tx_data * tx) ieee80211_select_link_key() argument 593 ieee80211_tx_h_select_key(struct ieee80211_tx_data * tx) ieee80211_tx_h_select_key() argument 675 ieee80211_tx_h_rate_ctrl(struct ieee80211_tx_data * tx) ieee80211_tx_h_rate_ctrl() argument 820 ieee80211_tx_h_sequence(struct ieee80211_tx_data * tx) ieee80211_tx_h_sequence() argument 891 ieee80211_fragment(struct ieee80211_tx_data * tx,struct sk_buff * skb,int hdrlen,int frag_threshold) ieee80211_fragment() argument 952 ieee80211_tx_h_fragment(struct ieee80211_tx_data * tx) ieee80211_tx_h_fragment() argument 1027 ieee80211_tx_h_stats(struct ieee80211_tx_data * tx) ieee80211_tx_h_stats() argument 1046 ieee80211_tx_h_encrypt(struct ieee80211_tx_data * tx) ieee80211_tx_h_encrypt() argument 1081 ieee80211_tx_h_calculate_duration(struct ieee80211_tx_data * tx) ieee80211_tx_h_calculate_duration() argument 1108 ieee80211_tx_prep_agg(struct ieee80211_tx_data * tx,struct sk_buff * skb,struct ieee80211_tx_info * info,struct tid_ampdu_tx * tid_tx,int tid) ieee80211_tx_prep_agg() argument 1209 ieee80211_tx_prepare(struct ieee80211_sub_if_data * sdata,struct ieee80211_tx_data * tx,struct sta_info * sta,struct sk_buff * skb) ieee80211_tx_prepare() argument 1816 invoke_tx_handlers_early(struct ieee80211_tx_data * tx) invoke_tx_handlers_early() argument 1853 invoke_tx_handlers_late(struct ieee80211_tx_data * tx) invoke_tx_handlers_late() argument 1893 invoke_tx_handlers(struct ieee80211_tx_data * tx) invoke_tx_handlers() argument 1908 struct ieee80211_tx_data tx; ieee80211_tx_prepare_skb() local 1950 struct ieee80211_tx_data tx; ieee80211_tx() local 2705 struct ieee80211_bss_conf *conf; ieee80211_build_hdr() local 3592 ieee80211_xmit_fast_finish(struct ieee80211_sub_if_data * sdata,struct sta_info * sta,u8 pn_offs,struct ieee80211_key * key,struct ieee80211_tx_data * tx) ieee80211_xmit_fast_finish() argument 3716 struct ieee80211_tx_data tx; __ieee80211_xmit_fast() local 3858 struct ieee80211_tx_data tx; ieee80211_tx_dequeue() local 4784 struct ieee80211_tx_data tx = { ieee80211_build_data_template() local 5324 struct ieee80211_tx_data tx; ieee80211_beacon_protect() local 5360 struct ieee80211_tx_data tx; ieee80211_encrypt_tx_skb() local 6157 struct ieee80211_tx_data tx; ieee80211_get_buffered_bc() local [all...] |
| /linux/drivers/net/ethernet/marvell/octeon_ep/ |
| 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/md/ |
| H A D | raid5.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 * RAID-4/5/6 management functions. 9 * Thanks to Penguin Computing for making the RAID-6 development possible 22 * conf->seq_write is the number of the last batch successfully written. 23 * conf->seq_flush is the number of the last batch that was closed to 26 * (in add_stripe_bio) we update the in-memory bitmap and record in sh->bm_seq 56 #include "md-bitmap.h" 57 #include "raid5-log.h" 78 static inline struct hlist_head *stripe_hash(struct r5conf *conf, sector_t sect) in stripe_hash() argument 80 int hash = (sect >> RAID5_STRIPE_SHIFT(conf)) & HASH_MASK; in stripe_hash() [all …]
|
| 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/media/platform/ti/omap3isp/ |
| H A D | isphist.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * TI OMAP3 ISP - Histogram module 28 * hist_reset_mem - clear Histogram memory before start stats engine. 32 struct isp_device *isp = hist->isp; in hist_reset_mem() 33 struct omap3isp_hist_config *conf = hist->priv; in hist_reset_mem() local 48 for (i = OMAP3ISP_HIST_MEM_SIZE / 4; i > 0; i--) { in hist_reset_mem() 56 hist->wait_acc_frames = conf->num_acc_frames; in hist_reset_mem() 60 * hist_setup_regs - Helper function to update Histogram registers. 64 struct isp_device *isp = hist->isp; in hist_setup_regs() 65 struct omap3isp_hist_config *conf = priv; in hist_setup_regs() local [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/tty/serial/ |
| H A D | max3100.c | 1 // SPDX-License-Identifier: GPL-2.0+ 6 * to use polling for flow control. TX empty IRQ is unusable, since 7 * writing conf clears FIFO buffer and we cannot have this interrupt 10 * The initial minor number is 209 in the low-density serial port: 84 int tx_empty; /* last TX empty bit */ 88 int conf; /* configuration for the MAX31000 member 89 * (bits 0-7, bits 8-11 are irqs) */ 127 if (s->parity & MAX3100_PARITY_ODD) in max3100_do_parity() 132 if (s->parity & MAX3100_7BIT) in max3100_do_parity() 148 if (s->parity & MAX3100_7BIT) in max3100_calc_parity() [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/arch/arm64/boot/dts/mediatek/ |
| H A D | mt7986a-bananapi-bpi-r3.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 5 * Frank Wunderlich <frank-w@public-files.de> 9 /dts-v1/; 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/input/input.h> 12 #include <dt-bindings/leds/common.h> 13 #include <dt-bindings/pinctrl/mt65xx.h> 18 model = "Bananapi BPI-R3"; 19 chassis-type = "embedded"; 20 compatible = "bananapi,bpi-r3", "mediatek,mt7986a"; [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 …]
|
| /linux/drivers/net/wireless/ti/wl1251/ |
| H A D | main.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2008-2009 Nokia Corporation 25 #include "tx.h" 34 wl->if_ops->enable_irq(wl); in wl1251_enable_interrupts() 39 wl->if_ops->disable_irq(wl); in wl1251_disable_interrupts() 44 return wl->if_ops->power(wl, false); in wl1251_power_off() 49 return wl->if_ops->power(wl, true); in wl1251_power_on() 55 struct device *dev = wiphy_dev(wl->hw->wiphy); in wl1251_fetch_firmware() 65 if (fw->size % 4) { in wl1251_fetch_firmware() 67 fw->size); in wl1251_fetch_firmware() [all …]
|
| /linux/drivers/net/wireless/ti/wl18xx/ |
| H A D | wl18xx.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 11 #include "conf.h" 38 struct wl18xx_priv_conf conf; member 40 /* Index of last released Tx desc in FW */ 43 /* number of keys requiring extra spare mem-blocks */ 52 * released tx host desc 57 * Array of host Tx descriptors, where fw_release_idx 63 * is short lived, for multi-channel Tx requirements. 68 * for Tx schedulng purposes 111 /* Tx rate of the last transmitted packet */ [all …]
|