Home
last modified time | relevance | path

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

123

/linux/drivers/bluetooth/
H 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()
592 hu, count, bcsp->rx_state, bcsp->rx_count); in bcsp_recv()
596 if (bcsp->rx_count) { in bcsp_recv()
602 bcsp->rx_count = 0; in bcsp_recv()
618 bcsp->rx_count = 0; in bcsp_recv()
622 bcsp->rx_count = (bcsp->rx_skb->data[1] >> 4) + in bcsp_recv()
[all …]
H 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 …]
H 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 …]
H 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/samples/rpmsg/
H 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/tools/net/ynl/samples/
H A Dethtool.c
/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_ethtool.c269 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 Dehv_bytechan.c205 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 Dmusb_host.c416 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 Dti_wilink_st.h139 unsigned long rx_count; member
254 unsigned long rx_count; member
/linux/drivers/net/ethernet/sunplus/
H A Dspl2sw_int.c27 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/platform/raspberrypi/vchiq-interface/
H A DTESTING122 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 Depapr_hcalls.h369 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 Dulpevent.c683 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 Dassociola.c1514 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 Dlio_ethtool.c503 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 Dncdevmem.c388 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 Dmal.h286 u32 rx_count; member
H A Dmal.c492 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/
H A Dveth.c256 channels->rx_count = dev->real_num_rx_queues; in veth_get_channels()
1312 if (!ch->rx_count || !ch->tx_count) in veth_set_channels()
1318 if (priv->_xdp_prog && peer && ch->rx_count < peer->real_num_tx_queues) in veth_set_channels()
1325 new_rx_count = ch->rx_count; in veth_set_channels()
1338 err = netif_set_real_num_rx_queues(dev, ch->rx_count); in veth_set_channels()
1378 old_rx_count = ch->rx_count; in veth_set_channels()
/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_sriov.h505 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 Ddwc-xlgmac-ethtool.c145 channel->rx_count = pdata->rx_q_count; in xlgmac_ethtool_get_channels()
/linux/drivers/net/ethernet/ti/icssg/
H A Dicssg_ethtool.c170 ch->rx_count = 1; in emac_get_channels()
/linux/drivers/net/ipa/
H A Dipa_endpoint.c1993 u32 rx_count; in ipa_endpoint_config() local
2027 rx_count = reg_decode(reg, MAX_PROD_PIPES, val); in ipa_endpoint_config()
2030 limit = rx_base + rx_count; in ipa_endpoint_config()
2053 bitmap_set(ipa->available, rx_base, rx_count); in ipa_endpoint_config()
/linux/net/core/
H A Dgro.c821 gro->rx_count = 0; in gro_init()
841 gro->rx_count = 0; in gro_cleanup()

123