| /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/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/drivers/bluetooth/ |
| 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/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/drivers/net/ethernet/engleder/ |
| H A D | tsnep_ethtool.c | 135 int rx_count = adapter->num_rx_queues; in tsnep_ethtool_get_strings() local 144 for (i = 0; i < rx_count; i++) { in tsnep_ethtool_get_strings() 171 int rx_count = adapter->num_rx_queues; in tsnep_ethtool_get_ethtool_stats() local 202 for (i = 0; i < rx_count; i++) { in tsnep_ethtool_get_ethtool_stats() 243 int rx_count; in tsnep_ethtool_get_sset_count() local 248 rx_count = adapter->num_rx_queues; in tsnep_ethtool_get_sset_count() 251 TSNEP_RX_QUEUE_STATS_COUNT * rx_count + in tsnep_ethtool_get_sset_count()
|
| /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 | 267 channel->rx_count = pfvf->hw.rx_queues; in otx2_get_channels() 279 if (!channel->rx_count || !channel->tx_count) in otx2_set_channels() 295 channel->rx_count); in otx2_set_channels() 299 pfvf->hw.rx_queues = channel->rx_count; in otx2_set_channels() 302 pfvf->hw.xdp_queues = channel->rx_count; in otx2_set_channels() 394 u32 rx_count, tx_count; in otx2_set_ringparam() local 415 rx_count = ring->rx_pending; in otx2_set_ringparam() 419 if (rx_count < pfvf->hw.rq_skid) in otx2_set_ringparam() 420 rx_count = pfvf->hw.rq_skid; in otx2_set_ringparam() 429 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/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 | 226 u32 rx_count; member 657 cmd->rx_count = 0; in renesas_i3c_daa() 674 newdevs = GENMASK(i3c->maxdevs - cmd->rx_count - 1, 0); in renesas_i3c_daa() 776 cmd->rx_count = 0; in renesas_i3c_send_ccc_cmd() 824 cmd->rx_count = 0; in renesas_i3c_i3c_xfers() 1052 cmd->rx_count = data_len; in renesas_i3c_resp_isr() 1062 bytes_remaining = data_len - cmd->rx_count; in renesas_i3c_resp_isr() 1207 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_increase() 1523 rx_count = atomic_read(&asoc->rmem_alloc); in sctp_assoc_rwnd_increase() 1525 rx_count = atomic_read(&asoc->base.sk->sk_rmem_alloc); in sctp_assoc_rwnd_increase() 1532 if (rx_count >= asoc->base.sk->sk_rcvbuf) in sctp_assoc_rwnd_decrease() local
|
| /linux/drivers/net/ethernet/emulex/benet/ |
| H A D | be_ethtool.c | 1221 ch->rx_count = num_rx_irqs - ch->combined_count; in be_get_channels() 1240 (ch->rx_count && ch->tx_count)) in be_set_channels() 1244 (ch->rx_count && in be_set_channels() 1245 (ch->rx_count + ch->combined_count) > be_max_rx_irqs(adapter)) || in be_set_channels() 1250 adapter->cfg_num_rx_irqs = ch->combined_count + ch->rx_count; in be_set_channels()
|
| /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/drivers/net/ethernet/ibm/emac/ |
| H A D | mal.h | 286 u32 rx_count; member
|
| H A D | mal.c | 492 regs->rx_count = mal->num_rx_chans; in mal_dump_regs() 509 for (i = 0; i < regs->rx_count; ++i) { in mal_dump_regs()
|
| /linux/drivers/net/ethernet/qlogic/qede/ |
| H A D | qede_ethtool.c | 1063 channels->rx_count = edev->fp_num_rx; in qede_get_channels() 1074 channels->rx_count, channels->tx_count, in qede_set_channels() 1077 count = channels->rx_count + channels->tx_count + in qede_set_channels() 1087 if (!(channels->combined_count || (channels->rx_count && in qede_set_channels() 1104 (channels->rx_count == edev->fp_num_rx)) { in qede_set_channels() 1113 (channels->rx_count % edev->dev_info.common.num_hwfns)) { in qede_set_channels() 1123 edev->req_num_rx = channels->rx_count; in qede_set_channels()
|
| /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
|
| /linux/drivers/net/ethernet/synopsys/ |
| H A D | dwc-xlgmac-ethtool.c | 145 channel->rx_count = pdata->rx_q_count; in xlgmac_ethtool_get_channels()
|
| /linux/drivers/net/ethernet/realtek/ |
| H A D | atp.h | 11 ushort rx_count; member
|