Home
last modified time | relevance | path

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

12345678910>>...133

/linux/drivers/net/ethernet/google/gve/
H A Dgve_rx.c27 struct gve_rx_ring *rx, in gve_rx_unfill_pages() argument
30 u32 slots = rx->mask + 1; in gve_rx_unfill_pages()
33 if (!rx->data.page_info) in gve_rx_unfill_pages()
36 if (rx->data.raw_addressing) { in gve_rx_unfill_pages()
38 gve_rx_free_buffer(&priv->pdev->dev, &rx->data.page_info[i], in gve_rx_unfill_pages()
39 &rx->data.data_ring[i]); in gve_rx_unfill_pages()
42 page_ref_sub(rx->data.page_info[i].page, in gve_rx_unfill_pages()
43 rx->data.page_info[i].pagecnt_bias - 1); in gve_rx_unfill_pages()
45 for (i = 0; i < rx->qpl_copy_pool_mask + 1; i++) { in gve_rx_unfill_pages()
46 page_ref_sub(rx->qpl_copy_pool[i].page, in gve_rx_unfill_pages()
[all …]
/linux/sound/soc/codecs/
H A Dlpass-rx-macro.c162 #define CDC_RX_RXn_RX_PATH_CTL(rx, n) (0x0400 + rx->rxn_reg_stride * n) argument
170 #define CDC_RX_RXn_RX_PATH_CFG0(rx, n) (0x0404 + rx->rxn_reg_stride * n) argument
177 #define CDC_RX_RXn_RX_PATH_CFG1(rx, n) (0x0408 + rx->rxn_reg_stride * n) argument
181 #define CDC_RX_RXn_RX_PATH_CFG2(rx, n) (0x040C + rx->rxn_reg_stride * n) argument
184 #define CDC_RX_RXn_RX_PATH_CFG3(rx, n) (0x0410 + rx->rxn_reg_stride * n) argument
188 #define CDC_RX_RXn_RX_VOL_CTL(rx, n) (0x0414 + rx->rxn_reg_stride * n) argument
190 #define CDC_RX_RXn_RX_PATH_MIX_CTL(rx, n) (0x0418 + rx->rxn_reg_stride * n) argument
197 #define CDC_RX_RXn_RX_VOL_MIX_CTL(rx, n) (0x0420 + rx->rxn_reg_stride * n) argument
202 #define CDC_RX_RXn_RX_PATH_SEC3(rx, n) (0x042c + rx->rxn_reg_stride * n) argument
205 #define CDC_RX_RXn_RX_PATH_SEC7(rx, n) \ argument
[all …]
/linux/drivers/infiniband/hw/hfi1/
H A Dnetdev_rx.c8 * This file contains HFI1 support for netdev RX functionality
20 static int hfi1_netdev_setup_ctxt(struct hfi1_netdev_rx *rx, in hfi1_netdev_setup_ctxt() argument
24 struct hfi1_devdata *dd = rx->dd; in hfi1_netdev_setup_ctxt()
121 static int hfi1_netdev_allot_ctxt(struct hfi1_netdev_rx *rx, in hfi1_netdev_allot_ctxt() argument
125 struct hfi1_devdata *dd = rx->dd; in hfi1_netdev_allot_ctxt()
133 rc = hfi1_netdev_setup_ctxt(rx, *ctxt); in hfi1_netdev_allot_ctxt()
186 static int hfi1_netdev_rxq_init(struct hfi1_netdev_rx *rx) in hfi1_netdev_rxq_init() argument
190 struct hfi1_devdata *dd = rx->dd; in hfi1_netdev_rxq_init()
191 struct net_device *dev = rx->rx_napi; in hfi1_netdev_rxq_init()
193 rx->num_rx_q = dd->num_netdev_contexts; in hfi1_netdev_rxq_init()
[all …]
/linux/net/rxrpc/
H A Daf_rxrpc.c76 static int rxrpc_validate_address(struct rxrpc_sock *rx, in rxrpc_validate_address() argument
98 if (rx->family != AF_INET && in rxrpc_validate_address()
99 rx->family != AF_INET6) in rxrpc_validate_address()
108 if (rx->family != AF_INET6) in rxrpc_validate_address()
134 struct rxrpc_sock *rx = rxrpc_sk(sock->sk); in rxrpc_bind() local
138 _enter("%p,%p,%d", rx, saddr, len); in rxrpc_bind()
140 ret = rxrpc_validate_address(rx, srx, len); in rxrpc_bind()
145 lock_sock(&rx->sk); in rxrpc_bind()
147 switch (rx->sk.sk_state) { in rxrpc_bind()
149 rx->srx = *srx; in rxrpc_bind()
[all …]
H A Dcall_accept.c34 static int rxrpc_service_prealloc_one(struct rxrpc_sock *rx, in rxrpc_service_prealloc_one() argument
42 struct rxrpc_net *rxnet = rxrpc_net(sock_net(&rx->sk)); in rxrpc_service_prealloc_one()
48 max = rx->sk.sk_max_ack_backlog; in rxrpc_service_prealloc_one()
49 tmp = rx->sk.sk_ack_backlog; in rxrpc_service_prealloc_one()
74 peer = rxrpc_alloc_peer(rx->local, gfp, rxrpc_peer_new_prealloc); in rxrpc_service_prealloc_one()
98 call = rxrpc_alloc_call(rx, gfp, debug_id); in rxrpc_service_prealloc_one()
108 write_lock(&rx->call_lock); in rxrpc_service_prealloc_one()
111 pp = &rx->calls.rb_node; in rxrpc_service_prealloc_one()
133 rb_insert_color(&call->sock_node, &rx->calls); in rxrpc_service_prealloc_one()
136 list_add(&call->sock_link, &rx->sock_calls); in rxrpc_service_prealloc_one()
[all …]
/linux/tools/testing/selftests/drivers/net/netdevsim/
H A Dethtool-coalesce.sh30 ["rx-frames-low"]="rx-frame-low"
32 ["rx-frames-high"]="rx-frame-high"
34 ["rx-usecs"]="rx-usecs"
35 ["rx-frames"]="rx-frames"
36 ["rx-usecs-irq"]="rx-usecs-irq"
37 ["rx-frames-irq"]="rx-frames-irq"
44 ["rx-usecs-low"]="rx-usecs-low"
47 ["rx-usecs-high"]="rx-usecs-high"
53 ["rx-frames-low"]=""
55 ["rx-frames-high"]=""
[all …]
/linux/drivers/net/ethernet/brocade/bna/
H A 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 …]
H A 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/arch/arm/include/debug/
H A Dicedcc.S15 .macro senduart, rd, rx argument
19 .macro busyuart, rd, rx argument
21 mrc p14, 0, \rx, c0, c1, 0
22 tst \rx, #0x20000000
26 .macro waituartcts, rd, rx argument
29 .macro waituarttxrdy, rd, rx argument
34 mrc p14, 0, \rx, c0, c1, 0
35 tst \rx, #0x20000000
42 .macro senduart, rd, rx argument
46 .macro busyuart, rd, rx argument
[all …]
H A Dsamsung.S12 .macro fifo_level_s5pv210 rd, rx argument
13 ldr \rd, [\rx, # S3C2410_UFSTAT]
18 .macro fifo_full_s5pv210 rd, rx argument
19 ldr \rd, [\rx, # S3C2410_UFSTAT]
27 .macro fifo_level_s3c2440 rd, rx argument
28 ldr \rd, [\rx, # S3C2410_UFSTAT]
37 .macro fifo_full_s3c2440 rd, rx argument
38 ldr \rd, [\rx, # S3C2410_UFSTAT]
47 .macro senduart,rd,rx argument
48 strb \rd, [\rx, # S3C2410_UTXH]
[all …]
H A 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 argument
38 store \rd, [\rx, #UART_TX << UART_SHIFT]
[all …]
/linux/drivers/media/radio/wl128x/
H A 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/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_fdma.c13 struct lan966x_rx *rx = &lan966x->rx; in lan966x_fdma_rx_dataptr_cb() local
16 page = page_pool_dev_alloc_pages(rx->page_pool); in lan966x_fdma_rx_dataptr_cb()
20 rx->page[dcb][db] = page; in lan966x_fdma_rx_dataptr_cb()
51 static void lan966x_fdma_rx_free_pages(struct lan966x_rx *rx) in lan966x_fdma_rx_free_pages() argument
53 struct fdma *fdma = &rx->fdma; in lan966x_fdma_rx_free_pages()
58 page_pool_put_full_page(rx->page_pool, in lan966x_fdma_rx_free_pages()
59 rx->page[i][j], false); in lan966x_fdma_rx_free_pages()
63 static void lan966x_fdma_rx_free_page(struct lan966x_rx *rx) in lan966x_fdma_rx_free_page() argument
65 struct fdma *fdma = &rx->fdma; in lan966x_fdma_rx_free_page()
68 page = rx->page[fdma->dcb_index][fdma->db_index]; in lan966x_fdma_rx_free_page()
[all …]
/linux/drivers/firmware/tegra/
H A Divc.c49 * through the rx.channel pointer. This delineates ownership of the cache
68 } rx; member
103 u32 rx = tegra_ivc_header_read_field(map, rx.count); in tegra_ivc_empty() local
115 if (tx - rx > ivc->num_frames) in tegra_ivc_empty()
118 return tx == rx; in tegra_ivc_empty()
124 u32 rx = tegra_ivc_header_read_field(map, rx.count); in tegra_ivc_full() local
130 return tx - rx >= ivc->num_frames; in tegra_ivc_full()
136 u32 rx = tegra_ivc_header_read_field(map, rx.count); in tegra_ivc_available() local
144 return tx - rx; in tegra_ivc_available()
161 unsigned int count = tegra_ivc_header_read_field(&ivc->rx.map, rx.count); in tegra_ivc_advance_rx()
[all …]
/linux/Documentation/virt/kvm/
H A 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/drivers/net/phy/
H A 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/arch/arc/lib/
H A 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/tools/testing/selftests/drivers/net/hw/
H A Dpp_alloc_fail.py58 if stat2['rx-packets'] - stat1['rx-packets'] < 15000:
59 raise KsftFailEx("Traffic seems low:", stat2['rx-packets'] - stat1['rx-packets'])
69 if 'rx-alloc-fail' not in stats:
70 raise KsftSkipEx("Driver does not report 'rx-alloc-fail' via qstats")
85 if s2['rx-alloc-fail'] - s1['rx-alloc-fail'] < 1:
87 if s2['rx-alloc-fail'] - s1['rx-alloc-fail'] < 100:
88 … raise KsftSkipEx("Allocation increasing too slowly", s2['rx-alloc-fail'] - s1['rx-alloc-fail'],
89 "packets:", s2['rx-packets'] - s1['rx-packets'])
94 if 'rx' in g and g["rx"] * 2 <= g["rx-max"]:
95 new_g = g['rx'] * 2
[all …]
/linux/drivers/net/ethernet/aquantia/atlantic/
H A Daq_ring.c8 /* File aq_ring.c: Definition of functions for Rx/Tx rings. */
100 u64_stats_update_begin(&self->stats.rx.syncp); in aq_get_rxpages()
101 self->stats.rx.pg_flips++; in aq_get_rxpages()
102 u64_stats_update_end(&self->stats.rx.syncp); in aq_get_rxpages()
110 u64_stats_update_begin(&self->stats.rx.syncp); in aq_get_rxpages()
111 self->stats.rx.pg_losts++; in aq_get_rxpages()
112 u64_stats_update_end(&self->stats.rx.syncp); in aq_get_rxpages()
116 u64_stats_update_begin(&self->stats.rx.syncp); in aq_get_rxpages()
117 self->stats.rx.pg_reuses++; in aq_get_rxpages()
118 u64_stats_update_end(&self->stats.rx.syncp); in aq_get_rxpages()
[all …]
/linux/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_fdma.c40 struct sparx5_rx *rx = &sparx5->rx; in sparx5_fdma_rx_dataptr_cb() local
43 skb = __netdev_alloc_skb(rx->ndev, fdma->db_size, GFP_ATOMIC); in sparx5_fdma_rx_dataptr_cb()
49 rx->skb[dcb][db] = skb; in sparx5_fdma_rx_dataptr_cb()
54 static void sparx5_fdma_rx_activate(struct sparx5 *sparx5, struct sparx5_rx *rx) in sparx5_fdma_rx_activate() argument
56 struct fdma *fdma = &rx->fdma; in sparx5_fdma_rx_activate()
64 /* Set the number of RX DBs to be used, and DB end-of-frame interrupt */ in sparx5_fdma_rx_activate()
70 /* Set the RX Watermark to max */ in sparx5_fdma_rx_activate()
75 /* Start RX fdma */ in sparx5_fdma_rx_activate()
79 /* Enable RX channel DB interrupt */ in sparx5_fdma_rx_activate()
84 /* Activate the RX channel */ in sparx5_fdma_rx_activate()
[all …]
/linux/drivers/net/wireless/broadcom/b43/
H A 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/net/tipc/
H A Dcrypto.c76 STAT_BADMSGS = STAT_BADKEYS, /* rx only */
109 passive:2, /* rx only */
113 passive:2, /* rx only */
139 * @users: the number of the key users (TX/RX)
178 * struct tipc_crypto - TIPC TX/RX crypto structure
180 * @node: TIPC node (RX)
182 * @peer_rx_active: replicated peer RX active key index
183 * @key_gen: TX/RX key generation
188 * @work: delayed work sched for TX/RX
245 /* struct tipc_crypto_rx_ctx - RX context for callbacks */
[all …]
/linux/drivers/net/wireless/ti/wl18xx/
H A 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/drivers/net/ethernet/pasemi/
H A 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/drivers/net/ethernet/microchip/
H A Dlan743x_main.c262 struct lan743x_rx *rx = context; in lan743x_rx_isr() local
263 struct lan743x_adapter *adapter = rx->adapter; in lan743x_rx_isr()
268 INT_BIT_DMA_RX_(rx->channel_number)); in lan743x_rx_isr()
271 if (int_sts & INT_BIT_DMA_RX_(rx->channel_number)) { in lan743x_rx_isr()
272 u32 rx_frame_bit = DMAC_INT_BIT_RXFRM_(rx->channel_number); in lan743x_rx_isr()
289 napi_schedule(&rx->napi); in lan743x_rx_isr()
297 INT_BIT_DMA_RX_(rx->channel_number)); in lan743x_rx_isr()
312 lan743x_rx_isr(&adapter->rx[channel], in lan743x_intr_shared_isr()
718 /* map RX interrupt to vector */ in lan743x_intr_open()
728 /* Remove RX interrupt from shared mask */ in lan743x_intr_open()
[all …]

12345678910>>...133