Home
last modified time | relevance | path

Searched refs:rx_info (Results 1 – 25 of 41) sorted by relevance

12

/linux-6.1.9/drivers/net/wireless/rsi/
Drsi_91x_sdio_ops.c242 dev->rx_info.sdio_int_counter++; in rsi_rx_handler()
260 dev->rx_info.sdio_intr_status_zero++; in rsi_rx_handler()
311 dev->rx_info.total_sdio_msdu_pending_intr++; in rsi_rx_handler()
326 dev->rx_info.total_sdio_unknown_intr++; in rsi_rx_handler()
365 if (!dev->rx_info.mgmt_buffer_full) in rsi_sdio_check_buffer_status()
366 dev->rx_info.mgmt_buf_full_counter++; in rsi_sdio_check_buffer_status()
367 dev->rx_info.mgmt_buffer_full = true; in rsi_sdio_check_buffer_status()
369 dev->rx_info.mgmt_buffer_full = false; in rsi_sdio_check_buffer_status()
373 if (!dev->rx_info.buffer_full) in rsi_sdio_check_buffer_status()
374 dev->rx_info.buf_full_counter++; in rsi_sdio_check_buffer_status()
[all …]
Drsi_91x_debugfs.c35 dev->rx_info.sdio_int_counter); in rsi_sdio_stats_read()
37 dev->rx_info.total_sdio_msdu_pending_intr); in rsi_sdio_stats_read()
39 dev->rx_info.buf_full_counter); in rsi_sdio_stats_read()
41 dev->rx_info.buf_semi_full_counter); in rsi_sdio_stats_read()
43 dev->rx_info.total_sdio_unknown_intr); in rsi_sdio_stats_read()
46 dev->rx_info.buffer_full); in rsi_sdio_stats_read()
48 dev->rx_info.semi_buffer_full); in rsi_sdio_stats_read()
50 dev->rx_info.mgmt_buffer_full); in rsi_sdio_stats_read()
52 dev->rx_info.buf_full_counter); in rsi_sdio_stats_read()
54 dev->rx_info.buf_semi_full_counter); in rsi_sdio_stats_read()
[all …]
Drsi_sdio.h113 struct receive_info rx_info; member
/linux-6.1.9/drivers/net/wireless/intel/iwlegacy/
D4965-calib.c96 struct stats_general_data *rx_info) in il4965_sens_energy_cck() argument
130 (u8) ((rx_info->beacon_silence_rssi_a & ALL_BAND_FILTER) >> 8); in il4965_sens_energy_cck()
132 (u8) ((rx_info->beacon_silence_rssi_b & ALL_BAND_FILTER) >> 8); in il4965_sens_energy_cck()
134 (u8) ((rx_info->beacon_silence_rssi_c & ALL_BAND_FILTER) >> 8); in il4965_sens_energy_cck()
157 val = min(rx_info->beacon_energy_b, rx_info->beacon_energy_c); in il4965_sens_energy_cck()
158 data->nrg_value[i] = min(rx_info->beacon_energy_a, val); in il4965_sens_energy_cck()
174 rx_info->beacon_energy_a, rx_info->beacon_energy_b, in il4965_sens_energy_cck()
175 rx_info->beacon_energy_c, max_nrg_cck - 6); in il4965_sens_energy_cck()
494 struct stats_rx_non_phy *rx_info; in il4965_sensitivity_calibration() local
511 rx_info = &(((struct il_notif_stats *)resp)->rx.general); in il4965_sensitivity_calibration()
[all …]
/linux-6.1.9/drivers/net/ethernet/natsemi/
Dns83820.c396 struct rx_info { struct
417 struct rx_info rx_info; argument
461 if (test_and_clear_bit(0, &dev->rx_info.idle)) { in kick_rx()
463 writel(dev->rx_info.phy_descs + in kick_rx()
464 (4 * DESC_SIZE * dev->rx_info.next_rx), in kick_rx()
466 if (dev->rx_info.next_rx == dev->rx_info.next_empty) in kick_rx()
499 #define nr_rx_empty(dev) ((NR_RX_DESC-2 + dev->rx_info.next_rx - dev->rx_info.next_empty) % NR_RX_D…
507 next_empty = dev->rx_info.next_empty; in ns83820_add_rx_skb()
517 dev->rx_info.next_empty, in ns83820_add_rx_skb()
518 dev->rx_info.nr_used, in ns83820_add_rx_skb()
[all …]
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/dvm/
Dcalib.c112 struct statistics_general_data *rx_info) in iwl_sens_energy_cck() argument
145 silence_rssi_a = (u8)((rx_info->beacon_silence_rssi_a & in iwl_sens_energy_cck()
147 silence_rssi_b = (u8)((rx_info->beacon_silence_rssi_b & in iwl_sens_energy_cck()
149 silence_rssi_c = (u8)((rx_info->beacon_silence_rssi_c & in iwl_sens_energy_cck()
174 val = min(rx_info->beacon_energy_b, rx_info->beacon_energy_c); in iwl_sens_energy_cck()
175 data->nrg_value[i] = min(rx_info->beacon_energy_a, val); in iwl_sens_energy_cck()
191 rx_info->beacon_energy_a, rx_info->beacon_energy_b, in iwl_sens_energy_cck()
192 rx_info->beacon_energy_c, max_nrg_cck - 6); in iwl_sens_energy_cck()
605 struct statistics_rx_non_phy *rx_info; in iwl_sensitivity_calibration() local
620 rx_info = &priv->statistics.rx_non_phy; in iwl_sensitivity_calibration()
[all …]
Drx.c237 struct statistics_rx_non_phy *rx_info; in iwlagn_rx_calc_noise() local
243 rx_info = &priv->statistics.rx_non_phy; in iwlagn_rx_calc_noise()
246 le32_to_cpu(rx_info->beacon_silence_rssi_a) & IN_BAND_FILTER; in iwlagn_rx_calc_noise()
248 le32_to_cpu(rx_info->beacon_silence_rssi_b) & IN_BAND_FILTER; in iwlagn_rx_calc_noise()
250 le32_to_cpu(rx_info->beacon_silence_rssi_c) & IN_BAND_FILTER; in iwlagn_rx_calc_noise()
/linux-6.1.9/drivers/net/ethernet/brocade/bna/
Dbnad.c798 struct bnad_rx_info *rx_info; in bnad_isr() local
834 rx_info = &bnad->rx_info[i]; in bnad_isr()
835 if (!rx_info->rx) in bnad_isr()
838 rx_ctrl = &rx_info->rx_ctrl[j]; in bnad_isr()
1021 struct bnad_rx_info *rx_info = in bnad_cb_ccb_setup() local
1024 rx_info->rx_ctrl[ccb->id].ccb = ccb; in bnad_cb_ccb_setup()
1025 ccb->ctrl = &rx_info->rx_ctrl[ccb->id]; in bnad_cb_ccb_setup()
1031 struct bnad_rx_info *rx_info = in bnad_cb_ccb_destroy() local
1034 rx_info->rx_ctrl[ccb->id].ccb = NULL; in bnad_cb_ccb_destroy()
1152 struct bnad_rx_info *rx_info = (struct bnad_rx_info *)rx->priv; in bnad_cb_rx_stall() local
[all …]
Dbnad_ethtool.c459 if (!bnad->rx_info[i].rx) in bnad_set_ringparam()
467 if (!err && bnad->rx_info[0].rx) { in bnad_set_ringparam()
630 if (!bnad->rx_info[i].rx) in bnad_get_strings()
638 if (!bnad->rx_info[i].rx) in bnad_get_strings()
642 if (bnad->rx_info[i].rx_ctrl[j].ccb && in bnad_get_strings()
643 bnad->rx_info[i].rx_ctrl[j].ccb->rcb[1] && in bnad_get_strings()
644 bnad->rx_info[i].rx_ctrl[j].ccb->rcb[1]->rxq) in bnad_get_strings()
684 if (!bnad->rx_info[i].rx) in bnad_get_stats_count_locked()
689 if (bnad->rx_info[i].rx_ctrl[j].ccb && in bnad_get_stats_count_locked()
690 bnad->rx_info[i].rx_ctrl[j].ccb->rcb[1] && in bnad_get_stats_count_locked()
[all …]
/linux-6.1.9/drivers/net/ethernet/adaptec/
Dstarfire.c530 struct rx_ring_info rx_info[RX_RING_SIZE]; member
1140 np->rx_info[i].skb = skb; in init_ring()
1143 np->rx_info[i].mapping = dma_map_single(&np->pci_dev->dev, in init_ring()
1147 if (dma_mapping_error(&np->pci_dev->dev, np->rx_info[i].mapping)) { in init_ring()
1149 np->rx_info[i].skb = NULL; in init_ring()
1153 np->rx_ring[i].rxaddr = cpu_to_dma(np->rx_info[i].mapping | RxDescValid); in init_ring()
1161 np->rx_info[i].skb = NULL; in init_ring()
1162 np->rx_info[i].mapping = 0; in init_ring()
1470 np->rx_info[entry].mapping, in __netdev_rx()
1472 skb_copy_to_linear_data(skb, np->rx_info[entry].skb->data, pkt_len); in __netdev_rx()
[all …]
/linux-6.1.9/drivers/net/wireless/marvell/mwifiex/
Dtxrx.c30 struct mwifiex_rxinfo *rx_info = MWIFIEX_SKB_RXCB(skb); in mwifiex_handle_rx_packet() local
50 memset(rx_info, 0, sizeof(*rx_info)); in mwifiex_handle_rx_packet()
51 rx_info->bss_num = priv->bss_num; in mwifiex_handle_rx_packet()
52 rx_info->bss_type = priv->bss_type; in mwifiex_handle_rx_packet()
Dutil.h21 struct mwifiex_rxinfo rx_info; member
46 return &cb->rx_info; in MWIFIEX_SKB_RXCB()
Dcmdevt.c480 struct mwifiex_rxinfo *rx_info; in mwifiex_process_event() local
513 rx_info = MWIFIEX_SKB_RXCB(skb); in mwifiex_process_event()
514 memset(rx_info, 0, sizeof(*rx_info)); in mwifiex_process_event()
515 rx_info->bss_num = priv->bss_num; in mwifiex_process_event()
516 rx_info->bss_type = priv->bss_type; in mwifiex_process_event()
/linux-6.1.9/drivers/net/ethernet/amazon/ena/
Dena_netdev.c1015 struct ena_rx_buffer *rx_info) in ena_alloc_rx_buffer() argument
1024 rx_info->page_offset = headroom; in ena_alloc_rx_buffer()
1027 if (unlikely(rx_info->page)) in ena_alloc_rx_buffer()
1036 "Allocate page %p, rx_info %p\n", page, rx_info); in ena_alloc_rx_buffer()
1040 rx_info->page = page; in ena_alloc_rx_buffer()
1041 ena_buf = &rx_info->ena_buf; in ena_alloc_rx_buffer()
1049 struct ena_rx_buffer *rx_info) in ena_unmap_rx_buff() argument
1051 struct ena_com_buf *ena_buf = &rx_info->ena_buf; in ena_unmap_rx_buff()
1059 struct ena_rx_buffer *rx_info) in ena_free_rx_page() argument
1061 struct page *page = rx_info->page; in ena_free_rx_page()
[all …]
/linux-6.1.9/net/dccp/ccids/
Dccid3.c819 struct tfrc_rx_info rx_info; in ccid3_hc_rx_getsockopt() local
824 if (len < sizeof(rx_info)) in ccid3_hc_rx_getsockopt()
826 rx_info.tfrcrx_x_recv = hc->rx_x_recv; in ccid3_hc_rx_getsockopt()
827 rx_info.tfrcrx_rtt = hc->rx_rtt; in ccid3_hc_rx_getsockopt()
828 rx_info.tfrcrx_p = tfrc_invert_loss_event_rate(hc->rx_pinv); in ccid3_hc_rx_getsockopt()
829 len = sizeof(rx_info); in ccid3_hc_rx_getsockopt()
830 val = &rx_info; in ccid3_hc_rx_getsockopt()
/linux-6.1.9/drivers/net/wireless/realtek/rtw89/
Dpci.c136 struct rtw89_pci_rx_info *rx_info; in rtw89_pci_sync_skb_for_cpu() local
139 rx_info = RTW89_PCI_RX_SKB_CB(skb); in rtw89_pci_sync_skb_for_cpu()
140 dma = rx_info->dma; in rtw89_pci_sync_skb_for_cpu()
148 struct rtw89_pci_rx_info *rx_info; in rtw89_pci_sync_skb_for_device() local
151 rx_info = RTW89_PCI_RX_SKB_CB(skb); in rtw89_pci_sync_skb_for_device()
152 dma = rx_info->dma; in rtw89_pci_sync_skb_for_device()
161 struct rtw89_pci_rx_info *rx_info = RTW89_PCI_RX_SKB_CB(skb); in rtw89_pci_rxbd_info_update() local
164 rx_info->fs = le32_get_bits(rxbd_info->dword, RTW89_PCI_RXBD_FS); in rtw89_pci_rxbd_info_update()
165 rx_info->ls = le32_get_bits(rxbd_info->dword, RTW89_PCI_RXBD_LS); in rtw89_pci_rxbd_info_update()
166 rx_info->len = le32_get_bits(rxbd_info->dword, RTW89_PCI_RXBD_WRITE_SIZE); in rtw89_pci_rxbd_info_update()
[all …]
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx4/
Den_rx.c139 struct mlx4_en_rx_alloc *frags = ring->rx_info + in mlx4_en_prepare_rx_desc()
175 frags = ring->rx_info + (index << priv->log_rx_info); in mlx4_en_free_rx_desc()
291 ring->rx_info = kvzalloc_node(tmp, GFP_KERNEL, node); in mlx4_en_create_rx_ring()
292 if (!ring->rx_info) { in mlx4_en_create_rx_ring()
298 ring->rx_info, tmp); in mlx4_en_create_rx_ring()
315 kvfree(ring->rx_info); in mlx4_en_create_rx_ring()
316 ring->rx_info = NULL; in mlx4_en_create_rx_ring()
444 kvfree(ring->rx_info); in mlx4_en_destroy_rx_ring()
445 ring->rx_info = NULL; in mlx4_en_destroy_rx_ring()
705 frags = ring->rx_info + (index << priv->log_rx_info); in mlx4_en_process_rx_cq()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dpci.c626 struct mlxsw_rx_info rx_info = {}; in mlxsw_pci_cqe_rdq_handle() local
648 rx_info.is_lag = true; in mlxsw_pci_cqe_rdq_handle()
649 rx_info.u.lag_id = mlxsw_pci_cqe_lag_id_get(cqe_v, cqe); in mlxsw_pci_cqe_rdq_handle()
650 rx_info.lag_port_index = in mlxsw_pci_cqe_rdq_handle()
653 rx_info.is_lag = false; in mlxsw_pci_cqe_rdq_handle()
654 rx_info.u.sys_port = mlxsw_pci_cqe_system_port_get(cqe); in mlxsw_pci_cqe_rdq_handle()
657 rx_info.trap_id = mlxsw_pci_cqe_trap_id_get(cqe); in mlxsw_pci_cqe_rdq_handle()
659 if (rx_info.trap_id == MLXSW_TRAP_ID_DISCARD_INGRESS_ACL || in mlxsw_pci_cqe_rdq_handle()
660 rx_info.trap_id == MLXSW_TRAP_ID_DISCARD_EGRESS_ACL) { in mlxsw_pci_cqe_rdq_handle()
666 } else if (rx_info.trap_id >= MLXSW_TRAP_ID_MIRROR_SESSION0 && in mlxsw_pci_cqe_rdq_handle()
[all …]
Dcore.c2958 struct mlxsw_rx_info *rx_info) in mlxsw_core_skb_receive() argument
2965 if (rx_info->is_lag) { in mlxsw_core_skb_receive()
2967 __func__, rx_info->u.lag_id, in mlxsw_core_skb_receive()
2968 rx_info->trap_id); in mlxsw_core_skb_receive()
2973 rx_info->u.lag_id, in mlxsw_core_skb_receive()
2974 rx_info->lag_port_index); in mlxsw_core_skb_receive()
2976 local_port = rx_info->u.sys_port; in mlxsw_core_skb_receive()
2980 __func__, local_port, rx_info->trap_id); in mlxsw_core_skb_receive()
2982 if ((rx_info->trap_id >= MLXSW_TRAP_ID_MAX) || in mlxsw_core_skb_receive()
2991 rxl->trap_id == rx_info->trap_id && in mlxsw_core_skb_receive()
[all …]
/linux-6.1.9/drivers/net/wireless/ath/wil6210/
Dtxrx.h499 struct packet_rx_info rx_info; member
667 return skb_rx_info->rx_info.cid; in wil_skb_get_cid()
674 skb_rx_info->rx_info.cid = cid; in wil_skb_set_cid()
/linux-6.1.9/drivers/net/wireless/admtek/
Dadm8211.c1429 struct adm8211_rx_ring_info *rx_info; in adm8211_init_rings() local
1445 rx_info = &priv->rx_buffers[i]; in adm8211_init_rings()
1447 rx_info->skb = dev_alloc_skb(RX_PKT_SIZE); in adm8211_init_rings()
1448 if (rx_info->skb == NULL) in adm8211_init_rings()
1450 rx_info->mapping = dma_map_single(&priv->pdev->dev, in adm8211_init_rings()
1451 skb_tail_pointer(rx_info->skb), in adm8211_init_rings()
1454 if (dma_mapping_error(&priv->pdev->dev, rx_info->mapping)) { in adm8211_init_rings()
1455 dev_kfree_skb(rx_info->skb); in adm8211_init_rings()
1456 rx_info->skb = NULL; in adm8211_init_rings()
1460 desc->buffer1 = cpu_to_le32(rx_info->mapping); in adm8211_init_rings()
/linux-6.1.9/drivers/gpu/drm/i915/display/
Dintel_dp_hdcp.c486 u8 *rx_info = byte; in get_receiver_id_list_rx_info() local
490 (void *)rx_info, HDCP_2_2_RXINFO_LEN); in get_receiver_id_list_rx_info()
494 *dev_cnt = (HDCP_2_2_DEV_COUNT_HI(rx_info[0]) << 4 | in get_receiver_id_list_rx_info()
495 HDCP_2_2_DEV_COUNT_LO(rx_info[1])); in get_receiver_id_list_rx_info()
Dintel_hdcp.c1646 u8 *rx_info; in hdcp2_authenticate_repeater_topology() local
1654 rx_info = msgs.recvid_list.rx_info; in hdcp2_authenticate_repeater_topology()
1656 if (HDCP_2_2_MAX_CASCADE_EXCEEDED(rx_info[1]) || in hdcp2_authenticate_repeater_topology()
1657 HDCP_2_2_MAX_DEVS_EXCEEDED(rx_info[1])) { in hdcp2_authenticate_repeater_topology()
1667 !HDCP_2_2_HDCP1_DEVICE_CONNECTED(rx_info[1]) && in hdcp2_authenticate_repeater_topology()
1668 !HDCP_2_2_HDCP_2_0_REP_CONNECTED(rx_info[1]); in hdcp2_authenticate_repeater_topology()
1686 device_cnt = (HDCP_2_2_DEV_COUNT_HI(rx_info[0]) << 4 | in hdcp2_authenticate_repeater_topology()
1687 HDCP_2_2_DEV_COUNT_LO(rx_info[1])); in hdcp2_authenticate_repeater_topology()
/linux-6.1.9/drivers/net/wireless/ath/ath10k/
Drx_desc.h1133 __le32 rx_info; /* %RX_PPDU_END_RX_INFO_ */ member
1143 __le32 rx_info; /* %RX_PPDU_END_RX_INFO_ */ member
/linux-6.1.9/drivers/net/ethernet/socionext/
Dnetsec.c955 struct netsec_rx_pkt_info rx_info; in netsec_process_rx() local
993 rx_info.err_code = (de->attr >> NETSEC_RX_PKT_ERR_FIELD) & in netsec_process_rx()
995 rx_info.err_flag = (de->attr >> NETSEC_RX_PKT_ER_FIELD) & 1; in netsec_process_rx()
996 if (rx_info.err_flag) { in netsec_process_rx()
999 rx_info.err_code); in netsec_process_rx()
1006 rx_info.rx_cksum_result = in netsec_process_rx()
1054 rx_info.rx_cksum_result == NETSEC_RX_CKSUM_OK) in netsec_process_rx()

12