/linux-6.6.21/net/ethtool/ |
D | channels.c | 68 channels->rx_count))) || in channels_fill_reply() 123 max(channels.rx_count, channels.tx_count); in ethnl_set_channels() 125 ethnl_update_u32(&channels.rx_count, tb[ETHTOOL_A_CHANNELS_RX_COUNT], in ethnl_set_channels() 138 if (channels.rx_count > channels.max_rx) in ethnl_set_channels() 155 if (!channels.combined_count && !channels.rx_count) in ethnl_set_channels() 177 if (channels.combined_count + channels.rx_count <= max_rxfh_in_use) { in ethnl_set_channels() 181 if (channels.combined_count + channels.rx_count <= max_rxnfc_in_use) { in ethnl_set_channels() 188 min(channels.rx_count, channels.tx_count); in ethnl_set_channels()
|
/linux-6.6.21/drivers/staging/octeon/ |
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-6.6.21/drivers/bluetooth/ |
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() 586 hu, count, bcsp->rx_state, bcsp->rx_count); in bcsp_recv() 590 if (bcsp->rx_count) { in bcsp_recv() 596 bcsp->rx_count = 0; in bcsp_recv() 612 bcsp->rx_count = 0; in bcsp_recv() 616 bcsp->rx_count = (bcsp->rx_skb->data[1] >> 4) + in bcsp_recv() [all …]
|
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 …]
|
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 …]
|
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-6.6.21/samples/rpmsg/ |
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-6.6.21/drivers/misc/ti-st/ |
D | st_core.c | 180 st_gdata->rx_count = len; in st_check_data_len() 187 st_gdata->rx_count = 0; in st_check_data_len() 244 st_gdata->rx_count); in st_int_recv() 249 if (st_gdata->rx_count) { in st_int_recv() 250 len = min_t(unsigned int, st_gdata->rx_count, count); in st_int_recv() 252 st_gdata->rx_count -= len; in st_int_recv() 256 if (st_gdata->rx_count) in st_int_recv() 375 st_gdata->rx_count = st_gdata->list[type]->hdr_len; in st_int_recv() 376 pr_debug("rx_count %ld\n", st_gdata->rx_count); in st_int_recv() 785 st_gdata->rx_count = 0; in st_tty_close()
|
D | st_kim.c | 71 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() 139 if (kim_gdata->rx_count) { in kim_int_recv() 140 len = min_t(unsigned int, kim_gdata->rx_count, count); in kim_int_recv() 142 kim_gdata->rx_count -= len; in kim_int_recv() 146 if (kim_gdata->rx_count) in kim_int_recv() 171 kim_gdata->rx_count = 2; in kim_int_recv() 186 kim_gdata->rx_count = 0; in kim_int_recv()
|
/linux-6.6.21/drivers/net/ethernet/engleder/ |
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-6.6.21/tools/net/ynl/samples/ |
D | ethtool.c | 31 if (dev->_present.rx_count) in main() 32 printf("rx %d ", dev->rx_count); in main()
|
/linux-6.6.21/drivers/spi/ |
D | spi-au1550.c | 48 unsigned int rx_count; member 313 hw->rx_count = 0; in au1550_spi_dma_txrxb() 408 return min(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 min(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()
|
D | spi-img-spfi.c | 246 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()
|
/linux-6.6.21/drivers/net/hamradio/ |
D | 6pack.c | 100 unsigned int rx_count; member 505 sp->rx_count = 0; in resync_tnc() 595 sp->rx_count = 0; in sixpack_open() 827 if (sp->rx_count != 3) { in decode_data() 828 sp->raw_buf[sp->rx_count++] = inbyte; in decode_data() 835 sp->rx_count = 0; in decode_data() 846 sp->rx_count = 0; in decode_data() 908 if ((sp->rx_count == 0) && (sp->rx_count_cooked == 0)) { in decode_std_command() 919 rest = sp->rx_count; in decode_std_command()
|
/linux-6.6.21/drivers/net/ethernet/wiznet/ |
D | w5300.c | 378 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()
|
/linux-6.6.21/drivers/net/ethernet/cavium/thunder/ |
D | nicvf_ethtool.c | 490 u32 rx_count, tx_count; in nicvf_set_ringparam() local 501 rx_count = clamp_t(u32, ring->rx_pending, in nicvf_set_ringparam() 504 if ((tx_count == qs->sq_len) && (rx_count == qs->cq_len)) in nicvf_set_ringparam() 509 qs->cq_len = rounddown_pow_of_two(rx_count); in nicvf_set_ringparam() 718 channel->rx_count = nic->rx_queues; in nicvf_get_channels() 731 if (!channel->rx_count || !channel->tx_count) in nicvf_set_channels() 733 if (channel->rx_count > nic->max_queues) in nicvf_set_channels() 738 if (channel->tx_count + channel->rx_count > nic->max_queues) { in nicvf_set_channels() 754 nic->rx_queues = channel->rx_count; in nicvf_set_channels() 759 nic->xdp_tx_queues = channel->rx_count; in nicvf_set_channels()
|
/linux-6.6.21/drivers/net/ethernet/marvell/octeontx2/nic/ |
D | otx2_ethtool.c | 281 channel->rx_count = pfvf->hw.rx_queues; in otx2_get_channels() 293 if (!channel->rx_count || !channel->tx_count) in otx2_set_channels() 309 channel->rx_count); in otx2_set_channels() 313 pfvf->hw.rx_queues = channel->rx_count; in otx2_set_channels() 316 pfvf->hw.xdp_queues = channel->rx_count; in otx2_set_channels() 403 u32 rx_count, tx_count; in otx2_set_ringparam() local 424 rx_count = ring->rx_pending; in otx2_set_ringparam() 428 if (rx_count < pfvf->hw.rq_skid) in otx2_set_ringparam() 429 rx_count = pfvf->hw.rq_skid; in otx2_set_ringparam() 430 rx_count = Q_COUNT(Q_SIZE(rx_count, 3)); in otx2_set_ringparam() [all …]
|
/linux-6.6.21/drivers/tty/ |
D | ehv_bytechan.c | 202 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-6.6.21/drivers/usb/musb/ |
D | musb_host.c | 415 u16 rx_count; in musb_host_packet_rx() local 428 rx_count = musb_readw(epio, MUSB_RXCOUNT); in musb_host_packet_rx() 429 musb_dbg(musb, "RX%d count %d, buffer %p len %d/%d", epnum, rx_count, in musb_host_packet_rx() 446 if (rx_count > length) { in musb_host_packet_rx() 451 musb_dbg(musb, "OVERFLOW %d into %d", rx_count, length); in musb_host_packet_rx() 454 length = rx_count; in musb_host_packet_rx() 466 if (rx_count > length) { in musb_host_packet_rx() 469 musb_dbg(musb, "OVERFLOW %d into %d", rx_count, length); in musb_host_packet_rx() 472 length = rx_count; in musb_host_packet_rx() 478 || (rx_count < qh->maxpacket) in musb_host_packet_rx() [all …]
|
/linux-6.6.21/include/net/ |
D | gro.h | 437 if (!napi->rx_count) in gro_normal_list() 441 napi->rx_count = 0; in gro_normal_list() 450 napi->rx_count += segs; in gro_normal_one() 451 if (napi->rx_count >= READ_ONCE(gro_normal_batch)) in gro_normal_one()
|
/linux-6.6.21/include/linux/ |
D | ti_wilink_st.h | 139 unsigned long rx_count; member 254 unsigned long rx_count; member
|
/linux-6.6.21/drivers/net/ethernet/sunplus/ |
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-6.6.21/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-ethtool.c | 728 channels->rx_count = rx; in xgbe_get_channels() 736 channels->combined_count, channels->rx_count, in xgbe_print_set_channels_input() 785 if (channels->rx_count && channels->tx_count) { in xgbe_set_channels() 793 if ((channels->combined_count + channels->rx_count) > rx) { in xgbe_set_channels() 796 channels->combined_count + channels->rx_count, rx); in xgbe_set_channels() 809 rx = channels->combined_count + channels->rx_count; in xgbe_set_channels()
|
/linux-6.6.21/drivers/net/ethernet/pensando/ionic/ |
D | ionic_ethtool.c | 704 ch->rx_count = lif->nxqs; in ionic_get_channels() 724 if (ch->rx_count != ch->tx_count) { in ionic_set_channels() 729 if (ch->combined_count && ch->rx_count) { in ionic_set_channels() 752 if (ch->rx_count > max_cnt) in ionic_set_channels() 757 else if (ch->rx_count == lif->nxqs) in ionic_set_channels() 760 if (lif->nxqs != ch->rx_count) in ionic_set_channels() 762 lif->nxqs, ch->rx_count); in ionic_set_channels() 764 qparam.nxqs = ch->rx_count; in ionic_set_channels()
|
/linux-6.6.21/tools/include/uapi/linux/ |
D | ethtool.h | 45 __u32 rx_count; member
|