Home
last modified time | relevance | path

Searched refs:pkt_count (Results 1 – 25 of 90) sorted by relevance

1234

/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/
H A Ddhd_cdc.c641 uint32 *pkt_count, void **pplast, uint8 start, uint8 end) in dhd_get_hostreorder_pkts() argument
649 *pkt_count = 0; in dhd_get_hostreorder_pkts()
671 *pkt_count = pkt_cnt; in dhd_get_hostreorder_pkts()
677 void **pkt, uint32 *pkt_count) in dhd_process_pkt_reorder_info() argument
686 if (pkt_count != NULL) in dhd_process_pkt_reorder_info()
687 *pkt_count = 0; in dhd_process_pkt_reorder_info()
702 *pkt_count = 1; in dhd_process_pkt_reorder_info()
719 *pkt_count = 1; in dhd_process_pkt_reorder_info()
742 *pkt_count = cnt; in dhd_process_pkt_reorder_info()
758 *pkt_count = 1; in dhd_process_pkt_reorder_info()
[all …]
H A Ddhd_debug.c1427 uint16 pkt_count) in __dhd_dbg_free_tx_pkts() argument
1433 while ((count < pkt_count) && tx_pkts) { in __dhd_dbg_free_tx_pkts()
1446 uint16 pkt_count) in __dhd_dbg_free_rx_pkts() argument
1452 while ((count < pkt_count) && rx_pkts) { in __dhd_dbg_free_rx_pkts()
1929 uint16 pkt_count, count; in dhd_dbg_monitor_get_tx_pkts() local
1957 pkt_count = MIN(req_count, tx_report->status_pos); in dhd_dbg_monitor_get_tx_pkts()
1961 while ((count < pkt_count) && tx_pkt && ptr) { in dhd_dbg_monitor_get_tx_pkts()
1975 *resp_count = pkt_count; in dhd_dbg_monitor_get_tx_pkts()
1978 if (!pkt_count) { in dhd_dbg_monitor_get_tx_pkts()
1981 "status_pos=%u", __FUNCTION__, pkt_count)); in dhd_dbg_monitor_get_tx_pkts()
[all …]
H A Ddhd_debug.h662 #define PKT_MON_PKT_FULL(pkt_count) ((pkt_count) >= MAX_FATE_LOG_LEN) argument
663 #define PKT_MON_STATUS_FULL(pkt_count, status_count) \ argument
664 (((status_count) >= (pkt_count)) || ((status_count) >= MAX_FATE_LOG_LEN))
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/
H A Ddhd_cdc.c641 uint32 *pkt_count, void **pplast, uint8 start, uint8 end) in dhd_get_hostreorder_pkts() argument
649 *pkt_count = 0; in dhd_get_hostreorder_pkts()
671 *pkt_count = pkt_cnt; in dhd_get_hostreorder_pkts()
677 void **pkt, uint32 *pkt_count) in dhd_process_pkt_reorder_info() argument
686 if (pkt_count != NULL) in dhd_process_pkt_reorder_info()
687 *pkt_count = 0; in dhd_process_pkt_reorder_info()
702 *pkt_count = 1; in dhd_process_pkt_reorder_info()
719 *pkt_count = 1; in dhd_process_pkt_reorder_info()
742 *pkt_count = cnt; in dhd_process_pkt_reorder_info()
758 *pkt_count = 1; in dhd_process_pkt_reorder_info()
[all …]
H A Ddhd_debug.c1427 uint16 pkt_count) in __dhd_dbg_free_tx_pkts() argument
1433 while ((count < pkt_count) && tx_pkts) { in __dhd_dbg_free_tx_pkts()
1446 uint16 pkt_count) in __dhd_dbg_free_rx_pkts() argument
1452 while ((count < pkt_count) && rx_pkts) { in __dhd_dbg_free_rx_pkts()
1929 uint16 pkt_count, count; in dhd_dbg_monitor_get_tx_pkts() local
1957 pkt_count = MIN(req_count, tx_report->status_pos); in dhd_dbg_monitor_get_tx_pkts()
1961 while ((count < pkt_count) && tx_pkt && ptr) { in dhd_dbg_monitor_get_tx_pkts()
1975 *resp_count = pkt_count; in dhd_dbg_monitor_get_tx_pkts()
1978 if (!pkt_count) { in dhd_dbg_monitor_get_tx_pkts()
1981 "status_pos=%u", __FUNCTION__, pkt_count)); in dhd_dbg_monitor_get_tx_pkts()
[all …]
H A Ddhd_debug.h662 #define PKT_MON_PKT_FULL(pkt_count) ((pkt_count) >= MAX_FATE_LOG_LEN) argument
663 #define PKT_MON_STATUS_FULL(pkt_count, status_count) \ argument
664 (((status_count) >= (pkt_count)) || ((status_count) >= MAX_FATE_LOG_LEN))
/OK3568_Linux_fs/external/rkwifibt/drivers/infineon/
H A Ddhd_cdc.c641 uint32 *pkt_count, void **pplast, uint8 start, uint8 end) in dhd_get_hostreorder_pkts() argument
649 *pkt_count = 0; in dhd_get_hostreorder_pkts()
671 *pkt_count = pkt_cnt; in dhd_get_hostreorder_pkts()
677 void **pkt, uint32 *pkt_count) in dhd_process_pkt_reorder_info() argument
686 if (pkt_count != NULL) in dhd_process_pkt_reorder_info()
687 *pkt_count = 0; in dhd_process_pkt_reorder_info()
702 *pkt_count = 1; in dhd_process_pkt_reorder_info()
719 *pkt_count = 1; in dhd_process_pkt_reorder_info()
742 *pkt_count = cnt; in dhd_process_pkt_reorder_info()
758 *pkt_count = 1; in dhd_process_pkt_reorder_info()
[all …]
H A Ddhd_debug.c1431 uint16 pkt_count) in __dhd_dbg_free_tx_pkts() argument
1437 while ((count < pkt_count) && tx_pkts) { in __dhd_dbg_free_tx_pkts()
1450 uint16 pkt_count) in __dhd_dbg_free_rx_pkts() argument
1456 while ((count < pkt_count) && rx_pkts) { in __dhd_dbg_free_rx_pkts()
1933 uint16 pkt_count, count; in dhd_dbg_monitor_get_tx_pkts() local
1961 pkt_count = MIN(req_count, tx_report->status_pos); in dhd_dbg_monitor_get_tx_pkts()
1965 while ((count < pkt_count) && tx_pkt && ptr) { in dhd_dbg_monitor_get_tx_pkts()
1979 *resp_count = pkt_count; in dhd_dbg_monitor_get_tx_pkts()
1982 if (!pkt_count) { in dhd_dbg_monitor_get_tx_pkts()
1985 "status_pos=%u", __FUNCTION__, pkt_count)); in dhd_dbg_monitor_get_tx_pkts()
[all …]
H A Ddhd_debug.h662 #define PKT_MON_PKT_FULL(pkt_count) ((pkt_count) >= MAX_FATE_LOG_LEN) argument
663 #define PKT_MON_STATUS_FULL(pkt_count, status_count) \ argument
664 (((status_count) >= (pkt_count)) || ((status_count) >= MAX_FATE_LOG_LEN))
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/
H A Ddhd_cdc.c711 uint32 *pkt_count, void **pplast, uint8 start, uint8 end) in dhd_get_hostreorder_pkts() argument
719 *pkt_count = 0; in dhd_get_hostreorder_pkts()
741 *pkt_count = pkt_cnt; in dhd_get_hostreorder_pkts()
747 void **pkt, uint32 *pkt_count) in dhd_process_pkt_reorder_info() argument
756 if (pkt_count != NULL) in dhd_process_pkt_reorder_info()
757 *pkt_count = 0; in dhd_process_pkt_reorder_info()
772 *pkt_count = 1; in dhd_process_pkt_reorder_info()
789 *pkt_count = 1; in dhd_process_pkt_reorder_info()
812 *pkt_count = cnt; in dhd_process_pkt_reorder_info()
828 *pkt_count = 1; in dhd_process_pkt_reorder_info()
[all …]
H A Ddhd_debug.c1528 uint16 pkt_count) in __dhd_dbg_free_tx_pkts() argument
1533 while ((count < pkt_count) && tx_pkts) { in __dhd_dbg_free_tx_pkts()
1546 uint16 pkt_count) in __dhd_dbg_free_rx_pkts() argument
1551 while ((count < pkt_count) && rx_pkts) { in __dhd_dbg_free_rx_pkts()
2025 uint16 pkt_count, count; in dhd_dbg_monitor_get_tx_pkts() local
2051 pkt_count = MIN(req_count, tx_report->status_pos); in dhd_dbg_monitor_get_tx_pkts()
2061 while ((count < pkt_count) && tx_pkt && cptr) { in dhd_dbg_monitor_get_tx_pkts()
2086 while ((count < pkt_count) && tx_pkt && ptr) { in dhd_dbg_monitor_get_tx_pkts()
2100 *resp_count = pkt_count; in dhd_dbg_monitor_get_tx_pkts()
2103 if (!pkt_count) { in dhd_dbg_monitor_get_tx_pkts()
[all …]
H A Ddhd_debug.h680 #define PKT_MON_PKT_FULL(pkt_count) ((pkt_count) >= MAX_FATE_LOG_LEN) argument
681 #define PKT_MON_STATUS_FULL(pkt_count, status_count) \ argument
682 (((status_count) >= (pkt_count)) || ((status_count) >= MAX_FATE_LOG_LEN))
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/
H A Ddhd_cdc.c730 uint32 *pkt_count, void **pplast, uint8 start, uint8 end) in dhd_get_hostreorder_pkts() argument
738 *pkt_count = 0; in dhd_get_hostreorder_pkts()
760 *pkt_count = pkt_cnt; in dhd_get_hostreorder_pkts()
766 void **pkt, uint32 *pkt_count) in dhd_process_pkt_reorder_info() argument
775 if (pkt_count != NULL) in dhd_process_pkt_reorder_info()
776 *pkt_count = 0; in dhd_process_pkt_reorder_info()
791 *pkt_count = 1; in dhd_process_pkt_reorder_info()
808 *pkt_count = 1; in dhd_process_pkt_reorder_info()
831 *pkt_count = cnt; in dhd_process_pkt_reorder_info()
847 *pkt_count = 1; in dhd_process_pkt_reorder_info()
[all …]
H A Ddhd_debug.c1515 uint16 pkt_count) in __dhd_dbg_free_tx_pkts() argument
1521 while ((count < pkt_count) && tx_pkts) { in __dhd_dbg_free_tx_pkts()
1533 uint16 pkt_count) in __dhd_dbg_free_rx_pkts() argument
1539 while ((count < pkt_count) && rx_pkts) { in __dhd_dbg_free_rx_pkts()
2015 uint16 pkt_count, count; in dhd_dbg_monitor_get_tx_pkts() local
2042 pkt_count = MIN(req_count, tx_report->status_pos); in dhd_dbg_monitor_get_tx_pkts()
2052 while ((count < pkt_count) && tx_pkt && cptr) { in dhd_dbg_monitor_get_tx_pkts()
2078 while ((count < pkt_count) && tx_pkt && ptr) { in dhd_dbg_monitor_get_tx_pkts()
2092 *resp_count = pkt_count; in dhd_dbg_monitor_get_tx_pkts()
2095 if (!pkt_count) { in dhd_dbg_monitor_get_tx_pkts()
[all …]
H A Ddhd_debug.h728 #define PKT_MON_PKT_FULL(pkt_count) ((pkt_count) >= MAX_FATE_LOG_LEN) argument
729 #define PKT_MON_STATUS_FULL(pkt_count, status_count) \ argument
730 (((status_count) >= (pkt_count)) || ((status_count) >= MAX_FATE_LOG_LEN))
/OK3568_Linux_fs/kernel/drivers/net/ethernet/cavium/liquidio/
H A Docteon_droq.c96 u32 pkt_count = 0; in octeon_droq_check_hw_for_pkts() local
99 pkt_count = readl(droq->pkts_sent_reg); in octeon_droq_check_hw_for_pkts()
101 last_count = pkt_count - droq->pkt_count; in octeon_droq_check_hw_for_pkts()
102 droq->pkt_count = pkt_count; in octeon_droq_check_hw_for_pkts()
597 u32 pkt, total_len = 0, pkt_count, retval; in octeon_droq_fast_process_packets() local
601 pkt_count = pkts_to_process; in octeon_droq_fast_process_packets()
603 for (pkt = 0; pkt < pkt_count; pkt++) { in octeon_droq_fast_process_packets()
616 droq->q_no, droq->read_idx, pkt_count); in octeon_droq_fast_process_packets()
745 u32 pkt_count = 0; in octeon_droq_process_packets() local
749 pkt_count = atomic_read(&droq->pkts_pending); in octeon_droq_process_packets()
[all …]
H A Dcn66xx_device.c510 u32 pkt_count, droq_time_mask, droq_mask, droq_int_enb; in lio_cn6xxx_process_droq_intr_regs() local
530 pkt_count = octeon_droq_check_hw_for_pkts(droq); in lio_cn6xxx_process_droq_intr_regs()
531 if (pkt_count) { in lio_cn6xxx_process_droq_intr_regs()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/
H A Ddhd_cdc.c790 uint32 *pkt_count, void **pplast, uint8 start, uint8 end) in dhd_get_hostreorder_pkts() argument
798 *pkt_count = 0; in dhd_get_hostreorder_pkts()
820 *pkt_count = pkt_cnt; in dhd_get_hostreorder_pkts()
826 void **pkt, uint32 *pkt_count) in dhd_process_pkt_reorder_info() argument
835 if (pkt_count != NULL) in dhd_process_pkt_reorder_info()
836 *pkt_count = 0; in dhd_process_pkt_reorder_info()
851 *pkt_count = 1; in dhd_process_pkt_reorder_info()
868 *pkt_count = 1; in dhd_process_pkt_reorder_info()
891 *pkt_count = cnt; in dhd_process_pkt_reorder_info()
907 *pkt_count = 1; in dhd_process_pkt_reorder_info()
[all …]
H A Ddhd_debug.c1528 uint16 pkt_count) in __dhd_dbg_free_tx_pkts() argument
1533 while ((count < pkt_count) && tx_pkts) { in __dhd_dbg_free_tx_pkts()
1546 uint16 pkt_count) in __dhd_dbg_free_rx_pkts() argument
1551 while ((count < pkt_count) && rx_pkts) { in __dhd_dbg_free_rx_pkts()
2025 uint16 pkt_count, count; in dhd_dbg_monitor_get_tx_pkts() local
2051 pkt_count = MIN(req_count, tx_report->status_pos); in dhd_dbg_monitor_get_tx_pkts()
2061 while ((count < pkt_count) && tx_pkt && cptr) { in dhd_dbg_monitor_get_tx_pkts()
2086 while ((count < pkt_count) && tx_pkt && ptr) { in dhd_dbg_monitor_get_tx_pkts()
2100 *resp_count = pkt_count; in dhd_dbg_monitor_get_tx_pkts()
2103 if (!pkt_count) { in dhd_dbg_monitor_get_tx_pkts()
[all …]
H A Ddhd_debug.h680 #define PKT_MON_PKT_FULL(pkt_count) ((pkt_count) >= MAX_FATE_LOG_LEN) argument
681 #define PKT_MON_STATUS_FULL(pkt_count, status_count) \ argument
682 (((status_count) >= (pkt_count)) || ((status_count) >= MAX_FATE_LOG_LEN))
/OK3568_Linux_fs/kernel/net/sctp/
H A Doutput.c412 int pkt_count = 0, pkt_size; in sctp_packet_pack() local
503 pkt_count++; in sctp_packet_pack()
509 skb_shinfo(head)->gso_segs = pkt_count; in sctp_packet_pack()
537 return pkt_count; in sctp_packet_pack()
550 int pkt_count, gso = 0; in sctp_packet_transmit() local
597 pkt_count = sctp_packet_pack(packet, head, gso, gfp); in sctp_packet_transmit()
598 if (!pkt_count) { in sctp_packet_transmit()
619 asoc->stats.opackets += pkt_count; in sctp_packet_transmit()
/OK3568_Linux_fs/kernel/drivers/input/
H A Dmousedev.c73 unsigned int pkt_count; member
119 #define fx(i) (mousedev->old_x[(mousedev->pkt_count - (i)) & 03])
120 #define fy(i) (mousedev->old_y[(mousedev->pkt_count - (i)) & 03])
134 if (mousedev->touch && mousedev->pkt_count >= 2) { in mousedev_touchpad_event()
150 if (mousedev->touch && mousedev->pkt_count >= 2) { in mousedev_touchpad_event()
338 mousedev->touch = mousedev->pkt_count = 0; in mousedev_touchpad_touch()
383 mousedev->pkt_count++; in mousedev_event()
/OK3568_Linux_fs/kernel/drivers/net/usb/
H A Daqc111.c1079 u16 pkt_count = 0; in aqc111_rx_fixup() local
1098 pkt_count = desc_hdr & AQ_RX_DH_PKT_CNT_MASK; in aqc111_rx_fixup()
1099 start_of_descs = skb_len - ((pkt_count + 1) * sizeof(desc_hdr)); in aqc111_rx_fixup()
1108 if (pkt_count * 2 + desc_offset >= skb_len) in aqc111_rx_fixup()
1114 if (pkt_count == 0) in aqc111_rx_fixup()
1120 while (pkt_count--) { in aqc111_rx_fixup()
1131 (pkt_count == 0 && pkt_total_offset != desc_offset)) { in aqc111_rx_fixup()
1165 if (pkt_count == 0) in aqc111_rx_fixup()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/mvl88w8977/mlan/
H A Dmlan_11n_aggr.c185 int pkt_count = 0, pkt_len, pad; in wlan_11n_get_num_aggrpkts() local
202 ++pkt_count; in wlan_11n_get_num_aggrpkts()
205 return pkt_count; in wlan_11n_get_num_aggrpkts()
/OK3568_Linux_fs/kernel/drivers/net/wireless/nxp/mlan/
H A Dmlan_11n_aggr.c181 int pkt_count = 0, pkt_len, pad; in wlan_11n_get_num_aggrpkts() local
199 ++pkt_count; in wlan_11n_get_num_aggrpkts()
202 return pkt_count; in wlan_11n_get_num_aggrpkts()

1234