Home
last modified time | relevance | path

Searched refs:packet_count (Results 1 – 25 of 113) sorted by relevance

12345

/OK3568_Linux_fs/kernel/arch/alpha/kernel/
H A Derr_common.c93 int packet_count = 0; in el_process_header_subpacket() local
107 packet_count = in el_process_header_subpacket()
114 packet_count = in el_process_header_subpacket()
121 packet_count = in el_process_header_subpacket()
128 packet_count = 1; in el_process_header_subpacket()
148 el_process_subpackets(header, packet_count); in el_process_header_subpacket()
180 el_process_subpackets(struct el_subpacket *header, int packet_count) in el_process_subpackets() argument
188 for (i = 0; subpacket && i < packet_count; i++) { in el_process_subpackets()
/OK3568_Linux_fs/kernel/drivers/net/usb/
H A Dgl620a.c63 __le32 packet_count; member
82 count = le32_to_cpu(header->packet_count); in genelink_rx_fixup()
142 __le32 *packet_count; in genelink_tx_fixup() local
165 packet_count = skb_push(skb, (4 + 4 * 1)); in genelink_tx_fixup()
166 packet_len = packet_count + 1; in genelink_tx_fixup()
168 *packet_count = cpu_to_le32(1); in genelink_tx_fixup()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/sfc/
H A Dselftest.c82 int packet_count; member
418 for (i = 0; i < state->packet_count; i++) { in efx_begin_loopback()
445 i + 1, state->packet_count, in efx_begin_loopback()
461 return atomic_read(&state->rx_good) == state->packet_count; in efx_poll_loopback()
477 for (i = 0; i < state->packet_count; i++) { in efx_end_loopback()
489 if (tx_done != state->packet_count) { in efx_end_loopback()
496 tx_queue->label, tx_done, state->packet_count, in efx_end_loopback()
503 if (rx_good != state->packet_count) { in efx_end_loopback()
507 tx_queue->label, rx_good, state->packet_count, in efx_end_loopback()
514 lb_tests->tx_sent[tx_queue->label] += state->packet_count; in efx_end_loopback()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/sfc/falcon/
H A Dselftest.c79 int packet_count; member
420 for (i = 0; i < state->packet_count; i++) { in ef4_begin_loopback()
447 i + 1, state->packet_count, in ef4_begin_loopback()
463 return atomic_read(&state->rx_good) == state->packet_count; in ef4_poll_loopback()
479 for (i = 0; i < state->packet_count; i++) { in ef4_end_loopback()
491 if (tx_done != state->packet_count) { in ef4_end_loopback()
498 tx_queue->queue, tx_done, state->packet_count, in ef4_end_loopback()
505 if (rx_good != state->packet_count) { in ef4_end_loopback()
509 tx_queue->queue, rx_good, state->packet_count, in ef4_end_loopback()
516 lb_tests->tx_sent[tx_queue->queue] += state->packet_count; in ef4_end_loopback()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/hal/phydm/
H A Dphydm_pmac_tx_setting.c192 odm_set_bb_reg(dm, R_0x1eb4, 0xfffff, tx_info->packet_count); in phydm_set_sig_jgr3()
240 tmp = tx_info->packet_count | (tx_info->sfd << 16); in phydm_set_cck_preamble_hdr_jgr3()
261 tx_info->packet_count = 1; in phydm_set_mode_jgr3()
440 tx_info.packet_count = (u32)var[2]; in phydm_pmac_tx_dbg()
463 dbg_buf, tx_info.packet_count); in phydm_pmac_tx_dbg()
476 tx_info.packet_count); in phydm_pmac_tx_dbg()
485 if (tx_cnt >= tx_info.packet_count || poll_cnt >= 10) in phydm_pmac_tx_dbg()
492 if (tx_cnt < tx_info.packet_count) in phydm_pmac_tx_dbg()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723ds/hal/phydm/
H A Dphydm_pmac_tx_setting.c193 odm_set_bb_reg(dm, R_0x1eb4, 0xfffff, tx_info->packet_count); in phydm_set_sig_jgr3()
241 tmp = tx_info->packet_count | (tx_info->sfd << 16); in phydm_set_cck_preamble_hdr_jgr3()
262 tx_info->packet_count = 1; in phydm_set_mode_jgr3()
441 tx_info.packet_count = (u32)var[2]; in phydm_pmac_tx_dbg()
464 dbg_buf, tx_info.packet_count); in phydm_pmac_tx_dbg()
477 tx_info.packet_count); in phydm_pmac_tx_dbg()
486 if (tx_cnt >= tx_info.packet_count || poll_cnt >= 10) in phydm_pmac_tx_dbg()
493 if (tx_cnt < tx_info.packet_count) in phydm_pmac_tx_dbg()
H A Dphydm_cfotracking.c407 if (cfo_track->packet_count == cfo_track->packet_count_pre) { in phydm_cfo_tracking()
411 cfo_track->packet_count_pre = cfo_track->packet_count; in phydm_cfo_tracking()
570 if (cfo_track->packet_count == 0xffffffff) in phydm_parsing_cfo()
571 cfo_track->packet_count = 0; in phydm_parsing_cfo()
573 cfo_track->packet_count++; in phydm_parsing_cfo()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/hal/phydm/
H A Dphydm_pmac_tx_setting.c192 odm_set_bb_reg(dm, R_0x1eb4, 0xfffff, tx_info->packet_count); in phydm_set_sig_jgr3()
240 tmp = tx_info->packet_count | (tx_info->sfd << 16); in phydm_set_cck_preamble_hdr_jgr3()
261 tx_info->packet_count = 1; in phydm_set_mode_jgr3()
440 tx_info.packet_count = (u32)var[2]; in phydm_pmac_tx_dbg()
463 dbg_buf, tx_info.packet_count); in phydm_pmac_tx_dbg()
476 tx_info.packet_count); in phydm_pmac_tx_dbg()
485 if (tx_cnt >= tx_info.packet_count || poll_cnt >= 10) in phydm_pmac_tx_dbg()
492 if (tx_cnt < tx_info.packet_count) in phydm_pmac_tx_dbg()
H A Dphydm_cfotracking.c406 if (cfo_track->packet_count == cfo_track->packet_count_pre) { in phydm_cfo_tracking()
410 cfo_track->packet_count_pre = cfo_track->packet_count; in phydm_cfo_tracking()
569 if (cfo_track->packet_count == 0xffffffff) in phydm_parsing_cfo()
570 cfo_track->packet_count = 0; in phydm_parsing_cfo()
572 cfo_track->packet_count++; in phydm_parsing_cfo()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/hal/phydm/
H A Dphydm_pmac_tx_setting.c227 odm_set_bb_reg(dm, R_0x1eb4, 0xfffff, tx_info->packet_count); in phydm_set_sig_jgr3()
278 odm_set_bb_reg(dm, R_0x2a04, 0x03ff0000, tx_info->packet_count); in phydm_set_cck_preamble_hdr_jgr3()
291 tmp = tx_info->packet_count | (tx_info->sfd << 16); in phydm_set_cck_preamble_hdr_jgr3()
313 tx_info->packet_count = 1; in phydm_set_mode_jgr3()
510 tx_info.packet_count = (u32)var[2]; in phydm_pmac_tx_dbg()
537 dbg_buf, tx_info.packet_count); in phydm_pmac_tx_dbg()
550 tx_info.packet_count); in phydm_pmac_tx_dbg()
559 if (tx_cnt >= tx_info.packet_count || poll_cnt >= 10) in phydm_pmac_tx_dbg()
566 if (tx_cnt < tx_info.packet_count) in phydm_pmac_tx_dbg()
H A Dphydm_cfotracking.c411 if (cfo_track->packet_count == cfo_track->packet_count_pre) { in phydm_cfo_tracking()
415 cfo_track->packet_count_pre = cfo_track->packet_count; in phydm_cfo_tracking()
574 if (cfo_track->packet_count == 0xffffffff) in phydm_parsing_cfo()
575 cfo_track->packet_count = 0; in phydm_parsing_cfo()
577 cfo_track->packet_count++; in phydm_parsing_cfo()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/hal/phydm/
H A Dphydm_pmac_tx_setting.c227 odm_set_bb_reg(dm, R_0x1eb4, 0xfffff, tx_info->packet_count); in phydm_set_sig_jgr3()
278 odm_set_bb_reg(dm, R_0x2a04, 0x03ff0000, tx_info->packet_count); in phydm_set_cck_preamble_hdr_jgr3()
291 tmp = tx_info->packet_count | (tx_info->sfd << 16); in phydm_set_cck_preamble_hdr_jgr3()
313 tx_info->packet_count = 1; in phydm_set_mode_jgr3()
511 tx_info.packet_count = (u32)var[2]; in phydm_pmac_tx_dbg()
538 dbg_buf, tx_info.packet_count); in phydm_pmac_tx_dbg()
551 tx_info.packet_count); in phydm_pmac_tx_dbg()
560 if (tx_cnt >= tx_info.packet_count || poll_cnt >= 10) in phydm_pmac_tx_dbg()
567 if (tx_cnt < tx_info.packet_count) in phydm_pmac_tx_dbg()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/hal/phydm/
H A Dphydm_pmac_tx_setting.c227 odm_set_bb_reg(dm, R_0x1eb4, 0xfffff, tx_info->packet_count); in phydm_set_sig_jgr3()
278 odm_set_bb_reg(dm, R_0x2a04, 0x03ff0000, tx_info->packet_count); in phydm_set_cck_preamble_hdr_jgr3()
291 tmp = tx_info->packet_count | (tx_info->sfd << 16); in phydm_set_cck_preamble_hdr_jgr3()
313 tx_info->packet_count = 1; in phydm_set_mode_jgr3()
510 tx_info.packet_count = (u32)var[2]; in phydm_pmac_tx_dbg()
537 dbg_buf, tx_info.packet_count); in phydm_pmac_tx_dbg()
550 tx_info.packet_count); in phydm_pmac_tx_dbg()
559 if (tx_cnt >= tx_info.packet_count || poll_cnt >= 10) in phydm_pmac_tx_dbg()
566 if (tx_cnt < tx_info.packet_count) in phydm_pmac_tx_dbg()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723cs/hal/phydm/
H A Dphydm_pmac_tx_setting.c227 odm_set_bb_reg(dm, R_0x1eb4, 0xfffff, tx_info->packet_count); in phydm_set_sig_jgr3()
278 odm_set_bb_reg(dm, R_0x2a04, 0x03ff0000, tx_info->packet_count); in phydm_set_cck_preamble_hdr_jgr3()
291 tmp = tx_info->packet_count | (tx_info->sfd << 16); in phydm_set_cck_preamble_hdr_jgr3()
313 tx_info->packet_count = 1; in phydm_set_mode_jgr3()
510 tx_info.packet_count = (u32)var[2]; in phydm_pmac_tx_dbg()
537 dbg_buf, tx_info.packet_count); in phydm_pmac_tx_dbg()
550 tx_info.packet_count); in phydm_pmac_tx_dbg()
559 if (tx_cnt >= tx_info.packet_count || poll_cnt >= 10) in phydm_pmac_tx_dbg()
566 if (tx_cnt < tx_info.packet_count) in phydm_pmac_tx_dbg()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/hal/phydm/
H A Dphydm_pmac_tx_setting.c228 odm_set_bb_reg(dm, R_0x1eb4, 0xfffff, tx_info->packet_count); in phydm_set_sig_jgr3()
279 odm_set_bb_reg(dm, R_0x2a04, 0x03ff0000, tx_info->packet_count); in phydm_set_cck_preamble_hdr_jgr3()
292 tmp = tx_info->packet_count | (tx_info->sfd << 16); in phydm_set_cck_preamble_hdr_jgr3()
314 tx_info->packet_count = 1; in phydm_set_mode_jgr3()
511 tx_info.packet_count = (u32)var[2]; in phydm_pmac_tx_dbg()
538 dbg_buf, tx_info.packet_count); in phydm_pmac_tx_dbg()
551 tx_info.packet_count); in phydm_pmac_tx_dbg()
560 if (tx_cnt >= tx_info.packet_count || poll_cnt >= 10) in phydm_pmac_tx_dbg()
567 if (tx_cnt < tx_info.packet_count) in phydm_pmac_tx_dbg()
H A Dphydm_cfotracking.c412 if (cfo_track->packet_count == cfo_track->packet_count_pre) { in phydm_cfo_tracking()
416 cfo_track->packet_count_pre = cfo_track->packet_count; in phydm_cfo_tracking()
575 if (cfo_track->packet_count == 0xffffffff) in phydm_parsing_cfo()
576 cfo_track->packet_count = 0; in phydm_parsing_cfo()
578 cfo_track->packet_count++; in phydm_parsing_cfo()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bs/hal/phydm/
H A Dphydm_cfotracking.c225 if (p_cfo_track->packet_count == p_cfo_track->packet_count_pre) { in odm_cfo_tracking()
229 p_cfo_track->packet_count_pre = p_cfo_track->packet_count; in odm_cfo_tracking()
376 if (p_cfo_track->packet_count == 0xffffffff) in odm_parsing_cfo()
377 p_cfo_track->packet_count = 0; in odm_parsing_cfo()
379 p_cfo_track->packet_count++; in odm_parsing_cfo()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189fs/hal/phydm/
H A Dphydm_pmac_tx_setting.c316 odm_set_bb_reg(dm, R_0x1eb4, 0xfffff, tx_info->packet_count); in phydm_set_sig_jgr3()
377 tmp = tx_info->packet_count | (tx_info->sfd << 16); in phydm_set_cck_preamble_hdr_jgr3()
398 tx_info->packet_count = 1; in phydm_set_mode_jgr3()
406 tx_info->packet_count = 1; in phydm_set_mode_jgr3()
413 if (pmac_tx->is_cck_rate && tx_info->packet_count == 0) in phydm_set_mode_jgr3()
414 tx_info->packet_count = 0xffff; in phydm_set_mode_jgr3()
H A Dphydm_cfotracking.c393 if (cfo_track->packet_count == cfo_track->packet_count_pre) { in phydm_cfo_tracking()
397 cfo_track->packet_count_pre = cfo_track->packet_count; in phydm_cfo_tracking()
548 if (cfo_track->packet_count == 0xffffffff) in phydm_parsing_cfo()
549 cfo_track->packet_count = 0; in phydm_parsing_cfo()
551 cfo_track->packet_count++; in phydm_parsing_cfo()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/hal/phydm/
H A Dphydm_pmac_tx_setting.c315 odm_set_bb_reg(dm, R_0x1eb4, 0xfffff, tx_info->packet_count); in phydm_set_sig_jgr3()
376 tmp = tx_info->packet_count | (tx_info->sfd << 16); in phydm_set_cck_preamble_hdr_jgr3()
397 tx_info->packet_count = 1; in phydm_set_mode_jgr3()
405 tx_info->packet_count = 1; in phydm_set_mode_jgr3()
412 if (pmac_tx->is_cck_rate && tx_info->packet_count == 0) in phydm_set_mode_jgr3()
413 tx_info->packet_count = 0xffff; in phydm_set_mode_jgr3()
H A Dphydm_cfotracking.c398 if (cfo_track->packet_count == cfo_track->packet_count_pre) { in phydm_cfo_tracking()
402 cfo_track->packet_count_pre = cfo_track->packet_count; in phydm_cfo_tracking()
553 if (cfo_track->packet_count == 0xffffffff) in phydm_parsing_cfo()
554 cfo_track->packet_count = 0; in phydm_parsing_cfo()
556 cfo_track->packet_count++; in phydm_parsing_cfo()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188fu/hal/phydm/
H A Dphydm_pmac_tx_setting.c316 odm_set_bb_reg(dm, R_0x1eb4, 0xfffff, tx_info->packet_count); in phydm_set_sig_jgr3()
377 tmp = tx_info->packet_count | (tx_info->sfd << 16); in phydm_set_cck_preamble_hdr_jgr3()
398 tx_info->packet_count = 1; in phydm_set_mode_jgr3()
406 tx_info->packet_count = 1; in phydm_set_mode_jgr3()
413 if (pmac_tx->is_cck_rate && tx_info->packet_count == 0) in phydm_set_mode_jgr3()
414 tx_info->packet_count = 0xffff; in phydm_set_mode_jgr3()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/hal/phydm/
H A Dphydm_pmac_tx_setting.c316 odm_set_bb_reg(dm, R_0x1eb4, 0xfffff, tx_info->packet_count); in phydm_set_sig_jgr3()
377 tmp = tx_info->packet_count | (tx_info->sfd << 16); in phydm_set_cck_preamble_hdr_jgr3()
398 tx_info->packet_count = 1; in phydm_set_mode_jgr3()
406 tx_info->packet_count = 1; in phydm_set_mode_jgr3()
413 if (pmac_tx->is_cck_rate && tx_info->packet_count == 0) in phydm_set_mode_jgr3()
414 tx_info->packet_count = 0xffff; in phydm_set_mode_jgr3()
/OK3568_Linux_fs/kernel/arch/um/drivers/
H A Dvector_kern.c961 int packet_count, i; in vector_mmsg_rx() local
976 packet_count = uml_vector_recvmmsg( in vector_mmsg_rx()
979 if (packet_count < 0) in vector_mmsg_rx()
982 if (packet_count <= 0) in vector_mmsg_rx()
983 return packet_count; in vector_mmsg_rx()
990 qi->queue_depth = packet_count; in vector_mmsg_rx()
992 for (i = 0; i < packet_count; i++) { in vector_mmsg_rx()
1039 if (packet_count > 0) { in vector_mmsg_rx()
1040 if (vp->estats.rx_queue_max < packet_count) in vector_mmsg_rx()
1041 vp->estats.rx_queue_max = packet_count; in vector_mmsg_rx()
[all …]
/OK3568_Linux_fs/kernel/tools/perf/util/cs-etm-decoder/
H A Dcs-etm-decoder.c90 if (packet_queue->packet_count == 0) in cs_etm_decoder__get_packet()
106 packet_queue->packet_count--; in cs_etm_decoder__get_packet()
349 if (packet_queue->packet_count >= CS_ETM_PACKET_MAX_BUFFER - 1) in cs_etm_decoder__buffer_packet()
358 packet_queue->packet_count++; in cs_etm_decoder__buffer_packet()
375 if (packet_queue->packet_count == CS_ETM_PACKET_MAX_BUFFER - 1) in cs_etm_decoder__buffer_packet()

12345