| /drivers/media/platform/ti/omap3isp/ |
| A D | isphist.c | 72 if (!hist->update || hist->state == ISPSTAT_DISABLED || in hist_setup_regs() 121 hist_reset_mem(hist); in hist_setup_regs() 134 hist->update = 0; in hist_setup_regs() 135 hist->config_counter += hist->inc_config; in hist_setup_regs() 136 hist->inc_config = 0; in hist_setup_regs() 275 if (atomic_read(&hist->buf_err) || hist->state != ISPSTAT_ENABLED) { in hist_buf_process() 283 if (hist->dma_ch) in hist_buf_process() 409 if (!hist->configured || hist_comp_params(hist, user_cfg)) { in hist_set_params() 414 hist->update = 1; in hist_set_params() 484 hist->isp = isp; in omap3isp_hist_init() [all …]
|
| /drivers/net/ethernet/meta/fbnic/ |
| A D | fbnic_mac.c | 691 fbnic_mac_stat_rd64(fbd, reset, rmon_stats->hist[0], in fbnic_mac_get_rmon_stats() 693 fbnic_mac_stat_rd64(fbd, reset, rmon_stats->hist[1], in fbnic_mac_get_rmon_stats() 695 fbnic_mac_stat_rd64(fbd, reset, rmon_stats->hist[2], in fbnic_mac_get_rmon_stats() 697 fbnic_mac_stat_rd64(fbd, reset, rmon_stats->hist[3], in fbnic_mac_get_rmon_stats() 699 fbnic_mac_stat_rd64(fbd, reset, rmon_stats->hist[4], in fbnic_mac_get_rmon_stats() 701 fbnic_mac_stat_rd64(fbd, reset, rmon_stats->hist[5], in fbnic_mac_get_rmon_stats() 703 fbnic_mac_stat_rd64(fbd, reset, rmon_stats->hist[6], in fbnic_mac_get_rmon_stats() 705 fbnic_mac_stat_rd64(fbd, reset, rmon_stats->hist[7], in fbnic_mac_get_rmon_stats() 707 fbnic_mac_stat_rd64(fbd, reset, rmon_stats->hist[8], in fbnic_mac_get_rmon_stats() 709 fbnic_mac_stat_rd64(fbd, reset, rmon_stats->hist[9], in fbnic_mac_get_rmon_stats() [all …]
|
| A D | fbnic_hw_stats.h | 38 struct fbnic_stat_counter hist[ETHTOOL_RMON_HIST_MAX]; member
|
| A D | fbnic_ethtool.c | 1671 rmon_stats->hist[i] = mac_stats->rmon.hist[i].value; in fbnic_get_rmon_stats()
|
| /drivers/net/ethernet/broadcom/asp2/ |
| A D | bcmasp_ethtool.c | 386 rmon_stats->hist[0] = umac_rl(intf, UMC_GR64); in bcmasp_get_rmon_stats() 387 rmon_stats->hist[1] = umac_rl(intf, UMC_GR127); in bcmasp_get_rmon_stats() 388 rmon_stats->hist[2] = umac_rl(intf, UMC_GR255); in bcmasp_get_rmon_stats() 389 rmon_stats->hist[3] = umac_rl(intf, UMC_GR511); in bcmasp_get_rmon_stats() 390 rmon_stats->hist[4] = umac_rl(intf, UMC_GR1023); in bcmasp_get_rmon_stats() 391 rmon_stats->hist[5] = umac_rl(intf, UMC_GR1518); in bcmasp_get_rmon_stats() 392 rmon_stats->hist[6] = umac_rl(intf, UMC_GRMGV); in bcmasp_get_rmon_stats()
|
| /drivers/net/ethernet/mscc/ |
| A D | ocelot_stats.c | 574 rmon_stats->hist[0] = s[OCELOT_STAT_RX_64]; in ocelot_port_rmon_stats_cb() 575 rmon_stats->hist[1] = s[OCELOT_STAT_RX_65_127]; in ocelot_port_rmon_stats_cb() 576 rmon_stats->hist[2] = s[OCELOT_STAT_RX_128_255]; in ocelot_port_rmon_stats_cb() 577 rmon_stats->hist[3] = s[OCELOT_STAT_RX_256_511]; in ocelot_port_rmon_stats_cb() 578 rmon_stats->hist[4] = s[OCELOT_STAT_RX_512_1023]; in ocelot_port_rmon_stats_cb() 579 rmon_stats->hist[5] = s[OCELOT_STAT_RX_1024_1526]; in ocelot_port_rmon_stats_cb() 580 rmon_stats->hist[6] = s[OCELOT_STAT_RX_1527_MAX]; in ocelot_port_rmon_stats_cb() 602 rmon_stats->hist[0] = s[OCELOT_STAT_RX_PMAC_64]; in ocelot_port_pmac_rmon_stats_cb() 603 rmon_stats->hist[1] = s[OCELOT_STAT_RX_PMAC_65_127]; in ocelot_port_pmac_rmon_stats_cb() 604 rmon_stats->hist[2] = s[OCELOT_STAT_RX_PMAC_128_255]; in ocelot_port_pmac_rmon_stats_cb() [all …]
|
| /drivers/net/ethernet/ti/icssg/ |
| A D | icssg_ethtool.c | 197 rmon_stats->hist[0] = emac_get_stat_by_name(emac, "rx_bucket1_frames"); in emac_get_rmon_stats() 198 rmon_stats->hist[1] = emac_get_stat_by_name(emac, "rx_bucket2_frames"); in emac_get_rmon_stats() 199 rmon_stats->hist[2] = emac_get_stat_by_name(emac, "rx_bucket3_frames"); in emac_get_rmon_stats() 200 rmon_stats->hist[3] = emac_get_stat_by_name(emac, "rx_bucket4_frames"); in emac_get_rmon_stats() 201 rmon_stats->hist[4] = emac_get_stat_by_name(emac, "rx_bucket5_frames"); in emac_get_rmon_stats()
|
| /drivers/net/ethernet/hisilicon/hibmcge/ |
| A D | hbg_ethtool.c | 459 rmon_stats->hist[0] = stats->rx_framesize_64; in hbg_ethtool_get_rmon_stats() 460 rmon_stats->hist[1] = stats->rx_framesize_65_127; in hbg_ethtool_get_rmon_stats() 461 rmon_stats->hist[2] = stats->rx_framesize_128_255; in hbg_ethtool_get_rmon_stats() 462 rmon_stats->hist[3] = stats->rx_framesize_256_511; in hbg_ethtool_get_rmon_stats() 463 rmon_stats->hist[4] = stats->rx_framesize_512_1023; in hbg_ethtool_get_rmon_stats() 464 rmon_stats->hist[5] = stats->rx_framesize_1024_1518; in hbg_ethtool_get_rmon_stats() 465 rmon_stats->hist[6] = stats->rx_framesize_bt_1518; in hbg_ethtool_get_rmon_stats()
|
| /drivers/net/ethernet/microchip/lan966x/ |
| A D | lan966x_ethtool.c | 459 rmon_stats->hist[0] = in lan966x_get_eth_rmon_stats() 462 rmon_stats->hist[1] = in lan966x_get_eth_rmon_stats() 465 rmon_stats->hist[2] = in lan966x_get_eth_rmon_stats() 468 rmon_stats->hist[3] = in lan966x_get_eth_rmon_stats() 471 rmon_stats->hist[4] = in lan966x_get_eth_rmon_stats() 474 rmon_stats->hist[5] = in lan966x_get_eth_rmon_stats() 477 rmon_stats->hist[6] = in lan966x_get_eth_rmon_stats()
|
| /drivers/net/ethernet/mellanox/mlxsw/ |
| A D | spectrum_ethtool.c | 1197 rmon->hist[0] = mlxsw_reg_ppcnt_ether_stats_pkts64octets_get(ppcnt_pl); in mlxsw_sp_get_rmon_stats() 1198 rmon->hist[1] = in mlxsw_sp_get_rmon_stats() 1200 rmon->hist[2] = in mlxsw_sp_get_rmon_stats() 1202 rmon->hist[3] = in mlxsw_sp_get_rmon_stats() 1204 rmon->hist[4] = in mlxsw_sp_get_rmon_stats() 1206 rmon->hist[5] = in mlxsw_sp_get_rmon_stats() 1208 rmon->hist[6] = in mlxsw_sp_get_rmon_stats() 1210 rmon->hist[7] = in mlxsw_sp_get_rmon_stats() 1212 rmon->hist[8] = in mlxsw_sp_get_rmon_stats() 1214 rmon->hist[9] = in mlxsw_sp_get_rmon_stats()
|
| /drivers/net/ethernet/fungible/funeth/ |
| A D | funeth_ethtool.c | 913 stats->hist[0] = RX_STAT(fp, etherStatsPkts64Octets); in fun_get_rmon_stats() 914 stats->hist[1] = RX_STAT(fp, etherStatsPkts65to127Octets); in fun_get_rmon_stats() 915 stats->hist[2] = RX_STAT(fp, etherStatsPkts128to255Octets); in fun_get_rmon_stats() 916 stats->hist[3] = RX_STAT(fp, etherStatsPkts256to511Octets); in fun_get_rmon_stats() 917 stats->hist[4] = RX_STAT(fp, etherStatsPkts512to1023Octets); in fun_get_rmon_stats() 918 stats->hist[5] = RX_STAT(fp, etherStatsPkts1024to1518Octets); in fun_get_rmon_stats() 919 stats->hist[6] = RX_STAT(fp, etherStatsPkts1519toMaxOctets); in fun_get_rmon_stats()
|
| /drivers/net/dsa/ |
| A D | rzn1_a5psw.c | 878 rmon_stats->hist[0] = RD(etherStatsPkts64Octets); in a5psw_get_rmon_stats() 879 rmon_stats->hist[1] = RD(etherStatsPkts65to127Octets); in a5psw_get_rmon_stats() 880 rmon_stats->hist[2] = RD(etherStatsPkts128to255Octets); in a5psw_get_rmon_stats() 881 rmon_stats->hist[3] = RD(etherStatsPkts256to511Octets); in a5psw_get_rmon_stats() 882 rmon_stats->hist[4] = RD(etherStatsPkts512to1023Octets); in a5psw_get_rmon_stats() 883 rmon_stats->hist[5] = RD(etherStatsPkts1024to1518Octets); in a5psw_get_rmon_stats() 884 rmon_stats->hist[6] = RD(etherStatsPkts1519toXOctets); in a5psw_get_rmon_stats()
|
| A D | mt7530.c | 881 &rmon_stats->hist[0]); in mt7530_get_rmon_stats() 883 &rmon_stats->hist[1]); in mt7530_get_rmon_stats() 885 &rmon_stats->hist[2]); in mt7530_get_rmon_stats() 887 &rmon_stats->hist[3]); in mt7530_get_rmon_stats() 889 &rmon_stats->hist[4]); in mt7530_get_rmon_stats() 891 &rmon_stats->hist[5]); in mt7530_get_rmon_stats()
|
| /drivers/infiniband/hw/hfi1/ |
| A D | trace.c | 491 static struct hfi1_ctxt_hist hist = { variable 497 int i, len = ARRAY_SIZE(hist.data); in hfi1_trace_print_rsm_hist() 499 unsigned long packet_count = atomic_fetch_inc(&hist.count); in hfi1_trace_print_rsm_hist() 504 atomic_t *count = &hist.data[i]; in hfi1_trace_print_rsm_hist()
|
| /drivers/net/ethernet/freescale/enetc/ |
| A D | enetc_ethtool.c | 397 s->hist[0] = enetc_port_rd64(hw, ENETC_PM_R64(mac)); in enetc_rmon_stats() 398 s->hist[1] = enetc_port_rd64(hw, ENETC_PM_R127(mac)); in enetc_rmon_stats() 399 s->hist[2] = enetc_port_rd64(hw, ENETC_PM_R255(mac)); in enetc_rmon_stats() 400 s->hist[3] = enetc_port_rd64(hw, ENETC_PM_R511(mac)); in enetc_rmon_stats() 401 s->hist[4] = enetc_port_rd64(hw, ENETC_PM_R1023(mac)); in enetc_rmon_stats() 402 s->hist[5] = enetc_port_rd64(hw, ENETC_PM_R1522(mac)); in enetc_rmon_stats() 403 s->hist[6] = enetc_port_rd64(hw, ENETC_PM_R1523X(mac)); in enetc_rmon_stats()
|
| /drivers/media/platform/rockchip/rkisp1/ |
| A D | rkisp1-stats.c | 281 pbuf->params.hist.hist_bins[i] = RKISP1_CIF_ISP_HIST_GET_BIN_V10(reg_val); in rkisp1_stats_get_hst_meas_v10() 295 pbuf->params.hist.hist_bins[2 * i] = in rkisp1_stats_get_hst_meas_v12() 297 pbuf->params.hist.hist_bins[2 * i + 1] = in rkisp1_stats_get_hst_meas_v12()
|
| /drivers/net/ethernet/microchip/sparx5/ |
| A D | sparx5_ethtool.c | 964 rmon_stats->hist[0] = portstats[spx5_stats_rx_size64_cnt] + in sparx5_get_eth_rmon_stats() 966 rmon_stats->hist[1] = portstats[spx5_stats_rx_size65to127_cnt] + in sparx5_get_eth_rmon_stats() 968 rmon_stats->hist[2] = portstats[spx5_stats_rx_size128to255_cnt] + in sparx5_get_eth_rmon_stats() 970 rmon_stats->hist[3] = portstats[spx5_stats_rx_size256to511_cnt] + in sparx5_get_eth_rmon_stats() 972 rmon_stats->hist[4] = portstats[spx5_stats_rx_size512to1023_cnt] + in sparx5_get_eth_rmon_stats() 974 rmon_stats->hist[5] = portstats[spx5_stats_rx_size1024to1518_cnt] + in sparx5_get_eth_rmon_stats() 976 rmon_stats->hist[6] = portstats[spx5_stats_rx_size1519tomax_cnt] + in sparx5_get_eth_rmon_stats()
|
| /drivers/net/ethernet/mellanox/mlx5/core/ |
| A D | en_stats.c | 1154 rmon->hist[0] = RD(ether_stats_pkts64octets); in mlx5e_stats_rmon_get() 1155 rmon->hist[1] = RD(ether_stats_pkts65to127octets); in mlx5e_stats_rmon_get() 1156 rmon->hist[2] = RD(ether_stats_pkts128to255octets); in mlx5e_stats_rmon_get() 1157 rmon->hist[3] = RD(ether_stats_pkts256to511octets); in mlx5e_stats_rmon_get() 1158 rmon->hist[4] = RD(ether_stats_pkts512to1023octets); in mlx5e_stats_rmon_get() 1159 rmon->hist[5] = RD(ether_stats_pkts1024to1518octets); in mlx5e_stats_rmon_get() 1160 rmon->hist[6] = RD(ether_stats_pkts1519to2047octets); in mlx5e_stats_rmon_get() 1161 rmon->hist[7] = RD(ether_stats_pkts2048to4095octets); in mlx5e_stats_rmon_get() 1162 rmon->hist[8] = RD(ether_stats_pkts4096to8191octets); in mlx5e_stats_rmon_get() 1163 rmon->hist[9] = RD(ether_stats_pkts8192to10239octets); in mlx5e_stats_rmon_get()
|
| /drivers/net/ethernet/xilinx/ |
| A D | xilinx_axienet_main.c | 2462 rmon_stats->hist[0] = in axienet_ethtool_get_rmon_stats() 2464 rmon_stats->hist[1] = in axienet_ethtool_get_rmon_stats() 2466 rmon_stats->hist[2] = in axienet_ethtool_get_rmon_stats() 2468 rmon_stats->hist[3] = in axienet_ethtool_get_rmon_stats() 2470 rmon_stats->hist[4] = in axienet_ethtool_get_rmon_stats() 2472 rmon_stats->hist[5] = in axienet_ethtool_get_rmon_stats() 2474 rmon_stats->hist[6] = in axienet_ethtool_get_rmon_stats()
|
| /drivers/net/wireless/ath/ath5k/ |
| A D | phy.c | 1553 struct ath5k_nfcal_hist *hist = &ah->ah_nfcal_hist; in ath5k_hw_update_nfcal_hist() local 1554 hist->index = (hist->index + 1) & (ATH5K_NF_CAL_HIST_MAX - 1); in ath5k_hw_update_nfcal_hist() 1555 hist->nfval[hist->index] = noise_floor; in ath5k_hw_update_nfcal_hist()
|
| /drivers/net/ethernet/broadcom/bnxt/ |
| A D | bnxt_ethtool.c | 5405 rmon_stats->hist[0] = BNXT_GET_RX_PORT_STATS64(rx, rx_64b_frames); in bnxt_get_rmon_stats() 5406 rmon_stats->hist[1] = BNXT_GET_RX_PORT_STATS64(rx, rx_65b_127b_frames); in bnxt_get_rmon_stats() 5407 rmon_stats->hist[2] = BNXT_GET_RX_PORT_STATS64(rx, rx_128b_255b_frames); in bnxt_get_rmon_stats() 5408 rmon_stats->hist[3] = BNXT_GET_RX_PORT_STATS64(rx, rx_256b_511b_frames); in bnxt_get_rmon_stats() 5409 rmon_stats->hist[4] = in bnxt_get_rmon_stats() 5411 rmon_stats->hist[5] = in bnxt_get_rmon_stats() 5413 rmon_stats->hist[6] = in bnxt_get_rmon_stats() 5415 rmon_stats->hist[7] = in bnxt_get_rmon_stats() 5417 rmon_stats->hist[8] = in bnxt_get_rmon_stats() 5419 rmon_stats->hist[9] = in bnxt_get_rmon_stats()
|
| /drivers/net/ethernet/cadence/ |
| A D | macb_main.c | 3386 rmon_stats->hist[0] = hwstat->rx_64_byte_frames; in gem_get_rmon_stats() 3387 rmon_stats->hist[1] = hwstat->rx_65_127_byte_frames; in gem_get_rmon_stats() 3388 rmon_stats->hist[2] = hwstat->rx_128_255_byte_frames; in gem_get_rmon_stats() 3389 rmon_stats->hist[3] = hwstat->rx_256_511_byte_frames; in gem_get_rmon_stats() 3390 rmon_stats->hist[4] = hwstat->rx_512_1023_byte_frames; in gem_get_rmon_stats() 3391 rmon_stats->hist[5] = hwstat->rx_1024_1518_byte_frames; in gem_get_rmon_stats() 3392 rmon_stats->hist[6] = hwstat->rx_greater_than_1518_byte_frames; in gem_get_rmon_stats()
|
| /drivers/net/dsa/mv88e6xxx/ |
| A D | chip.c | 1464 MV88E6XXX_RMON_STAT_MAP(hist_64bytes, hist[0]); in mv88e6xxx_get_rmon_stats() 1465 MV88E6XXX_RMON_STAT_MAP(hist_65_127bytes, hist[1]); in mv88e6xxx_get_rmon_stats() 1466 MV88E6XXX_RMON_STAT_MAP(hist_128_255bytes, hist[2]); in mv88e6xxx_get_rmon_stats() 1467 MV88E6XXX_RMON_STAT_MAP(hist_256_511bytes, hist[3]); in mv88e6xxx_get_rmon_stats() 1468 MV88E6XXX_RMON_STAT_MAP(hist_512_1023bytes, hist[4]); in mv88e6xxx_get_rmon_stats() 1469 MV88E6XXX_RMON_STAT_MAP(hist_1024_max_bytes, hist[5]); in mv88e6xxx_get_rmon_stats()
|
| /drivers/net/wireless/ath/ath12k/ |
| A D | debugfs_htt_stats.h | 1397 __le32 hist[ATH12K_HTT_LATENCY_PROFILE_NUM_MAX_HIST]; member
|
| /drivers/net/ethernet/airoha/ |
| A D | airoha_eth.c | 2063 stats->hist[i] = hw_stats->rx_len[i]; in airoha_ethtool_get_rmon_stats()
|