/kernel/linux/linux-5.10/drivers/net/ethernet/google/gve/ |
D | gve_rx.c | 16 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 …]
|
/kernel/linux/linux-5.10/net/rxrpc/ |
D | af_rxrpc.c | 76 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 …]
|
D | call_accept.c | 34 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 …]
|
D | call_object.c | 66 struct rxrpc_call *rxrpc_find_call_by_user_ID(struct rxrpc_sock *rx, in rxrpc_find_call_by_user_ID() argument 72 _enter("%p,%lx", rx, user_call_ID); in rxrpc_find_call_by_user_ID() 74 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() 102 struct rxrpc_call *rxrpc_alloc_call(struct rxrpc_sock *rx, gfp_t gfp, in rxrpc_alloc_call() argument 106 struct rxrpc_net *rxnet = rxrpc_net(sock_net(&rx->sk)); in rxrpc_alloc_call() 127 if (rx->sk.sk_kern_sock) in rxrpc_alloc_call() 174 static struct rxrpc_call *rxrpc_alloc_client_call(struct rxrpc_sock *rx, in rxrpc_alloc_client_call() argument [all …]
|
/kernel/linux/linux-5.10/arch/arm/include/debug/ |
D | icedcc.S | 15 .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 …]
|
D | samsung.S | 12 .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 …]
|
D | 8250.S | 15 .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 …]
|
D | efm32.S | 16 .macro addruart, rx, tmp, tmp2 17 ldr \rx, =(CONFIG_DEBUG_UART_PHYS) 25 str \tmp, [\rx, #UARTn_CMD] 28 .macro senduart,rd,rx argument 29 strb \rd, [\rx, #UARTn_TXDATA] 32 .macro waituartcts,rd,rx argument 35 .macro waituarttxrdy,rd,rx argument 36 1001: ldr \rd, [\rx, #UARTn_STATUS] 41 .macro busyuart,rd,rx argument 42 1001: ldr \rd, [\rx, UARTn_STATUS]
|
D | msm.S | 14 .macro senduart, rd, rx argument 17 str \rd, [\rx, #0x70] 20 .macro waituartcts,rd,rx argument 23 .macro waituarttxrdy, rd, rx argument 25 ldr \rd, [\rx, #0x08] 30 1001: ldr \rd, [\rx, #0x14] 38 str \rd, [\rx, #0x10] 42 str \rd, [\rx, #0x40] 44 ldr \rd, [\rx, #0x08] 47 .macro busyuart, rd, rx argument
|
D | omap2plus.S | 63 .macro senduart,rd,rx argument 64 orr \rd, \rd, \rx, lsl #24 @ preserve LSR reg offset 65 bic \rx, \rx, #0xff @ get base (THR) reg address 66 strb \rd, [\rx] @ send lower byte of rd 67 orr \rx, \rx, \rd, lsr #24 @ restore original rx (LSR) 71 .macro busyuart,rd,rx argument 72 1001: ldrb \rd, [\rx] @ rx contains UART_LSR address 78 .macro waituartcts,rd,rx argument 81 .macro waituarttxrdy,rd,rx argument
|
D | renesas-scif.S | 36 .macro waituartcts,rd,rx argument 39 .macro waituarttxrdy, rd, rx argument 40 1001: ldrh \rd, [\rx, #FSR] 45 .macro senduart, rd, rx argument 46 strb \rd, [\rx, #FTDR] 47 ldrh \rd, [\rx, #FSR] 49 strh \rd, [\rx, #FSR] 52 .macro busyuart, rd, rx argument 53 1001: ldrh \rd, [\rx, #FSR]
|
/kernel/linux/linux-5.10/net/mac80211/ |
D | rx.c | 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() 1034 static ieee80211_rx_result ieee80211_rx_mesh_check(struct ieee80211_rx_data *rx) in ieee80211_rx_mesh_check() argument 1036 struct ieee80211_hdr *hdr = (struct ieee80211_hdr *)rx->skb->data; in ieee80211_rx_mesh_check() [all …]
|
D | wpa.c | 95 ieee80211_rx_h_michael_mic_verify(struct ieee80211_rx_data *rx) in ieee80211_rx_h_michael_mic_verify() argument 101 struct sk_buff *skb = rx->skb; in ieee80211_rx_h_michael_mic_verify() 122 if (!(status->flag & RX_FLAG_IV_STRIPPED) && rx->key && in ieee80211_rx_h_michael_mic_verify() 123 rx->key->conf.cipher == WLAN_CIPHER_SUITE_TKIP) in ieee80211_rx_h_michael_mic_verify() 134 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() 155 if (skb_linearize(rx->skb)) in ieee80211_rx_h_michael_mic_verify() 161 key = &rx->key->conf.key[NL80211_TKIP_DATA_OFFSET_RX_MIC_KEY]; 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() [all …]
|
/kernel/linux/linux-5.10/drivers/firmware/tegra/ |
D | ivc.c | 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() 158 READ_ONCE(ivc->rx.channel->rx.count) + 1); in tegra_ivc_advance_rx() [all …]
|
/kernel/linux/linux-5.10/drivers/staging/gdm724x/ |
D | gdm_mux.c | 111 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 …]
|
D | gdm_usb.c | 212 static struct usb_rx *get_rx_struct(struct rx_cxt *rx, int *no_spc) in get_rx_struct() argument 217 spin_lock_irqsave(&rx->rx_lock, flags); in get_rx_struct() 219 if (list_empty(&rx->free_list)) { in get_rx_struct() 220 spin_unlock_irqrestore(&rx->rx_lock, flags); in get_rx_struct() 224 r = list_entry(rx->free_list.next, struct usb_rx, free_list); in get_rx_struct() 227 rx->avail_count--; in get_rx_struct() 229 *no_spc = list_empty(&rx->free_list) ? 1 : 0; in get_rx_struct() 231 spin_unlock_irqrestore(&rx->rx_lock, flags); in get_rx_struct() 236 static void put_rx_struct(struct rx_cxt *rx, struct usb_rx *r) in put_rx_struct() argument 240 spin_lock_irqsave(&rx->rx_lock, flags); in put_rx_struct() [all …]
|
/kernel/linux/linux-5.10/drivers/usb/musb/ |
D | cppi_dma.c | 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() 93 musb_writel(&rx->rx_len_len, 0, 0); in cppi_reset_rx() 94 musb_writel(&rx->rx_cnt_cnt, 0, 0); in cppi_reset_rx() 165 for (i = 0; i < ARRAY_SIZE(controller->rx); i++) { in cppi_controller_start() 166 controller->rx[i].transmit = false; in cppi_controller_start() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/brocade/bna/ |
D | bna_tx_rx.c | 184 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 …]
|
/kernel/linux/linux-5.10/drivers/media/radio/wl128x/ |
D | fmdrv_rx.c | 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() 62 payload = (freq - fmdev->rx.region.bot_freq) / FM_FREQ_MUL; in fm_rx_set_freq() [all …]
|
/kernel/linux/linux-5.10/net/tipc/ |
D | crypto.c | 281 static bool tipc_crypto_key_try_align(struct tipc_crypto *rx, u8 new_pending); 283 struct tipc_crypto *rx, 286 static void tipc_crypto_key_synch(struct tipc_crypto *rx, struct sk_buff *skb); 301 static bool tipc_crypto_key_rcv(struct tipc_crypto *rx, struct tipc_msg *hdr); 1208 struct tipc_crypto *tx, *rx; in tipc_crypto_key_flush() local 1214 rx = c; in tipc_crypto_key_flush() 1215 tx = tipc_net(rx->net)->crypto_tx; in tipc_crypto_key_flush() 1216 if (cancel_delayed_work(&rx->work)) { in tipc_crypto_key_flush() 1217 kfree(rx->skey); in tipc_crypto_key_flush() 1218 rx->skey = NULL; in tipc_crypto_key_flush() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/microchip/ |
D | lan743x_main.c | 200 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() 659 &adapter->rx[index]); in lan743x_intr_open() 1955 static int lan743x_rx_next_index(struct lan743x_rx *rx, int index) in lan743x_rx_next_index() argument [all …]
|
/kernel/linux/linux-5.10/drivers/net/wireless/ti/wl18xx/ |
D | debugfs.c | 83 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 …]
|
/kernel/linux/linux-5.10/drivers/net/usb/ |
D | asix_common.c | 66 static void reset_asix_rx_fixup_info(struct asix_rx_fixup_info *rx) in reset_asix_rx_fixup_info() argument 73 if (rx->ax_skb) { in reset_asix_rx_fixup_info() 75 kfree_skb(rx->ax_skb); in reset_asix_rx_fixup_info() 76 rx->ax_skb = NULL; in reset_asix_rx_fixup_info() 82 rx->remaining = 0; in reset_asix_rx_fixup_info() 83 rx->split_head = false; in reset_asix_rx_fixup_info() 84 rx->header = 0; in reset_asix_rx_fixup_info() 88 struct asix_rx_fixup_info *rx) in asix_rx_fixup_internal() argument 102 if (rx->remaining && (rx->remaining + sizeof(u32) <= skb->len)) { in asix_rx_fixup_internal() 103 offset = ((rx->remaining + 1) & 0xfffe); in asix_rx_fixup_internal() [all …]
|
/kernel/linux/linux-5.10/drivers/staging/most/i2c/ |
D | i2c.c | 38 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() 100 pr = MSEC_PER_SEC / jiffies_to_msecs(dev->rx.delay); in configure_channel() 131 cancel_delayed_work_sync(&dev->rx.dwork); in enqueue() 132 list_add_tail(&mbo->list, &dev->rx.list); in enqueue() 133 if (dev->rx.int_disabled || polling_rate) in enqueue() 134 pending_rx_work(&dev->rx.dwork.work); in enqueue() 175 cancel_delayed_work_sync(&dev->rx.dwork); in poison_channel() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
D | dr_matcher.c | 207 bool inner, rx; in dr_matcher_set_ste_builders() local 212 rx = nic_dmn->ste_type == MLX5DR_STE_TYPE_RX; in dr_matcher_set_ste_builders() 243 mlx5dr_ste_build_general_purpose(&sb[idx++], &mask, inner, rx); in dr_matcher_set_ste_builders() 246 mlx5dr_ste_build_register_0(&sb[idx++], &mask, inner, rx); in dr_matcher_set_ste_builders() 249 mlx5dr_ste_build_register_1(&sb[idx++], &mask, inner, rx); in dr_matcher_set_ste_builders() 255 dmn, inner, rx); in dr_matcher_set_ste_builders() 261 inner, rx); in dr_matcher_set_ste_builders() 265 mlx5dr_ste_build_eth_l2_src(&sb[idx++], &mask, inner, rx); in dr_matcher_set_ste_builders() 268 mlx5dr_ste_build_eth_l2_dst(&sb[idx++], &mask, inner, rx); in dr_matcher_set_ste_builders() 273 inner, rx); in dr_matcher_set_ste_builders() [all …]
|