Home
last modified time | relevance | path

Searched refs:rx_cnt (Results 1 – 25 of 32) sorted by relevance

12

/kernel/linux/linux-5.10/samples/bpf/
Dxdp_redirect_cpu_kern.c46 } rx_cnt SEC(".maps");
220 rec = bpf_map_lookup_elem(&rx_cnt, &key); in xdp_prognum0_no_touch()
256 rec = bpf_map_lookup_elem(&rx_cnt, &key); in xdp_prognum1_touch_data()
311 rec = bpf_map_lookup_elem(&rx_cnt, &key0); in xdp_prognum2_round_robin()
340 rec = bpf_map_lookup_elem(&rx_cnt, &key); in xdp_prognum3_proto_separate()
409 rec = bpf_map_lookup_elem(&rx_cnt, &key); in xdp_prognum4_ddos_filter_pktgen()
530 rec = bpf_map_lookup_elem(&rx_cnt, &key); in xdp_prognum5_lb_hash_ip_pairs()
Dxdp_redirect_cpu_user.c191 struct record rx_cnt; member
268 rec->rx_cnt.cpu = alloc_record_per_cpu(); in alloc_stats_record()
287 free(r->rx_cnt.cpu); in free_stats_record()
378 rec = &stats_rec->rx_cnt; in stats_print()
379 prev = &stats_prev->rx_cnt; in stats_print()
548 map_collect_percpu(fd, 0, &rec->rx_cnt); in stats_collect()
/kernel/linux/linux-5.10/drivers/crypto/allwinner/sun4i-ss/
Dsun4i-ss-cipher.c25 u32 rx_cnt = SS_RX_DEFAULT; in sun4i_ss_opti_poll() local
85 todo = min(rx_cnt, ileft); in sun4i_ss_opti_poll()
100 rx_cnt = SS_RXFIFO_SPACES(spaces); in sun4i_ss_opti_poll()
179 u32 rx_cnt = SS_RX_DEFAULT; in sun4i_ss_cipher_poll() local
273 todo = min(rx_cnt, ileft / 4); in sun4i_ss_cipher_poll()
288 todo = min(rx_cnt * 4 - ob, ileft); in sun4i_ss_cipher_poll()
308 rx_cnt = SS_RXFIFO_SPACES(spaces); in sun4i_ss_cipher_poll()
Dsun4i-ss-hash.c191 u32 spaces, rx_cnt = SS_RX_DEFAULT, bf[32] = {0}, v, ivmode = 0; in sun4i_hash() local
313 todo = min3((u32)(end - i) / 4, rx_cnt, (u32)in_r / 4); in sun4i_hash()
318 rx_cnt -= todo; in sun4i_hash()
319 if (!rx_cnt) { in sun4i_hash()
321 rx_cnt = SS_RXFIFO_SPACES(spaces); in sun4i_hash()
/kernel/linux/linux-5.10/drivers/input/serio/
Dps2-gpio.c55 unsigned char rx_cnt; member
134 cnt = drvdata->rx_cnt; in ps2_gpio_irq_rx()
223 drvdata->rx_cnt = cnt; in ps2_gpio_irq_rx()
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtw88/
Drx.c24 rtwdev->stats.rx_cnt++; in rtw_rx_stats()
28 rtwvif->stats.rx_cnt++; in rtw_rx_stats()
Dmain.c170 rtwvif->stats.rx_cnt = 0; in rtw_vif_watch_dog_iter()
193 if (rtwdev->stats.tx_cnt > 100 || rtwdev->stats.rx_cnt > 100) in rtw_watch_dog_work()
202 stats->rx_cnt > RTW_LPS_THRESHOLD) in rtw_watch_dog_work()
218 stats->rx_cnt = 0; in rtw_watch_dog_work()
Dmac80211.c160 rtwvif->stats.rx_cnt = 0; in rtw_ops_add_interface()
/kernel/linux/linux-5.10/drivers/i2c/busses/
Di2c-qup.c728 u32 tx_cnt = qup->btx.sg_cnt, rx_cnt = qup->brx.sg_cnt; in qup_i2c_bam_schedule_desc() local
732 if (rx_cnt) { in qup_i2c_bam_schedule_desc()
737 ret = qup_sg_set_buf(&qup->brx.sg[rx_cnt++], in qup_i2c_bam_schedule_desc()
759 if (!rx_cnt) { in qup_i2c_bam_schedule_desc()
772 if (rx_cnt) { in qup_i2c_bam_schedule_desc()
774 rx_cnt, DMA_DEV_TO_MEM, in qup_i2c_bam_schedule_desc()
822 if (rx_cnt) in qup_i2c_bam_schedule_desc()
823 dma_unmap_sg(qup->dev, qup->brx.sg, rx_cnt, in qup_i2c_bam_schedule_desc()
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/
Dqed_ll2.c47 int rx_cnt; member
118 cdev->ll2->rx_cnt--; in qed_ll2_dealloc_buffer()
119 if (!cdev->ll2->rx_cnt) in qed_ll2_dealloc_buffer()
2458 int rc, rx_cnt; in __qed_ll2_start() local
2492 rx_cnt = cdev->ll2->rx_cnt; in __qed_ll2_start()
2506 rx_cnt++; in __qed_ll2_start()
2511 if (rx_cnt == cdev->ll2->rx_cnt) { in __qed_ll2_start()
2515 cdev->ll2->rx_cnt = rx_cnt; in __qed_ll2_start()
/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/
Dstmmac.h272 int stmmac_reinit_queues(struct net_device *dev, u32 rx_cnt, u32 tx_cnt);
Dstmmac_main.c1171 u32 rx_cnt = priv->plat->rx_queues_to_use; in stmmac_display_rx_rings() local
1177 for (queue = 0; queue < rx_cnt; queue++) { in stmmac_display_rx_rings()
2704 u32 rx_cnt = priv->plat->rx_queues_to_use; in stmmac_hw_setup() local
2783 ret = stmmac_rx_watchdog(priv, priv->ioaddr, priv->rx_riwt, rx_cnt); in stmmac_hw_setup()
2807 for (chan = 0; chan < rx_cnt; chan++) in stmmac_hw_setup()
4206 u32 rx_cnt = priv->plat->rx_queues_to_use; in stmmac_interrupt() local
4213 queues_count = (rx_cnt > tx_cnt) ? rx_cnt : tx_cnt; in stmmac_interrupt()
4933 int stmmac_reinit_queues(struct net_device *dev, u32 rx_cnt, u32 tx_cnt) in stmmac_reinit_queues() argument
4943 priv->plat->rx_queues_to_use = rx_cnt; in stmmac_reinit_queues()
5337 u32 rx_cnt = priv->plat->rx_queues_to_use; in stmmac_reset_queues_param() local
[all …]
Dstmmac_ethtool.c790 u32 rx_cnt = priv->plat->rx_queues_to_use; in stmmac_set_coalesce() local
800 stmmac_rx_watchdog(priv, priv->ioaddr, priv->rx_riwt, rx_cnt); in stmmac_set_coalesce()
Dstmmac_selftests.c739 u32 rx_cnt = priv->plat->rx_queues_to_use; in stmmac_test_flowctrl() local
766 for (i = 0; i < rx_cnt; i++) in stmmac_test_flowctrl()
794 for (i = 0; i < rx_cnt; i++) { in stmmac_test_flowctrl()
/kernel/linux/linux-5.10/drivers/net/wireless/microchip/wilc1000/
Dhif.h39 u32 rx_cnt; member
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/
Dcudbg_entity.h40 u32 rx_cnt[T6_PM_NSTATS]; member
Dcxgb4_debugfs.c752 u32 tx_cnt[T6_PM_NSTATS], rx_cnt[T6_PM_NSTATS]; in pm_stats_show() local
757 t4_pmrx_get_stats(adap, rx_cnt, rx_cyc); in pm_stats_show()
767 rx_pm_stats[i], rx_cnt[i], rx_cyc[i]); in pm_stats_show()
779 rx_cnt[i], rx_cyc[i]); in pm_stats_show()
792 rx_cnt[i], rx_cyc[i]); in pm_stats_show()
/kernel/linux/linux-5.10/drivers/usb/host/
Dfhci.h179 __be16 rx_cnt; /* Rx byte count */ member
/kernel/linux/linux-5.10/drivers/tty/serial/
Ducc_uart.c126 __be32 rx_cnt; /* 0x98, RX count, initialize to 0 */ member
716 qe_iowrite32be(0, &uccup->rx_cnt); in qe_uart_init_ucc()
/kernel/linux/linux-5.10/drivers/mailbox/
Dbcm-pdc-mailbox.c1125 static bool pdc_rings_full(struct pdc_state *pdcs, int tx_cnt, int rx_cnt) in pdc_rings_full() argument
1134 if (unlikely(rx_cnt > rx_avail)) { in pdc_rings_full()
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_83xx_init.c2419 u8 rx_cnt = QLCNIC_DEF_SDS_RINGS; in qlcnic_83xx_init_rings() local
2426 rx_cnt = QLCNIC_SINGLE_RING; in qlcnic_83xx_init_rings()
2432 qlcnic_set_sds_ring_count(adapter, rx_cnt); in qlcnic_83xx_init_rings()
Dqlcnic_main.c656 void qlcnic_set_sds_ring_count(struct qlcnic_adapter *adapter, u8 rx_cnt) in qlcnic_set_sds_ring_count() argument
660 adapter->drv_sds_rings = qlcnic_max_rings(adapter, rx_cnt, in qlcnic_set_sds_ring_count()
663 adapter->drv_sds_rings = rx_cnt; in qlcnic_set_sds_ring_count()
/kernel/linux/linux-5.10/drivers/tty/
Dmxser.c203 unsigned long rx_cnt[32]; member
1575 if (p >= ARRAY_SIZE(me->rx_cnt)) { in mxser_ioctl_special()
1601 me->rx_cnt[p] = ip->mon_data.rxcnt; in mxser_ioctl_special()
/kernel/linux/linux-5.10/drivers/ata/
Dsata_sil24.c32 __le32 rx_cnt; member
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/
Dice_adminq_cmd.h177 u8 rx_cnt; member

12