Home
last modified time | relevance | path

Searched refs:rx (Results 1 – 25 of 1251) sorted by relevance

12345678910>>...51

/linux/drivers/net/ethernet/google/gve/
A Dgve_rx_dqo.c178 struct gve_rx_ring *rx = &priv->rx[idx]; in gve_rx_free_ring_dqo() local
192 rx->q_resources, rx->q_resources_bus); in gve_rx_free_ring_dqo()
226 struct gve_rx_ring *rx = &priv->rx[idx]; in gve_rx_alloc_ring_dqo() local
237 memset(rx, 0, sizeof(*rx)); in gve_rx_alloc_ring_dqo()
247 rx->dqo.buf_states = kvcalloc(rx->dqo.num_buf_states, in gve_rx_alloc_ring_dqo()
294 const struct gve_rx_ring *rx = &priv->rx[queue_idx]; in gve_rx_write_doorbell_dqo() local
499 if (rx->ctx.skb_tail != rx->ctx.skb_head) { in gve_rx_append_frags()
574 rx->ctx.skb_tail = rx->ctx.skb_head; in gve_rx_dqo()
589 rx->ctx.skb_tail = rx->ctx.skb_head; in gve_rx_dqo()
638 skb_record_rx_queue(rx->ctx.skb_head, rx->q_num); in gve_rx_complete_skb()
[all …]
A Dgve_rx.c45 struct gve_rx_ring *rx = &priv->rx[idx]; in gve_rx_free_ring() local
167 memset(rx, 0, sizeof(*rx)); in gve_rx_alloc_ring()
412 u32 idx = rx->cnt & rx->mask; in gve_rx_ctx_init()
553 idx = rx->cnt & rx->mask; in gve_rx()
589 idx = rx->cnt & rx->mask; in gve_rx()
638 next_idx = rx->cnt & rx->mask; in gve_rx_work_pending()
709 u32 idx = rx->cnt & rx->mask; in gve_clean_rx_done()
734 idx = rx->cnt & rx->mask; in gve_clean_rx_done()
739 if (!work_done && rx->fill_cnt - rx->cnt > rx->db_threshold) in gve_clean_rx_done()
753 } else if (rx->fill_cnt - rx->cnt <= rx->db_threshold) { in gve_clean_rx_done()
[all …]
/linux/drivers/infiniband/hw/hfi1/
A Dnetdev_rx.c194 rx->rxq = kcalloc_node(rx->num_rx_q, sizeof(*rx->rxq), in hfi1_netdev_rxq_init()
197 if (!rx->rxq) { in hfi1_netdev_rxq_init()
210 rxq->rx = rx; in hfi1_netdev_rxq_init()
238 kfree(rx->rxq); in hfi1_netdev_rxq_init()
239 rx->rxq = NULL; in hfi1_netdev_rxq_init()
258 kfree(rx->rxq); in hfi1_netdev_rxq_deinit()
259 rx->rxq = NULL; in hfi1_netdev_rxq_deinit()
260 rx->num_rx_q = 0; in hfi1_netdev_rxq_deinit()
358 rx = kzalloc_node(sizeof(*rx), GFP_KERNEL, dd->node); in hfi1_alloc_rx()
360 if (!rx) in hfi1_alloc_rx()
[all …]
/linux/net/rxrpc/
A Daf_rxrpc.c144 lock_sock(&rx->sk); in rxrpc_bind()
148 rx->srx = *srx; in rxrpc_bind()
149 local = rxrpc_lookup_local(sock_net(&rx->sk), &rx->srx); in rxrpc_bind()
218 lock_sock(&rx->sk); in rxrpc_listen()
306 key = rx->key; in rxrpc_kernel_begin_call()
528 rx->srx.transport.family = rx->family; in rxrpc_sendmsg()
619 if (rx->key) in rxrpc_setsockopt()
629 if (rx->key) in rxrpc_setsockopt()
787 memset(&rx->srx, 0, sizeof(rx->srx)); in rxrpc_create()
878 if (rx->local && rcu_access_pointer(rx->local->service) == rx) { in rxrpc_release_sock()
[all …]
A Dcall_accept.c49 max = rx->sk.sk_max_ack_backlog; in rxrpc_service_prealloc_one()
50 tmp = rx->sk.sk_ack_backlog; 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()
140 write_unlock(&rx->call_lock); in rxrpc_service_prealloc_one()
153 write_unlock(&rx->call_lock); in rxrpc_service_prealloc_one()
171 rx->backlog = b; in rxrpc_service_prealloc()
188 rx->backlog = NULL; in rxrpc_discard_prealloc()
224 if (rx->discard_new_call) { in rxrpc_discard_prealloc()
395 if (rx->notify_new_call) in rxrpc_new_incoming_call()
[all …]
A Dcall_object.c74 read_lock(&rx->call_lock); in rxrpc_find_call_by_user_ID()
76 p = rx->calls.rb_node; in rxrpc_find_call_by_user_ID()
88 read_unlock(&rx->call_lock); in rxrpc_find_call_by_user_ID()
94 read_unlock(&rx->call_lock); in rxrpc_find_call_by_user_ID()
127 if (rx->sk.sk_kern_sock) in rxrpc_alloc_call()
273 release_sock(&rx->sk); in rxrpc_new_client_call()
293 write_lock(&rx->call_lock); in rxrpc_new_client_call()
295 pp = &rx->calls.rb_node; in rxrpc_new_client_call()
325 release_sock(&rx->sk); in rxrpc_new_client_call()
351 release_sock(&rx->sk); in rxrpc_new_client_call()
[all …]
/linux/net/mac80211/
A Drx.c2070 rx->key = rcu_dereference(rx->sta->gtk[keyidx]); in ieee80211_rx_h_decrypt()
2286 rx->seqno_idx, &(rx->skb)); in ieee80211_rx_h_defragment()
2643 rx->sta->rx_stats.msdu[rx->seqno_idx]++; in ieee80211_deliver_skb()
3009 rx->sdata->dev, rx->sta->sta.addr, GFP_ATOMIC); in ieee80211_rx_h_data()
3205 rx->skb->data, rx->skb->len, in ieee80211_rx_h_mgmt_check()
3602 rx->skb->data, rx->skb->len, 0)) { in ieee80211_rx_h_userspace_mgmt()
4016 drv_event_callback(rx.local, rx.sdata, &event); in ieee80211_release_reorder_timeout()
4702 memset(&rx, 0, sizeof(rx)); in __ieee80211_rx_handle_8023()
4717 rx.sdata = rx.sta->sdata; in __ieee80211_rx_handle_8023()
4749 memset(&rx, 0, sizeof(rx)); in __ieee80211_rx_handle_packet()
[all …]
A Dwpa.c134 if (!rx->key || rx->key->conf.cipher != WLAN_CIPHER_SUITE_TKIP || in ieee80211_rx_h_michael_mic_verify()
138 if (rx->sdata->vif.type == NL80211_IFTYPE_AP && rx->key->conf.keyidx) { in ieee80211_rx_h_michael_mic_verify()
171 rx->key->u.tkip.rx[rx->security_idx].iv32 = rx->tkip.iv32; in ieee80211_rx_h_michael_mic_verify()
172 rx->key->u.tkip.rx[rx->security_idx].iv16 = rx->tkip.iv16; in ieee80211_rx_h_michael_mic_verify()
189 rx->key ? rx->key->conf.keyidx : -1, in ieee80211_rx_h_michael_mic_verify()
298 &rx->tkip.iv32, in ieee80211_crypto_tkip_decrypt()
299 &rx->tkip.iv16); in ieee80211_crypto_tkip_decrypt()
862 if (!rx->sta || !rx->sta->cipher_scheme || in ieee80211_crypto_cs_decrypt()
895 if (pskb_trim(rx->skb, rx->skb->len - cs->mic_len)) in ieee80211_crypto_cs_decrypt()
898 memmove(rx->skb->data + cs->hdr_len, rx->skb->data, hdrlen); in ieee80211_crypto_cs_decrypt()
[all …]
/linux/drivers/net/ethernet/microchip/sparx5/
A Dsparx5_fdma.c216 db_hw = &rx->dcb_entries[rx->dcb_index].db[rx->db_index]; in sparx5_fdma_rx_get_frame()
219 skb = rx->skb[rx->dcb_index][rx->db_index]; in sparx5_fdma_rx_get_frame()
226 rx->skb[rx->dcb_index][rx->db_index] = new_skb; in sparx5_fdma_rx_get_frame()
251 rx->packets++; in sparx5_fdma_rx_get_frame()
259 struct sparx5 *sparx5 = container_of(rx, struct sparx5, rx); in sparx5_fdma_napi_callback()
265 rx->db_index++; in sparx5_fdma_napi_callback()
274 old_dcb = &rx->dcb_entries[rx->dcb_index]; in sparx5_fdma_napi_callback()
344 struct sparx5_rx *rx = &sparx5->rx; in sparx5_fdma_rx_alloc() local
354 rx->dma = virt_to_phys(rx->dcb_entries); in sparx5_fdma_rx_alloc()
355 rx->last_entry = rx->dcb_entries; in sparx5_fdma_rx_alloc()
[all …]
/linux/drivers/firmware/tegra/
A Divc.c68 } rx; member
98 u32 rx = READ_ONCE(header->rx.count); in tegra_ivc_empty() local
120 u32 rx = READ_ONCE(header->rx.count); in tegra_ivc_full() local
133 u32 rx = READ_ONCE(header->rx.count); in tegra_ivc_available() local
157 WRITE_ONCE(ivc->rx.channel->rx.count, in tegra_ivc_advance_rx()
158 READ_ONCE(ivc->rx.channel->rx.count) + 1); in tegra_ivc_advance_rx()
308 tegra_ivc_flush(ivc, ivc->rx.phys + rx); in tegra_ivc_read_advance()
440 ivc->rx.channel->rx.count = 0; in tegra_ivc_notified()
479 ivc->rx.channel->rx.count = 0; in tegra_ivc_notified()
639 ivc->rx.phys = dma_map_single(peer, rx, queue_size, in tegra_ivc_init()
[all …]
/linux/arch/arm/include/debug/
A Dicedcc.S15 .macro senduart, rd, rx
19 .macro busyuart, rd, rx
22 tst \rx, #0x20000000
35 tst \rx, #0x20000000
42 .macro senduart, rd, rx
46 .macro busyuart, rd, rx
49 tst \rx, #0x10000000
62 tst \rx, #0x10000000
69 .macro senduart, rd, rx
76 tst \rx, #2
[all …]
A 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
47 .macro senduart,rd,rx
51 .macro busyuart, rd, rx
58 fifo_full \rd, \rx
72 .macro waituartcts,rd,rx
75 .macro waituarttxrdy,rd,rx
[all …]
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
41 .macro busyuart,rd,rx
[all …]
/linux/drivers/staging/gdm724x/
A Dgdm_mux.c210 struct rx_cxt *rx = &mux_dev->rx; in do_rx() local
229 put_rx_struct(rx, r); in do_rx()
251 struct rx_cxt *rx = &mux_dev->rx; in gdm_mux_rcv_complete() local
260 put_rx_struct(rx, r); in gdm_mux_rcv_complete()
277 struct rx_cxt *rx = &mux_dev->rx; in gdm_mux_recv() local
286 r = get_rx_struct(rx); in gdm_mux_recv()
316 put_rx_struct(rx, r); in gdm_mux_recv()
431 struct rx_cxt *rx = &mux_dev->rx; in release_usb() local
466 struct rx_cxt *rx = &mux_dev->rx; in init_usb() local
585 struct rx_cxt *rx; in gdm_mux_suspend() local
[all …]
A Dgdm_usb.c227 rx->avail_count--; in get_rx_struct()
243 rx->avail_count++; in put_rx_struct()
250 struct rx_cxt *rx = &udev->rx; in release_usb() local
305 struct rx_cxt *rx = &udev->rx; in init_usb() local
385 struct rx_cxt *rx = &udev->rx; in do_rx() local
460 struct rx_cxt *rx = r->rx; in gdm_usb_rcv_complete() local
462 struct lte_udev *udev = container_of(r->rx, struct lte_udev, rx); in gdm_usb_rcv_complete()
491 struct rx_cxt *rx = &udev->rx; in gdm_usb_recv() local
512 r->rx = rx; in gdm_usb_recv()
916 rx = &udev->rx; in gdm_usb_suspend()
[all …]
/linux/drivers/usb/musb/
A Dcppi_dma.c765 dma_addr_t addr = rx->buf_dma + rx->offset; in cppi_next_rx_segment()
766 size_t length = rx->buf_len - rx->offset; in cppi_next_rx_segment()
826 rx->channel.actual_len, rx->buf_len); in cppi_next_rx_segment()
832 rx->head = bd; in cppi_next_rx_segment()
874 bd = rx->head; in cppi_next_rx_segment()
1003 struct cppi_channel *rx = &cppi->rx[ch]; in cppi_rx_scan() local
1104 rx->index, in cppi_rx_scan()
1105 rx->head, rx->tail, in cppi_rx_scan()
1147 u32 rx, tx; in cppi_interrupt() local
1259 for (index = 0; rx; rx = rx >> 1, index++) { in cppi_interrupt()
[all …]
/linux/drivers/net/ethernet/brocade/bna/
A Dbna_tx_rx.c613 rxf->rx = rx; in bna_rxf_init()
1286 (rx)->rx_stall_cbfn((rx)->bna->bnad, (rx)); \
1370 rx->rx_cleanup_cbfn(rx->bna->bnad, rx); in bna_rx_sm_stop_wait()
1407 rx->rx_post_cbfn(rx->bna->bnad, rx); in bna_rx_sm_rxf_start_wait_entry()
1424 rx->rx_cleanup_cbfn(rx->bna->bnad, rx); in bna_rx_sm_rxf_stop_wait()
1495 rx->rx_cleanup_cbfn(rx->bna->bnad, rx); in bna_rx_sm_started()
1516 rx->rx_cleanup_cbfn(rx->bna->bnad, rx); in bna_rx_sm_rxf_start_wait()
2344 rxp->rx = rx; in bna_rx_create()
2345 rxp->cq.rx = rx; in bna_rx_create()
2379 q0->rx = rx; in bna_rx_create()
[all …]
/linux/drivers/media/radio/wl128x/
A Dfmdrv_rx.c18 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()
41 if (freq < fmdev->rx.region.bot_freq || freq > fmdev->rx.region.top_freq) { in fm_rx_set_freq()
180 last_frq = (fmdev->rx.region.top_freq - fmdev->rx.region.bot_freq) / FM_FREQ_MUL; in fm_rx_seek()
258 fmdev->rx.region.bot_freq; in fm_rx_seek()
276 fmdev->rx.freq = (fmdev->rx.region.bot_freq + in fm_rx_seek()
374 if (fmdev->rx.freq < fmdev->rx.region.bot_freq) in fm_rx_set_region()
376 else if (fmdev->rx.freq > fmdev->rx.region.top_freq) in fm_rx_set_region()
722 fmdev->rx.rds.wr_idx = 0; in fm_rx_set_rds_mode()
[all …]
/linux/drivers/net/ethernet/microchip/
A Dlan743x_main.c2071 if (rx->last_head < 0 || rx->last_head >= rx->ring_size) in lan743x_rx_process_buffer()
2077 descriptor = &rx->ring_cpu_ptr[rx->last_head]; in lan743x_rx_process_buffer()
2080 buffer_info = &rx->buffer_info[rx->last_head]; in lan743x_rx_process_buffer()
2124 lan743x_rx_reuse_ring_element(rx, rx->last_head); in lan743x_rx_process_buffer()
2180 napi_gro_receive(&rx->napi, rx->skb_head); in lan743x_rx_process_buffer()
2186 rx->last_tail = rx->last_head; in lan743x_rx_process_buffer()
2187 rx->last_head = lan743x_rx_next_index(rx, rx->last_head); in lan743x_rx_process_buffer()
2237 if (rx->buffer_info && rx->ring_cpu_ptr) { in lan743x_rx_ring_cleanup()
2246 sizeof(*rx->head_cpu_ptr), rx->head_cpu_ptr, in lan743x_rx_ring_cleanup()
2257 rx->ring_allocation_size, rx->ring_cpu_ptr, in lan743x_rx_ring_cleanup()
[all …]
/linux/net/tipc/
A Dcrypto.c1221 rx = c; in tipc_crypto_key_flush()
1337 skb_cb->tx_clone_ctx.rx = rx; in tipc_crypto_key_pick_tx()
1874 if (rx) { in tipc_crypto_rcv()
1880 rx->nokey = !(rx->skey || in tipc_crypto_rcv()
1883 rx->name, rx->nokey, in tipc_crypto_rcv()
1911 rx = skb_cb->tx_clone_ctx.rx; in tipc_crypto_rcv_complete()
1930 if (!rx) { in tipc_crypto_rcv_complete()
2001 if (rx) in tipc_crypto_rcv_complete()
2310 if (unlikely(rx->skey || (key_gen == rx->key_gen && rx->key.keys))) { in tipc_crypto_key_rcv()
2312 rx->skey, key_gen, rx->key_gen); in tipc_crypto_key_rcv()
[all …]
/linux/sound/soc/codecs/
A Dlpass-rx-macro.c1867 rx->rx_mclk_users++; in rx_macro_mclk_enable()
1874 rx->rx_mclk_users--; in rx_macro_mclk_enable()
2136 rx->clsh_users = 0; in rx_macro_enable_clsh_block()
3427 if (rx->reset_swr) in swclk_gate_enable()
3435 if (rx->reset_swr) in swclk_gate_enable()
3495 rx->hw.init = &init; in rx_macro_register_mclk_output()
3496 hw = &rx->hw; in rx_macro_register_mclk_output()
3520 struct rx_macro *rx; in rx_macro_probe() local
3524 rx = devm_kzalloc(dev, sizeof(*rx), GFP_KERNEL); in rx_macro_probe()
3525 if (!rx) in rx_macro_probe()
[all …]
/linux/drivers/net/wireless/ti/wl18xx/
A Ddebugfs.c477 DEBUGFS_FWSTATS_ADD(rx, rx_done); in wl18xx_debugfs_add_files()
478 DEBUGFS_FWSTATS_ADD(rx, rx_defrag); in wl18xx_debugfs_add_files()
479 DEBUGFS_FWSTATS_ADD(rx, rx_defrag_end); in wl18xx_debugfs_add_files()
480 DEBUGFS_FWSTATS_ADD(rx, rx_cmplt); in wl18xx_debugfs_add_files()
481 DEBUGFS_FWSTATS_ADD(rx, rx_pre_complt); in wl18xx_debugfs_add_files()
482 DEBUGFS_FWSTATS_ADD(rx, rx_cmplt_task); in wl18xx_debugfs_add_files()
483 DEBUGFS_FWSTATS_ADD(rx, rx_phy_hdr); in wl18xx_debugfs_add_files()
484 DEBUGFS_FWSTATS_ADD(rx, rx_timeout); in wl18xx_debugfs_add_files()
486 DEBUGFS_FWSTATS_ADD(rx, rx_timeout_wa); in wl18xx_debugfs_add_files()
487 DEBUGFS_FWSTATS_ADD(rx, defrag_called); in wl18xx_debugfs_add_files()
[all …]
/linux/drivers/net/usb/
A Dasix_common.c98 if (rx->ax_skb) { in reset_asix_rx_fixup_info()
101 rx->ax_skb = NULL; in reset_asix_rx_fixup_info()
107 rx->remaining = 0; in reset_asix_rx_fixup_info()
109 rx->header = 0; in reset_asix_rx_fixup_info()
127 if (rx->remaining && (rx->remaining + sizeof(u32) <= skb->len)) { in asix_rx_fixup_internal()
135 rx->remaining); in asix_rx_fixup_internal()
193 rx->remaining = 0; in asix_rx_fixup_internal()
196 if (rx->ax_skb) { in asix_rx_fixup_internal()
201 rx->ax_skb = NULL; in asix_rx_fixup_internal()
235 if (rx->ax_skb) { in asix_rx_fixup_common_free()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/
A Ddr_ste.c976 sb->rx = rx; in mlx5dr_ste_build_eth_l2_src_dst()
986 sb->rx = rx; in mlx5dr_ste_build_eth_l3_ipv6_dst()
996 sb->rx = rx; in mlx5dr_ste_build_eth_l3_ipv6_src()
1006 sb->rx = rx; in mlx5dr_ste_build_eth_l3_ipv4_5_tuple()
1016 sb->rx = rx; in mlx5dr_ste_build_eth_l2_src()
1026 sb->rx = rx; in mlx5dr_ste_build_eth_l2_dst()
1035 sb->rx = rx; in mlx5dr_ste_build_eth_l2_tnl()
1045 sb->rx = rx; in mlx5dr_ste_build_eth_l3_ipv4_misc()
1055 sb->rx = rx; in mlx5dr_ste_build_eth_ipv6_l3_l4()
1069 sb->rx = rx; in mlx5dr_ste_build_empty_always_hit()
[all …]
/linux/drivers/staging/most/i2c/
A Di2c.c38 struct rx { struct
43 } rx; member
89 dev->rx.int_disabled = false; in configure_channel()
99 dev->rx.delay = delay ? delay : 1; in configure_channel()
177 while (!list_empty(&dev->rx.list)) { in poison_channel()
217 mbo = list_first_mbo(&dev->rx.list); in do_rx_work()
236 if (list_empty(&dev->rx.list)) in pending_rx_work()
242 schedule_delayed_work(&dev->rx.dwork, dev->rx.delay); in pending_rx_work()
244 dev->rx.int_disabled = false; in pending_rx_work()
272 dev->rx.int_disabled = true; in most_irq_handler()
[all …]

Completed in 85 milliseconds

12345678910>>...51