/openbmc/linux/drivers/staging/rtl8192u/ |
H A D | r8192U_debugfs.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * -----------------------------DEGUGFS STUFF------------------------- 11 static int rtl8192_usb_stats_ap_show(struct seq_file *m, void *v) in rtl8192_usb_stats_ap_show() argument 13 struct net_device *dev = m->private; in rtl8192_usb_stats_ap_show() 15 struct ieee80211_device *ieee = priv->ieee80211; in rtl8192_usb_stats_ap_show() 18 list_for_each_entry(target, &ieee->network_list, list) { in rtl8192_usb_stats_ap_show() 21 if (target->wpa_ie_len > 0 || target->rsn_ie_len > 0) in rtl8192_usb_stats_ap_show() 24 seq_printf(m, "%s %s\n", target->ssid, wpa); in rtl8192_usb_stats_ap_show() 30 static int rtl8192_usb_registers_show(struct seq_file *m, void *v) in rtl8192_usb_registers_show() argument 32 struct net_device *dev = m->private; in rtl8192_usb_registers_show() [all …]
|
/openbmc/linux/drivers/net/phy/ |
H A D | linkmode.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * linkmode_resolve_pause - resolve the allowable pause modes 19 * 0 1 1 1 TX 21 * 1 X 1 X TX+RX 28 __ETHTOOL_DECLARE_LINK_MODE_MASK(m); in linkmode_resolve_pause() 30 linkmode_and(m, local_adv, partner_adv); in linkmode_resolve_pause() 31 if (linkmode_test_bit(ETHTOOL_LINK_MODE_Pause_BIT, m)) { in linkmode_resolve_pause() 34 } else if (linkmode_test_bit(ETHTOOL_LINK_MODE_Asym_Pause_BIT, m)) { in linkmode_resolve_pause() 47 * linkmode_set_pause - set the pause mode advertisement 49 * @tx: boolean from ethtool struct ethtool_pauseparam tx_pause member [all …]
|
/openbmc/linux/drivers/net/ethernet/broadcom/ |
H A D | bcmsysport.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 28 /* HW supports 40-bit addressing hence the */ 108 /* Level-2 Interrupt controller offsets and defines */ 118 /* Level-2 instance 0 interrupt bits */ 132 /* SYSTEMPORT Lite groups the TX queues interrupts on instance 0 */ 220 /* There is a 0xC gap between the end of RX and beginning of TX stats and then 221 * between the end of TX stats and the beginning of the RX RUNT 329 #define TDMA_PORT_SIZE DESC_SIZE /* two 32-bits words */ 401 /* Defininition for a given TX ring base address */ 490 /* Internal linked-list RAM size */ [all …]
|
/openbmc/linux/net/tipc/ |
H A D | crypto.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 58 * - CLUSTER_KEY: 59 * One single key is used for both TX & RX in all nodes in the cluster. 60 * - PER_NODE_KEY: 61 * Each nodes in the cluster has one TX key, for RX a node needs to know 62 * its peers' TX key for the decryption of messages from those nodes. 77 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 78 * w0:|Ver=7| User |D|TX |RX |K|M|N| Rsvd | 79 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 82 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/sound/ |
H A D | rockchip,i2s-tdm.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/rockchip,i2s-tdm.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 15 - Nicolas Frattaroli <frattaroli.nicolas@gmail.com> 18 - $ref: dai-common.yaml# 23 - rockchip,px30-i2s-tdm 24 - rockchip,rk1808-i2s-tdm 25 - rockchip,rk3308-i2s-tdm 26 - rockchip,rk3568-i2s-tdm [all …]
|
/openbmc/linux/drivers/net/ethernet/tehuti/ |
H A D | tehuti.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 12 * 1) RX Free Fifo - RXF - holds descriptors of empty buffers to accept incoming 16 * 2) RX Data Fifo - RXD - holds descriptors of full buffers. This Fifo is 23 * One holds 1.5K packets and another - 26K packets. Depending on incoming 30 * skb db - used to keep track of all skbs owned by SW and their dma addresses. 34 * fifo - keeps info about fifo's size and location, relevant HW registers, 45 * NAPI - interrupt-driven mixed with polling 46 * interrupt-driven only 48 * Interrupt-driven only flow is following. When buffer is ready, HW raises 107 nic->port_num == 1 ? "" : ", 2-Port"); in print_hw_id() [all …]
|
/openbmc/linux/net/nfc/nci/ |
H A D | spi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 12 #include <linux/crc-ccitt.h> 33 struct spi_message m; in __nci_spi_send() local 39 t.tx_buf = skb->data; in __nci_spi_send() 40 t.len = skb->len; in __nci_spi_send() 47 t.delay.value = nspi->xfer_udelay; in __nci_spi_send() 49 t.speed_hz = nspi->xfer_speed_hz; in __nci_spi_send() 51 spi_message_init(&m); in __nci_spi_send() 52 spi_message_add_tail(&t, &m); in __nci_spi_send() 54 return spi_sync(nspi->spi, &m); in __nci_spi_send() [all …]
|
/openbmc/linux/drivers/dma/ |
H A D | xgene-dma.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Applied Micro X-Gene SoC DMA engine Driver 15 #include <linux/dma-mapping.h> 27 /* X-Gene DMA ring csr registers and bit definations */ 43 #define XGENE_DMA_RING_NE_INT_MODE_SET(m, v) \ argument 44 ((m) = ((m) & ~BIT(31 - (v))) | BIT(31 - (v))) 45 #define XGENE_DMA_RING_NE_INT_MODE_RESET(m, v) \ argument 46 ((m) &= (~BIT(31 - (v)))) 56 #define XGENE_DMA_RING_COHERENT_SET(m) \ argument 57 (((u32 *)(m))[2] |= BIT(4)) [all …]
|
/openbmc/linux/drivers/net/ethernet/3com/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 31 To compile this driver as a module, choose M here. The module 42 To compile this driver as a module, choose M here. The module 50 (PC-card) Fast Ethernet card to your computer. 52 To compile this driver as a module, choose M here: the module will be 60 (PC-card) Ethernet card to your computer. 62 To compile this driver as a module, choose M here: the module will be 84 To compile this support as a module, choose M here. 93 3C990-TX, 3CR990-TX-95, 3CR990-TX-97, 3CR990-FX-95, 3CR990-FX-97, 94 3CR990SVR, 3CR990SVR95, 3CR990SVR97, 3CR990-FX-95 Server, [all …]
|
/openbmc/linux/drivers/spi/ |
H A D | spi-fsl-espi.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 62 #define SPIE_TXE BIT(15) /* TX FIFO empty */ 63 #define SPIE_DON BIT(14) /* TX done */ 66 #define SPIE_TXT BIT(11) /* TX FIFO threshold*/ 68 #define SPIE_TNF BIT(8) /* TX FIFO not full */ 71 #define SPIM_TXE BIT(15) /* TX FIFO empty */ 72 #define SPIM_DON BIT(14) /* TX done */ 75 #define SPIM_TXT BIT(11) /* TX FIFO threshold*/ 77 #define SPIM_TNF BIT(8) /* TX FIFO not full */ 82 #define SPCOM_TO BIT(27) /* TX only */ [all …]
|
/openbmc/linux/tools/perf/pmu-events/arch/s390/cf_zec12/ |
H A D | extended.json | 3 "Unit": "CPU-M-CF", 7 …"PublicDescription": "Level-1 Data TLB miss in progress. Incremented by one for every cycle a DTLB… 10 "Unit": "CPU-M-CF", 14 …"PublicDescription": "Level-1 Instruction TLB miss in progress. Incremented by one for every cycle… 17 "Unit": "CPU-M-CF", 21 …on": "A directory write to the Level-1 Data cache directory where the returned cache line was sour… 24 "Unit": "CPU-M-CF", 28 … "A directory write to the Level-1 Instruction cache directory where the returned cache line was s… 31 "Unit": "CPU-M-CF", 35 …on": "A directory write to the Level-1 Data cache directory where the returned cache line was sour… [all …]
|
/openbmc/linux/net/atm/ |
H A D | mpoa_proc.c | 1 // SPDX-License-Identifier: GPL-2.0 101 * FIXME: mpcs (and per-mpc lists) have no locking whatsoever. 104 static void *mpc_start(struct seq_file *m, loff_t *pos) in mpc_start() argument 109 if (!l--) in mpc_start() 111 for (mpc = mpcs; mpc; mpc = mpc->next) in mpc_start() 112 if (!l--) in mpc_start() 117 static void *mpc_next(struct seq_file *m, void *v, loff_t *pos) in mpc_next() argument 121 return v == SEQ_START_TOKEN ? mpcs : p->next; in mpc_next() 124 static void mpc_stop(struct seq_file *m, void *v) in mpc_stop() argument 129 * READING function - called when the /proc/atm/mpoa file is read from. [all …]
|
/openbmc/linux/drivers/pinctrl/ |
H A D | pinctrl-mcp23s08_spi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 #include "pinctrl-mcp23s08.h" 18 * Driver data holds all the per-chip data. 29 struct spi_device *spi = to_spi_device(mcp->dev); in mcp23sxx_spi_write() 30 struct spi_message m; in mcp23sxx_spi_write() local 31 struct spi_transfer t[2] = { { .tx_buf = &mcp->addr, .len = 1, }, in mcp23sxx_spi_write() 34 spi_message_init(&m); in mcp23sxx_spi_write() 35 spi_message_add_tail(&t[0], &m); in mcp23sxx_spi_write() 36 spi_message_add_tail(&t[1], &m); in mcp23sxx_spi_write() 38 return spi_sync(spi, &m); in mcp23sxx_spi_write() [all …]
|
/openbmc/linux/drivers/net/ethernet/ti/ |
H A D | cpsw_ethtool.c | 1 // SPDX-License-Identifier: GPL-2.0 75 #define CPSW_STAT(m) CPSW_STATS, \ argument 76 sizeof_field(struct cpsw_hw_stats, m), \ 77 offsetof(struct cpsw_hw_stats, m) 78 #define CPDMA_RX_STAT(m) CPDMA_RX_STATS, \ argument 79 sizeof_field(struct cpdma_chan_stats, m), \ 80 offsetof(struct cpdma_chan_stats, m) 81 #define CPDMA_TX_STAT(m) CPDMA_TX_STATS, \ argument 82 sizeof_field(struct cpdma_chan_stats, m), \ 83 offsetof(struct cpdma_chan_stats, m) [all …]
|
/openbmc/linux/drivers/net/ethernet/chelsio/inline_crypto/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 23 Enable inline TLS support for Tx and Rx. 25 To compile this driver as a module, choose M here: the module 29 tristate "Chelsio IPSec XFRM Tx crypto offload" 35 Enable inline IPsec support for Tx. 37 To compile this driver as a module, choose M here: the module 51 To compile this driver as a module, choose M here: the module
|
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | mbox.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 37 #define INTR_MASK(pfvfs) ((pfvfs < 64) ? (BIT_ULL(pfvfs) - 1) : (~0ull)) 70 u64 tx_start; /* Offset of Tx region in mbox memory */ 72 u16 tx_size; /* Size of Tx region */ 133 /* Generic mbox IDs (range 0x000 - 0x1FF) */ \ 134 M(READY, 0x001, ready, msg_req, ready_msg_rsp) \ 135 M(ATTACH_RESOURCES, 0x002, attach_resources, rsrc_attach, msg_rsp) \ 136 M(DETACH_RESOURCES, 0x003, detach_resources, rsrc_detach, msg_rsp) \ 137 M(FREE_RSRC_CNT, 0x004, free_rsrc_cnt, msg_req, free_rsrcs_rsp) \ 138 M(MSIX_OFFSET, 0x005, msix_offset, msg_req, msix_offset_rsp) \ [all …]
|
/openbmc/linux/drivers/staging/most/net/ |
H A D | net.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * net.c - Networking component for Mostcore 22 #define MAMAC_DATA_LEN (1024 - MDP_HDR_LEN) 66 struct net_dev_channel tx; member 71 static DEFINE_MUTEX(probe_disc_mt); /* ch->linked = true, most_nd_open */ 72 static DEFINE_SPINLOCK(list_lock); /* list_head, ch->linked = false, dev_hold */ 77 u8 *buff = mbo->virt_address; in skb_to_mamac() 79 const u8 *dest_addr = skb->data + 4; in skb_to_mamac() 80 const u8 *eth_type = skb->data + 12; in skb_to_mamac() 81 unsigned int payload_len = skb->len - ETH_HLEN; in skb_to_mamac() [all …]
|
/openbmc/linux/drivers/net/ethernet/broadcom/asp2/ |
H A D | bcmasp.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 7 #include <linux/io-64-nonatomic-hi-lo.h> 173 /* TX slowpath/configuration */ 190 /* 39:0 (TX/RX) bits 0-39 of buf addr 198 * 60:57 (RX) rx_port_num (0-unicmac0, 1-unimac1) 200 * 63:62 (TX) forward CRC, overwrite CRC 212 /* 0 (TX) tx_int_en 213 * 1 (TX/RX) SOF 214 * 2 (TX/RX) EOF 215 * 3 (TX) epkt_command [all …]
|
/openbmc/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx6qdl-dhcom-drc02.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 8 stdout-path = "serial0:115200n8"; 14 * pins SD3_DAT0 and SD3_DAT1 are muxed as can2 Tx and Rx. The signals for can2 15 * Tx and Rx are routed to the DHCOM UART1 rts/cts pins. Therefore the micro SD 27 * during TX anyway and that it only controls drive enable DE 30 rs485-rx-en-hog { 31 gpio-hog; 33 line-name = "rs485-rx-en"; 34 output-low; 39 gpio-line-names = [all …]
|
/openbmc/linux/sound/soc/atmel/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 tristate "SoC Audio for the Atmel System-on-Chip" 6 Say Y or M if you want to add support for codecs attached to 30 Say Y or M if you want to add support for Atmel SSC interface 31 in PDC mode configured using audio-graph-card in device-tree. 39 Say Y or M if you want to add support for Atmel SSC interface 40 in DMA mode configured using audio-graph-card in device-tree. 43 tristate "SoC Audio support for WM8731-based At91sam9g20 evaluation board" 49 Say Y if you want to add support for SoC audio on WM8731-based 63 tristate "SoC Audio support for WM8731-based at91sam9x5 board" [all …]
|
/openbmc/linux/tools/perf/pmu-events/arch/s390/cf_z14/ |
H A D | extended.json | 3 "Unit": "CPU-M-CF", 6 "BriefDescription": "L1D Read-only Exclusive Writes", 7 …blicDescription": "A directory write to the Level-1 Data cache where the line was originally in a … 10 "Unit": "CPU-M-CF", 17 "Unit": "CPU-M-CF", 21 …data cache. Incremented by one for every TLB2 miss in progress for the Level-1 Data cache on this … 24 "Unit": "CPU-M-CF", 27 "BriefDescription": "DTLB2 One-Megabyte Page Writes", 28 … into the Combined Region and Segment Table Entry array in the Level-2 TLB for a one-megabyte page… 31 "Unit": "CPU-M-CF", [all …]
|
/openbmc/linux/drivers/net/wireless/realtek/rtw89/ |
H A D | debug.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 2 /* Copyright(c) 2019-2020 Realtek Corporation 26 int (*cb_read)(struct seq_file *m, void *v); 71 static int rtw89_debugfs_single_show(struct seq_file *m, void *v) in rtw89_debugfs_single_show() argument 73 struct rtw89_debugfs_priv *debugfs_priv = m->private; in rtw89_debugfs_single_show() 75 return debugfs_priv->cb_read(m, v); in rtw89_debugfs_single_show() 82 struct rtw89_debugfs_priv *debugfs_priv = filp->private_data; in rtw89_debugfs_single_write() 84 return debugfs_priv->cb_write(filp, buffer, count, loff); in rtw89_debugfs_single_write() 91 struct seq_file *seqpriv = (struct seq_file *)filp->private_data; in rtw89_debugfs_seq_file_write() 92 struct rtw89_debugfs_priv *debugfs_priv = seqpriv->private; in rtw89_debugfs_seq_file_write() [all …]
|
/openbmc/linux/tools/testing/vsock/ |
H A D | README | 2 ------------------- 3 These tests exercise net/vmw_vsock/ host<->guest sockets for VMware, KVM, and 4 Hyper-V. 8 * vsock_test - core AF_VSOCK socket functionality 9 * vsock_diag_test - vsock_diag.ko module for listing open sockets 22 (host)# $TEST_BINARY --mode=server \ 23 --control-port=1234 \ 24 --peer-cid=3 25 (guest)# $TEST_BINARY --mode=client \ 26 --control-host=$HOST_IP \ [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/net/ |
H A D | nvidia,tegra234-mgbe.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/net/nvidia,tegra234-mgbe.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Tegra234 MGBE Multi-Gigabit Ethernet Controller 10 - Thierry Reding <treding@nvidia.com> 11 - Jon Hunter <jonathanh@nvidia.com> 15 const: nvidia,tegra234-mgbe 20 reg-names: 22 - const: hypervisor [all …]
|
/openbmc/linux/drivers/media/rc/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 80 tristate "Enable IR raw decoder for the RC-5 protocol" 84 Enable this option if you have IR with RC-5 protocol, and 96 tristate "Enable IR raw decoder for the RC-MM protocol" 98 Enable this option when you have IR with RC-MM protocol, and 100 24 and 32 bits RC-MM variants. You can enable or disable the 102 'rc-mm-12', 'rc-mm-24' and 'rc-mm-32'. 104 To compile this driver as a module, choose M here: the module 105 will be called ir-rcmm-decoder. 159 To compile this driver as a module, choose M here: the [all …]
|