Home
last modified time | relevance | path

Searched refs:rx_count (Results 1 – 25 of 224) sorted by relevance

123456789

/OK3568_Linux_fs/external/rkwifibt/drivers/bluetooth_uart_driver/
H A Dhci_h4.c55 unsigned long rx_count; member
150 h4->rx_count = len; in h4_check_data_len()
156 h4->rx_count = 0; in h4_check_data_len()
172 hu, count, h4->rx_state, h4->rx_count); in h4_recv()
176 if (h4->rx_count) { in h4_recv()
177 len = min_t(unsigned int, h4->rx_count, count); in h4_recv()
179 h4->rx_count -= len; count -= len; ptr += len; in h4_recv()
181 if (h4->rx_count) in h4_recv()
253 h4->rx_count = HCI_EVENT_HDR_SIZE; in h4_recv()
260 h4->rx_count = HCI_ACL_HDR_SIZE; in h4_recv()
[all …]
H A Dhci_rtk_h5.c66 unsigned long rx_count; member
518 h5->rx_count--; in h5_unslip_one_byte()
530 h5->rx_count--; in h5_unslip_one_byte()
539 h5->rx_count--; in h5_unslip_one_byte()
548 h5->rx_count--; in h5_unslip_one_byte()
557 h5->rx_count--; in h5_unslip_one_byte()
565 h5->rx_count = 0; in h5_unslip_one_byte()
685 hu, count, h5->rx_state, h5->rx_count); in h5_recv()
689 if (h5->rx_count) { in h5_recv()
694 h5->rx_count = 0; in h5_recv()
[all …]
/OK3568_Linux_fs/kernel/drivers/bluetooth/
H A Dhci_bcsp.c48 unsigned long rx_count; member
440 bcsp->rx_count--; in bcsp_unslip_one_byte()
452 bcsp->rx_count--; in bcsp_unslip_one_byte()
461 bcsp->rx_count--; in bcsp_unslip_one_byte()
469 bcsp->rx_count = 0; in bcsp_unslip_one_byte()
586 hu, count, bcsp->rx_state, bcsp->rx_count); in bcsp_recv()
590 if (bcsp->rx_count) { in bcsp_recv()
596 bcsp->rx_count = 0; in bcsp_recv()
612 bcsp->rx_count = 0; in bcsp_recv()
616 bcsp->rx_count = (bcsp->rx_skb->data[1] >> 4) + in bcsp_recv()
[all …]
H A Dbt3c_cs.c81 unsigned long rx_count; member
238 info->rx_count = 0; in bt3c_receive()
256 info->rx_count = HCI_EVENT_HDR_SIZE; in bt3c_receive()
261 info->rx_count = HCI_ACL_HDR_SIZE; in bt3c_receive()
266 info->rx_count = HCI_SCO_HDR_SIZE; in bt3c_receive()
287 info->rx_count--; in bt3c_receive()
289 if (info->rx_count == 0) { in bt3c_receive()
301 info->rx_count = eh->plen; in bt3c_receive()
308 info->rx_count = dlen; in bt3c_receive()
314 info->rx_count = sh->dlen; in bt3c_receive()
[all …]
H A Dbluecard_cs.c76 unsigned long rx_count; member
389 info->rx_count = 0; in bluecard_receive()
418 info->rx_count = HCI_EVENT_HDR_SIZE; in bluecard_receive()
423 info->rx_count = HCI_ACL_HDR_SIZE; in bluecard_receive()
428 info->rx_count = HCI_SCO_HDR_SIZE; in bluecard_receive()
446 info->rx_count--; in bluecard_receive()
448 if (info->rx_count == 0) { in bluecard_receive()
460 info->rx_count = eh->plen; in bluecard_receive()
467 info->rx_count = dlen; in bluecard_receive()
473 info->rx_count = sh->dlen; in bluecard_receive()
[all …]
H A Ddtl1_cs.c79 unsigned long rx_count; member
224 info->rx_count = NSHL; in dtl1_receive()
232 info->rx_count--; in dtl1_receive()
234 if (info->rx_count == 0) { in dtl1_receive()
239 info->rx_count = nsh->len + (nsh->len & 0x0001); in dtl1_receive()
274 info->rx_count = NSHL; in dtl1_receive()
446 info->rx_count = NSHL; in dtl1_open()
/OK3568_Linux_fs/kernel/drivers/staging/octeon/
H A Dethernet-rx.c187 int rx_count = 0; in cvm_oct_poll() local
218 while (rx_count < budget) { in cvm_oct_poll()
253 if (USE_ASYNC_IOBDMA && rx_count < (budget - 1)) { in cvm_oct_poll()
258 rx_count++; in cvm_oct_poll()
402 return rx_count; in cvm_oct_poll()
416 int rx_count; in cvm_oct_napi_poll() local
418 rx_count = cvm_oct_poll(rx_group, budget); in cvm_oct_napi_poll()
420 if (rx_count < budget) { in cvm_oct_napi_poll()
422 napi_complete_done(napi, rx_count); in cvm_oct_napi_poll()
425 return rx_count; in cvm_oct_napi_poll()
/OK3568_Linux_fs/kernel/net/ethtool/
H A Dchannels.c68 channels->rx_count))) || in channels_fill_reply()
142 max(channels.rx_count, channels.tx_count); in ethnl_set_channels()
144 ethnl_update_u32(&channels.rx_count, tb[ETHTOOL_A_CHANNELS_RX_COUNT], in ethnl_set_channels()
158 if (channels.rx_count > channels.max_rx) in ethnl_set_channels()
176 if (!channels.combined_count && !channels.rx_count) in ethnl_set_channels()
196 (channels.combined_count + channels.rx_count) <= max_rx_in_use) { in ethnl_set_channels()
204 min(channels.rx_count, channels.tx_count); in ethnl_set_channels()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_ethtool.c212 channel->rx_count = pfvf->hw.rx_queues; in otx2_get_channels()
224 if (!channel->rx_count || !channel->tx_count) in otx2_set_channels()
231 channel->rx_count); in otx2_set_channels()
235 pfvf->hw.rx_queues = channel->rx_count; in otx2_set_channels()
311 u32 rx_count, tx_count; in otx2_set_ringparam() local
317 rx_count = ring->rx_pending; in otx2_set_ringparam()
321 if (rx_count < pfvf->hw.rq_skid) in otx2_set_ringparam()
322 rx_count = pfvf->hw.rq_skid; in otx2_set_ringparam()
323 rx_count = Q_COUNT(Q_SIZE(rx_count, 3)); in otx2_set_ringparam()
333 if (tx_count == qs->sqe_cnt && rx_count == qs->rqe_cnt) in otx2_set_ringparam()
[all …]
/OK3568_Linux_fs/kernel/drivers/misc/ti-st/
H A Dst_core.c182 st_gdata->rx_count = len; in st_check_data_len()
189 st_gdata->rx_count = 0; in st_check_data_len()
250 st_gdata->rx_count); in st_int_recv()
255 if (st_gdata->rx_count) { in st_int_recv()
256 len = min_t(unsigned int, st_gdata->rx_count, count); in st_int_recv()
258 st_gdata->rx_count -= len; in st_int_recv()
262 if (st_gdata->rx_count) in st_int_recv()
381 st_gdata->rx_count = st_gdata->list[type]->hdr_len; in st_int_recv()
382 pr_debug("rx_count %ld\n", st_gdata->rx_count); in st_int_recv()
791 st_gdata->rx_count = 0; in st_tty_close()
H A Dst_kim.c71 kim_gdata->rx_count = 0; in validate_firmware_response()
109 kim_gdata->rx_count = len; in kim_check_data_len()
119 kim_gdata->rx_count = 0; in kim_check_data_len()
146 if (kim_gdata->rx_count) { in kim_int_recv()
147 len = min_t(unsigned int, kim_gdata->rx_count, count); in kim_int_recv()
149 kim_gdata->rx_count -= len; in kim_int_recv()
153 if (kim_gdata->rx_count) in kim_int_recv()
178 kim_gdata->rx_count = 2; in kim_int_recv()
193 kim_gdata->rx_count = 0; in kim_int_recv()
/OK3568_Linux_fs/kernel/samples/rpmsg/
H A Drpmsg_client_sample.c22 int rx_count; member
32 ++idata->rx_count, src); in rpmsg_sample_cb()
38 if (idata->rx_count >= count) { in rpmsg_sample_cb()
/OK3568_Linux_fs/kernel/drivers/spi/
H A Dspi-au1550.c48 unsigned rx_count; member
314 hw->rx_count = 0; in au1550_spi_dma_txrxb()
409 return hw->rx_count < hw->tx_count ? hw->rx_count : hw->tx_count; in au1550_spi_dma_txrxb()
438 hw->rx_count = hw->len - au1xxx_get_dma_residue(hw->dma_rx_ch); in au1550_spi_dma_irq_callback()
460 hw->rx_count = hw->len; in au1550_spi_dma_irq_callback()
478 hw->rx_count += (size) / 8; \
512 hw->rx_count = 0; in au1550_spi_pio_txrxb()
543 return hw->rx_count < hw->tx_count ? hw->rx_count : hw->tx_count; in au1550_spi_pio_txrxb()
594 if (!(stat & PSC_SPISTAT_RE) && hw->rx_count < hw->len) { in au1550_spi_pio_irq_callback()
628 if (hw->rx_count >= hw->len) { in au1550_spi_pio_irq_callback()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/hal/phydm/
H A Dphydm_phystatus.c1309 u8 rx_count = 0; in phydm_get_rssi_8814_ofdm() local
1313 rx_count++; in phydm_get_rssi_8814_ofdm()
1318 rx_count++; in phydm_get_rssi_8814_ofdm()
1323 rx_count++; in phydm_get_rssi_8814_ofdm()
1328 rx_count++; in phydm_get_rssi_8814_ofdm()
1336 switch (rx_count) { in phydm_get_rssi_8814_ofdm()
1925 phy_info->rx_count = 0; in phydm_reset_phy_info_3rd()
2000 …t = %d, rx_count = %d\n", phy_info->is_beamformed, phy_info->is_mu_packet, phy_info->rx_count + 1); in phydm_common_phy_info_3rd()
2163 phy_info->rx_count = rx_cnt - 1; in phydm_get_physts_jgr3_1()
2223 u8 i, rxsc, bw = CHANNEL_WIDTH_20, rx_count = 0; in phydm_get_physts_jgr3_2_3() local
[all …]
/OK3568_Linux_fs/kernel/drivers/rpmsg/
H A Drockchip_rpmsg_test.c20 int rx_count; member
32 (char *)payload, ++idata->rx_count, remote_ept_id); in rockchip_rpmsg_test_cb()
35 if (idata->rx_count >= MSG_LIMIT) { in rockchip_rpmsg_test_cb()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/hal/phydm/
H A Dphydm_phystatus.c1332 u8 rx_count = 0; in phydm_get_rssi_8814_ofdm() local
1336 rx_count++; in phydm_get_rssi_8814_ofdm()
1341 rx_count++; in phydm_get_rssi_8814_ofdm()
1346 rx_count++; in phydm_get_rssi_8814_ofdm()
1351 rx_count++; in phydm_get_rssi_8814_ofdm()
1359 switch (rx_count) { in phydm_get_rssi_8814_ofdm()
1799 phy_info->rx_count = 0; in phydm_reset_phy_info_3rd()
1874 …t = %d, rx_count = %d\n", phy_info->is_beamformed, phy_info->is_mu_packet, phy_info->rx_count + 1); in phydm_common_phy_info_3rd()
2037 phy_info->rx_count = rx_cnt - 1; in phydm_get_physts_jarguar3_1()
2097 u8 i, rxsc, bw = CHANNEL_WIDTH_20, rx_count = 0; in phydm_get_physts_jarguar3_2_3() local
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188fu/hal/phydm/
H A Dphydm_phystatus.c1332 u8 rx_count = 0; in phydm_get_rssi_8814_ofdm() local
1336 rx_count++; in phydm_get_rssi_8814_ofdm()
1341 rx_count++; in phydm_get_rssi_8814_ofdm()
1346 rx_count++; in phydm_get_rssi_8814_ofdm()
1351 rx_count++; in phydm_get_rssi_8814_ofdm()
1359 switch (rx_count) { in phydm_get_rssi_8814_ofdm()
1799 phy_info->rx_count = 0; in phydm_reset_phy_info_3rd()
1874 …t = %d, rx_count = %d\n", phy_info->is_beamformed, phy_info->is_mu_packet, phy_info->rx_count + 1); in phydm_common_phy_info_3rd()
2037 phy_info->rx_count = rx_cnt - 1; in phydm_get_physts_jarguar3_1()
2097 u8 i, rxsc, bw = CHANNEL_WIDTH_20, rx_count = 0; in phydm_get_physts_jarguar3_2_3() local
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189fs/hal/phydm/
H A Dphydm_phystatus.c1332 u8 rx_count = 0; in phydm_get_rssi_8814_ofdm() local
1336 rx_count++; in phydm_get_rssi_8814_ofdm()
1341 rx_count++; in phydm_get_rssi_8814_ofdm()
1346 rx_count++; in phydm_get_rssi_8814_ofdm()
1351 rx_count++; in phydm_get_rssi_8814_ofdm()
1359 switch (rx_count) { in phydm_get_rssi_8814_ofdm()
1799 phy_info->rx_count = 0; in phydm_reset_phy_info_3rd()
1874 …t = %d, rx_count = %d\n", phy_info->is_beamformed, phy_info->is_mu_packet, phy_info->rx_count + 1); in phydm_common_phy_info_3rd()
2037 phy_info->rx_count = rx_cnt - 1; in phydm_get_physts_jarguar3_1()
2097 u8 i, rxsc, bw = CHANNEL_WIDTH_20, rx_count = 0; in phydm_get_physts_jarguar3_2_3() local
[all …]
/OK3568_Linux_fs/external/rkwifibt/tools/rtk_hciattach/
H A Dhciattach_rtk.c353 h5->rx_count--; in h5_unslip_one_byte()
363 h5->rx_count--; in h5_unslip_one_byte()
372 h5->rx_count--; in h5_unslip_one_byte()
381 h5->rx_count--; in h5_unslip_one_byte()
390 h5->rx_count--; in h5_unslip_one_byte()
398 h5->rx_count = 0; in h5_unslip_one_byte()
828 if (h5->rx_count) { in h5_recv()
833 h5->rx_count = 0; in h5_recv()
850 h5->rx_count = 0; in h5_recv()
865 h5->rx_count = 0; in h5_recv()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/hamradio/
H A D6pack.c100 unsigned int rx_count; member
509 sp->rx_count = 0; in resync_tnc()
598 sp->rx_count = 0; in sixpack_open()
837 if (sp->rx_count != 3) { in decode_data()
838 sp->raw_buf[sp->rx_count++] = inbyte; in decode_data()
845 sp->rx_count = 0; in decode_data()
856 sp->rx_count = 0; in decode_data()
918 if ((sp->rx_count == 0) && (sp->rx_count_cooked == 0)) { in decode_std_command()
928 rest = sp->rx_count; in decode_std_command()
/OK3568_Linux_fs/u-boot/drivers/usb/musb-new/
H A Dmusb_host.c452 u16 rx_count; in musb_host_packet_rx() local
465 rx_count = musb_readw(epio, MUSB_RXCOUNT); in musb_host_packet_rx()
466 dev_dbg(musb->controller, "RX%d count %d, buffer %p len %d/%d\n", epnum, rx_count, in musb_host_packet_rx()
484 if (rx_count > length) { in musb_host_packet_rx()
489 dev_dbg(musb->controller, "** OVERFLOW %d into %d\n", rx_count, length); in musb_host_packet_rx()
492 length = rx_count; in musb_host_packet_rx()
505 if (rx_count > length) { in musb_host_packet_rx()
508 dev_dbg(musb->controller, "** OVERFLOW %d into %d\n", rx_count, length); in musb_host_packet_rx()
511 length = rx_count; in musb_host_packet_rx()
517 || (rx_count < qh->maxpacket) in musb_host_packet_rx()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/cavium/thunder/
H A Dnicvf_ethtool.c483 u32 rx_count, tx_count; in nicvf_set_ringparam() local
494 rx_count = clamp_t(u32, ring->rx_pending, in nicvf_set_ringparam()
497 if ((tx_count == qs->sq_len) && (rx_count == qs->cq_len)) in nicvf_set_ringparam()
502 qs->cq_len = rounddown_pow_of_two(rx_count); in nicvf_set_ringparam()
711 channel->rx_count = nic->rx_queues; in nicvf_get_channels()
724 if (!channel->rx_count || !channel->tx_count) in nicvf_set_channels()
726 if (channel->rx_count > nic->max_queues) in nicvf_set_channels()
732 ((channel->tx_count + channel->rx_count) > nic->max_queues)) { in nicvf_set_channels()
742 nic->rx_queues = channel->rx_count; in nicvf_set_channels()
747 nic->xdp_tx_queues = channel->rx_count; in nicvf_set_channels()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/wiznet/
H A Dw5300.c378 int rx_count; in w5300_napi_poll() local
381 for (rx_count = 0; rx_count < budget; rx_count++) { in w5300_napi_poll()
406 if (rx_count < budget) { in w5300_napi_poll()
407 napi_complete_done(napi, rx_count); in w5300_napi_poll()
411 return rx_count; in w5300_napi_poll()
/OK3568_Linux_fs/kernel/drivers/staging/rtl8188eu/core/
H A Drtw_debug.c166 if (pmlmeext->channel_set[i].rx_count < pmlmeext->channel_set[index_24G].rx_count) { in proc_get_best_channel()
174 pmlmeext->channel_set[i].ChannelNum, pmlmeext->channel_set[i].rx_count); in proc_get_best_channel()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/hal/phydm/
H A Dphydm_phystatus.c1253 u8 rx_count = 0; in phydm_get_rssi_8814_ofdm() local
1257 rx_count++; in phydm_get_rssi_8814_ofdm()
1262 rx_count++; in phydm_get_rssi_8814_ofdm()
1267 rx_count++; in phydm_get_rssi_8814_ofdm()
1272 rx_count++; in phydm_get_rssi_8814_ofdm()
1280 switch (rx_count) { in phydm_get_rssi_8814_ofdm()
1895 phy_info->rx_count = 0; in phydm_reset_phy_info_jgr3()
2058 phy_info->rx_count = (rx_cnt > 0) ? rx_cnt - 1 : 0; /*from 1~4 to 0~3 */ in phydm_get_physts_0_jgr3()
2231 phy_info->rx_count = (rx_cnt > 0) ? rx_cnt - 1 : 0; /*from 1~4 to 0~3 */ in phydm_get_physts_6_jgr3()
2282 phy_info->rx_count = (rx_cnt > 0) ? rx_cnt - 1 : 0; /*from 1~4 to 0~3 */ in phydm_get_physts_ofdm_cmn_jgr3()
[all …]

123456789