/openbmc/qemu/hw/char/ |
H A D | sh_serial.c | 62 uint8_t rx_cnt; member 88 s->rx_cnt = 0; in OBJECT_DEFINE_TYPE() 267 if (s->rx_cnt > 0) { in sh_serial_read() 269 s->rx_cnt--; in sh_serial_read() 273 if (s->rx_cnt < s->rtrg) { in sh_serial_read() 282 ret = s->rx_cnt; in sh_serial_read() 356 if (s->rx_cnt < SH_RX_FIFO_LENGTH) { in sh_serial_receive1() 361 s->rx_cnt++; in sh_serial_receive1() 362 if (s->rx_cnt >= s->rtrg) { in sh_serial_receive1()
|
/openbmc/qemu/hw/net/can/ |
H A D | ctucan_core.c | 210 s->rx_cnt = 0; in ctucan_hardware_reset() 215 s->rx_cnt = 0; in ctucan_hardware_reset() 328 s->rx_cnt = 0; in ctucan_mem_write() 448 s->rx_cnt) >> 2; in ctucan_mem_read() 453 uint32_t rx_head_pos = s->rx_tail_pos + s->rx_cnt; in ctucan_mem_read() 467 if (((s->rx_cnt + 3) & ~3) == CTUCAN_RCV_BUF_LEN) { in ctucan_mem_read() 475 if (s->rx_cnt) { in ctucan_mem_read() 483 s->rx_cnt -= 4; in ctucan_mem_read() 551 if (s->rx_cnt + ret > CTUCAN_RCV_BUF_LEN) { /* Data overrun. */ in ctucan_receive() 562 if (((s->rx_cnt + 3) & ~3) == CTUCAN_RCV_BUF_LEN) { in ctucan_receive() [all …]
|
H A D | can_sja1000.c | 61 s->rx_cnt = 0x00; in can_sja_software_reset() 73 s->rx_cnt = 0x00; in can_sja_hardware_reset() 472 s->rx_cnt = 0; in can_sja_mem_write() 519 "Rx FIFO cnt=%d, count=%d\n", s->rx_cnt, count); in can_sja_mem_write() 525 s->rx_cnt -= count; in can_sja_mem_write() 573 s->rx_cnt = 0; in can_sja_mem_write() 617 "Rx FIFO cnt=%d, count=%d\n", s->rx_cnt, count); in can_sja_mem_write() 622 s->rx_cnt -= count; in can_sja_mem_write() 821 if (s->rx_cnt + ret > SJA_RCV_BUF_LEN) { /* Data overrun. */ in can_sja_receive() 831 s->rx_cnt += ret; in can_sja_receive() [all …]
|
H A D | can_sja1000.h | 57 uint32_t rx_cnt; /* Count by bytes. */ member
|
H A D | ctucan_core.h | 99 uint32_t rx_cnt; /* Count by bytes. */ member
|
/openbmc/u-boot/drivers/i2c/ |
H A D | ast2600_i2c.c | 116 int rx_cnt, ret = 0; in ast2600_i2c_read_data() local 119 for (rx_cnt = 0; rx_cnt < len; rx_cnt++, buffer++) { in ast2600_i2c_read_data() 122 if (!rx_cnt) in ast2600_i2c_read_data() 125 if ((len - 1) == rx_cnt) in ast2600_i2c_read_data() 128 if (send_stop && ((len - 1) == rx_cnt)) in ast2600_i2c_read_data()
|
/openbmc/linux/drivers/spi/ |
H A D | spi-sunplus-sp7021.c | 184 unsigned int tx_len, rx_cnt; in sp7021_spi_master_irq() local 200 rx_cnt = FIELD_GET(SP7021_RX_CNT_MASK, fd_status); in sp7021_spi_master_irq() 202 rx_cnt = pspim->data_unit; in sp7021_spi_master_irq() 206 fd_status, rx_cnt, tx_cnt, tx_len); in sp7021_spi_master_irq() 208 if (rx_cnt > 0) in sp7021_spi_master_irq() 209 sp7021_spi_master_rb(pspim, rx_cnt); in sp7021_spi_master_irq() 222 rx_cnt = pspim->data_unit; in sp7021_spi_master_irq() 224 rx_cnt = FIELD_GET(SP7021_RX_CNT_MASK, fd_status); in sp7021_spi_master_irq() 226 if (rx_cnt > 0) in sp7021_spi_master_irq() 227 sp7021_spi_master_rb(pspim, rx_cnt); in sp7021_spi_master_irq()
|
/openbmc/linux/samples/bpf/ |
H A D | xdp_sample_user.c | 103 struct record rx_cnt; member 128 } rx_cnt; member 460 rec->rx_cnt.cpu = alloc_record_per_cpu(); in alloc_stats_record() 461 if (!rec->rx_cnt.cpu) { in alloc_stats_record() 541 free(rec->rx_cnt.cpu); in alloc_stats_record() 566 free(r->rx_cnt.cpu); in free_stats_record() 656 rec = &stats_rec->rx_cnt; in stats_get_rx_cnt() 657 prev = &stats_prev->rx_cnt; in stats_get_rx_cnt() 682 out->rx_cnt.pps = pps; in stats_get_rx_cnt() 683 out->rx_cnt.drop = drop; in stats_get_rx_cnt() [all …]
|
H A D | xdp_sample.bpf.h | 26 extern array_map rx_cnt;
|
H A D | xdp_sample_user.h | 75 skel->maps.rx_cnt, skel->maps.redir_err_cnt, \
|
H A D | xdp_router_ipv4.bpf.c | 84 rec = bpf_map_lookup_elem(&rx_cnt, &key); in xdp_router_ipv4_prog()
|
H A D | xdp_sample.bpf.c | 9 array_map rx_cnt SEC(".maps");
|
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/ |
H A D | stmmac_ethtool.c | 587 u32 rx_cnt = priv->plat->rx_queues_to_use; in stmmac_get_per_qstats() local 604 for (q = 0; q < rx_cnt; q++) { in stmmac_get_per_qstats() 728 u32 rx_cnt = priv->plat->rx_queues_to_use; in stmmac_get_sset_count() local 735 STMMAC_RXQ_STATS * rx_cnt; in stmmac_get_sset_count() 761 u32 rx_cnt = priv->plat->rx_queues_to_use; in stmmac_get_qstats_string() local 771 for (q = 0; q < rx_cnt; q++) { in stmmac_get_qstats_string() 966 u32 rx_cnt; in __stmmac_get_coalesce() local 969 rx_cnt = priv->plat->rx_queues_to_use; in __stmmac_get_coalesce() 971 max_cnt = max(rx_cnt, tx_cnt); in __stmmac_get_coalesce() 986 if (priv->use_riwt && queue < rx_cnt) { in __stmmac_get_coalesce() [all …]
|
H A D | stmmac_main.c | 1253 u32 rx_cnt = priv->plat->rx_queues_to_use; in stmmac_display_rx_rings() local 1259 for (queue = 0; queue < rx_cnt; queue++) { in stmmac_display_rx_rings() 3308 u32 rx_cnt = priv->plat->rx_queues_to_use; in stmmac_hw_setup() local 3387 for (queue = 0; queue < rx_cnt; queue++) { in stmmac_hw_setup() 3417 for (chan = 0; chan < rx_cnt; chan++) in stmmac_hw_setup() 5864 u32 rx_cnt = priv->plat->rx_queues_to_use; in stmmac_common_interrupt() local 5871 queues_count = (rx_cnt > tx_cnt) ? rx_cnt : tx_cnt; in stmmac_common_interrupt() 6781 u32 rx_cnt = priv->plat->rx_queues_to_use; in stmmac_xdp_open() local 6783 u32 dma_csr_ch = max(rx_cnt, tx_cnt); in stmmac_xdp_open() 6817 for (chan = 0; chan < rx_cnt; chan++) { in stmmac_xdp_open() [all …]
|
H A D | stmmac.h | 365 int stmmac_reinit_queues(struct net_device *dev, u32 rx_cnt, u32 tx_cnt);
|
/openbmc/linux/drivers/crypto/allwinner/sun4i-ss/ |
H A D | sun4i-ss-cipher.c | 24 u32 rx_cnt = SS_RX_DEFAULT; in sun4i_ss_opti_poll() local 90 todo = min(rx_cnt, ileft); in sun4i_ss_opti_poll() 105 rx_cnt = SS_RXFIFO_SPACES(spaces); in sun4i_ss_opti_poll() 190 u32 rx_cnt = SS_RX_DEFAULT; in sun4i_ss_cipher_poll() local 286 todo = min(rx_cnt, ileft / 4); in sun4i_ss_cipher_poll() 301 todo = min(rx_cnt * 4 - ob, ileft); in sun4i_ss_cipher_poll() 321 rx_cnt = SS_RXFIFO_SPACES(spaces); in sun4i_ss_cipher_poll()
|
H A D | sun4i-ss-hash.c | 191 u32 spaces, rx_cnt = SS_RX_DEFAULT, bf[32] = {0}, v, ivmode = 0; in sun4i_hash() local 315 todo = min3((u32)(end - i) / 4, rx_cnt, (u32)in_r / 4); in sun4i_hash() 320 rx_cnt -= todo; in sun4i_hash() 321 if (!rx_cnt) { in sun4i_hash() 323 rx_cnt = SS_RXFIFO_SPACES(spaces); in sun4i_hash()
|
/openbmc/linux/drivers/net/wwan/t7xx/ |
H A D | t7xx_hif_dpmaif_rx.c | 720 unsigned int cur_pit, pit_len, rx_cnt, recv_skb_cnt = 0; in t7xx_dpmaif_rx_start() local 729 for (rx_cnt = 0; rx_cnt < pit_cnt; rx_cnt++) { in t7xx_dpmaif_rx_start() 782 if (rx_cnt > 0 && !(rx_cnt % DPMAIF_NOTIFY_RELEASE_COUNT)) { in t7xx_dpmaif_rx_start() 862 int rx_cnt = t7xx_dpmaif_napi_rx_data_collect(rxq->dpmaif_ctrl, rxq->index, in t7xx_dpmaif_napi_rx_poll() local 864 if (rx_cnt > 0) in t7xx_dpmaif_napi_rx_poll() 865 work_done += rx_cnt; in t7xx_dpmaif_napi_rx_poll()
|
/openbmc/linux/drivers/net/wireless/realtek/rtw88/ |
H A D | rx.c | 25 rtwdev->stats.rx_cnt++; in rtw_rx_stats() 29 rtwvif->stats.rx_cnt++; in rtw_rx_stats()
|
/openbmc/linux/drivers/i2c/busses/ |
H A D | i2c-qup.c | 728 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()
|
/openbmc/u-boot/drivers/ata/ |
H A D | sata_sil.h | 52 __le32 rx_cnt; member
|
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_ptp.h | 75 unsigned long rx_cnt; member
|
/openbmc/linux/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_ll2.c | 50 int rx_cnt; member 147 cdev->ll2->rx_cnt--; in qed_ll2_dealloc_buffer() 148 if (!cdev->ll2->rx_cnt) in qed_ll2_dealloc_buffer() 2508 int rc, rx_cnt; in __qed_ll2_start() local 2543 rx_cnt = cdev->ll2->rx_cnt; in __qed_ll2_start() 2557 rx_cnt++; in __qed_ll2_start() 2562 if (rx_cnt == cdev->ll2->rx_cnt) { in __qed_ll2_start() 2566 cdev->ll2->rx_cnt = rx_cnt; in __qed_ll2_start()
|
/openbmc/linux/drivers/net/wireless/microchip/wilc1000/ |
H A D | hif.h | 37 u32 rx_cnt; member
|
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cudbg_entity.h | 40 u32 rx_cnt[T6_PM_NSTATS]; member
|