Home
last modified time | relevance | path

Searched full:rx (Results 1 – 25 of 3276) sorted by relevance

12345678910>>...132

/Linux-v5.10/drivers/net/ethernet/google/gve/
Dgve_rx.c16 block->rx = NULL; in gve_rx_remove_from_block()
21 struct gve_rx_ring *rx = &priv->rx[idx]; in gve_rx_free_ring() local
29 dma_free_coherent(dev, bytes, rx->desc.desc_ring, rx->desc.bus); in gve_rx_free_ring()
30 rx->desc.desc_ring = NULL; in gve_rx_free_ring()
32 dma_free_coherent(dev, sizeof(*rx->q_resources), in gve_rx_free_ring()
33 rx->q_resources, rx->q_resources_bus); in gve_rx_free_ring()
34 rx->q_resources = NULL; in gve_rx_free_ring()
36 gve_unassign_qpl(priv, rx->data.qpl->id); in gve_rx_free_ring()
37 rx->data.qpl = NULL; in gve_rx_free_ring()
38 kvfree(rx->data.page_info); in gve_rx_free_ring()
[all …]
/Linux-v5.10/net/rxrpc/
Daf_rxrpc.c76 static int rxrpc_validate_address(struct rxrpc_sock *rx, in rxrpc_validate_address() argument
96 if (srx->transport.family != rx->family && in rxrpc_validate_address()
97 srx->transport.family == AF_INET && rx->family != AF_INET6) in rxrpc_validate_address()
133 struct rxrpc_sock *rx = rxrpc_sk(sock->sk); in rxrpc_bind() local
137 _enter("%p,%p,%d", rx, saddr, len); in rxrpc_bind()
139 ret = rxrpc_validate_address(rx, srx, len); in rxrpc_bind()
144 lock_sock(&rx->sk); in rxrpc_bind()
146 switch (rx->sk.sk_state) { in rxrpc_bind()
148 rx->srx = *srx; in rxrpc_bind()
149 local = rxrpc_lookup_local(sock_net(&rx->sk), &rx->srx); in rxrpc_bind()
[all …]
Dcall_accept.c34 static int rxrpc_service_prealloc_one(struct rxrpc_sock *rx, in rxrpc_service_prealloc_one() argument
43 struct rxrpc_net *rxnet = rxrpc_net(sock_net(&rx->sk)); in rxrpc_service_prealloc_one()
49 max = rx->sk.sk_max_ack_backlog; in rxrpc_service_prealloc_one()
50 tmp = rx->sk.sk_ack_backlog; in rxrpc_service_prealloc_one()
73 struct rxrpc_peer *peer = rxrpc_alloc_peer(rx->local, gfp); in rxrpc_service_prealloc_one()
100 call = rxrpc_alloc_call(rx, gfp, debug_id); in rxrpc_service_prealloc_one()
110 write_lock(&rx->call_lock); in rxrpc_service_prealloc_one()
113 pp = &rx->calls.rb_node; in rxrpc_service_prealloc_one()
135 rb_insert_color(&call->sock_node, &rx->calls); in rxrpc_service_prealloc_one()
138 list_add(&call->sock_link, &rx->sock_calls); in rxrpc_service_prealloc_one()
[all …]
/Linux-v5.10/arch/arm/include/debug/
Dicedcc.S15 .macro senduart, rd, rx
19 .macro busyuart, rd, rx
21 mrc p14, 0, \rx, c0, c1, 0
22 tst \rx, #0x20000000
26 .macro waituartcts, rd, rx
29 .macro waituarttxrdy, rd, rx
34 mrc p14, 0, \rx, c0, c1, 0
35 tst \rx, #0x20000000
42 .macro senduart, rd, rx
46 .macro busyuart, rd, rx
[all …]
Dsamsung.S12 .macro fifo_level_s5pv210 rd, rx
13 ldr \rd, [\rx, # S3C2410_UFSTAT]
18 .macro fifo_full_s5pv210 rd, rx
19 ldr \rd, [\rx, # S3C2410_UFSTAT]
27 .macro fifo_level_s3c2440 rd, rx
28 ldr \rd, [\rx, # S3C2410_UFSTAT]
37 .macro fifo_full_s3c2440 rd, rx
38 ldr \rd, [\rx, # S3C2410_UFSTAT]
47 .macro senduart,rd,rx
48 strb \rd, [\rx, # S3C2410_UTXH]
[all …]
D8250.S15 .macro store, rd, rx:vararg
17 str \rd, \rx
21 .macro load, rd, rx:vararg
22 ldr \rd, \rx
26 .macro store, rd, rx:vararg
27 strb \rd, \rx
30 .macro load, rd, rx:vararg
31 ldrb \rd, \rx
37 .macro senduart,rd,rx
38 store \rd, [\rx, #UART_TX << UART_SHIFT]
[all …]
/Linux-v5.10/net/mac80211/
Drx.c710 * RX header they pull before we get here, and that should in ieee80211_make_monitor_skb()
782 * (2) the other RX handlers will modify the skb we got. in ieee80211_rx_monitor()
864 static void ieee80211_parse_qos(struct ieee80211_rx_data *rx) in ieee80211_parse_qos() argument
866 struct ieee80211_hdr *hdr = (struct ieee80211_hdr *)rx->skb->data; in ieee80211_parse_qos()
867 struct ieee80211_rx_status *status = IEEE80211_SKB_RXCB(rx->skb); in ieee80211_parse_qos()
899 rx->seqno_idx = seqno_idx; in ieee80211_parse_qos()
900 rx->security_idx = security_idx; in ieee80211_parse_qos()
903 rx->skb->priority = (tid > 7) ? 0 : tid; in ieee80211_parse_qos()
931 static void ieee80211_verify_alignment(struct ieee80211_rx_data *rx) in ieee80211_verify_alignment() argument
934 WARN_ON_ONCE((unsigned long)rx->skb->data & 1); in ieee80211_verify_alignment()
[all …]
/Linux-v5.10/drivers/net/ethernet/brocade/bna/
Dbna_tx_rx.c184 bfi_msgq_mhdr_set(req->mh, BFI_MC_ENET, req_type, 0, rxf->rx->rid); in bna_bfi_ucast_req()
190 bfa_msgq_cmd_post(&rxf->rx->bna->msgq, &rxf->msgq_cmd); in bna_bfi_ucast_req()
200 0, rxf->rx->rid); in bna_bfi_mcast_add_req()
206 bfa_msgq_cmd_post(&rxf->rx->bna->msgq, &rxf->msgq_cmd); in bna_bfi_mcast_add_req()
216 0, rxf->rx->rid); in bna_bfi_mcast_del_req()
222 bfa_msgq_cmd_post(&rxf->rx->bna->msgq, &rxf->msgq_cmd); in bna_bfi_mcast_del_req()
231 BFI_ENET_H2I_MAC_MCAST_FILTER_REQ, 0, rxf->rx->rid); in bna_bfi_mcast_filter_req()
237 bfa_msgq_cmd_post(&rxf->rx->bna->msgq, &rxf->msgq_cmd); in bna_bfi_mcast_filter_req()
246 BFI_ENET_H2I_RX_PROMISCUOUS_REQ, 0, rxf->rx->rid); in bna_bfi_rx_promisc_req()
252 bfa_msgq_cmd_post(&rxf->rx->bna->msgq, &rxf->msgq_cmd); in bna_bfi_rx_promisc_req()
[all …]
Dbfa_defs_cna.h26 u64 rx_frames; /*!< Rx frames */
27 u64 rx_words; /*!< Rx words */
28 u64 lip_count; /*!< Rx LIP */
29 u64 nos_count; /*!< Rx NOS */
30 u64 ols_count; /*!< Rx OLS */
31 u64 lr_count; /*!< Rx LR */
32 u64 lrr_count; /*!< Rx LRR */
33 u64 invalid_crcs; /*!< Rx CRC err frames */
34 u64 invalid_crc_gd_eof; /*!< Rx CRC err good EOF frames */
35 u64 undersized_frm; /*!< Rx undersized frames */
[all …]
/Linux-v5.10/drivers/staging/gdm724x/
Dgdm_mux.c111 static struct mux_rx *get_rx_struct(struct rx_cxt *rx) in get_rx_struct() argument
116 spin_lock_irqsave(&rx->free_list_lock, flags); in get_rx_struct()
118 if (list_empty(&rx->rx_free_list)) { in get_rx_struct()
119 spin_unlock_irqrestore(&rx->free_list_lock, flags); in get_rx_struct()
123 r = list_entry(rx->rx_free_list.prev, struct mux_rx, free_list); in get_rx_struct()
126 spin_unlock_irqrestore(&rx->free_list_lock, flags); in get_rx_struct()
131 static void put_rx_struct(struct rx_cxt *rx, struct mux_rx *r) in put_rx_struct() argument
135 spin_lock_irqsave(&rx->free_list_lock, flags); in put_rx_struct()
136 list_add_tail(&r->free_list, &rx->rx_free_list); in put_rx_struct()
137 spin_unlock_irqrestore(&rx->free_list_lock, flags); in put_rx_struct()
[all …]
Dgdm_usb.c208 static struct usb_rx *get_rx_struct(struct rx_cxt *rx, int *no_spc) in get_rx_struct() argument
213 spin_lock_irqsave(&rx->rx_lock, flags); in get_rx_struct()
215 if (list_empty(&rx->free_list)) { in get_rx_struct()
216 spin_unlock_irqrestore(&rx->rx_lock, flags); in get_rx_struct()
220 r = list_entry(rx->free_list.next, struct usb_rx, free_list); in get_rx_struct()
223 rx->avail_count--; in get_rx_struct()
225 *no_spc = list_empty(&rx->free_list) ? 1 : 0; in get_rx_struct()
227 spin_unlock_irqrestore(&rx->rx_lock, flags); in get_rx_struct()
232 static void put_rx_struct(struct rx_cxt *rx, struct usb_rx *r) in put_rx_struct() argument
236 spin_lock_irqsave(&rx->rx_lock, flags); in put_rx_struct()
[all …]
/Linux-v5.10/drivers/media/radio/wl128x/
Dfmdrv_rx.c4 * This sub-module of FM driver implements FM RX functionality.
17 fmdev->rx.rds.flag = FM_RDS_DISABLE; in fm_rx_reset_rds_cache()
18 fmdev->rx.rds.last_blk_idx = 0; in fm_rx_reset_rds_cache()
19 fmdev->rx.rds.wr_idx = 0; in fm_rx_reset_rds_cache()
20 fmdev->rx.rds.rd_idx = 0; in fm_rx_reset_rds_cache()
22 if (fmdev->rx.af_mode == FM_RX_RDS_AF_SWITCH_MODE_ON) in fm_rx_reset_rds_cache()
28 fmdev->rx.stat_info.picode = FM_NO_PI_CODE; in fm_rx_reset_station_info()
29 fmdev->rx.stat_info.afcache_size = 0; in fm_rx_reset_station_info()
30 fmdev->rx.stat_info.af_list_max = 0; in fm_rx_reset_station_info()
41 if (freq < fmdev->rx.region.bot_freq || freq > fmdev->rx.region.top_freq) { in fm_rx_set_freq()
[all …]
/Linux-v5.10/drivers/net/phy/
Dlinkmode.c21 * 1 X 1 X TX+RX
22 * 1 1 0 1 RX
50 * @rx: boolean from ethtool struct ethtool_pauseparam rx_pause member
53 * capabilities of provided in @tx and @rx.
56 * tx rx Pause AsymDir
62 * Note: this translation from ethtool tx/rx notation to the advertisement
65 * For tx=0 rx=1, meaning transmit is unsupported, receive is supported:
69 * 1 1 1 0 TX + RX - but we have no TX support.
70 * 1 1 0 1 Only this gives RX only
72 * For tx=1 rx=1, meaning we have the capability to transmit and receive
[all …]
/Linux-v5.10/drivers/usb/musb/
Dcppi_dma.c25 * - Correct RX DMA generally forces the engine into irq-per-packet mode,
33 * and RX DMA0: 4 left, 80000000 8feff880, 8feff860 8feff860; 8f321401
38 * evidently also directly update the RX and TX CSRs ... so audit all
85 /* zero out entire rx state RAM entry for the channel */
86 static void cppi_reset_rx(struct cppi_rx_stateram __iomem *rx) in cppi_reset_rx() argument
88 musb_writel(&rx->rx_skipbytes, 0, 0); in cppi_reset_rx()
89 musb_writel(&rx->rx_head, 0, 0); in cppi_reset_rx()
90 musb_writel(&rx->rx_sop, 0, 0); in cppi_reset_rx()
91 musb_writel(&rx->rx_current, 0, 0); in cppi_reset_rx()
92 musb_writel(&rx->rx_buf_current, 0, 0); in cppi_reset_rx()
[all …]
/Linux-v5.10/Documentation/virt/kvm/
Dppc-pv.rst84 ld rX, -4096(0)
153 mfmsr rX ld rX, magic_page->msr
154 mfsprg rX, 0 ld rX, magic_page->sprg0
155 mfsprg rX, 1 ld rX, magic_page->sprg1
156 mfsprg rX, 2 ld rX, magic_page->sprg2
157 mfsprg rX, 3 ld rX, magic_page->sprg3
158 mfsrr0 rX ld rX, magic_page->srr0
159 mfsrr1 rX ld rX, magic_page->srr1
160 mfdar rX ld rX, magic_page->dar
161 mfdsisr rX lwz rX, magic_page->dsisr
[all …]
/Linux-v5.10/drivers/firmware/tegra/
Divc.c49 * through the rx.channel pointer. This delineates ownership of the cache
68 } rx; member
98 u32 rx = READ_ONCE(header->rx.count); in tegra_ivc_empty() local
110 if (tx - rx > ivc->num_frames) in tegra_ivc_empty()
113 return tx == rx; in tegra_ivc_empty()
120 u32 rx = READ_ONCE(header->rx.count); in tegra_ivc_full() local
126 return tx - rx >= ivc->num_frames; in tegra_ivc_full()
133 u32 rx = READ_ONCE(header->rx.count); in tegra_ivc_available() local
141 return tx - rx; in tegra_ivc_available()
157 WRITE_ONCE(ivc->rx.channel->rx.count, in tegra_ivc_advance_rx()
[all …]
/Linux-v5.10/arch/arc/lib/
Dmemcpy-archs.S9 # define SHIFT_1(RX,RY,IMM) asl RX, RY, IMM ; << argument
10 # define SHIFT_2(RX,RY,IMM) lsr RX, RY, IMM ; >> argument
11 # define MERGE_1(RX,RY,IMM) asl RX, RY, IMM argument
12 # define MERGE_2(RX,RY,IMM) argument
13 # define EXTRACT_1(RX,RY,IMM) and RX, RY, 0xFFFF argument
14 # define EXTRACT_2(RX,RY,IMM) lsr RX, RY, IMM argument
16 # define SHIFT_1(RX,RY,IMM) lsr RX, RY, IMM ; >> argument
17 # define SHIFT_2(RX,RY,IMM) asl RX, RY, IMM ; << argument
18 # define MERGE_1(RX,RY,IMM) asl RX, RY, IMM ; << argument
19 # define MERGE_2(RX,RY,IMM) asl RX, RY, IMM ; << argument
[all …]
/Linux-v5.10/drivers/net/wireless/broadcom/b43/
Dradio_2055.h15 #define B2055_C1_SP_RXGC1 0x07 /* SP RX GC1 Core 1 */
16 #define B2055_C1_SP_RXGC2 0x08 /* SP RX GC2 Core 1 */
17 #define B2055_C2_SP_RXGC1 0x09 /* SP RX GC1 Core 2 */
18 #define B2055_C2_SP_RXGC2 0x0A /* SP RX GC2 Core 2 */
110 #define B2055_C1_RX_RFSPC1 0x66 /* Core 1 RX RF SPC1 */
111 #define B2055_C1_RX_RFR1 0x67 /* Core 1 RX RF reg 1 */
112 #define B2055_C1_RX_RFR2 0x68 /* Core 1 RX RF reg 2 */
113 #define B2055_C1_RX_RFRCAL 0x69 /* Core 1 RX RF RCAL */
114 #define B2055_C1_RX_BB_BLCMP 0x6A /* Core 1 RX Baseband BUFI LPF CMP */
115 #define B2055_C1_RX_BB_LPF 0x6B /* Core 1 RX Baseband LPF */
[all …]
/Linux-v5.10/arch/x86/crypto/
Dcast5-avx-x86_64-asm_64.S46 #define RX %xmm8 macro
126 F_head(b1, RX, RGI1, RGI2, op0); \
127 F_head(b2, RX, RGI3, RGI4, op0); \
129 F_tail(b1, RX, RGI1, RGI2, op1, op2, op3); \
132 vpxor a1, RX, a1; \
244 inpack_blocks(RL1, RR1, RTMP, RX, RKM);
245 inpack_blocks(RL2, RR2, RTMP, RX, RKM);
246 inpack_blocks(RL3, RR3, RTMP, RX, RKM);
247 inpack_blocks(RL4, RR4, RTMP, RX, RKM);
277 outunpack_blocks(RR1, RL1, RTMP, RX, RKM);
[all …]
/Linux-v5.10/drivers/net/wireless/ti/wl18xx/
Ddebugfs.c83 WL18XX_DEBUGFS_FWSTATS_FILE(rx, rx_beacon_early_term, "%u");
84 WL18XX_DEBUGFS_FWSTATS_FILE(rx, rx_out_of_mpdu_nodes, "%u");
85 WL18XX_DEBUGFS_FWSTATS_FILE(rx, rx_hdr_overflow, "%u");
86 WL18XX_DEBUGFS_FWSTATS_FILE(rx, rx_dropped_frame, "%u");
87 WL18XX_DEBUGFS_FWSTATS_FILE(rx, rx_done, "%u");
88 WL18XX_DEBUGFS_FWSTATS_FILE(rx, rx_defrag, "%u");
89 WL18XX_DEBUGFS_FWSTATS_FILE(rx, rx_defrag_end, "%u");
90 WL18XX_DEBUGFS_FWSTATS_FILE(rx, rx_cmplt, "%u");
91 WL18XX_DEBUGFS_FWSTATS_FILE(rx, rx_pre_complt, "%u");
92 WL18XX_DEBUGFS_FWSTATS_FILE(rx, rx_cmplt_task, "%u");
[all …]
/Linux-v5.10/net/tipc/
Dcrypto.c76 STAT_BADMSGS = STAT_BADKEYS, /* rx only */
109 passive:2, /* rx only */
113 passive:2, /* rx only */
137 * @users: the number of the key users (TX/RX)
175 * struct tipc_crypto - TIPC TX/RX crypto structure
177 * @node: TIPC node (RX)
179 * @peer_rx_active: replicated peer RX active key index
180 * @key_gen: TX/RX key generation
185 * @work: delayed work sched for TX/RX
241 /* struct tipc_crypto_rx_ctx - RX context for callbacks */
[all …]
/Linux-v5.10/drivers/net/ethernet/pasemi/
Dpasemi_mac_ethtool.c19 { "rx-drops" },
20 { "rx-bytes" },
21 { "rx-packets" },
22 { "rx-broadcast-packets" },
23 { "rx-multicast-packets" },
24 { "rx-crc-errors" },
25 { "rx-undersize-errors" },
26 { "rx-oversize-errors" },
27 { "rx-short-fragment-errors" },
28 { "rx-jabber-errors" },
[all …]
/Linux-v5.10/drivers/net/ethernet/microchip/
Dlan743x_main.c200 struct lan743x_rx *rx = context; in lan743x_rx_isr() local
201 struct lan743x_adapter *adapter = rx->adapter; in lan743x_rx_isr()
206 INT_BIT_DMA_RX_(rx->channel_number)); in lan743x_rx_isr()
209 if (int_sts & INT_BIT_DMA_RX_(rx->channel_number)) { in lan743x_rx_isr()
210 u32 rx_frame_bit = DMAC_INT_BIT_RXFRM_(rx->channel_number); in lan743x_rx_isr()
227 napi_schedule(&rx->napi); in lan743x_rx_isr()
235 INT_BIT_DMA_RX_(rx->channel_number)); in lan743x_rx_isr()
250 lan743x_rx_isr(&adapter->rx[channel], in lan743x_intr_shared_isr()
645 /* map RX interrupt to vector */ in lan743x_intr_open()
655 /* Remove RX interrupt from shared mask */ in lan743x_intr_open()
[all …]
/Linux-v5.10/drivers/spi/
Dspi-loopback-test.c68 /* check rx ranges */
77 .description = "tx/rx-transfer - start of page",
86 .rx_buf = RX(0),
91 .description = "tx/rx-transfer - crossing PAGE_SIZE",
100 .rx_buf = RX(PAGE_SIZE - 4),
117 .description = "rx-transfer - only",
124 .rx_buf = RX(0),
180 .description = "two transfers tx then rx - alter both",
191 .rx_buf = RX(0),
196 .description = "two transfers tx then rx - alter tx",
[all …]
/Linux-v5.10/drivers/net/ethernet/intel/e1000e/
Dregs.h42 #define E1000_RCTL 0x00100 /* Rx Control - RW */
45 #define E1000_RXCW 0x00180 /* Rx Configuration Word - RO */
63 #define E1000_ERT 0x02008 /* Early Rx Threshold - RW */
67 #define E1000_RDFH 0x02410 /* Rx Data FIFO Head - RW */
68 #define E1000_RDFT 0x02418 /* Rx Data FIFO Tail - RW */
69 #define E1000_RDFHS 0x02420 /* Rx Data FIFO Head Saved - RW */
70 #define E1000_RDFTS 0x02428 /* Rx Data FIFO Tail Saved - RW */
71 #define E1000_RDFPC 0x02430 /* Rx Data FIFO Packet Count - RW */
72 /* Split and Replication Rx Control - RW */
73 #define E1000_RDTR 0x02820 /* Rx Delay Timer - RW */
[all …]

12345678910>>...132