/linux/drivers/net/wireless/rsi/ |
H A D | rsi_91x_sdio_ops.c | 239 dev->rx_info.sdio_int_counter++; in rsi_rx_handler() 257 dev->rx_info.sdio_intr_status_zero++; in rsi_rx_handler() 308 dev->rx_info.total_sdio_msdu_pending_intr++; in rsi_rx_handler() 323 dev->rx_info.total_sdio_unknown_intr++; in rsi_rx_handler() 361 if (!dev->rx_info.mgmt_buffer_full) in rsi_sdio_check_buffer_status() 362 dev->rx_info.mgmt_buf_full_counter++; in rsi_sdio_check_buffer_status() 363 dev->rx_info.mgmt_buffer_full = true; in rsi_sdio_check_buffer_status() 365 dev->rx_info.mgmt_buffer_full = false; in rsi_sdio_check_buffer_status() 369 if (!dev->rx_info.buffer_full) in rsi_sdio_check_buffer_status() 370 dev->rx_info.buf_full_counter++; in rsi_sdio_check_buffer_status() [all …]
|
H A D | rsi_91x_debugfs.c | 34 dev->rx_info.sdio_int_counter); in rsi_sdio_stats_read() 36 dev->rx_info.total_sdio_msdu_pending_intr); in rsi_sdio_stats_read() 38 dev->rx_info.buf_full_counter); in rsi_sdio_stats_read() 40 dev->rx_info.buf_semi_full_counter); in rsi_sdio_stats_read() 42 dev->rx_info.total_sdio_unknown_intr); in rsi_sdio_stats_read() 45 dev->rx_info.buffer_full); in rsi_sdio_stats_read() 47 dev->rx_info.semi_buffer_full); in rsi_sdio_stats_read() 49 dev->rx_info.mgmt_buffer_full); in rsi_sdio_stats_read() 51 dev->rx_info.buf_full_counter); in rsi_sdio_stats_read() 53 dev->rx_info.buf_semi_full_counter); in rsi_sdio_stats_read() [all …]
|
H A D | rsi_sdio.h | 113 struct receive_info rx_info; member
|
/linux/drivers/net/wireless/intel/iwlegacy/ |
H A D | 4965-calib.c | 96 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/drivers/net/ethernet/natsemi/ |
H A D | ns83820.c | 396 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/drivers/net/wireless/intel/iwlwifi/dvm/ |
H A D | calib.c | 112 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 …]
|
H A D | rx.c | 237 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/drivers/net/ethernet/brocade/bna/ |
H A D | bnad.c | 798 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() 1151 struct bnad_rx_info *rx_info = rx->priv; in bnad_cb_rx_stall() local [all …]
|
H A D | bnad_ethtool.c | 459 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/drivers/net/ethernet/amazon/ena/ |
H A D | ena_netdev.c | 531 struct ena_rx_buffer *rx_info) in ena_alloc_rx_buffer() argument 540 rx_info->buf_offset = headroom; in ena_alloc_rx_buffer() 543 if (unlikely(rx_info->page)) in ena_alloc_rx_buffer() 552 "Allocate page %p, rx_info %p\n", page, rx_info); in ena_alloc_rx_buffer() 556 rx_info->page = page; in ena_alloc_rx_buffer() 557 rx_info->dma_addr = dma; in ena_alloc_rx_buffer() 558 rx_info->page_offset = 0; in ena_alloc_rx_buffer() 559 ena_buf = &rx_info->ena_buf; in ena_alloc_rx_buffer() 567 struct ena_rx_buffer *rx_info, in ena_unmap_rx_buff_attrs() argument 570 dma_unmap_page_attrs(rx_ring->dev, rx_info->dma_addr, ENA_PAGE_SIZE, DMA_BIDIRECTIONAL, in ena_unmap_rx_buff_attrs() [all …]
|
/linux/drivers/net/ethernet/adaptec/ |
H A D | starfire.c | 522 struct rx_ring_info rx_info[RX_RING_SIZE]; member 1132 np->rx_info[i].skb = skb; in init_ring() 1135 np->rx_info[i].mapping = dma_map_single(&np->pci_dev->dev, in init_ring() 1139 if (dma_mapping_error(&np->pci_dev->dev, np->rx_info[i].mapping)) { in init_ring() 1141 np->rx_info[i].skb = NULL; in init_ring() 1145 np->rx_ring[i].rxaddr = cpu_to_dma(np->rx_info[i].mapping | RxDescValid); in init_ring() 1153 np->rx_info[i].skb = NULL; in init_ring() 1154 np->rx_info[i].mapping = 0; in init_ring() 1462 np->rx_info[entry].mapping, in __netdev_rx() 1464 skb_copy_to_linear_data(skb, np->rx_info[entry].skb->data, pkt_len); in __netdev_rx() [all …]
|
/linux/drivers/net/wireless/marvell/mwifiex/ |
H A D | txrx.c | 30 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()
|
H A D | util.h | 21 struct mwifiex_rxinfo rx_info; member 46 return &cb->rx_info; in MWIFIEX_SKB_RXCB()
|
H A D | cmdevt.c | 480 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/net/dccp/ccids/ |
H A D | ccid3.c | 819 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/drivers/net/wireless/realtek/rtw89/ |
H A D | pci.c | 162 struct rtw89_pci_rx_info *rx_info; in rtw89_pci_sync_skb_for_cpu() local 165 rx_info = RTW89_PCI_RX_SKB_CB(skb); in rtw89_pci_sync_skb_for_cpu() 166 dma = rx_info->dma; in rtw89_pci_sync_skb_for_cpu() 174 struct rtw89_pci_rx_info *rx_info; in rtw89_pci_sync_skb_for_device() local 177 rx_info = RTW89_PCI_RX_SKB_CB(skb); in rtw89_pci_sync_skb_for_device() 178 dma = rx_info->dma; in rtw89_pci_sync_skb_for_device() 186 struct rtw89_pci_rx_info *rx_info = RTW89_PCI_RX_SKB_CB(skb); in rtw89_pci_rxbd_info_update() local 193 rx_info->fs = le32_get_bits(info, RTW89_PCI_RXBD_FS); in rtw89_pci_rxbd_info_update() 194 rx_info->ls = le32_get_bits(info, RTW89_PCI_RXBD_LS); in rtw89_pci_rxbd_info_update() 195 rx_info->len = le32_get_bits(info, RTW89_PCI_RXBD_WRITE_SIZE); in rtw89_pci_rxbd_info_update() [all …]
|
/linux/drivers/net/ethernet/mellanox/mlx4/ |
H A D | en_rx.c | 142 struct mlx4_en_rx_alloc *frags = ring->rx_info + in mlx4_en_prepare_rx_desc() 178 frags = ring->rx_info + (index << priv->log_rx_info); in mlx4_en_free_rx_desc() 294 ring->rx_info = kvzalloc_node(tmp, GFP_KERNEL, node); in mlx4_en_create_rx_ring() 295 if (!ring->rx_info) { in mlx4_en_create_rx_ring() 301 ring->rx_info, tmp); in mlx4_en_create_rx_ring() 318 kvfree(ring->rx_info); in mlx4_en_create_rx_ring() 319 ring->rx_info = NULL; in mlx4_en_create_rx_ring() 447 kvfree(ring->rx_info); in mlx4_en_destroy_rx_ring() 448 ring->rx_info = NULL; in mlx4_en_destroy_rx_ring() 757 frags = ring->rx_info + (index << priv->log_rx_info); in mlx4_en_process_rx_cq()
|
/linux/drivers/net/wireless/ath/wil6210/ |
H A D | txrx.h | 501 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()
|
/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | pci.c | 747 struct mlxsw_rx_info rx_info = {}; in mlxsw_pci_cqe_rdq_handle() local 781 rx_info.is_lag = true; in mlxsw_pci_cqe_rdq_handle() 782 rx_info.u.lag_id = mlxsw_pci_cqe_lag_id_get(cqe_v, cqe); in mlxsw_pci_cqe_rdq_handle() 783 rx_info.lag_port_index = in mlxsw_pci_cqe_rdq_handle() 786 rx_info.is_lag = false; in mlxsw_pci_cqe_rdq_handle() 787 rx_info.u.sys_port = mlxsw_pci_cqe_system_port_get(cqe); in mlxsw_pci_cqe_rdq_handle() 790 rx_info.trap_id = mlxsw_pci_cqe_trap_id_get(cqe); in mlxsw_pci_cqe_rdq_handle() 792 if (rx_info.trap_id == MLXSW_TRAP_ID_DISCARD_INGRESS_ACL || in mlxsw_pci_cqe_rdq_handle() 793 rx_info.trap_id == MLXSW_TRAP_ID_DISCARD_EGRESS_ACL) { in mlxsw_pci_cqe_rdq_handle() 799 } else if (rx_info.trap_id >= MLXSW_TRAP_ID_MIRROR_SESSION0 && in mlxsw_pci_cqe_rdq_handle() [all …]
|
H A D | core.c | 2944 struct mlxsw_rx_info *rx_info) in mlxsw_core_skb_receive() argument 2951 if (rx_info->is_lag) { in mlxsw_core_skb_receive() 2953 __func__, rx_info->u.lag_id, in mlxsw_core_skb_receive() 2954 rx_info->trap_id); in mlxsw_core_skb_receive() 2959 rx_info->u.lag_id, in mlxsw_core_skb_receive() 2960 rx_info->lag_port_index); in mlxsw_core_skb_receive() 2962 local_port = rx_info->u.sys_port; in mlxsw_core_skb_receive() 2966 __func__, local_port, rx_info->trap_id); in mlxsw_core_skb_receive() 2968 if ((rx_info->trap_id >= MLXSW_TRAP_ID_MAX) || in mlxsw_core_skb_receive() 2977 rxl->trap_id == rx_info->trap_id && in mlxsw_core_skb_receive() [all …]
|
/linux/drivers/net/wireless/admtek/ |
H A D | adm8211.c | 1429 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/drivers/gpu/drm/i915/display/ |
H A D | intel_dp_hdcp.c | 495 u8 *rx_info = byte; in get_receiver_id_list_rx_info() local 499 (void *)rx_info, HDCP_2_2_RXINFO_LEN); in get_receiver_id_list_rx_info() 503 *dev_cnt = (HDCP_2_2_DEV_COUNT_HI(rx_info[0]) << 4 | in get_receiver_id_list_rx_info() 504 HDCP_2_2_DEV_COUNT_LO(rx_info[1])); in get_receiver_id_list_rx_info()
|
H A D | intel_hdcp.c | 1703 u8 *rx_info; in hdcp2_authenticate_repeater_topology() local 1711 rx_info = msgs.recvid_list.rx_info; in hdcp2_authenticate_repeater_topology() 1713 if (HDCP_2_2_MAX_CASCADE_EXCEEDED(rx_info[1]) || in hdcp2_authenticate_repeater_topology() 1714 HDCP_2_2_MAX_DEVS_EXCEEDED(rx_info[1])) { in hdcp2_authenticate_repeater_topology() 1724 !HDCP_2_2_HDCP1_DEVICE_CONNECTED(rx_info[1]) && in hdcp2_authenticate_repeater_topology() 1725 !HDCP_2_2_HDCP_2_0_REP_CONNECTED(rx_info[1]); in hdcp2_authenticate_repeater_topology() 1749 device_cnt = (HDCP_2_2_DEV_COUNT_HI(rx_info[0]) << 4 | in hdcp2_authenticate_repeater_topology() 1750 HDCP_2_2_DEV_COUNT_LO(rx_info[1])); in hdcp2_authenticate_repeater_topology()
|
/linux/drivers/net/wireless/ath/ath10k/ |
H A D | rx_desc.h | 1134 __le32 rx_info; /* %RX_PPDU_END_RX_INFO_ */ member 1144 __le32 rx_info; /* %RX_PPDU_END_RX_INFO_ */ member
|
/linux/include/drm/display/ |
H A D | drm_hdcp.h | 202 u8 rx_info[HDCP_2_2_RXINFO_LEN]; member
|