Home
last modified time | relevance | path

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

12

/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
/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 …]
/drivers/net/ethernet/natsemi/
Dns83820.c396 struct rx_info { struct
417 struct rx_info rx_info; member
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 …]
/drivers/net/wireless/intel/iwlwifi/dvm/
Dcalib.c110 struct statistics_general_data *rx_info) in iwl_sens_energy_cck() argument
143 silence_rssi_a = (u8)((rx_info->beacon_silence_rssi_a & in iwl_sens_energy_cck()
145 silence_rssi_b = (u8)((rx_info->beacon_silence_rssi_b & in iwl_sens_energy_cck()
147 silence_rssi_c = (u8)((rx_info->beacon_silence_rssi_c & in iwl_sens_energy_cck()
172 val = min(rx_info->beacon_energy_b, rx_info->beacon_energy_c); in iwl_sens_energy_cck()
173 data->nrg_value[i] = min(rx_info->beacon_energy_a, val); in iwl_sens_energy_cck()
189 rx_info->beacon_energy_a, rx_info->beacon_energy_b, in iwl_sens_energy_cck()
190 rx_info->beacon_energy_c, max_nrg_cck - 6); in iwl_sens_energy_cck()
603 struct statistics_rx_non_phy *rx_info; in iwl_sensitivity_calibration() local
618 rx_info = &priv->statistics.rx_non_phy; in iwl_sensitivity_calibration()
[all …]
Drx.c242 struct statistics_rx_non_phy *rx_info; in iwlagn_rx_calc_noise() local
248 rx_info = &priv->statistics.rx_non_phy; in iwlagn_rx_calc_noise()
251 le32_to_cpu(rx_info->beacon_silence_rssi_a) & IN_BAND_FILTER; in iwlagn_rx_calc_noise()
253 le32_to_cpu(rx_info->beacon_silence_rssi_b) & IN_BAND_FILTER; in iwlagn_rx_calc_noise()
255 le32_to_cpu(rx_info->beacon_silence_rssi_c) & IN_BAND_FILTER; in iwlagn_rx_calc_noise()
/drivers/net/ethernet/brocade/bna/
Dbnad_ethtool.c455 if (!bnad->rx_info[i].rx) in bnad_set_ringparam()
463 if (!err && bnad->rx_info[0].rx) { in bnad_set_ringparam()
626 if (!bnad->rx_info[i].rx) in bnad_get_strings()
634 if (!bnad->rx_info[i].rx) in bnad_get_strings()
638 if (bnad->rx_info[i].rx_ctrl[j].ccb && in bnad_get_strings()
639 bnad->rx_info[i].rx_ctrl[j].ccb->rcb[1] && in bnad_get_strings()
640 bnad->rx_info[i].rx_ctrl[j].ccb->rcb[1]->rxq) in bnad_get_strings()
680 if (!bnad->rx_info[i].rx) in bnad_get_stats_count_locked()
685 if (bnad->rx_info[i].rx_ctrl[j].ccb && in bnad_get_stats_count_locked()
686 bnad->rx_info[i].rx_ctrl[j].ccb->rcb[1] && in bnad_get_stats_count_locked()
[all …]
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 …]
/drivers/net/ethernet/adaptec/
Dstarfire.c530 struct rx_ring_info rx_info[RX_RING_SIZE]; member
1138 np->rx_info[i].skb = skb; in init_ring()
1141 np->rx_info[i].mapping = dma_map_single(&np->pci_dev->dev, in init_ring()
1145 if (dma_mapping_error(&np->pci_dev->dev, np->rx_info[i].mapping)) { in init_ring()
1147 np->rx_info[i].skb = NULL; in init_ring()
1151 np->rx_ring[i].rxaddr = cpu_to_dma(np->rx_info[i].mapping | RxDescValid); in init_ring()
1159 np->rx_info[i].skb = NULL; in init_ring()
1160 np->rx_info[i].mapping = 0; in init_ring()
1468 np->rx_info[entry].mapping, in __netdev_rx()
1470 skb_copy_to_linear_data(skb, np->rx_info[entry].skb->data, pkt_len); in __netdev_rx()
[all …]
/drivers/net/wireless/marvell/mwifiex/
Dtxrx.c42 struct mwifiex_rxinfo *rx_info = MWIFIEX_SKB_RXCB(skb); in mwifiex_handle_rx_packet() local
62 memset(rx_info, 0, sizeof(*rx_info)); in mwifiex_handle_rx_packet()
63 rx_info->bss_num = priv->bss_num; in mwifiex_handle_rx_packet()
64 rx_info->bss_type = priv->bss_type; in mwifiex_handle_rx_packet()
Dutil.h33 struct mwifiex_rxinfo rx_info; member
58 return &cb->rx_info; in MWIFIEX_SKB_RXCB()
Dcmdevt.c492 struct mwifiex_rxinfo *rx_info; in mwifiex_process_event() local
525 rx_info = MWIFIEX_SKB_RXCB(skb); in mwifiex_process_event()
526 memset(rx_info, 0, sizeof(*rx_info)); in mwifiex_process_event()
527 rx_info->bss_num = priv->bss_num; in mwifiex_process_event()
528 rx_info->bss_type = priv->bss_type; in mwifiex_process_event()
Dinit.c663 struct mwifiex_rxinfo *rx_info = MWIFIEX_SKB_RXCB(skb); in mwifiex_shutdown_drv() local
666 priv = adapter->priv[rx_info->bss_num]; in mwifiex_shutdown_drv()
/drivers/net/ethernet/amazon/ena/
Dena_netdev.c1018 struct ena_rx_buffer *rx_info) in ena_alloc_rx_buffer() argument
1027 rx_info->page_offset = headroom; in ena_alloc_rx_buffer()
1030 if (unlikely(rx_info->page)) in ena_alloc_rx_buffer()
1039 "Allocate page %p, rx_info %p\n", page, rx_info); in ena_alloc_rx_buffer()
1043 rx_info->page = page; in ena_alloc_rx_buffer()
1044 ena_buf = &rx_info->ena_buf; in ena_alloc_rx_buffer()
1052 struct ena_rx_buffer *rx_info) in ena_unmap_rx_buff() argument
1054 struct ena_com_buf *ena_buf = &rx_info->ena_buf; in ena_unmap_rx_buff()
1062 struct ena_rx_buffer *rx_info) in ena_free_rx_page() argument
1064 struct page *page = rx_info->page; in ena_free_rx_page()
[all …]
/drivers/gpu/drm/i915/display/
Dintel_dp_hdcp.c488 u8 rx_info[HDCP_2_2_RXINFO_LEN]; in get_rxinfo_hdcp_1_dev_downstream() local
493 (void *)rx_info, HDCP_2_2_RXINFO_LEN); in get_rxinfo_hdcp_1_dev_downstream()
498 *hdcp_1_x = HDCP_2_2_HDCP1_DEVICE_CONNECTED(rx_info[1]) ? true : false; in get_rxinfo_hdcp_1_dev_downstream()
505 u8 rx_info[HDCP_2_2_RXINFO_LEN]; in get_receiver_id_list_size() local
511 (void *)rx_info, HDCP_2_2_RXINFO_LEN); in get_receiver_id_list_size()
515 dev_cnt = (HDCP_2_2_DEV_COUNT_HI(rx_info[0]) << 4 | in get_receiver_id_list_size()
516 HDCP_2_2_DEV_COUNT_LO(rx_info[1])); in get_receiver_id_list_size()
Dintel_hdcp.c1619 u8 *rx_info; in hdcp2_authenticate_repeater_topology() local
1627 rx_info = msgs.recvid_list.rx_info; in hdcp2_authenticate_repeater_topology()
1629 if (HDCP_2_2_MAX_CASCADE_EXCEEDED(rx_info[1]) || in hdcp2_authenticate_repeater_topology()
1630 HDCP_2_2_MAX_DEVS_EXCEEDED(rx_info[1])) { in hdcp2_authenticate_repeater_topology()
1651 device_cnt = (HDCP_2_2_DEV_COUNT_HI(rx_info[0]) << 4 | in hdcp2_authenticate_repeater_topology()
1652 HDCP_2_2_DEV_COUNT_LO(rx_info[1])); in hdcp2_authenticate_repeater_topology()
/drivers/net/ethernet/mellanox/mlxsw/
Dpci.c600 struct mlxsw_rx_info rx_info = {}; in mlxsw_pci_cqe_rdq_handle() local
622 rx_info.is_lag = true; in mlxsw_pci_cqe_rdq_handle()
623 rx_info.u.lag_id = mlxsw_pci_cqe_lag_id_get(cqe_v, cqe); in mlxsw_pci_cqe_rdq_handle()
624 rx_info.lag_port_index = in mlxsw_pci_cqe_rdq_handle()
627 rx_info.is_lag = false; in mlxsw_pci_cqe_rdq_handle()
628 rx_info.u.sys_port = mlxsw_pci_cqe_system_port_get(cqe); in mlxsw_pci_cqe_rdq_handle()
631 rx_info.trap_id = mlxsw_pci_cqe_trap_id_get(cqe); in mlxsw_pci_cqe_rdq_handle()
633 if (rx_info.trap_id == MLXSW_TRAP_ID_DISCARD_INGRESS_ACL || in mlxsw_pci_cqe_rdq_handle()
634 rx_info.trap_id == MLXSW_TRAP_ID_DISCARD_EGRESS_ACL) { in mlxsw_pci_cqe_rdq_handle()
640 } else if (rx_info.trap_id >= MLXSW_TRAP_ID_MIRROR_SESSION0 && in mlxsw_pci_cqe_rdq_handle()
[all …]
Dcore.c2657 struct mlxsw_rx_info *rx_info) in mlxsw_core_skb_receive() argument
2664 if (rx_info->is_lag) { in mlxsw_core_skb_receive()
2666 __func__, rx_info->u.lag_id, in mlxsw_core_skb_receive()
2667 rx_info->trap_id); in mlxsw_core_skb_receive()
2672 rx_info->u.lag_id, in mlxsw_core_skb_receive()
2673 rx_info->lag_port_index); in mlxsw_core_skb_receive()
2675 local_port = rx_info->u.sys_port; in mlxsw_core_skb_receive()
2679 __func__, local_port, rx_info->trap_id); in mlxsw_core_skb_receive()
2681 if ((rx_info->trap_id >= MLXSW_TRAP_ID_MAX) || in mlxsw_core_skb_receive()
2690 rxl->trap_id == rx_info->trap_id && in mlxsw_core_skb_receive()
[all …]
/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()
703 frags = ring->rx_info + (index << priv->log_rx_info); in mlx4_en_process_rx_cq()
/drivers/net/wireless/ath/wil6210/
Dtxrx.h501 struct packet_rx_info rx_info; member
669 return skb_rx_info->rx_info.cid; in wil_skb_get_cid()
676 skb_rx_info->rx_info.cid = cid; in wil_skb_set_cid()
/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()
/drivers/net/wireless/ath/ath10k/
Drx_desc.h1107 __le32 rx_info; /* %RX_PPDU_END_RX_INFO_ */ member
1117 __le32 rx_info; /* %RX_PPDU_END_RX_INFO_ */ member
/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()
/drivers/misc/mei/hdcp/
Dmei_hdcp.h338 u8 rx_info[HDCP_2_2_RXINFO_LEN]; member

12