/linux/drivers/phy/qualcomm/ |
H A D | phy-qcom-qmp.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 9 #include "phy-qcom-qmp-qserdes-com.h" 10 #include "phy-qcom-qmp-qserdes-txrx.h" 12 #include "phy-qcom-qmp-qserdes-com-v3.h" 13 #include "phy-qcom-qmp-qserdes-txrx-v3.h" 15 #include "phy-qcom-qmp-qserdes-com-v4.h" 16 #include "phy-qcom-qmp-qserdes-txrx-v4.h" 17 #include "phy-qcom-qmp-qserdes-txrx-v4_20.h" 19 #include "phy-qcom-qmp-qserdes-com-v5.h" 20 #include "phy-qcom-qmp-qserdes-txrx-v5.h" [all …]
|
/linux/Documentation/devicetree/bindings/net/ |
H A D | engleder,tsnep.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Gerhard Engleder <gerhard@engleder-embedded.com> 13 - $ref: ethernet-controller.yaml# 26 interrupt-names: 29 - const: mac 30 - const: txrx-1 31 - const: txrx-2 32 - const: txrx-3 [all …]
|
/linux/arch/mips/include/asm/sibyte/ |
H A D | sb1250_mac.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 30 * MAC Configuration Register (Table 9-13) 202 * MAC Fifo Threshold registers (Table 9-14) 258 * MAC Frame Configuration Registers (Table 9-15) 360 * MAC VLAN Tag Registers (Table 9-16) 386 * MAC Status Registers (Table 9-17) 387 * Also used for the MAC Interrupt Mask Register (Table 9-18) 413 * and pass just the six bits to a DMA-channel-specific ISR 427 * In the following definitions we use ch (0/1) and txrx (TX=1, RX=0, see 430 #define S_MAC_STATUS_CH_OFFSET(ch, txrx) _SB_MAKE64(((ch) + 2 * (txrx)) * S_MAC_CHANWIDTH) argument [all …]
|
H A D | sb1250_regs.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 7 * This module contains the addresses of the on-chip peripherals 114 /* Backward-compatibility definitions. */ 163 #define A_MAC_DMA_CHANNEL_BASE(macnum, txrx, chan) \ argument 166 (MAC_DMA_TXRX_SPACING*(txrx)) + \ 169 #define R_MAC_DMA_CHANNEL_BASE(txrx, chan) \ argument 171 (MAC_DMA_TXRX_SPACING*(txrx)) + \ 174 #define A_MAC_DMA_REGISTER(macnum, txrx, chan, reg) \ argument 175 (A_MAC_DMA_CHANNEL_BASE(macnum, txrx, chan) + \ 178 #define R_MAC_DMA_REGISTER(txrx, chan, reg) \ argument [all …]
|
/linux/Documentation/devicetree/bindings/bus/ |
H A D | ts-nbus.txt | 4 Systems FPGA on the TS-4600 SoM. 7 - compatible : "technologic,ts-nbus" 8 - #address-cells : must be 1 9 - #size-cells : must be 0 10 - pwms : The PWM bound to the FPGA 11 - ts,data-gpios : The 8 GPIO pins connected to the data lines on the FPGA 12 - ts,csn-gpios : The GPIO pin connected to the csn line on the FPGA 13 - ts,txrx-gpios : The GPIO pin connected to the txrx line on the FPGA 14 - ts,strobe-gpios : The GPIO pin connected to the stobe line on the FPGA 15 - ts,ale-gpios : The GPIO pin connected to the ale line on the FPGA [all …]
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
H A D | hal_btc.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 2009-2012 Realtek Corporation.*/ 19 if (!rtlpriv->btcoexist.bt_coexistence) in rtl8723e_dm_bt_turn_off_bt_coexist_before_enter_lps() 22 if (ppsc->inactiveps) { in rtl8723e_dm_bt_turn_off_bt_coexist_before_enter_lps() 25 rtlpriv->btcoexist.cstate = 0; in rtl8723e_dm_bt_turn_off_bt_coexist_before_enter_lps() 26 rtlpriv->btcoexist.previous_state = 0; in rtl8723e_dm_bt_turn_off_bt_coexist_before_enter_lps() 27 rtlpriv->btcoexist.cstate_h = 0; in rtl8723e_dm_bt_turn_off_bt_coexist_before_enter_lps() 28 rtlpriv->btcoexist.previous_state_h = 0; in rtl8723e_dm_bt_turn_off_bt_coexist_before_enter_lps() 38 u8 bibss = (mac->opmode == NL80211_IFTYPE_ADHOC) ? 1 : 0; in mgnt_link_status_query() 39 if (bibss || rtlpriv->mac80211.link_state >= MAC80211_LINKED) in mgnt_link_status_query() [all …]
|
/linux/drivers/net/wireless/ath/wcn36xx/ |
H A D | Makefile | 1 # SPDX-License-Identifier: ISC 2 obj-$(CONFIG_WCN36XX) := wcn36xx.o 3 wcn36xx-y += main.o \ 5 txrx.o \ 11 wcn36xx-$(CONFIG_NL80211_TESTMODE) += testmode.o
|
/linux/drivers/net/wireless/intersil/p54/ |
H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 2 p54common-objs := eeprom.o fwio.o txrx.o main.o 3 p54common-$(CONFIG_P54_LEDS) += led.o 5 obj-$(CONFIG_P54_COMMON) += p54common.o 6 obj-$(CONFIG_P54_USB) += p54usb.o 7 obj-$(CONFIG_P54_PCI) += p54pci.o 8 obj-$(CONFIG_P54_SPI) += p54spi.o
|
/linux/drivers/net/wireless/st/cw1200/ |
H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 2 cw1200_core-y := \ 4 txrx.o \ 13 cw1200_core-$(CONFIG_PM) += pm.o 15 # CFLAGS_sta.o += -DDEBUG 17 cw1200_wlan_sdio-y := cw1200_sdio.o 18 cw1200_wlan_spi-y := cw1200_spi.o 20 obj-$(CONFIG_CW1200) += cw1200_core.o 21 obj-$(CONFIG_CW1200_WLAN_SDIO) += cw1200_wlan_sdio.o 22 obj-$(CONFIG_CW1200_WLAN_SPI) += cw1200_wlan_spi.o
|
H A D | cw1200.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Common private data for ST-Ericsson CW1200 drivers 5 * Copyright (c) 2010, ST-Ericsson 12 * Copyright 2004-2006 Jean-Baptiste Note <jbnote@gmail.com>, et al. 26 #include "txrx.h" 302 return ht_info->channel_type != NL80211_CHAN_NO_HT; in cw1200_is_ht() 308 (ht_info->ht_cap.cap & IEEE80211_HT_CAP_GRN_FLD) && in cw1200_ht_greenfield() 309 !(ht_info->operation_mode & in cw1200_ht_greenfield() 317 return ht_info->ht_cap.ampdu_density; in cw1200_ht_ampdu_density()
|
/linux/drivers/net/wireless/ath/wil6210/ |
H A D | Makefile | 1 # SPDX-License-Identifier: ISC 2 obj-$(CONFIG_WIL6210) += wil6210.o 4 wil6210-y := main.o 5 wil6210-y += netdev.o 6 wil6210-y += cfg80211.o 7 wil6210-y += pcie_bus.o 8 wil6210-$(CONFIG_WIL6210_DEBUGFS) += debugfs.o 9 wil6210-y += wmi.o 10 wil6210-y += interrupt.o 11 wil6210-y += txrx.o [all …]
|
H A D | trace.h | 1 /* SPDX-License-Identifier: ISC */ 3 * Copyright (c) 2013-2016 Qualcomm Atheros, Inc. 14 #include "txrx.h" 43 __entry->mid = wmi->mid; 44 __entry->command_id = le16_to_cpu(wmi->command_id); 45 __entry->fw_timestamp = le32_to_cpu(wmi->fw_timestamp); 46 __entry->buf_len = buf_len; 52 __entry->mid, __entry->command_id, __entry->buf_len, 53 __entry->fw_timestamp 73 __vstring(msg, vaf->fmt, vaf->va) [all …]
|
/linux/drivers/net/wireless/ath/ath10k/ |
H A D | Makefile | 1 # SPDX-License-Identifier: ISC 2 obj-$(CONFIG_ATH10K) += ath10k_core.o 3 ath10k_core-y += mac.o \ 10 txrx.o \ 12 wmi-tlv.o \ 18 ath10k_core-$(CONFIG_ATH10K_SPECTRAL) += spectral.o 19 ath10k_core-$(CONFIG_NL80211_TESTMODE) += testmode.o 20 ath10k_core-$(CONFIG_ATH10K_TRACING) += trace.o 21 ath10k_core-$(CONFIG_THERMAL) += thermal.o 22 ath10k_core-$(CONFIG_ATH10K_LEDS) += leds.o [all …]
|
H A D | txrx.c | 1 // SPDX-License-Identifier: ISC 3 * Copyright (c) 2005-2011 Atheros Communications Inc. 4 * Copyright (c) 2011-2016 Qualcomm Atheros, Inc. 9 #include "txrx.h" 18 if (likely(!(info->flags & IEEE80211_TX_CTL_TX_OFFCHAN))) in ath10k_report_offchan_tx() 29 spin_lock_bh(&ar->data_lock); in ath10k_report_offchan_tx() 30 if (ar->offchan_tx_skb != skb) { in ath10k_report_offchan_tx() 35 complete(&ar->offchan_tx_completed); in ath10k_report_offchan_tx() 36 ar->offchan_tx_skb = NULL; /* just for sanity */ in ath10k_report_offchan_tx() 40 spin_unlock_bh(&ar->data_lock); in ath10k_report_offchan_tx() [all …]
|
/linux/drivers/net/wireless/marvell/mwifiex/ |
H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0-only 3 # Copyright 2011-2020 NXP 7 mwifiex-y += main.o 8 mwifiex-y += init.o 9 mwifiex-y += cfp.o 10 mwifiex-y += cmdevt.o 11 mwifiex-y += util.o 12 mwifiex-y += txrx.o 13 mwifiex-y += wmm.o 14 mwifiex-y += 11n.o [all …]
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
H A D | ktls_txrx.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */ 11 #include "en/txrx.h" 37 if (unlikely(wi->resync_dump_frag_page)) { in mlx5e_ktls_tx_try_handle_resync_dump_comp() 49 return budget && test_bit(MLX5E_SQ_STATE_PENDING_TLS_RX_RESYNC, &c->async_icosq.state); in mlx5e_ktls_rx_pending_resync_list() 56 cseg->tis_tir_num = cpu_to_be32(state->tls_tisn << 8); in mlx5e_ktls_handle_tx_wqe()
|
H A D | ipsec_rxtx.h | 14 * - Redistributions of source code must retain the above 18 * - Redistributions in binary form must reproduce the above 40 #include "en/txrx.h" 42 /* Bit31: IPsec marker, Bit30: reserved, Bit29-24: IPsec syndrome, Bit23-0: IPsec obj id */ 72 return ipsec_st->tailen; in mlx5e_ipsec_tx_ids_len() 77 return MLX5_IPSEC_METADATA_MARKER(be32_to_cpu(cqe->ft_metadata)); in mlx5_ipsec_is_rx_flow() 82 return eseg->flow_table_metadata & cpu_to_be32(MLX5_ETH_WQE_FT_META_IPSEC); in mlx5e_ipsec_eseg_meta() 94 if (sp && sp->len && xo) { in mlx5e_ipsec_feature_check() 95 struct xfrm_state *x = sp->xvec[0]; in mlx5e_ipsec_feature_check() 97 if (!x || !x->xso.offload_handle) in mlx5e_ipsec_feature_check() [all …]
|
/linux/drivers/net/wireless/ath/ath6kl/ |
H A D | Makefile | 1 #------------------------------------------------------------------------------ 2 # Copyright (c) 2004-2011 Atheros Communications Inc. 3 # Copyright (c) 2011-2012 Qualcomm Atheros, Inc. 23 #------------------------------------------------------------------------------ 25 obj-$(CONFIG_ATH6KL) += ath6kl_core.o 26 ath6kl_core-y += debug.o 27 ath6kl_core-y += hif.o 28 ath6kl_core-y += htc_mbox.o 29 ath6kl_core-y += htc_pipe.o 30 ath6kl_core-y += bmi.o [all …]
|
/linux/samples/pktgen/ |
H A D | functions.sh | 3 # - Depending on bash 3 (or higher) syntax 8 set -o errexit 10 ## -- General shell logging cmds -- 23 if [[ -n "$VERBOSE" ]]; then 28 ## -- Pktgen proc config commands -- ## 67 if [[ ! -e "$proc_ctrl" ]]; then 70 if [[ ! -w "$proc_ctrl" ]]; then 114 if [[ -z "$APPEND" ]] && [[ $EUID -eq 0 ]]; then 119 ## -- General shell tricks -- 124 if [ "$EUID" -ne 0 ]; then [all …]
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | ptp.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */ 9 #include "en/txrx.h" 61 /* data path - accessed per napi poll */ 75 if (!(skb_shinfo(skb)->tx_flags & SKBTX_HW_TSTAMP)) in mlx5e_use_ptpsq() 94 fifo->data[fifo->mask & fifo->pc++] = metadata; in mlx5e_ptp_metadata_fifo_push() 100 return fifo->data[fifo->mask & fifo->cc]; in mlx5e_ptp_metadata_fifo_peek() 106 fifo->cc++; in mlx5e_ptp_metadata_fifo_pop() 113 WARN_ON_ONCE(map->data[metadata]); in mlx5e_ptp_metadata_map_put() 114 map->data[metadata] = skb; in mlx5e_ptp_metadata_map_put() 124 freelist = &ptpsq->metadata_freelist; in mlx5e_ptpsq_metadata_freelist_empty() [all …]
|
H A D | xdp.h | 14 * - Redistributions of source code must retain the above 18 * - Redistributions in binary form must reproduce the above 39 #include "en/txrx.h" 45 (MLX5E_XDP_INLINE_WQE_MAX_DS_CNT * MLX5_SEND_WQE_DS - \ 132 set_bit(MLX5E_STATE_XDP_TX_ENABLED, &priv->state); in mlx5e_xdp_tx_enable() 134 if (priv->channels.params.xdp_prog) in mlx5e_xdp_tx_enable() 135 set_bit(MLX5E_STATE_XDP_ACTIVE, &priv->state); in mlx5e_xdp_tx_enable() 140 if (priv->channels.params.xdp_prog) in mlx5e_xdp_tx_disable() 141 clear_bit(MLX5E_STATE_XDP_ACTIVE, &priv->state); in mlx5e_xdp_tx_disable() 143 clear_bit(MLX5E_STATE_XDP_TX_ENABLED, &priv->state); in mlx5e_xdp_tx_disable() [all …]
|
H A D | trap.c | 1 // SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB 4 #include "en/txrx.h" 11 struct mlx5e_ch_stats *ch_stats = trap_ctx->stats; in mlx5e_trap_napi_poll() 12 struct mlx5e_rq *rq = &trap_ctx->rq; in mlx5e_trap_napi_poll() 18 ch_stats->poll++; in mlx5e_trap_napi_poll() 20 work_done = mlx5e_poll_rx_cq(&rq->cq, budget); in mlx5e_trap_napi_poll() 22 busy |= rq->post_wqes(rq); in mlx5e_trap_napi_poll() 32 mlx5e_cq_arm(&rq->cq); in mlx5e_trap_napi_poll() 42 struct mlx5_core_dev *mdev = t->mdev; in mlx5e_init_trap_rq() 43 struct mlx5e_priv *priv = t->priv; in mlx5e_init_trap_rq() [all …]
|
/linux/drivers/spi/ |
H A D | spi-gpio.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 25 * platform_device->driver_data ... points to spi_gpio 27 * spi->controller_state ... reserved for bitbang framework code 29 * spi->controller->dev.driver_data ... points to spi_gpio->bitbang 40 /*----------------------------------------------------------------------*/ 47 * - The slow generic way: set up platform_data to hold the GPIO 51 * - The quicker inlined way: only helps with platform GPIO code 62 * #include "spi-gpio.c" 72 /*----------------------------------------------------------------------*/ 80 bang = spi_controller_get_devdata(spi->controller); in spi_to_spi_gpio() [all …]
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/ |
H A D | setup.c | 1 // SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB 6 #include "en/txrx.h" 16 return -EINVAL; in mlx5e_legacy_rq_validate_xsk() 32 * and xsk->chunk_size is limited to 65535 bytes. in mlx5e_validate_xsk_param() 34 if ((size_t)xsk->chunk_size > PAGE_SIZE || xsk->chunk_size < MLX5E_MIN_XSK_CHUNK_SIZE) { in mlx5e_validate_xsk_param() 35 mlx5_core_err(mdev, "XSK chunk size %u out of bounds [%u, %lu]\n", xsk->chunk_size, in mlx5e_validate_xsk_param() 43 switch (params->rq_wq_type) { in mlx5e_validate_xsk_param() 56 mlx5e_build_rq_param(mdev, params, xsk, &cparam->rq); in mlx5e_build_xsk_cparam() 57 mlx5e_build_xdpsq_param(mdev, params, xsk, &cparam->xdp_sq); in mlx5e_build_xsk_cparam() 66 struct mlx5_core_dev *mdev = c->mdev; in mlx5e_init_xsk_rq() [all …]
|
/linux/drivers/tty/serial/jsm/ |
H A D | jsm.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 49 dev_dbg(pdev->dev, fmt, ##__VA_ARGS__); \ 94 #define JSM_VERSION "jsm: 1.2-1-INKERNEL" 95 #define JSM_PARTNUM "40002438_A-INKERNEL" 122 * Per-board information 126 int boardnum; /* Board number: 0-32 */ 178 #define RQUEUEMASK 0x1FFF /* 8 K - 1 */ 179 #define EQUEUEMASK 0x1FFF /* 8 K - 1 */ 216 u8 *ch_rqueue; /* Our read queue buffer - malloc'ed */ 220 u8 *ch_equeue; /* Our error queue buffer - malloc'ed */ [all …]
|