| /Linux-v5.4/drivers/bluetooth/ |
| D | hci_bcsp.c | 48 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() 595 bcsp->rx_count = 0; in bcsp_recv() 610 bcsp->rx_count = 0; in bcsp_recv() 614 bcsp->rx_count = (bcsp->rx_skb->data[1] >> 4) + in bcsp_recv() [all …]
|
| D | bt3c_cs.c | 81 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 …]
|
| D | bluecard_cs.c | 76 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 …]
|
| D | dtl1_cs.c | 79 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-v5.4/drivers/staging/octeon/ |
| D | ethernet-rx.c | 183 int rx_count = 0; in cvm_oct_poll() local 214 while (rx_count < budget) { in cvm_oct_poll() 249 if (USE_ASYNC_IOBDMA && rx_count < (budget - 1)) { in cvm_oct_poll() 254 rx_count++; in cvm_oct_poll() 398 return rx_count; in cvm_oct_poll() 412 int rx_count; in cvm_oct_napi_poll() local 414 rx_count = cvm_oct_poll(rx_group, budget); in cvm_oct_napi_poll() 416 if (rx_count < budget) { in cvm_oct_napi_poll() 418 napi_complete_done(napi, rx_count); in cvm_oct_napi_poll() 421 return rx_count; in cvm_oct_napi_poll()
|
| /Linux-v5.4/samples/rpmsg/ |
| D | rpmsg_client_sample.c | 22 int rx_count; member 32 ++idata->rx_count, src); in rpmsg_sample_cb() 38 if (idata->rx_count >= count) { in rpmsg_sample_cb()
|
| /Linux-v5.4/drivers/misc/ti-st/ |
| D | st_core.c | 177 st_gdata->rx_count = len; in st_check_data_len() 185 st_gdata->rx_count = 0; in st_check_data_len() 245 st_gdata->rx_count); in st_int_recv() 250 if (st_gdata->rx_count) { in st_int_recv() 251 len = min_t(unsigned int, st_gdata->rx_count, count); in st_int_recv() 253 st_gdata->rx_count -= len; in st_int_recv() 257 if (st_gdata->rx_count) in st_int_recv() 368 st_gdata->rx_count = st_gdata->list[type]->hdr_len; in st_int_recv() 369 pr_debug("rx_count %ld\n", st_gdata->rx_count); in st_int_recv() 773 st_gdata->rx_count = 0; in st_tty_close()
|
| D | st_kim.c | 70 kim_gdata->rx_count = 0; in validate_firmware_response() 105 kim_gdata->rx_count = len; in kim_check_data_len() 113 kim_gdata->rx_count = 0; in kim_check_data_len() 140 if (kim_gdata->rx_count) { in kim_int_recv() 141 len = min_t(unsigned int, kim_gdata->rx_count, count); in kim_int_recv() 143 kim_gdata->rx_count -= len; in kim_int_recv() 147 if (kim_gdata->rx_count) in kim_int_recv() 172 kim_gdata->rx_count = 2; in kim_int_recv() 187 kim_gdata->rx_count = 0; in kim_int_recv()
|
| /Linux-v5.4/drivers/spi/ |
| D | spi-au1550.c | 48 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()
|
| D | spi-img-spfi.c | 251 unsigned int tx_count, rx_count; in img_spfi_start_pio() local 259 rx_count = spfi_pio_read32(spfi, rx_buf, rx_bytes); in img_spfi_start_pio() 261 rx_count = spfi_pio_read8(spfi, rx_buf, rx_bytes); in img_spfi_start_pio() 264 rx_buf += rx_count; in img_spfi_start_pio() 266 rx_bytes -= rx_count; in img_spfi_start_pio()
|
| D | spi-loopback-test.c | 818 int i, tx_count, rx_count; in spi_test_run_iter() local 830 rx_count = tx_count = 0; in spi_test_run_iter() 835 rx_count++; in spi_test_run_iter() 847 if (rx_off && (!rx_count)) { in spi_test_run_iter()
|
| /Linux-v5.4/drivers/staging/rtl8188eu/core/ |
| D | rtw_debug.c | 166 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()
|
| /Linux-v5.4/drivers/net/ethernet/cavium/thunder/ |
| D | nicvf_ethtool.c | 485 u32 rx_count, tx_count; in nicvf_set_ringparam() local 496 rx_count = clamp_t(u32, ring->rx_pending, in nicvf_set_ringparam() 499 if ((tx_count == qs->sq_len) && (rx_count == qs->cq_len)) in nicvf_set_ringparam() 504 qs->cq_len = rounddown_pow_of_two(rx_count); in nicvf_set_ringparam() 713 channel->rx_count = nic->rx_queues; in nicvf_get_channels() 726 if (!channel->rx_count || !channel->tx_count) in nicvf_set_channels() 728 if (channel->rx_count > nic->max_queues) in nicvf_set_channels() 734 ((channel->tx_count + channel->rx_count) > nic->max_queues)) { in nicvf_set_channels() 744 nic->rx_queues = channel->rx_count; in nicvf_set_channels() 749 nic->xdp_tx_queues = channel->rx_count; in nicvf_set_channels()
|
| /Linux-v5.4/drivers/net/ethernet/wiznet/ |
| D | w5300.c | 378 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()
|
| D | w5100.c | 899 int rx_count; in w5100_napi_poll() local 901 for (rx_count = 0; rx_count < budget; rx_count++) { in w5100_napi_poll() 910 if (rx_count < budget) { in w5100_napi_poll() 911 napi_complete_done(napi, rx_count); in w5100_napi_poll() 915 return rx_count; in w5100_napi_poll()
|
| /Linux-v5.4/drivers/tty/ |
| D | ehv_bytechan.c | 187 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-v5.4/drivers/net/hamradio/ |
| D | 6pack.c | 100 unsigned int rx_count; member 510 sp->rx_count = 0; in resync_tnc() 599 sp->rx_count = 0; in sixpack_open() 836 if (sp->rx_count != 3) { in decode_data() 837 sp->raw_buf[sp->rx_count++] = inbyte; in decode_data() 849 sp->rx_count = 0; in decode_data() 911 if ((sp->rx_count == 0) && (sp->rx_count_cooked == 0)) { in decode_std_command() 921 rest = sp->rx_count; in decode_std_command()
|
| /Linux-v5.4/drivers/usb/musb/ |
| D | musb_host.c | 427 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-v5.4/include/linux/ |
| D | ti_wilink_st.h | 139 unsigned long rx_count; member 254 unsigned long rx_count; member
|
| /Linux-v5.4/tools/include/uapi/linux/ |
| D | ethtool.h | 45 __u32 rx_count; member
|
| /Linux-v5.4/drivers/net/ethernet/amd/xgbe/ |
| D | xgbe-ethtool.c | 741 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-v5.4/drivers/net/can/peak_canfd/ |
| D | peak_canfd_user.h | 46 struct pucan_rx_msg *rx_msg, int rx_count);
|
| /Linux-v5.4/drivers/net/ethernet/ti/ |
| D | cpsw_ethtool.c | 390 ch->rx_count = cpsw->rx_ch_num; in cpsw_get_channels() 521 if (!ch->rx_count || !ch->tx_count) in cpsw_check_ch_settings() 524 if (ch->rx_count > cpsw->data.channels || in cpsw_check_ch_settings() 608 new_pools = (chs->rx_count != cpsw->rx_ch_num) && cpsw->usage_count; in cpsw_set_channels_common() 610 ret = cpsw_update_channels_res(priv, chs->rx_count, 1, rx_handler); in cpsw_set_channels_common()
|
| /Linux-v5.4/drivers/net/ethernet/google/gve/ |
| D | gve_ethtool.c | 173 cmd->rx_count = priv->rx_cfg.num_queues; in gve_get_channels() 187 int new_rx = cmd->rx_count; in gve_set_channels()
|
| /Linux-v5.4/arch/powerpc/include/asm/ |
| D | epapr_hcalls.h | 369 unsigned int *rx_count, unsigned int *tx_count) in ev_byte_channel_poll() argument 384 *rx_count = r4; in ev_byte_channel_poll()
|