Home
last modified time | relevance | path

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

1234

/linux/net/ethtool/
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()
/linux/drivers/staging/octeon/
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()
/linux/drivers/bluetooth/
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()
590 if (bcsp->rx_count) { in bcsp_recv()
596 bcsp->rx_count = 0; in bcsp_recv()
612 bcsp->rx_count = 0; in bcsp_recv()
623 bcsp->rx_count = 2; in bcsp_recv()
637 bcsp->rx_count = 0; in bcsp_recv()
[all …]
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 …]
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 …]
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()
/linux/drivers/misc/ti-st/
A Dst_core.c181 st_gdata->rx_count = len; in st_check_data_len()
188 st_gdata->rx_count = 0; in st_check_data_len()
249 st_gdata->rx_count); in st_int_recv()
254 if (st_gdata->rx_count) { in st_int_recv()
255 len = min_t(unsigned int, st_gdata->rx_count, count); in st_int_recv()
257 st_gdata->rx_count -= len; in st_int_recv()
261 if (st_gdata->rx_count) in st_int_recv()
380 st_gdata->rx_count = st_gdata->list[type]->hdr_len; in st_int_recv()
381 pr_debug("rx_count %ld\n", st_gdata->rx_count); in st_int_recv()
790 st_gdata->rx_count = 0; in st_tty_close()
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()
/linux/samples/rpmsg/
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()
/linux/drivers/spi/
A Dspi-au1550.c48 unsigned int rx_count; member
313 hw->rx_count = 0; in au1550_spi_dma_txrxb()
408 return hw->rx_count < hw->tx_count ? hw->rx_count : hw->tx_count; in au1550_spi_dma_txrxb()
437 hw->rx_count = hw->len - au1xxx_get_dma_residue(hw->dma_rx_ch); in au1550_spi_dma_irq_callback()
459 hw->rx_count = hw->len; in au1550_spi_dma_irq_callback()
477 hw->rx_count += (size) / 8; \
511 hw->rx_count = 0; in au1550_spi_pio_txrxb()
542 return hw->rx_count < hw->tx_count ? hw->rx_count : hw->tx_count; in au1550_spi_pio_txrxb()
593 if (!(stat & PSC_SPISTAT_RE) && hw->rx_count < hw->len) { in au1550_spi_pio_irq_callback()
627 if (hw->rx_count >= hw->len) { in au1550_spi_pio_irq_callback()
A Dspi-img-spfi.c246 unsigned int tx_count, rx_count; in img_spfi_start_pio() local
254 rx_count = spfi_pio_read32(spfi, rx_buf, rx_bytes); in img_spfi_start_pio()
256 rx_count = spfi_pio_read8(spfi, rx_buf, rx_bytes); in img_spfi_start_pio()
259 rx_buf += rx_count; in img_spfi_start_pio()
261 rx_bytes -= rx_count; in img_spfi_start_pio()
A Dspi-amd.c94 static inline void amd_spi_set_rx_count(struct amd_spi *amd_spi, u8 rx_count) in amd_spi_set_rx_count() argument
96 amd_spi_setclear_reg8(amd_spi, AMD_SPI_RX_COUNT_REG, rx_count, 0xff); in amd_spi_set_rx_count()
/linux/drivers/net/hamradio/
A D6pack.c100 unsigned int rx_count; member
504 sp->rx_count = 0; in resync_tnc()
593 sp->rx_count = 0; in sixpack_open()
825 if (sp->rx_count != 3) { in decode_data()
826 sp->raw_buf[sp->rx_count++] = inbyte; in decode_data()
833 sp->rx_count = 0; in decode_data()
844 sp->rx_count = 0; in decode_data()
906 if ((sp->rx_count == 0) && (sp->rx_count_cooked == 0)) { in decode_std_command()
916 rest = sp->rx_count; in decode_std_command()
/linux/drivers/net/ethernet/cavium/thunder/
A Dnicvf_ethtool.c486 u32 rx_count, tx_count; in nicvf_set_ringparam() local
497 rx_count = clamp_t(u32, ring->rx_pending, in nicvf_set_ringparam()
500 if ((tx_count == qs->sq_len) && (rx_count == qs->cq_len)) in nicvf_set_ringparam()
505 qs->cq_len = rounddown_pow_of_two(rx_count); in nicvf_set_ringparam()
714 channel->rx_count = nic->rx_queues; in nicvf_get_channels()
727 if (!channel->rx_count || !channel->tx_count) in nicvf_set_channels()
729 if (channel->rx_count > nic->max_queues) in nicvf_set_channels()
735 ((channel->tx_count + channel->rx_count) > nic->max_queues)) { in nicvf_set_channels()
745 nic->rx_queues = channel->rx_count; in nicvf_set_channels()
750 nic->xdp_tx_queues = channel->rx_count; in nicvf_set_channels()
/linux/drivers/net/ethernet/wiznet/
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()
A Dw5100.c894 int rx_count; in w5100_napi_poll() local
896 for (rx_count = 0; rx_count < budget; rx_count++) { in w5100_napi_poll()
905 if (rx_count < budget) { in w5100_napi_poll()
906 napi_complete_done(napi, rx_count); in w5100_napi_poll()
910 return rx_count; in w5100_napi_poll()
/linux/drivers/net/ethernet/marvell/octeontx2/nic/
A Dotx2_ethtool.c275 channel->rx_count = pfvf->hw.rx_queues; in otx2_get_channels()
287 if (!channel->rx_count || !channel->tx_count) in otx2_set_channels()
300 channel->rx_count); in otx2_set_channels()
304 pfvf->hw.rx_queues = channel->rx_count; in otx2_set_channels()
380 u32 rx_count, tx_count; in otx2_set_ringparam() local
386 rx_count = ring->rx_pending; in otx2_set_ringparam()
390 if (rx_count < pfvf->hw.rq_skid) in otx2_set_ringparam()
391 rx_count = pfvf->hw.rq_skid; in otx2_set_ringparam()
392 rx_count = Q_COUNT(Q_SIZE(rx_count, 3)); in otx2_set_ringparam()
402 if (tx_count == qs->sqe_cnt && rx_count == qs->rqe_cnt) in otx2_set_ringparam()
[all …]
/linux/drivers/tty/
A Dehv_bytechan.c202 unsigned int rx_count, tx_count; in udbg_init_ehv_bc() local
207 &rx_count, &tx_count); in udbg_init_ehv_bc()
350 unsigned int rx_count, tx_count, len; in ehv_bc_tty_rx_isr() local
359 ev_byte_channel_poll(bc->handle, &rx_count, &tx_count); in ehv_bc_tty_rx_isr()
360 count = tty_buffer_request_room(&bc->port, rx_count); in ehv_bc_tty_rx_isr()
/linux/drivers/usb/musb/
A Dmusb_host.c409 u16 rx_count; in musb_host_packet_rx() local
440 if (rx_count > length) { in musb_host_packet_rx()
448 length = rx_count; in musb_host_packet_rx()
460 if (rx_count > length) { in musb_host_packet_rx()
466 length = rx_count; in musb_host_packet_rx()
1609 u16 rx_count, val; in musb_rx_dma_in_inventra_cppi41() local
1626 if (rx_count > d->length) { in musb_rx_dma_in_inventra_cppi41()
1632 rx_count, d->length); in musb_rx_dma_in_inventra_cppi41()
1636 length = rx_count; in musb_rx_dma_in_inventra_cppi41()
1640 length = rx_count; in musb_rx_dma_in_inventra_cppi41()
[all …]
/linux/drivers/net/ethernet/pensando/ionic/
A Dionic_ethtool.c592 ch->rx_count = lif->nxqs; in ionic_get_channels()
612 if (ch->rx_count != ch->tx_count) { in ionic_set_channels()
617 if (ch->combined_count && ch->rx_count) { in ionic_set_channels()
640 if (ch->rx_count > max_cnt) in ionic_set_channels()
645 else if (ch->rx_count == lif->nxqs) in ionic_set_channels()
648 if (lif->nxqs != ch->rx_count) in ionic_set_channels()
650 lif->nxqs, ch->rx_count); in ionic_set_channels()
652 qparam.nxqs = ch->rx_count; in ionic_set_channels()
/linux/drivers/net/ethernet/amd/xgbe/
A Dxgbe-ethtool.c718 channels->rx_count = rx; in xgbe_get_channels()
726 channels->combined_count, channels->rx_count, in xgbe_print_set_channels_input()
775 if (channels->rx_count && channels->tx_count) { in xgbe_set_channels()
783 if ((channels->combined_count + channels->rx_count) > rx) { in xgbe_set_channels()
786 channels->combined_count + channels->rx_count, rx); in xgbe_set_channels()
799 rx = channels->combined_count + channels->rx_count; in xgbe_set_channels()
/linux/include/linux/
A Dti_wilink_st.h139 unsigned long rx_count; member
254 unsigned long rx_count; member
/linux/drivers/net/ethernet/ti/
A Dcpsw_ethtool.c395 ch->rx_count = cpsw->rx_ch_num; in cpsw_get_channels()
526 if (!ch->rx_count || !ch->tx_count) in cpsw_check_ch_settings()
529 if (ch->rx_count > cpsw->data.channels || in cpsw_check_ch_settings()
613 new_pools = (chs->rx_count != cpsw->rx_ch_num) && cpsw->usage_count; in cpsw_set_channels_common()
615 ret = cpsw_update_channels_res(priv, chs->rx_count, 1, rx_handler); in cpsw_set_channels_common()
/linux/tools/include/uapi/linux/
A Dethtool.h45 __u32 rx_count; member
/linux/drivers/net/can/peak_canfd/
A Dpeak_canfd_user.h45 struct pucan_rx_msg *rx_msg, int rx_count);

Completed in 266 milliseconds

1234