/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/linux/drivers/bus/ |
H A D | ts-nbus.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * NBUS driver for TS-4600 based boards 5 * Copyright (c) 2016 - Savoir-faire Linux 8 * This driver implements a GPIOs bit-banged bus, called the NBUS by Technologic 10 * TS-4600 SoM. 21 #include <linux/ts-nbus.h> 32 struct gpio_desc *txrx; member 45 ts_nbus->data = devm_gpiod_get_array(&pdev->dev, "ts,data", in ts_nbus_init_pdata() 47 if (IS_ERR(ts_nbus->data)) { in ts_nbus_init_pdata() 48 dev_err(&pdev->dev, "failed to retrieve ts,data-gpio from dts\n"); in ts_nbus_init_pdata() [all …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/linux/drivers/net/ethernet/mediatek/ |
H A D | mtk_eth_soc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright (C) 2009-2016 John Crispin <blogic@openwrt.org> 5 * Copyright (C) 2009-2016 Felix Fietkau <nbd@openwrt.org> 6 * Copyright (C) 2013-2016 Michael Lee <igvtee@gmail.com> 24 #include <linux/pcs/pcs-mtk-lynxi.h> 34 static int mtk_msg_level = -1; 36 MODULE_PARM_DESC(msg_level, "Message level (-1=defaults,0=none,...,16=all)"); 284 __raw_writel(val, eth->base + reg); in mtk_w32() 289 return __raw_readl(eth->base + reg); in mtk_r32() 315 dev_err(eth->dev, "mdio: MDIO timeout\n"); in mtk_mdio_busy_wait() [all …]
|
H A D | mtk_eth_soc.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * Copyright (C) 2009-2016 John Crispin <blogic@openwrt.org> 5 * Copyright (C) 2009-2016 Felix Fietkau <nbd@openwrt.org> 6 * Copyright (C) 2013-2016 Michael Lee <igvtee@gmail.com> 12 #include <linux/dma-mapping.h> 55 #define NEXT_DESP_IDX(X, Y) (((X) + 1) & ((Y) - 1)) 60 #define MTK_PP_MAX_BUF_SIZE (PAGE_SIZE - MTK_PP_PAD) 134 /* Unicast Filter MAC Address Register - Low */ 138 /* Unicast Filter MAC Address Register - High */ 155 #define PSE_IQ_REV(x) (0x140 + (((x) - 1) << 2)) [all …]
|
/openbmc/linux/drivers/tty/serial/jsm/ |
H A D | jsm_cls.c | 1 // SPDX-License-Identifier: GPL-2.0+ 54 u8 lcrb = readb(&ch->ch_cls_uart->lcr); in cls_set_cts_flow_control() 55 u8 ier = readb(&ch->ch_cls_uart->ier); in cls_set_cts_flow_control() 62 writeb(UART_EXAR654_ENHANCED_REGISTER_SET, &ch->ch_cls_uart->lcr); in cls_set_cts_flow_control() 64 isr_fcr = readb(&ch->ch_cls_uart->isr_fcr); in cls_set_cts_flow_control() 70 writeb(isr_fcr, &ch->ch_cls_uart->isr_fcr); in cls_set_cts_flow_control() 73 writeb(lcrb, &ch->ch_cls_uart->lcr); in cls_set_cts_flow_control() 81 writeb(ier, &ch->ch_cls_uart->ier); in cls_set_cts_flow_control() 84 writeb((UART_FCR_ENABLE_FIFO), &ch->ch_cls_uart->isr_fcr); in cls_set_cts_flow_control() 88 &ch->ch_cls_uart->isr_fcr); in cls_set_cts_flow_control() [all …]
|
H A D | jsm_neo.c | 1 // SPDX-License-Identifier: GPL-2.0+ 25 * a non-destructive, read-only location on the Neo card. 27 * In this case, we are reading the DVID (Read-only Device Identification) 32 readb(bd->re_map_membase + 0x8D); in neo_pci_posting_flush() 38 ier = readb(&ch->ch_neo_uart->ier); in neo_set_cts_flow_control() 39 efr = readb(&ch->ch_neo_uart->efr); in neo_set_cts_flow_control() 41 jsm_dbg(PARAM, &ch->ch_bd->pci_dev, "Setting CTSFLOW\n"); in neo_set_cts_flow_control() 51 writeb(0, &ch->ch_neo_uart->efr); in neo_set_cts_flow_control() 54 writeb(efr, &ch->ch_neo_uart->efr); in neo_set_cts_flow_control() 57 writeb((UART_17158_FCTR_TRGD | UART_17158_FCTR_RTS_4DELAY), &ch->ch_neo_uart->fctr); in neo_set_cts_flow_control() [all …]
|
/openbmc/qemu/include/hw/ssi/ |
H A D | ssi.h | 4 * In principle SSI is a point-point interface. As such the qemu 16 #include "hw/qdev-core.h" 21 #define TYPE_SSI_PERIPHERAL "ssi-peripheral" 25 #define SSI_GPIO_CS "ssi-gpio-cs" 45 * tristating the txrx lines). 51 /* if you have non-standard CS behaviour override this to take control 54 * always be called for the device for every txrx access to the parent bus 103 * via the child<> property, and so the reference-count-drop done here
|
/openbmc/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
|
/openbmc/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
|
/openbmc/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
|
/openbmc/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 …]
|
/openbmc/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_MAC80211_DEBUGFS) += debugfs_sta.o [all …]
|
/openbmc/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 …]
|
/openbmc/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 */ 74 return ipsec_st->tailen; in mlx5e_ipsec_tx_ids_len() 79 return MLX5_IPSEC_METADATA_MARKER(be32_to_cpu(cqe->ft_metadata)); in mlx5_ipsec_is_rx_flow() 84 return eseg->flow_table_metadata & cpu_to_be32(MLX5_ETH_WQE_FT_META_IPSEC); in mlx5e_ipsec_eseg_meta() 96 if (sp && sp->len && xo) { in mlx5e_ipsec_feature_check() 97 struct xfrm_state *x = sp->xvec[0]; in mlx5e_ipsec_feature_check() 99 if (!x || !x->xso.offload_handle) in mlx5e_ipsec_feature_check() [all …]
|
/openbmc/linux/drivers/net/ethernet/broadcom/ |
H A D | sb1250-mac.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * This driver is designed for the Broadcom SiByte SOC built-in 48 /* A few user-configurable values which may be modified when a driver 116 sbmac_duplex_none = -1, 142 #define SBDMA_NEXTBUF(d,f) ((((d)->f+1) == (d)->sbdma_dscrtable_end) ? \ 143 (d)->sbdma_dscrtable : (d)->f+1) 222 * Linux-specific things 232 * Controller-specific things 270 int txrx, int maxdescr); 318 static char sbmac_string[] = "sb1250-mac"; [all …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|