| /linux/drivers/staging/octeon/ |
| H A D | ethernet-rx.c | 187 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/ |
| H A 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() 589 hu, count, bcsp->rx_state, bcsp->rx_count); in bcsp_recv() 593 if (bcsp->rx_count) { in bcsp_recv() 599 bcsp->rx_count = 0; in bcsp_recv() 615 bcsp->rx_count = 0; in bcsp_recv() 619 bcsp->rx_count = (bcsp->rx_skb->data[1] >> 4) + in bcsp_recv() [all …]
|
| H A 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 …]
|
| H A D | bluecard_cs.c | 76 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 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/net/ethtool/ |
| H A D | channels.c | 68 channels->rx_count))) || in channels_fill_reply() 122 max(channels.rx_count, channels.tx_count); in ethnl_set_channels() 124 ethnl_update_u32(&channels.rx_count, tb[ETHTOOL_A_CHANNELS_RX_COUNT], in ethnl_set_channels() 137 if (channels.rx_count > channels.max_rx) in ethnl_set_channels() 154 if (!channels.combined_count && !channels.rx_count) in ethnl_set_channels() 174 min(channels.rx_count, channels.tx_count); in ethnl_set_channels()
|
| /linux/samples/rpmsg/ |
| H A 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/tools/net/ynl/samples/ |
| H A D | ethtool.c | 31 if (dev->_present.rx_count) in main() 32 printf("rx %d ", dev->rx_count); in main()
|
| /linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
| H A D | otx2_ethtool.c | 269 channel->rx_count = pfvf->hw.rx_queues; in otx2_get_channels() 281 if (!channel->rx_count || !channel->tx_count) in otx2_set_channels() 297 channel->rx_count); in otx2_set_channels() 301 pfvf->hw.rx_queues = channel->rx_count; in otx2_set_channels() 304 pfvf->hw.xdp_queues = channel->rx_count; in otx2_set_channels() 396 u32 rx_count, tx_count; in otx2_set_ringparam() local 417 rx_count = ring->rx_pending; in otx2_set_ringparam() 421 if (rx_count < pfvf->hw.rq_skid) in otx2_set_ringparam() 422 rx_count = pfvf->hw.rq_skid; in otx2_set_ringparam() 431 rx_count = Q_COUNT(Q_SIZE(rx_count, 3)); in otx2_set_ringparam() [all …]
|
| /linux/drivers/tty/ |
| H A D | ehv_bytechan.c | 205 unsigned int rx_count, tx_count; in udbg_init_ehv_bc() local 210 &rx_count, &tx_count); in udbg_init_ehv_bc() 353 unsigned int rx_count, tx_count, len; in ehv_bc_tty_rx_isr() local 362 ev_byte_channel_poll(bc->handle, &rx_count, &tx_count); in ehv_bc_tty_rx_isr() 363 count = tty_buffer_request_room(&bc->port, rx_count); in ehv_bc_tty_rx_isr()
|
| /linux/drivers/usb/musb/ |
| H A D | musb_host.c | 416 u16 rx_count; in musb_host_packet_rx() local 429 rx_count = musb_readw(epio, MUSB_RXCOUNT); in musb_host_packet_rx() 430 musb_dbg(musb, "RX%d count %d, buffer %p len %d/%d", epnum, rx_count, in musb_host_packet_rx() 447 if (rx_count > length) { in musb_host_packet_rx() 452 musb_dbg(musb, "OVERFLOW %d into %d", rx_count, length); in musb_host_packet_rx() 455 length = rx_count; in musb_host_packet_rx() 467 if (rx_count > length) { in musb_host_packet_rx() 470 musb_dbg(musb, "OVERFLOW %d into %d", rx_count, length); in musb_host_packet_rx() 473 length = rx_count; in musb_host_packet_rx() 479 || (rx_count < qh->maxpacket) in musb_host_packet_rx() [all …]
|
| /linux/include/linux/ |
| H A D | ti_wilink_st.h | 139 unsigned long rx_count; member 254 unsigned long rx_count; member
|
| /linux/drivers/net/ethernet/sunplus/ |
| H A D | spl2sw_int.c | 27 u32 num, rx_count; in spl2sw_rx_poll() local 37 rx_count = comm->rx_desc_num[queue]; in spl2sw_rx_poll() 39 for (num = 0; num < rx_count && budget_left; num++) { in spl2sw_rx_poll()
|
| /linux/drivers/i3c/master/ |
| H A D | renesas-i3c.c | 228 u32 rx_count; member 674 cmd->rx_count = 0; in renesas_i3c_daa() 691 newdevs = GENMASK(i3c->maxdevs - cmd->rx_count - 1, 0); in renesas_i3c_daa() 793 cmd->rx_count = 0; in renesas_i3c_send_ccc_cmd() 841 cmd->rx_count = 0; in renesas_i3c_i3c_xfers() 1069 cmd->rx_count = data_len; in renesas_i3c_resp_isr() 1079 bytes_remaining = data_len - cmd->rx_count; in renesas_i3c_resp_isr() 1224 cmd->rx_count = read_bytes; in renesas_i3c_rx_isr()
|
| /linux/drivers/platform/raspberrypi/vchiq-interface/ |
| H A D | TESTING | 122 Ctrl: tx_count=0, tx_bytes=0, rx_count=0, rx_bytes=0 123 Bulk: tx_count=0, tx_bytes=0, rx_count=0, rx_bytes=0
|
| /linux/arch/powerpc/include/asm/ |
| H A 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()
|
| /linux/net/sctp/ |
| H A D | ulpevent.c | 683 int rx_count; in sctp_ulpevent_make_rcvmsg() local 691 rx_count = atomic_read(&asoc->rmem_alloc); in sctp_ulpevent_make_rcvmsg() 693 rx_count = atomic_read(&sk->sk_rmem_alloc); in sctp_ulpevent_make_rcvmsg() 697 if (rx_count >= sk->sk_rcvbuf || !sk_rmem_schedule(sk, skb, datalen)) in sctp_ulpevent_make_rcvmsg()
|
| H A D | associola.c | 1514 int rx_count; in sctp_assoc_rwnd_decrease() local 1523 rx_count = atomic_read(&asoc->rmem_alloc); in sctp_assoc_rwnd_decrease() 1525 rx_count = atomic_read(&asoc->base.sk->sk_rmem_alloc); in sctp_assoc_rwnd_decrease() 1532 if (rx_count >= asoc->base.sk->sk_rcvbuf) in sctp_assoc_rwnd_decrease()
|
| /linux/drivers/net/ethernet/cavium/liquidio/ |
| H A D | lio_ethtool.c | 503 u32 max_rx = 0, max_tx = 0, tx_count = 0, rx_count = 0; in lio_ethtool_get_channels() local 511 rx_count = CFG_GET_NUM_RXQS_NIC_IF(conf6x, lio->ifidx); in lio_ethtool_get_channels() 536 channel->rx_count = rx_count; in lio_ethtool_get_channels() 617 channel->rx_count || channel->tx_count) in lio_ethtool_set_channels() 1265 u32 rx_count, tx_count, rx_count_old, tx_count_old; in lio_ethtool_set_ringparam() local 1276 rx_count = clamp_t(u32, ering->rx_pending, CN23XX_MIN_OQ_DESCRIPTORS, in lio_ethtool_set_ringparam() 1284 if (rx_count == rx_count_old && tx_count == tx_count_old) in lio_ethtool_set_ringparam() 1298 if (rx_count != rx_count_old) in lio_ethtool_set_ringparam() 1300 rx_count); in lio_ethtool_set_ringparam() 1316 if (rx_count != rx_count_old) in lio_ethtool_set_ringparam()
|
| /linux/tools/testing/selftests/drivers/net/hw/ |
| H A D | ncdevmem.c | 388 num = rsp->rx_count + rsp->combined_count; in rxq_num() 596 if (chan->_present.rx_count || chan->_present.tx_count) { in check_changing_channels() 611 } else if (chan->_present.rx_count) { in check_changing_channels() 627 ethtool_channels_set_req_set_rx_count(schan, chan->rx_count); in check_changing_channels()
|
| /linux/drivers/net/ethernet/ibm/emac/ |
| H A D | mal.h | 286 u32 rx_count; member
|
| /linux/drivers/net/ |
| H A D | veth.c | 256 channels->rx_count = dev->real_num_rx_queues; in veth_get_channels() 1311 if (!ch->rx_count || !ch->tx_count) in veth_set_channels() 1317 if (priv->_xdp_prog && peer && ch->rx_count < peer->real_num_tx_queues) in veth_set_channels() 1324 new_rx_count = ch->rx_count; in veth_set_channels() 1337 err = netif_set_real_num_rx_queues(dev, ch->rx_count); in veth_set_channels() 1377 old_rx_count = ch->rx_count; in veth_set_channels()
|
| /linux/drivers/net/ethernet/meta/fbnic/ |
| H A D | fbnic_ethtool.c | 1499 ch->rx_count = fbn->num_rx_queues - ch->combined_count; in fbnic_get_channels() 1507 fbn->num_rx_queues = ch->rx_count + ch->combined_count; in fbnic_set_queues() 1509 fbn->num_napi = min(ch->rx_count + ch->tx_count + ch->combined_count, in fbnic_set_queues() 1523 standalone = ch->rx_count + ch->tx_count; in fbnic_set_channels() 1529 if ((ch->rx_count && ch->tx_count && ch->combined_count) || in fbnic_set_channels() 1531 ch->rx_count + ch->combined_count > fbd->max_num_queues || in fbnic_set_channels()
|
| /linux/drivers/gpu/drm/bridge/ |
| H A D | sil-sii8620.c | 97 int rx_count; member 622 u8 *buf = &ctx->burst.rx_buf[ctx->burst.rx_count]; in sii8620_burst_get_rx_buf() 625 if (ctx->burst.rx_count + size >= ARRAY_SIZE(ctx->burst.rx_buf)) { in sii8620_burst_get_rx_buf() 631 ctx->burst.rx_count += size; in sii8620_burst_get_rx_buf() 746 int count = ctx->burst.rx_count; in sii8620_burst_rx_all() 762 ctx->burst.rx_count = 0; in sii8620_burst_rx_all()
|
| /linux/drivers/net/ethernet/broadcom/bnx2x/ |
| H A D | bnx2x_sriov.h | 505 int bnx2x_vfpf_acquire(struct bnx2x *bp, u8 tx_count, u8 rx_count); 584 u8 tx_count, u8 rx_count) {return 0; } in bnx2x_vfpf_acquire() argument
|