Searched refs:rx_count (Results 1 - 25 of 93) sorted by relevance

1234

/linux-master/samples/rpmsg/
H A Drpmsg_client_sample.c22 int rx_count; member in struct:instance_data
32 ++idata->rx_count, src);
38 if (idata->rx_count >= count) {
/linux-master/tools/net/ynl/samples/
H A Dethtool.c31 if (dev->_present.rx_count)
32 printf("rx %d ", dev->rx_count);
/linux-master/net/ethtool/
H A Dchannels.c68 channels->rx_count))) ||
123 max(channels.rx_count, channels.tx_count);
125 ethnl_update_u32(&channels.rx_count, tb[ETHTOOL_A_CHANNELS_RX_COUNT],
138 if (channels.rx_count > channels.max_rx)
155 if (!channels.combined_count && !channels.rx_count)
177 if (channels.combined_count + channels.rx_count <= max_rxfh_in_use) {
181 if (channels.combined_count + channels.rx_count <= max_rxnfc_in_use) {
188 min(channels.rx_count, channels.tx_count);
/linux-master/drivers/net/can/peak_canfd/
H A Dpeak_canfd_user.h45 struct pucan_rx_msg *rx_msg, int rx_count);
/linux-master/tools/include/uapi/linux/
H A Dethtool.h31 * @rx_count: Valid values are in the range 1 to the max_rx.
45 __u32 rx_count; member in struct:ethtool_channels
/linux-master/drivers/staging/octeon/
H A Dethernet-rx.c187 int rx_count = 0; local
218 while (rx_count < budget) {
253 if (USE_ASYNC_IOBDMA && rx_count < (budget - 1)) {
258 rx_count++;
402 return rx_count;
416 int rx_count; local
418 rx_count = cvm_oct_poll(rx_group, budget);
420 if (rx_count < budget) {
422 napi_complete_done(napi, rx_count);
425 return rx_count;
[all...]
/linux-master/drivers/bluetooth/
H A Dhci_bcsp.c48 unsigned long rx_count; member in struct:bcsp_struct
440 bcsp->rx_count--;
452 bcsp->rx_count--;
461 bcsp->rx_count--;
469 bcsp->rx_count = 0;
585 BT_DBG("hu %p count %d rx_state %d rx_count %ld",
586 hu, count, bcsp->rx_state, bcsp->rx_count);
590 if (bcsp->rx_count) {
596 bcsp->rx_count = 0;
612 bcsp->rx_count
[all...]
H A Dbt3c_cs.c81 unsigned long rx_count; member in struct:bt3c_info
238 info->rx_count = 0;
256 info->rx_count = HCI_EVENT_HDR_SIZE;
261 info->rx_count = HCI_ACL_HDR_SIZE;
266 info->rx_count = HCI_SCO_HDR_SIZE;
287 info->rx_count--;
289 if (info->rx_count == 0) {
301 info->rx_count = eh->plen;
308 info->rx_count = dlen;
314 info->rx_count
[all...]
H A Dbluecard_cs.c76 unsigned long rx_count; member in struct:bluecard_info
389 info->rx_count = 0;
418 info->rx_count = HCI_EVENT_HDR_SIZE;
423 info->rx_count = HCI_ACL_HDR_SIZE;
428 info->rx_count = HCI_SCO_HDR_SIZE;
446 info->rx_count--;
448 if (info->rx_count == 0) {
460 info->rx_count = eh->plen;
467 info->rx_count = dlen;
473 info->rx_count
[all...]
H A Ddtl1_cs.c79 unsigned long rx_count; member in struct:dtl1_info
224 info->rx_count = NSHL;
232 info->rx_count--;
234 if (info->rx_count == 0) {
239 info->rx_count = nsh->len + (nsh->len & 0x0001);
274 info->rx_count = NSHL;
446 info->rx_count = NSHL;
/linux-master/drivers/net/ethernet/engleder/
H A Dtsnep_ethtool.c135 int rx_count = adapter->num_rx_queues; local
144 for (i = 0; i < rx_count; i++) {
171 int rx_count = adapter->num_rx_queues; local
202 for (i = 0; i < rx_count; i++) {
243 int rx_count; local
248 rx_count = adapter->num_rx_queues;
251 TSNEP_RX_QUEUE_STATS_COUNT * rx_count +
/linux-master/drivers/misc/ti-st/
H A Dst_core.c180 st_gdata->rx_count = len;
187 st_gdata->rx_count = 0;
243 "rx_count %ld", count, st_gdata->rx_state,
244 st_gdata->rx_count);
249 if (st_gdata->rx_count) {
250 len = min_t(unsigned int, st_gdata->rx_count, count);
252 st_gdata->rx_count -= len;
256 if (st_gdata->rx_count)
297 /* end of if rx_count */
375 st_gdata->rx_count
[all...]
H A Dst_kim.c71 kim_gdata->rx_count = 0;
109 kim_gdata->rx_count = len;
119 kim_gdata->rx_count = 0;
139 if (kim_gdata->rx_count) {
140 len = min_t(unsigned int, kim_gdata->rx_count, count);
142 kim_gdata->rx_count -= len;
146 if (kim_gdata->rx_count)
171 kim_gdata->rx_count = 2;
186 kim_gdata->rx_count = 0;
/linux-master/include/linux/
H A Dti_wilink_st.h111 * @rx_count: count to be maintained inside st's tty receieve
139 unsigned long rx_count; member in struct:st_data_s
238 * @rx_count: the rx count for the kim's receive func during fw download.
254 unsigned long rx_count; member in struct:kim_data_s
/linux-master/drivers/tty/
H A Dehv_bytechan.c205 unsigned int rx_count, tx_count; local
210 &rx_count, &tx_count);
353 unsigned int rx_count, tx_count, len; local
362 ev_byte_channel_poll(bc->handle, &rx_count, &tx_count);
363 count = tty_buffer_request_room(&bc->port, rx_count);
367 * to be less than 'rx_count'. I'm not sure whether I'm calling it
/linux-master/drivers/net/ethernet/wiznet/
H A Dw5300.c378 int rx_count; local
381 for (rx_count = 0; rx_count < budget; rx_count++) {
406 if (rx_count < budget) {
407 napi_complete_done(napi, rx_count);
411 return rx_count;
/linux-master/drivers/net/ethernet/cavium/thunder/
H A Dnicvf_ethtool.c490 u32 rx_count, tx_count; local
501 rx_count = clamp_t(u32, ring->rx_pending,
504 if ((tx_count == qs->sq_len) && (rx_count == qs->cq_len))
509 qs->cq_len = rounddown_pow_of_two(rx_count);
719 channel->rx_count = nic->rx_queues;
732 if (!channel->rx_count || !channel->tx_count)
734 if (channel->rx_count > nic->max_queues)
739 if (channel->tx_count + channel->rx_count > nic->max_queues) {
755 nic->rx_queues = channel->rx_count;
760 nic->xdp_tx_queues = channel->rx_count;
[all...]
/linux-master/drivers/spi/
H A Dspi-au1550.c48 unsigned int rx_count; member in struct:au1550_spi
313 hw->rx_count = 0;
408 return min(hw->rx_count, hw->tx_count);
437 hw->rx_count = hw->len - au1xxx_get_dma_residue(hw->dma_rx_ch);
459 hw->rx_count = hw->len;
477 hw->rx_count += (size) / 8; \
511 hw->rx_count = 0;
542 return min(hw->rx_count, hw->tx_count);
593 if (!(stat & PSC_SPISTAT_RE) && hw->rx_count < hw->len) {
627 if (hw->rx_count >
[all...]
/linux-master/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_ethtool.c281 channel->rx_count = pfvf->hw.rx_queues;
293 if (!channel->rx_count || !channel->tx_count)
309 channel->rx_count);
313 pfvf->hw.rx_queues = channel->rx_count;
316 pfvf->hw.xdp_queues = channel->rx_count;
403 u32 rx_count, tx_count; local
424 rx_count = ring->rx_pending;
428 if (rx_count < pfvf->hw.rq_skid)
429 rx_count = pfvf->hw.rq_skid;
430 rx_count
[all...]
/linux-master/drivers/net/ethernet/sunplus/
H A Dspl2sw_int.c27 u32 num, rx_count; local
37 rx_count = comm->rx_desc_num[queue];
39 for (num = 0; num < rx_count && budget_left; num++) {
/linux-master/include/net/
H A Dgro.h436 if (!napi->rx_count)
440 napi->rx_count = 0;
449 napi->rx_count += segs;
450 if (napi->rx_count >= READ_ONCE(net_hotdata.gro_normal_batch))
/linux-master/drivers/net/hamradio/
H A D6pack.c100 unsigned int rx_count; member in struct:sixpack
505 sp->rx_count = 0;
595 sp->rx_count = 0;
827 if (sp->rx_count != 3) {
828 sp->raw_buf[sp->rx_count++] = inbyte;
835 sp->rx_count = 0;
846 sp->rx_count = 0;
908 if ((sp->rx_count == 0) && (sp->rx_count_cooked == 0)) {
919 rest = sp->rx_count;
/linux-master/drivers/usb/musb/
H A Dmusb_host.c415 u16 rx_count; local
428 rx_count = musb_readw(epio, MUSB_RXCOUNT);
429 musb_dbg(musb, "RX%d count %d, buffer %p len %d/%d", epnum, rx_count,
446 if (rx_count > length) {
451 musb_dbg(musb, "OVERFLOW %d into %d", rx_count, length);
454 length = rx_count;
466 if (rx_count > length) {
469 musb_dbg(musb, "OVERFLOW %d into %d", rx_count, length);
472 length = rx_count;
478 || (rx_count < q
1615 u16 rx_count, val; local
[all...]
/linux-master/drivers/net/ethernet/pensando/ionic/
H A Dionic_ethtool.c709 ch->rx_count = lif->nxqs;
729 if ((ch->rx_count || ch->tx_count) && lif->xdp_prog) {
734 if (ch->rx_count != ch->tx_count) {
739 if (ch->combined_count && ch->rx_count) {
762 if (ch->rx_count > max_cnt)
767 else if (ch->rx_count == lif->nxqs)
770 if (lif->nxqs != ch->rx_count)
772 lif->nxqs, ch->rx_count);
774 qparam.nxqs = ch->rx_count;
/linux-master/drivers/net/ethernet/ti/icssg/
H A Dicssg_ethtool.c155 ch->rx_count = 1;

Completed in 271 milliseconds

1234