Home
last modified time | relevance | path

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

123

/Linux-v4.19/drivers/staging/rtl8188eu/core/
Drtw_debug.c168 if (pmlmeext->channel_set[i].rx_count < pmlmeext->channel_set[index_24G].rx_count) { in proc_get_best_channel()
179 (pmlmeext->channel_set[i].rx_count < pmlmeext->channel_set[index_5G].rx_count)) { in proc_get_best_channel()
189 (pmlmeext->channel_set[i].rx_count < pmlmeext->channel_set[index_5G].rx_count)) { in proc_get_best_channel()
196 pmlmeext->channel_set[i].ChannelNum, pmlmeext->channel_set[i].rx_count); in proc_get_best_channel()
/Linux-v4.19/drivers/bluetooth/
Dhci_bcsp.c63 unsigned long rx_count; member
455 bcsp->rx_count--; in bcsp_unslip_one_byte()
467 bcsp->rx_count--; in bcsp_unslip_one_byte()
476 bcsp->rx_count--; in bcsp_unslip_one_byte()
484 bcsp->rx_count = 0; in bcsp_unslip_one_byte()
601 hu, count, bcsp->rx_state, bcsp->rx_count); in bcsp_recv()
605 if (bcsp->rx_count) { in bcsp_recv()
610 bcsp->rx_count = 0; in bcsp_recv()
625 bcsp->rx_count = 0; in bcsp_recv()
629 bcsp->rx_count = (bcsp->rx_skb->data[1] >> 4) + in bcsp_recv()
[all …]
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 …]
Dbluecard_cs.c76 unsigned long rx_count; member
390 info->rx_count = 0; in bluecard_receive()
419 info->rx_count = HCI_EVENT_HDR_SIZE; in bluecard_receive()
424 info->rx_count = HCI_ACL_HDR_SIZE; in bluecard_receive()
429 info->rx_count = HCI_SCO_HDR_SIZE; in bluecard_receive()
447 info->rx_count--; in bluecard_receive()
449 if (info->rx_count == 0) { in bluecard_receive()
461 info->rx_count = eh->plen; in bluecard_receive()
468 info->rx_count = dlen; in bluecard_receive()
474 info->rx_count = sh->dlen; in bluecard_receive()
[all …]
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()
/Linux-v4.19/drivers/staging/octeon/
Dethernet-rx.c194 int rx_count = 0; in cvm_oct_poll() local
225 while (rx_count < budget) { in cvm_oct_poll()
260 if (USE_ASYNC_IOBDMA && rx_count < (budget - 1)) { in cvm_oct_poll()
265 rx_count++; in cvm_oct_poll()
409 return rx_count; in cvm_oct_poll()
423 int rx_count; in cvm_oct_napi_poll() local
425 rx_count = cvm_oct_poll(rx_group, budget); in cvm_oct_napi_poll()
427 if (rx_count < budget) { in cvm_oct_napi_poll()
429 napi_complete_done(napi, rx_count); in cvm_oct_napi_poll()
432 return rx_count; in cvm_oct_napi_poll()
/Linux-v4.19/samples/rpmsg/
Drpmsg_client_sample.c28 int rx_count; member
38 ++idata->rx_count, src); in rpmsg_sample_cb()
44 if (idata->rx_count >= MSG_LIMIT) { in rpmsg_sample_cb()
/Linux-v4.19/drivers/misc/ti-st/
Dst_core.c190 st_gdata->rx_count = len; in st_check_data_len()
198 st_gdata->rx_count = 0; in st_check_data_len()
258 st_gdata->rx_count); in st_int_recv()
263 if (st_gdata->rx_count) { in st_int_recv()
264 len = min_t(unsigned int, st_gdata->rx_count, count); in st_int_recv()
266 st_gdata->rx_count -= len; in st_int_recv()
270 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()
786 st_gdata->rx_count = 0; in st_tty_close()
Dst_kim.c83 kim_gdata->rx_count = 0; in validate_firmware_response()
118 kim_gdata->rx_count = len; in kim_check_data_len()
126 kim_gdata->rx_count = 0; in kim_check_data_len()
153 if (kim_gdata->rx_count) { in kim_int_recv()
154 len = min_t(unsigned int, kim_gdata->rx_count, count); in kim_int_recv()
156 kim_gdata->rx_count -= len; in kim_int_recv()
160 if (kim_gdata->rx_count) in kim_int_recv()
185 kim_gdata->rx_count = 2; in kim_int_recv()
200 kim_gdata->rx_count = 0; in kim_int_recv()
/Linux-v4.19/drivers/spi/
Dspi-au1550.c57 unsigned rx_count; member
323 hw->rx_count = 0; in au1550_spi_dma_txrxb()
418 return hw->rx_count < hw->tx_count ? hw->rx_count : hw->tx_count; in au1550_spi_dma_txrxb()
447 hw->rx_count = hw->len - au1xxx_get_dma_residue(hw->dma_rx_ch); in au1550_spi_dma_irq_callback()
469 hw->rx_count = hw->len; in au1550_spi_dma_irq_callback()
487 hw->rx_count += (size) / 8; \
521 hw->rx_count = 0; in au1550_spi_pio_txrxb()
552 return hw->rx_count < hw->tx_count ? hw->rx_count : hw->tx_count; in au1550_spi_pio_txrxb()
603 if (!(stat & PSC_SPISTAT_RE) && hw->rx_count < hw->len) { in au1550_spi_pio_irq_callback()
637 if (hw->rx_count >= hw->len) { in au1550_spi_pio_irq_callback()
Dspi-img-spfi.c254 unsigned int tx_count, rx_count; in img_spfi_start_pio() local
262 rx_count = spfi_pio_read32(spfi, rx_buf, rx_bytes); in img_spfi_start_pio()
264 rx_count = spfi_pio_read8(spfi, rx_buf, rx_bytes); in img_spfi_start_pio()
267 rx_buf += rx_count; in img_spfi_start_pio()
269 rx_bytes -= rx_count; in img_spfi_start_pio()
Dspi-loopback-test.c827 int i, tx_count, rx_count; in spi_test_run_iter() local
839 rx_count = tx_count = 0; in spi_test_run_iter()
844 rx_count++; in spi_test_run_iter()
856 if (rx_off && (!rx_count)) { in spi_test_run_iter()
/Linux-v4.19/drivers/staging/rtlwifi/phydm/
Dphydm_hwconfig.c171 u8 rx_count = 0; in phydm_process_rssi_ofdm() local
177 rx_count++; in phydm_process_rssi_ofdm()
188 rx_count++; in phydm_process_rssi_ofdm()
199 rx_count++; in phydm_process_rssi_ofdm()
210 rx_count++; in phydm_process_rssi_ofdm()
219 switch (rx_count) { in phydm_process_rssi_ofdm()
1438 phy_info->rx_count = 0; in phydm_reset_phy_info()
1584 u8 i, rxsc, bw = ODM_BW20M, rx_count = 0; in phydm_get_rx_phy_status_type1() local
1597 rx_count++; in phydm_get_rx_phy_status_type1()
1607 phy_sta_rpt->rxevm[rx_count - 1], in phydm_get_rx_phy_status_type1()
[all …]
/Linux-v4.19/drivers/net/ethernet/cavium/thunder/
Dnicvf_ethtool.c488 u32 rx_count, tx_count; in nicvf_set_ringparam() local
499 rx_count = clamp_t(u32, ring->rx_pending, in nicvf_set_ringparam()
502 if ((tx_count == qs->sq_len) && (rx_count == qs->cq_len)) in nicvf_set_ringparam()
507 qs->cq_len = rounddown_pow_of_two(rx_count); in nicvf_set_ringparam()
716 channel->rx_count = nic->rx_queues; in nicvf_get_channels()
729 if (!channel->rx_count || !channel->tx_count) in nicvf_set_channels()
731 if (channel->rx_count > nic->max_queues) in nicvf_set_channels()
737 ((channel->tx_count + channel->rx_count) > nic->max_queues)) { in nicvf_set_channels()
747 nic->rx_queues = channel->rx_count; in nicvf_set_channels()
752 nic->xdp_tx_queues = channel->rx_count; in nicvf_set_channels()
/Linux-v4.19/drivers/net/ethernet/wiznet/
Dw5300.c391 int rx_count; in w5300_napi_poll() local
394 for (rx_count = 0; rx_count < budget; rx_count++) { in w5300_napi_poll()
419 if (rx_count < budget) { in w5300_napi_poll()
420 napi_complete_done(napi, rx_count); in w5300_napi_poll()
425 return rx_count; in w5300_napi_poll()
Dw5100.c906 int rx_count; in w5100_napi_poll() local
908 for (rx_count = 0; rx_count < budget; rx_count++) { in w5100_napi_poll()
917 if (rx_count < budget) { in w5100_napi_poll()
918 napi_complete_done(napi, rx_count); in w5100_napi_poll()
922 return rx_count; in w5100_napi_poll()
/Linux-v4.19/drivers/tty/
Dehv_bytechan.c187 unsigned int rx_count, tx_count; in udbg_init_ehv_bc() local
192 &rx_count, &tx_count); in udbg_init_ehv_bc()
335 unsigned int rx_count, tx_count, len; in ehv_bc_tty_rx_isr() local
344 ev_byte_channel_poll(bc->handle, &rx_count, &tx_count); in ehv_bc_tty_rx_isr()
345 count = tty_buffer_request_room(&bc->port, rx_count); in ehv_bc_tty_rx_isr()
/Linux-v4.19/drivers/net/hamradio/
D6pack.c100 unsigned int rx_count; member
510 sp->rx_count = 0; in resync_tnc()
604 sp->rx_count = 0; in sixpack_open()
861 if (sp->rx_count != 3) { in decode_data()
862 sp->raw_buf[sp->rx_count++] = inbyte; in decode_data()
874 sp->rx_count = 0; in decode_data()
939 if ((sp->rx_count == 0) && (sp->rx_count_cooked == 0)) { in decode_std_command()
949 rest = sp->rx_count; in decode_std_command()
Ddmascc.c208 int rx_head, rx_tail, rx_count; member
756 priv->rx_head = priv->rx_tail = priv->rx_count = 0; in scc_open()
1233 if (priv->rx_count < NUM_RX_BUF - 1) { in special_condition()
1239 priv->rx_count++; in special_condition()
1271 while (priv->rx_count) { in rx_bh()
1292 priv->rx_count--; in rx_bh()
/Linux-v4.19/drivers/usb/musb/
Dmusb_host.c427 u16 rx_count; in musb_host_packet_rx() local
440 rx_count = musb_readw(epio, MUSB_RXCOUNT); in musb_host_packet_rx()
441 musb_dbg(musb, "RX%d count %d, buffer %p len %d/%d", epnum, rx_count, in musb_host_packet_rx()
458 if (rx_count > length) { in musb_host_packet_rx()
463 musb_dbg(musb, "OVERFLOW %d into %d", rx_count, length); in musb_host_packet_rx()
466 length = rx_count; in musb_host_packet_rx()
478 if (rx_count > length) { in musb_host_packet_rx()
481 musb_dbg(musb, "OVERFLOW %d into %d", rx_count, length); in musb_host_packet_rx()
484 length = rx_count; in musb_host_packet_rx()
490 || (rx_count < qh->maxpacket) in musb_host_packet_rx()
[all …]
/Linux-v4.19/include/linux/
Dti_wilink_st.h152 unsigned long rx_count; member
267 unsigned long rx_count; member
/Linux-v4.19/drivers/net/ethernet/amd/xgbe/
Dxgbe-ethtool.c741 channels->rx_count = rx; in xgbe_get_channels()
749 channels->combined_count, channels->rx_count, in xgbe_print_set_channels_input()
798 if (channels->rx_count && channels->tx_count) { in xgbe_set_channels()
806 if ((channels->combined_count + channels->rx_count) > rx) { in xgbe_set_channels()
809 channels->combined_count + channels->rx_count, rx); in xgbe_set_channels()
822 rx = channels->combined_count + channels->rx_count; in xgbe_set_channels()
/Linux-v4.19/drivers/net/can/peak_canfd/
Dpeak_canfd_user.h54 struct pucan_rx_msg *rx_msg, int rx_count);
/Linux-v4.19/arch/powerpc/include/asm/
Depapr_hcalls.h369 unsigned int *rx_count, unsigned int *tx_count) in ev_byte_channel_poll() argument
384 *rx_count = r4; in ev_byte_channel_poll()
/Linux-v4.19/net/sctp/
Dulpevent.c639 int rx_count; in sctp_ulpevent_make_rcvmsg() local
647 rx_count = atomic_read(&asoc->rmem_alloc); in sctp_ulpevent_make_rcvmsg()
649 rx_count = atomic_read(&asoc->base.sk->sk_rmem_alloc); in sctp_ulpevent_make_rcvmsg()
651 if (rx_count >= asoc->base.sk->sk_rcvbuf) { in sctp_ulpevent_make_rcvmsg()

123