/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_tc.c | 685 if (!plat->est) { in tc_setup_taprio() 686 plat->est = devm_kzalloc(priv->device, sizeof(*plat->est), in tc_setup_taprio() 688 if (!plat->est) in tc_setup_taprio() 691 mutex_init(&priv->plat->est->lock); in tc_setup_taprio() 693 memset(plat->est, 0, sizeof(*plat->est)); in tc_setup_taprio() 698 mutex_lock(&priv->plat->est->lock); in tc_setup_taprio() 699 priv->plat->est->gcl_size = size; in tc_setup_taprio() 700 priv->plat->est->enable = qopt->enable; in tc_setup_taprio() 701 mutex_unlock(&priv->plat->est->lock); in tc_setup_taprio() 729 priv->plat->est->gcl[i] = delta_ns | (gates << wid); in tc_setup_taprio() [all …]
|
/drivers/media/dvb-frontends/ |
D | dib7000m.c | 846 u16 value, est[4]; in dib7000m_set_channel() local 939 est[0] = 0x0148; /* P_adp_regul_cnt 0.04 */ in dib7000m_set_channel() 940 est[1] = 0xfff0; /* P_adp_noise_cnt -0.002 */ in dib7000m_set_channel() 941 est[2] = 0x00a4; /* P_adp_regul_ext 0.02 */ in dib7000m_set_channel() 942 est[3] = 0xfff8; /* P_adp_noise_ext -0.001 */ in dib7000m_set_channel() 945 est[0] = 0x023d; /* P_adp_regul_cnt 0.07 */ in dib7000m_set_channel() 946 est[1] = 0xffdf; /* P_adp_noise_cnt -0.004 */ in dib7000m_set_channel() 947 est[2] = 0x00a4; /* P_adp_regul_ext 0.02 */ in dib7000m_set_channel() 948 est[3] = 0xfff0; /* P_adp_noise_ext -0.002 */ in dib7000m_set_channel() 951 est[0] = 0x099a; /* P_adp_regul_cnt 0.3 */ in dib7000m_set_channel() [all …]
|
D | dib7000p.c | 974 u16 value, est[4]; in dib7000p_set_channel() local 1108 est[0] = 0x0148; /* P_adp_regul_cnt 0.04 */ in dib7000p_set_channel() 1109 est[1] = 0xfff0; /* P_adp_noise_cnt -0.002 */ in dib7000p_set_channel() 1110 est[2] = 0x00a4; /* P_adp_regul_ext 0.02 */ in dib7000p_set_channel() 1111 est[3] = 0xfff8; /* P_adp_noise_ext -0.001 */ in dib7000p_set_channel() 1114 est[0] = 0x023d; /* P_adp_regul_cnt 0.07 */ in dib7000p_set_channel() 1115 est[1] = 0xffdf; /* P_adp_noise_cnt -0.004 */ in dib7000p_set_channel() 1116 est[2] = 0x00a4; /* P_adp_regul_ext 0.02 */ in dib7000p_set_channel() 1117 est[3] = 0xfff0; /* P_adp_noise_ext -0.002 */ in dib7000p_set_channel() 1120 est[0] = 0x099a; /* P_adp_regul_cnt 0.3 */ in dib7000p_set_channel() [all …]
|
D | stb0899_drv.c | 997 unsigned int val, quant, quantn = -1, est, estn = -1; in stb0899_read_snr() local 1023 est = STB0899_GETFIELD(ESN0_EST, reg); in stb0899_read_snr() 1024 if (est == 1) in stb0899_read_snr() 1026 else if (est == 2) in stb0899_read_snr() 1032 estn = stb0899_table_lookup(stb0899_est_tab, ARRAY_SIZE(stb0899_est_tab) - 1, est); in stb0899_read_snr() 1038 quant, quantn, est, estn, val); in stb0899_read_snr()
|
/drivers/atm/ |
D | idt77252.c | 2078 struct rate_estimator *est = from_timer(est, t, timer); in idt77252_est_timer() local 2079 struct vc_map *vc = est->vc; in idt77252_est_timer() 2089 ncells = est->cells; in idt77252_est_timer() 2091 rate = ((u32)(ncells - est->last_cells)) << (7 - est->interval); in idt77252_est_timer() 2092 est->last_cells = ncells; in idt77252_est_timer() 2093 est->avcps += ((long)rate - (long)est->avcps) >> est->ewma_log; in idt77252_est_timer() 2094 est->cps = (est->avcps + 0x1f) >> 5; in idt77252_est_timer() 2096 cps = est->cps; in idt77252_est_timer() 2097 if (cps < (est->maxcps >> 4)) in idt77252_est_timer() 2098 cps = est->maxcps >> 4; in idt77252_est_timer() [all …]
|
/drivers/net/ethernet/ibm/emac/ |
D | core.c | 1973 struct emac_error_stats *est = &dev->estats; in emac_stats() local 1985 nst->rx_dropped = (unsigned long)(est->rx_dropped_oom + in emac_stats() 1986 est->rx_dropped_error + in emac_stats() 1987 est->rx_dropped_resize + in emac_stats() 1988 est->rx_dropped_mtu); in emac_stats() 1989 nst->tx_dropped = (unsigned long)est->tx_dropped; in emac_stats() 1991 nst->rx_errors = (unsigned long)est->rx_bd_errors; in emac_stats() 1992 nst->rx_fifo_errors = (unsigned long)(est->rx_bd_overrun + in emac_stats() 1993 est->rx_fifo_overrun + in emac_stats() 1994 est->rx_overrun); in emac_stats() [all …]
|
/drivers/net/wireless/broadcom/b43/ |
D | phy_n.c | 4338 static void b43_nphy_rx_iq_est(struct b43_wldev *dev, struct nphy_iq_est *est, in b43_nphy_rx_iq_est() argument 4356 est->i0_pwr = (b43_phy_read(dev, B43_NPHY_IQEST_IPACC_HI0) << 16) | in b43_nphy_rx_iq_est() 4358 est->q0_pwr = (b43_phy_read(dev, B43_NPHY_IQEST_QPACC_HI0) << 16) | in b43_nphy_rx_iq_est() 4360 est->iq0_prod = (b43_phy_read(dev, B43_NPHY_IQEST_IQACC_HI0) << 16) | in b43_nphy_rx_iq_est() 4363 est->i1_pwr = (b43_phy_read(dev, B43_NPHY_IQEST_IPACC_HI1) << 16) | in b43_nphy_rx_iq_est() 4365 est->q1_pwr = (b43_phy_read(dev, B43_NPHY_IQEST_QPACC_HI1) << 16) | in b43_nphy_rx_iq_est() 4367 est->iq1_prod = (b43_phy_read(dev, B43_NPHY_IQEST_IQACC_HI1) << 16) | in b43_nphy_rx_iq_est() 4373 memset(est, 0, sizeof(*est)); in b43_nphy_rx_iq_est() 4491 struct nphy_iq_est est; in b43_nphy_calc_rx_iq_comp() local 4501 b43_nphy_rx_iq_est(dev, &est, 0x4000, 32, false); in b43_nphy_calc_rx_iq_comp() [all …]
|
/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/ |
D | phy_n.c | 26047 wlc_phy_rx_iq_est_nphy(struct brcms_phy *pi, struct phy_iq_est *est, in wlc_phy_rx_iq_est_nphy() argument 26067 est[core].i_pwr = in wlc_phy_rx_iq_est_nphy() 26071 est[core].q_pwr = in wlc_phy_rx_iq_est_nphy() 26075 est[core].iq_prod = in wlc_phy_rx_iq_est_nphy() 26087 struct phy_iq_est est[PHY_CORE_MAX]; in wlc_phy_calc_rx_iq_comp_nphy() local 26104 wlc_phy_rx_iq_est_nphy(pi, est, 0x4000, 32, 0); in wlc_phy_calc_rx_iq_comp_nphy() 26111 iq = est[curr_core].iq_prod; in wlc_phy_calc_rx_iq_comp_nphy() 26112 ii = est[curr_core].i_pwr; in wlc_phy_calc_rx_iq_comp_nphy() 26113 qq = est[curr_core].q_pwr; in wlc_phy_calc_rx_iq_comp_nphy() 26115 iq = est[curr_core].iq_prod; in wlc_phy_calc_rx_iq_comp_nphy() [all …]
|
D | phy_cmn.c | 2401 struct phy_iq_est est[PHY_CORE_MAX]; in wlc_phy_noise_sample_request() local 2409 memset((u8 *) est, 0, sizeof(est)); in wlc_phy_noise_sample_request() 2419 wlc_phy_rx_iq_est_nphy(pi, est, num_samps, wait_time, in wlc_phy_noise_sample_request() 2425 cmplx_pwr[i] = (est[i].i_pwr + est[i].q_pwr) >> in wlc_phy_noise_sample_request()
|
D | phy_int.h | 1075 void wlc_phy_rx_iq_est_nphy(struct brcms_phy *pi, struct phy_iq_est *est,
|
/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | tc_ct.c | 1235 bool trk, est, untrk, unest, new; in mlx5_tc_ct_match_add() local 1271 est = ct_state_on & TCA_FLOWER_KEY_CT_FLAGS_ESTABLISHED; in mlx5_tc_ct_match_add() 1276 ctstate |= est ? MLX5_CT_STATE_ESTABLISHED_BIT : 0; in mlx5_tc_ct_match_add() 1278 ctstate_mask |= (unest || est) ? MLX5_CT_STATE_ESTABLISHED_BIT : 0; in mlx5_tc_ct_match_add()
|
/drivers/soc/fsl/dpio/ |
D | qbman-portal.c | 208 static inline u32 qbman_set_swp_cfg(u8 max_fill, u8 wn, u8 est, u8 rpm, u8 dcm, in qbman_set_swp_cfg() argument 213 est << SWP_CFG_EST_SHIFT | in qbman_set_swp_cfg()
|
/drivers/isdn/mISDN/ |
D | layer2.c | 949 int est = 0; in l2_restart_multi() local 957 est = 1; in l2_restart_multi() 969 if (est) in l2_restart_multi()
|
/drivers/gpu/drm/ |
D | drm_edid.c | 2958 u8 *est = ((u8 *)timing) + 6; in drm_est3_modes() local 2965 if (est[i] & (1 << j)) { in drm_est3_modes()
|