strength 792 arch/s390/crypto/prng.c static DEVICE_ATTR(strength, 0444, prng_strength_show, NULL); strength 93 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_sspp.h u32 strength; strength 22 drivers/input/misc/sc27xx-vibra.c u32 strength; strength 52 drivers/input/misc/sc27xx-vibra.c if (info->strength && !info->enabled) strength 54 drivers/input/misc/sc27xx-vibra.c else if (info->strength == 0 && info->enabled) strength 63 drivers/input/misc/sc27xx-vibra.c info->strength = effect->u.rumble.weak_magnitude; strength 125 drivers/input/touchscreen/iqs5xx.c __be16 strength; strength 724 drivers/input/touchscreen/iqs5xx.c u16 pressure = be16_to_cpu(touch_data[i].strength); strength 79 drivers/input/touchscreen/mms114.c u8 strength; strength 178 drivers/input/touchscreen/mms114.c x, y, touch->width, touch->strength); strength 186 drivers/input/touchscreen/mms114.c input_report_abs(input_dev, ABS_MT_PRESSURE, touch->strength); strength 134 drivers/media/common/siano/smsdvb-main.c c->strength.len = 1; strength 136 drivers/media/common/siano/smsdvb-main.c c->strength.stat[0].scale = FE_SCALE_DECIBEL; strength 240 drivers/media/common/siano/smsdvb-main.c c->strength.stat[0].uvalue = p->in_band_power * 1000; strength 298 drivers/media/common/siano/smsdvb-main.c c->strength.stat[0].uvalue = p->in_band_pwr * 1000; strength 340 drivers/media/common/siano/smsdvb-main.c c->strength.stat[0].uvalue = ((s32)p->transmission_mode) * 1000; strength 365 drivers/media/common/siano/smsdvb-main.c c->strength.stat[0].uvalue = p->in_band_pwr * 1000; strength 449 drivers/media/common/siano/smsdvb-main.c c->strength.stat[0].uvalue = p->in_band_pwr * 1000; strength 777 drivers/media/common/siano/smsdvb-main.c static int smsdvb_read_signal_strength(struct dvb_frontend *fe, u16 *strength) strength 781 drivers/media/common/siano/smsdvb-main.c s32 power = (s32) c->strength.stat[0].uvalue; strength 789 drivers/media/common/siano/smsdvb-main.c *strength = 0; strength 791 drivers/media/common/siano/smsdvb-main.c *strength = 65535; strength 793 drivers/media/common/siano/smsdvb-main.c *strength = (power + 95) * 65535 / 66; strength 990 drivers/media/common/siano/smsdvb-main.c c->strength.stat[0].uvalue = 0; strength 1001 drivers/media/dvb-core/dvb_frontend.c memset(c, 0, offsetof(struct dtv_frontend_properties, strength)); strength 1529 drivers/media/dvb-core/dvb_frontend.c tvp->u.st = c->strength; strength 629 drivers/media/dvb-frontends/af9013.c c->strength.stat[0].scale = FE_SCALE_DECIBEL; strength 630 drivers/media/dvb-frontends/af9013.c c->strength.stat[0].svalue = stmp1; strength 633 drivers/media/dvb-frontends/af9013.c c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; strength 802 drivers/media/dvb-frontends/af9013.c static int af9013_read_signal_strength(struct dvb_frontend *fe, u16 *strength) strength 806 drivers/media/dvb-frontends/af9013.c *strength = state->dvbv3_strength; strength 1520 drivers/media/dvb-frontends/af9013.c c->strength.len = 1; strength 284 drivers/media/dvb-frontends/af9033.c c->strength.len = 1; strength 285 drivers/media/dvb-frontends/af9033.c c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; strength 670 drivers/media/dvb-frontends/af9033.c c->strength.len = 1; strength 671 drivers/media/dvb-frontends/af9033.c c->strength.stat[0].scale = FE_SCALE_DECIBEL; strength 672 drivers/media/dvb-frontends/af9033.c c->strength.stat[0].svalue = tmp; strength 674 drivers/media/dvb-frontends/af9033.c c->strength.len = 1; strength 675 drivers/media/dvb-frontends/af9033.c c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; strength 868 drivers/media/dvb-frontends/af9033.c static int af9033_read_signal_strength(struct dvb_frontend *fe, u16 *strength) strength 886 drivers/media/dvb-frontends/af9033.c *strength = utmp * 0xffff / 100; strength 916 drivers/media/dvb-frontends/af9033.c *strength = tmp * 0xffff / 100; strength 372 drivers/media/dvb-frontends/as102_fe.c u16 *strength) strength 376 drivers/media/dvb-frontends/as102_fe.c *strength = (((0xffff * 400) * state->signal_strength + 41000) * 2); strength 333 drivers/media/dvb-frontends/bcm3510.c static int bcm3510_read_signal_strength(struct dvb_frontend* fe, u16* strength) strength 349 drivers/media/dvb-frontends/bcm3510.c *strength = (t << 8) | t; strength 431 drivers/media/dvb-frontends/cx24120.c if (c->strength.stat[0].scale != FE_SCALE_RELATIVE) strength 434 drivers/media/dvb-frontends/cx24120.c *signal_strength = c->strength.stat[0].uvalue; strength 637 drivers/media/dvb-frontends/cx24120.c c->strength.stat[0].scale = FE_SCALE_RELATIVE; strength 638 drivers/media/dvb-frontends/cx24120.c c->strength.stat[0].uvalue = sig; strength 640 drivers/media/dvb-frontends/cx24120.c c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; strength 1448 drivers/media/dvb-frontends/cx24120.c c->strength.len = 1; strength 1449 drivers/media/dvb-frontends/cx24120.c c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; strength 177 drivers/media/dvb-frontends/cxd2820r_c.c unsigned int strength; strength 186 drivers/media/dvb-frontends/cxd2820r_c.c strength = utmp << 6 | utmp >> 4; strength 188 drivers/media/dvb-frontends/cxd2820r_c.c c->strength.len = 1; strength 189 drivers/media/dvb-frontends/cxd2820r_c.c c->strength.stat[0].scale = FE_SCALE_RELATIVE; strength 190 drivers/media/dvb-frontends/cxd2820r_c.c c->strength.stat[0].uvalue = strength; strength 192 drivers/media/dvb-frontends/cxd2820r_c.c c->strength.len = 1; strength 193 drivers/media/dvb-frontends/cxd2820r_c.c c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; strength 217 drivers/media/dvb-frontends/cxd2820r_core.c static int cxd2820r_read_signal_strength(struct dvb_frontend *fe, u16 *strength) strength 225 drivers/media/dvb-frontends/cxd2820r_core.c if (c->strength.stat[0].scale == FE_SCALE_RELATIVE) strength 226 drivers/media/dvb-frontends/cxd2820r_core.c *strength = c->strength.stat[0].uvalue; strength 228 drivers/media/dvb-frontends/cxd2820r_core.c *strength = 0; strength 282 drivers/media/dvb-frontends/cxd2820r_t.c unsigned int strength; strength 291 drivers/media/dvb-frontends/cxd2820r_t.c strength = utmp << 4 | utmp >> 8; strength 293 drivers/media/dvb-frontends/cxd2820r_t.c c->strength.len = 1; strength 294 drivers/media/dvb-frontends/cxd2820r_t.c c->strength.stat[0].scale = FE_SCALE_RELATIVE; strength 295 drivers/media/dvb-frontends/cxd2820r_t.c c->strength.stat[0].uvalue = strength; strength 297 drivers/media/dvb-frontends/cxd2820r_t.c c->strength.len = 1; strength 298 drivers/media/dvb-frontends/cxd2820r_t.c c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; strength 307 drivers/media/dvb-frontends/cxd2820r_t2.c unsigned int strength; strength 316 drivers/media/dvb-frontends/cxd2820r_t2.c strength = utmp << 4 | utmp >> 8; strength 318 drivers/media/dvb-frontends/cxd2820r_t2.c c->strength.len = 1; strength 319 drivers/media/dvb-frontends/cxd2820r_t2.c c->strength.stat[0].scale = FE_SCALE_RELATIVE; strength 320 drivers/media/dvb-frontends/cxd2820r_t2.c c->strength.stat[0].uvalue = strength; strength 322 drivers/media/dvb-frontends/cxd2820r_t2.c c->strength.len = 1; strength 323 drivers/media/dvb-frontends/cxd2820r_t2.c c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; strength 1987 drivers/media/dvb-frontends/cxd2841er.c s32 strength; strength 1993 drivers/media/dvb-frontends/cxd2841er.c strength = cxd2841er_read_agc_gain_t_t2(priv, strength 1995 drivers/media/dvb-frontends/cxd2841er.c p->strength.stat[0].scale = FE_SCALE_DECIBEL; strength 1997 drivers/media/dvb-frontends/cxd2841er.c p->strength.stat[0].uvalue = strength * 366 / 100 - 89520; strength 2002 drivers/media/dvb-frontends/cxd2841er.c strength = cxd2841er_read_agc_gain_c(priv, strength 2004 drivers/media/dvb-frontends/cxd2841er.c p->strength.stat[0].scale = FE_SCALE_DECIBEL; strength 2010 drivers/media/dvb-frontends/cxd2841er.c p->strength.stat[0].uvalue = strength * 4045 / 1000 - 85224; strength 2013 drivers/media/dvb-frontends/cxd2841er.c strength = cxd2841er_read_agc_gain_i(priv, p->delivery_system); strength 2014 drivers/media/dvb-frontends/cxd2841er.c p->strength.stat[0].scale = FE_SCALE_DECIBEL; strength 2019 drivers/media/dvb-frontends/cxd2841er.c p->strength.stat[0].uvalue = strength * 3775 / 1000 - 90185; strength 2023 drivers/media/dvb-frontends/cxd2841er.c strength = 65535 - cxd2841er_read_agc_gain_s(priv); strength 2024 drivers/media/dvb-frontends/cxd2841er.c p->strength.stat[0].scale = FE_SCALE_RELATIVE; strength 2025 drivers/media/dvb-frontends/cxd2841er.c p->strength.stat[0].uvalue = strength; strength 2028 drivers/media/dvb-frontends/cxd2841er.c p->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; strength 3279 drivers/media/dvb-frontends/cxd2841er.c p->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; strength 3357 drivers/media/dvb-frontends/cxd2841er.c p->strength.stat[0].scale = FE_SCALE_RELATIVE; strength 3759 drivers/media/dvb-frontends/cxd2841er.c p->strength.len = 1; strength 3760 drivers/media/dvb-frontends/cxd2841er.c p->strength.stat[0].scale = FE_SCALE_RELATIVE; strength 561 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c u16 *strength) strength 568 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c if (!fe || !strength) { strength 595 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c *strength = ((level + 840) * 0xffff) / (-240 + 840); strength 1417 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c int strength = 0; strength 1582 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c ret = cxd2880_tnrdmd_mon_rf_lvl(&priv->tnrdmd, &strength); strength 1585 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->strength.len = 1; strength 1586 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->strength.stat[0].scale = FE_SCALE_DECIBEL; strength 1587 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->strength.stat[0].svalue = strength; strength 1589 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->strength.len = 1; strength 1590 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; strength 1618 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c int strength = 0; strength 1776 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c ret = cxd2880_tnrdmd_mon_rf_lvl(&priv->tnrdmd, &strength); strength 1779 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->strength.len = 1; strength 1780 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->strength.stat[0].scale = FE_SCALE_DECIBEL; strength 1781 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->strength.stat[0].svalue = strength; strength 1783 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->strength.len = 1; strength 1784 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; strength 644 drivers/media/dvb-frontends/dib3000mb.c static int dib3000mb_read_signal_strength(struct dvb_frontend* fe, u16 *strength) strength 648 drivers/media/dvb-frontends/dib3000mb.c *strength = rd(DIB3000MB_REG_SIGNAL_POWER) * 0xffff / 0x170; strength 805 drivers/media/dvb-frontends/dib3000mc.c static int dib3000mc_read_signal_strength(struct dvb_frontend *fe, u16 *strength) strength 809 drivers/media/dvb-frontends/dib3000mc.c *strength = 65535 - val; strength 1298 drivers/media/dvb-frontends/dib7000m.c static int dib7000m_read_signal_strength(struct dvb_frontend *fe, u16 *strength) strength 1302 drivers/media/dvb-frontends/dib7000m.c *strength = 65535 - val; strength 1613 drivers/media/dvb-frontends/dib7000p.c static int dib7000p_read_signal_strength(struct dvb_frontend *fe, u16 * strength) strength 1617 drivers/media/dvb-frontends/dib7000p.c *strength = 65535 - val; strength 1670 drivers/media/dvb-frontends/dib7000p.c memset(&c->strength, 0, sizeof(c->strength)); strength 1676 drivers/media/dvb-frontends/dib7000p.c c->strength.len = 1; strength 1683 drivers/media/dvb-frontends/dib7000p.c c->strength.stat[0].scale = FE_SCALE_DECIBEL; strength 1684 drivers/media/dvb-frontends/dib7000p.c c->strength.stat[0].uvalue = 0; strength 1904 drivers/media/dvb-frontends/dib7000p.c u16 strength; strength 1907 drivers/media/dvb-frontends/dib7000p.c dib7000p_read_signal_strength(demod, &strength); strength 1908 drivers/media/dvb-frontends/dib7000p.c val = strength; strength 1912 drivers/media/dvb-frontends/dib7000p.c c->strength.stat[0].svalue = db; strength 1001 drivers/media/dvb-frontends/dib8000.c memset(&c->strength, 0, sizeof(c->strength)); strength 1007 drivers/media/dvb-frontends/dib8000.c c->strength.len = 1; strength 1014 drivers/media/dvb-frontends/dib8000.c c->strength.stat[0].scale = FE_SCALE_DECIBEL; strength 1015 drivers/media/dvb-frontends/dib8000.c c->strength.stat[0].uvalue = 0; strength 3811 drivers/media/dvb-frontends/dib8000.c static int dib8000_read_signal_strength(struct dvb_frontend *fe, u16 * strength) strength 3817 drivers/media/dvb-frontends/dib8000.c *strength = 0; strength 3820 drivers/media/dvb-frontends/dib8000.c if (val > 65535 - *strength) strength 3821 drivers/media/dvb-frontends/dib8000.c *strength = 65535; strength 3823 drivers/media/dvb-frontends/dib8000.c *strength += val; strength 3827 drivers/media/dvb-frontends/dib8000.c if (val > 65535 - *strength) strength 3828 drivers/media/dvb-frontends/dib8000.c *strength = 65535; strength 3830 drivers/media/dvb-frontends/dib8000.c *strength += val; strength 4106 drivers/media/dvb-frontends/dib8000.c u16 strength; strength 4109 drivers/media/dvb-frontends/dib8000.c dib8000_read_signal_strength(fe, &strength); strength 4110 drivers/media/dvb-frontends/dib8000.c val = strength; strength 4114 drivers/media/dvb-frontends/dib8000.c c->strength.stat[0].svalue = db; strength 2235 drivers/media/dvb-frontends/dib9000.c static int dib9000_read_signal_strength(struct dvb_frontend *fe, u16 * strength) strength 2247 drivers/media/dvb-frontends/dib9000.c *strength = 0; strength 2250 drivers/media/dvb-frontends/dib9000.c if (val > 65535 - *strength) strength 2251 drivers/media/dvb-frontends/dib9000.c *strength = 65535; strength 2253 drivers/media/dvb-frontends/dib9000.c *strength += val; strength 2270 drivers/media/dvb-frontends/dib9000.c if (val > 65535 - *strength) strength 2271 drivers/media/dvb-frontends/dib9000.c *strength = 65535; strength 2273 drivers/media/dvb-frontends/dib9000.c *strength += val; strength 10680 drivers/media/dvb-frontends/drx39xyj/drxj.c u16 mer, strength = 0; strength 10682 drivers/media/dvb-frontends/drx39xyj/drxj.c rc = get_sig_strength(demod, &strength); strength 10685 drivers/media/dvb-frontends/drx39xyj/drxj.c p->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; strength 10687 drivers/media/dvb-frontends/drx39xyj/drxj.c p->strength.stat[0].scale = FE_SCALE_RELATIVE; strength 10688 drivers/media/dvb-frontends/drx39xyj/drxj.c p->strength.stat[0].uvalue = 65535UL * strength/ 100; strength 12029 drivers/media/dvb-frontends/drx39xyj/drxj.c u16 *strength) strength 12033 drivers/media/dvb-frontends/drx39xyj/drxj.c if (p->strength.stat[0].scale == FE_SCALE_NOT_AVAILABLE) { strength 12034 drivers/media/dvb-frontends/drx39xyj/drxj.c *strength = 0; strength 12038 drivers/media/dvb-frontends/drx39xyj/drxj.c *strength = p->strength.stat[0].uvalue; strength 12169 drivers/media/dvb-frontends/drx39xyj/drxj.c p->strength.stat[0].scale = FE_SCALE_RELATIVE; strength 12340 drivers/media/dvb-frontends/drx39xyj/drxj.c p->strength.len = 1; strength 12349 drivers/media/dvb-frontends/drx39xyj/drxj.c p->strength.stat[0].scale = FE_SCALE_RELATIVE; strength 2764 drivers/media/dvb-frontends/drxd_hard.c static int drxd_read_signal_strength(struct dvb_frontend *fe, u16 * strength) strength 2772 drivers/media/dvb-frontends/drxd_hard.c *strength = 0; strength 2774 drivers/media/dvb-frontends/drxd_hard.c *strength = 0xffff - (value << 4); strength 6391 drivers/media/dvb-frontends/drxk_hard.c p->strength.stat[0].scale = FE_SCALE_RELATIVE; strength 6405 drivers/media/dvb-frontends/drxk_hard.c static int get_strength(struct drxk_state *state, u64 *strength) strength 6418 drivers/media/dvb-frontends/drxk_hard.c *strength = 0; strength 6499 drivers/media/dvb-frontends/drxk_hard.c *strength = (65535UL * atten / total_gain / 100); strength 6501 drivers/media/dvb-frontends/drxk_hard.c *strength = 65535; strength 6540 drivers/media/dvb-frontends/drxk_hard.c get_strength(state, &c->strength.stat[0].uvalue); strength 6541 drivers/media/dvb-frontends/drxk_hard.c c->strength.stat[0].scale = FE_SCALE_RELATIVE; strength 6647 drivers/media/dvb-frontends/drxk_hard.c u16 *strength) strength 6659 drivers/media/dvb-frontends/drxk_hard.c *strength = c->strength.stat[0].uvalue; strength 6834 drivers/media/dvb-frontends/drxk_hard.c p->strength.len = 1; strength 6843 drivers/media/dvb-frontends/drxk_hard.c p->strength.stat[0].scale = FE_SCALE_RELATIVE; strength 40 drivers/media/dvb-frontends/dvb_dummy_fe.c static int dvb_dummy_fe_read_signal_strength(struct dvb_frontend* fe, u16* strength) strength 42 drivers/media/dvb-frontends/dvb_dummy_fe.c *strength = 0; strength 231 drivers/media/dvb-frontends/ec100.c static int ec100_read_signal_strength(struct dvb_frontend *fe, u16 *strength) strength 239 drivers/media/dvb-frontends/ec100.c *strength = 0; strength 243 drivers/media/dvb-frontends/ec100.c *strength = ((tmp << 8) | tmp); strength 110 drivers/media/dvb-frontends/gp8psk-fe.c static int gp8psk_fe_read_signal_strength(struct dvb_frontend* fe, u16 *strength) strength 118 drivers/media/dvb-frontends/gp8psk-fe.c *strength = 0xffff; strength 120 drivers/media/dvb-frontends/gp8psk-fe.c *strength = (st->snr << 4) + st->snr; /* snr*17 */ strength 1269 drivers/media/dvb-frontends/lg2160.c u16 *strength) strength 1283 drivers/media/dvb-frontends/lg2160.c *strength = 0; strength 1291 drivers/media/dvb-frontends/lg2160.c *strength = 0xffff; strength 1293 drivers/media/dvb-frontends/lg2160.c *strength = state->snr / 8960; strength 1029 drivers/media/dvb-frontends/lgdt3305.c u16 *strength) strength 1042 drivers/media/dvb-frontends/lgdt3305.c *strength = 0; strength 1050 drivers/media/dvb-frontends/lgdt3305.c *strength = 0xffff; strength 1052 drivers/media/dvb-frontends/lgdt3305.c *strength = state->snr / 8960; strength 1600 drivers/media/dvb-frontends/lgdt3306a.c u16 strength = 0; strength 1604 drivers/media/dvb-frontends/lgdt3306a.c ret = fe->ops.tuner_ops.get_rf_strength(fe, &strength); strength 1606 drivers/media/dvb-frontends/lgdt3306a.c dbg_info("strength=%d\n", strength); strength 1657 drivers/media/dvb-frontends/lgdt3306a.c u16 *strength) strength 1669 drivers/media/dvb-frontends/lgdt3306a.c *strength = 0; strength 1708 drivers/media/dvb-frontends/lgdt3306a.c *strength = (u16)str; strength 1709 drivers/media/dvb-frontends/lgdt3306a.c dbg_info("strength=%u\n", *strength); strength 593 drivers/media/dvb-frontends/lgdt330x.c static int lgdt330x_read_signal_strength(struct dvb_frontend *fe, u16 *strength) strength 610 drivers/media/dvb-frontends/lgdt330x.c *strength = 0xffff; strength 612 drivers/media/dvb-frontends/lgdt330x.c *strength = state->snr / 8960; strength 499 drivers/media/dvb-frontends/m88rs2000.c u16 *strength) strength 502 drivers/media/dvb-frontends/m88rs2000.c fe->ops.tuner_ops.get_rf_strength(fe, strength); strength 1703 drivers/media/dvb-frontends/mb86a16.c static int mb86a16_read_signal_strength(struct dvb_frontend *fe, u16 *strength) strength 1708 drivers/media/dvb-frontends/mb86a16.c *strength = 0; strength 1714 drivers/media/dvb-frontends/mb86a16.c *strength = ((0xff - agcm) * 100) / 256; strength 1715 drivers/media/dvb-frontends/mb86a16.c dprintk(verbose, MB86A16_DEBUG, 1, "Signal strength=[%d %%]", (u8) *strength); strength 1716 drivers/media/dvb-frontends/mb86a16.c *strength = (0xffff - 0xff) + agcm; strength 327 drivers/media/dvb-frontends/mb86a20s.c return c->strength.stat[0].uvalue; strength 330 drivers/media/dvb-frontends/mb86a20s.c c->strength.stat[0].uvalue = 0; strength 368 drivers/media/dvb-frontends/mb86a20s.c c->strength.stat[0].uvalue = rf; strength 1543 drivers/media/dvb-frontends/mb86a20s.c c->strength.len = 1; strength 1555 drivers/media/dvb-frontends/mb86a20s.c c->strength.stat[0].scale = FE_SCALE_RELATIVE; strength 1556 drivers/media/dvb-frontends/mb86a20s.c c->strength.stat[0].uvalue = 0; strength 2011 drivers/media/dvb-frontends/mb86a20s.c u16 *strength) strength 2016 drivers/media/dvb-frontends/mb86a20s.c *strength = c->strength.stat[0].uvalue; strength 277 drivers/media/dvb-frontends/mn88443x.c c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; strength 285 drivers/media/dvb-frontends/mn88443x.c c->strength.len = 1; strength 286 drivers/media/dvb-frontends/mn88443x.c c->strength.stat[0].scale = FE_SCALE_RELATIVE; strength 287 drivers/media/dvb-frontends/mn88443x.c c->strength.stat[0].uvalue = agc; strength 480 drivers/media/dvb-frontends/mn88443x.c c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; strength 489 drivers/media/dvb-frontends/mn88443x.c c->strength.len = 1; strength 490 drivers/media/dvb-frontends/mn88443x.c c->strength.stat[0].scale = FE_SCALE_RELATIVE; strength 491 drivers/media/dvb-frontends/mn88443x.c c->strength.stat[0].uvalue = agc; strength 84 drivers/media/dvb-frontends/mn88472.c c->strength.stat[0].scale = FE_SCALE_RELATIVE; strength 85 drivers/media/dvb-frontends/mn88472.c c->strength.stat[0].uvalue = utmp1; strength 87 drivers/media/dvb-frontends/mn88472.c c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; strength 666 drivers/media/dvb-frontends/mn88472.c c->strength.len = 1; strength 324 drivers/media/dvb-frontends/mn88473.c c->strength.stat[0].scale = FE_SCALE_RELATIVE; strength 325 drivers/media/dvb-frontends/mn88473.c c->strength.stat[0].uvalue = utmp1; strength 327 drivers/media/dvb-frontends/mn88473.c c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; strength 531 drivers/media/dvb-frontends/mn88473.c c->strength.len = 1; strength 532 drivers/media/dvb-frontends/mn88473.c c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; strength 461 drivers/media/dvb-frontends/mt352.c static int mt352_read_signal_strength(struct dvb_frontend* fe, u16* strength) strength 470 drivers/media/dvb-frontends/mt352.c *strength = ~signal; strength 348 drivers/media/dvb-frontends/mxl5xx.c p->strength.len = 1; strength 349 drivers/media/dvb-frontends/mxl5xx.c p->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; strength 614 drivers/media/dvb-frontends/mxl5xx.c p->strength.stat[0].scale = FE_SCALE_DECIBEL; strength 615 drivers/media/dvb-frontends/mxl5xx.c p->strength.stat[0].svalue = (s16) reg_data * 10; /* fix scale */ strength 798 drivers/media/dvb-frontends/nxt200x.c static int nxt200x_read_signal_strength(struct dvb_frontend* fe, u16* strength) strength 812 drivers/media/dvb-frontends/nxt200x.c *strength = ((0x7FFF - temp) & 0x0FFF) * 16; strength 510 drivers/media/dvb-frontends/or51132.c static int or51132_read_signal_strength(struct dvb_frontend* fe, u16* strength) strength 525 drivers/media/dvb-frontends/or51132.c *strength = 0xffff; strength 527 drivers/media/dvb-frontends/or51132.c *strength = state->snr / 8960; strength 310 drivers/media/dvb-frontends/or51211.c static int or51211_read_signal_strength(struct dvb_frontend* fe, u16* strength) strength 325 drivers/media/dvb-frontends/or51211.c *strength = 0xffff; strength 327 drivers/media/dvb-frontends/or51211.c *strength = state->snr / 8960; strength 120 drivers/media/dvb-frontends/rtl2830.c c->strength.len = 1; strength 121 drivers/media/dvb-frontends/rtl2830.c c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; strength 423 drivers/media/dvb-frontends/rtl2830.c c->strength.stat[0].scale = FE_SCALE_RELATIVE; strength 424 drivers/media/dvb-frontends/rtl2830.c c->strength.stat[0].uvalue = utmp; strength 426 drivers/media/dvb-frontends/rtl2830.c c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; strength 529 drivers/media/dvb-frontends/rtl2830.c static int rtl2830_read_signal_strength(struct dvb_frontend *fe, u16 *strength) strength 533 drivers/media/dvb-frontends/rtl2830.c if (c->strength.stat[0].scale == FE_SCALE_RELATIVE) strength 534 drivers/media/dvb-frontends/rtl2830.c *strength = c->strength.stat[0].uvalue; strength 536 drivers/media/dvb-frontends/rtl2830.c *strength = 0; strength 353 drivers/media/dvb-frontends/rtl2832.c c->strength.len = 1; strength 354 drivers/media/dvb-frontends/rtl2832.c c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; strength 679 drivers/media/dvb-frontends/rtl2832.c c->strength.stat[0].scale = FE_SCALE_RELATIVE; strength 680 drivers/media/dvb-frontends/rtl2832.c c->strength.stat[0].uvalue = u16tmp; strength 682 drivers/media/dvb-frontends/rtl2832.c c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; strength 433 drivers/media/dvb-frontends/s5h1420.c static int s5h1420_read_signal_strength(struct dvb_frontend* fe, u16* strength) strength 439 drivers/media/dvb-frontends/s5h1420.c *strength = (u16) ((val << 8) | val); strength 382 drivers/media/dvb-frontends/s921.c static int s921_read_signal_strength(struct dvb_frontend *fe, u16 *strength) strength 393 drivers/media/dvb-frontends/s921.c *strength = (status & FE_HAS_LOCK) ? 0xffff : 0; strength 395 drivers/media/dvb-frontends/s921.c dprintk("strength = 0x%04x\n", *strength); strength 572 drivers/media/dvb-frontends/si21xx.c static int si21_read_signal_strength(struct dvb_frontend *fe, u16 *strength) strength 587 drivers/media/dvb-frontends/si21xx.c *strength = signal; strength 467 drivers/media/dvb-frontends/sp887x.c static int sp887x_read_signal_strength(struct dvb_frontend* fe, u16* strength) strength 473 drivers/media/dvb-frontends/sp887x.c *strength = (signal < 0xffff) ? signal : 0xffff; strength 948 drivers/media/dvb-frontends/stb0899_drv.c static int stb0899_read_signal_strength(struct dvb_frontend *fe, u16 *strength) strength 955 drivers/media/dvb-frontends/stb0899_drv.c *strength = 0; strength 966 drivers/media/dvb-frontends/stb0899_drv.c *strength = stb0899_table_lookup(stb0899_dvbsrf_tab, ARRAY_SIZE(stb0899_dvbsrf_tab) - 1, val); strength 967 drivers/media/dvb-frontends/stb0899_drv.c *strength += 750; strength 969 drivers/media/dvb-frontends/stb0899_drv.c val & 0xff, *strength); strength 978 drivers/media/dvb-frontends/stb0899_drv.c *strength = stb0899_table_lookup(stb0899_dvbs2rf_tab, ARRAY_SIZE(stb0899_dvbs2rf_tab) - 1, val); strength 979 drivers/media/dvb-frontends/stb0899_drv.c *strength += 950; strength 981 drivers/media/dvb-frontends/stb0899_drv.c val & 0x3fff, *strength); strength 390 drivers/media/dvb-frontends/stv0288.c static int stv0288_read_signal_strength(struct dvb_frontend *fe, u16 *strength) strength 398 drivers/media/dvb-frontends/stv0288.c *strength = (signal > 0xffff) ? 0xffff : (signal < 0) ? 0 : signal; strength 399 drivers/media/dvb-frontends/stv0288.c dprintk("stv0288_read_signal_strength %d\n", *strength); strength 349 drivers/media/dvb-frontends/stv0297.c static int stv0297_read_signal_strength(struct dvb_frontend *fe, u16 * strength) strength 368 drivers/media/dvb-frontends/stv0297.c *strength = (tmp << 7) | (tmp >> 2); strength 513 drivers/media/dvb-frontends/stv0299.c static int stv0299_read_signal_strength(struct dvb_frontend* fe, u16* strength) strength 525 drivers/media/dvb-frontends/stv0299.c *strength = (signal > 0xffff) ? 0xffff : (signal < 0) ? 0 : signal; strength 2719 drivers/media/dvb-frontends/stv0367.c static int stv0367cab_read_strength(struct dvb_frontend *fe, u16 *strength) strength 2728 drivers/media/dvb-frontends/stv0367.c *strength = 65535; strength 2730 drivers/media/dvb-frontends/stv0367.c *strength = (22 + signal) * (-1311); strength 2732 drivers/media/dvb-frontends/stv0367.c dprintk("%s: strength=%d\n", __func__, (*strength)); strength 3036 drivers/media/dvb-frontends/stv0367.c p->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; strength 3040 drivers/media/dvb-frontends/stv0367.c p->strength.stat[0].scale = FE_SCALE_DECIBEL; strength 3041 drivers/media/dvb-frontends/stv0367.c p->strength.stat[0].uvalue = signalstrength; strength 3251 drivers/media/dvb-frontends/stv0367.c p->strength.len = 1; strength 3252 drivers/media/dvb-frontends/stv0367.c p->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; strength 639 drivers/media/dvb-frontends/stv0900_core.c static int stv0900_read_signal_strength(struct dvb_frontend *fe, u16 *strength) strength 653 drivers/media/dvb-frontends/stv0900_core.c *strength = rflevel; strength 3651 drivers/media/dvb-frontends/stv090x.c static int stv090x_read_signal_strength(struct dvb_frontend *fe, u16 *strength) strength 3670 drivers/media/dvb-frontends/stv090x.c *strength = (str + 100) * 0xFFFF / 100; strength 1375 drivers/media/dvb-frontends/stv0910.c p->strength.stat[0].scale = FE_SCALE_DECIBEL; strength 1376 drivers/media/dvb-frontends/stv0910.c p->strength.stat[0].svalue = (padc - agc); strength 1402 drivers/media/dvb-frontends/stv0910.c p->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; strength 1766 drivers/media/dvb-frontends/stv0910.c p->strength.len = 1; strength 1767 drivers/media/dvb-frontends/stv0910.c p->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; strength 241 drivers/media/dvb-frontends/tc90522.c stats = &c->strength; strength 399 drivers/media/dvb-frontends/tc90522.c stats = &c->strength; strength 338 drivers/media/dvb-frontends/tda10021.c static int tda10021_read_signal_strength(struct dvb_frontend* fe, u16* strength) strength 347 drivers/media/dvb-frontends/tda10021.c *strength = (gain << 8) | gain; strength 404 drivers/media/dvb-frontends/tda10023.c static int tda10023_read_signal_strength(struct dvb_frontend* fe, u16* strength) strength 416 drivers/media/dvb-frontends/tda10023.c *strength = (gain<<8)|gain; strength 408 drivers/media/dvb-frontends/tda10071.c c->strength.stat[0].scale = FE_SCALE_DECIBEL; strength 409 drivers/media/dvb-frontends/tda10071.c c->strength.stat[0].svalue = (int) (uitmp - 256) * 1000; strength 411 drivers/media/dvb-frontends/tda10071.c c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; strength 511 drivers/media/dvb-frontends/tda10071.c static int tda10071_read_signal_strength(struct dvb_frontend *fe, u16 *strength) strength 516 drivers/media/dvb-frontends/tda10071.c if (c->strength.stat[0].scale == FE_SCALE_DECIBEL) { strength 517 drivers/media/dvb-frontends/tda10071.c uitmp = div_s64(c->strength.stat[0].svalue, 1000) + 256; strength 520 drivers/media/dvb-frontends/tda10071.c *strength = (uitmp-181) * 0xffff / (236-181); strength 522 drivers/media/dvb-frontends/tda10071.c *strength = 0; strength 1020 drivers/media/dvb-frontends/tda10071.c c->strength.len = 1; strength 1021 drivers/media/dvb-frontends/tda10071.c c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; strength 282 drivers/media/dvb-frontends/tda8083.c static int tda8083_read_signal_strength(struct dvb_frontend* fe, u16* strength) strength 287 drivers/media/dvb-frontends/tda8083.c *strength = (signal << 8) | signal; strength 143 drivers/media/dvb-frontends/ts2020.c c->strength.len = 1; strength 144 drivers/media/dvb-frontends/ts2020.c c->strength.stat[0].scale = FE_SCALE_DECIBEL; strength 145 drivers/media/dvb-frontends/ts2020.c c->strength.stat[0].uvalue = 0; strength 437 drivers/media/dvb-frontends/ts2020.c ret = ts2020_get_tuner_gain(priv->fe, &c->strength.stat[0].svalue); strength 441 drivers/media/dvb-frontends/ts2020.c c->strength.stat[0].scale = FE_SCALE_DECIBEL; strength 458 drivers/media/dvb-frontends/ts2020.c unsigned strength; strength 464 drivers/media/dvb-frontends/ts2020.c if (c->strength.stat[0].scale == FE_SCALE_NOT_AVAILABLE) { strength 469 drivers/media/dvb-frontends/ts2020.c gain = c->strength.stat[0].svalue; strength 474 drivers/media/dvb-frontends/ts2020.c strength = 0; strength 477 drivers/media/dvb-frontends/ts2020.c strength = 0 + div64_s64((85000 + gain) * 3, 1000); strength 480 drivers/media/dvb-frontends/ts2020.c strength = 60 + div64_s64((65000 + gain) * 3, 2000); strength 483 drivers/media/dvb-frontends/ts2020.c strength = 90 + div64_s64((45000 + gain), 5000); strength 485 drivers/media/dvb-frontends/ts2020.c *_signal_strength = strength * 65535 / 100; strength 268 drivers/media/dvb-frontends/ves1820.c static int ves1820_read_signal_strength(struct dvb_frontend* fe, u16* strength) strength 273 drivers/media/dvb-frontends/ves1820.c *strength = (gain << 8) | gain; strength 343 drivers/media/dvb-frontends/ves1x93.c static int ves1x93_read_signal_strength(struct dvb_frontend* fe, u16* strength) strength 348 drivers/media/dvb-frontends/ves1x93.c *strength = (signal << 8) | signal; strength 492 drivers/media/dvb-frontends/zl10353.c static int zl10353_read_signal_strength(struct dvb_frontend *fe, u16 *strength) strength 499 drivers/media/dvb-frontends/zl10353.c *strength = ~signal; strength 110 drivers/media/firewire/firedtv-fe.c static int fdtv_read_signal_strength(struct dvb_frontend *fe, u16 *strength) strength 118 drivers/media/firewire/firedtv-fe.c *strength = stat.signal_strength << 8; strength 180 drivers/media/i2c/cx25840/cx25840-core.c u8 gpio_oe, gpio_data, strength; strength 187 drivers/media/i2c/cx25840/cx25840-core.c strength = p[i].strength; strength 188 drivers/media/i2c/cx25840/cx25840-core.c if (strength > CX25840_PIN_DRIVE_FAST) strength 189 drivers/media/i2c/cx25840/cx25840-core.c strength = CX25840_PIN_DRIVE_FAST; strength 218 drivers/media/i2c/cx25840/cx25840-core.c pin_ctrl |= (strength << 18); strength 227 drivers/media/i2c/cx25840/cx25840-core.c pin_ctrl |= (strength << 12); strength 239 drivers/media/i2c/cx25840/cx25840-core.c pin_ctrl |= (strength << 18); strength 248 drivers/media/i2c/cx25840/cx25840-core.c pin_ctrl |= (strength << 12); strength 257 drivers/media/i2c/cx25840/cx25840-core.c pin_ctrl |= (strength << 22); strength 266 drivers/media/i2c/cx25840/cx25840-core.c pin_ctrl |= (strength << 12); strength 275 drivers/media/i2c/cx25840/cx25840-core.c pin_ctrl |= (strength << 22); strength 284 drivers/media/i2c/cx25840/cx25840-core.c pin_ctrl |= (strength << 12); strength 293 drivers/media/i2c/cx25840/cx25840-core.c pin_ctrl |= (strength << 22); strength 302 drivers/media/i2c/cx25840/cx25840-core.c pin_ctrl |= (strength << 12); strength 401 drivers/media/i2c/cx25840/cx25840-core.c u8 strength = p[i].strength; strength 403 drivers/media/i2c/cx25840/cx25840-core.c if (strength != CX25840_PIN_DRIVE_SLOW && strength 404 drivers/media/i2c/cx25840/cx25840-core.c strength != CX25840_PIN_DRIVE_MEDIUM && strength 405 drivers/media/i2c/cx25840/cx25840-core.c strength != CX25840_PIN_DRIVE_FAST) { strength 409 drivers/media/i2c/cx25840/cx25840-core.c (unsigned int)strength); strength 411 drivers/media/i2c/cx25840/cx25840-core.c strength = CX25840_PIN_DRIVE_FAST; strength 432 drivers/media/i2c/cx25840/cx25840-core.c switch (strength) { strength 461 drivers/media/i2c/cx25840/cx25840-core.c switch (strength) { strength 983 drivers/media/i2c/ov772x.c if (priv->info->edgectrl.strength & OV772X_MANUAL_EDGE_CTRL) { strength 1003 drivers/media/i2c/ov772x.c priv->info->edgectrl.strength); strength 1558 drivers/media/pci/bt8xx/dst.c static int dst_read_signal_strength(struct dvb_frontend *fe, u16 *strength) strength 1563 drivers/media/pci/bt8xx/dst.c *strength = state->decode_strength; strength 1901 drivers/media/pci/cx23885/cx23885-cards.c .strength = CX25840_PIN_DRIVE_MEDIUM, strength 1907 drivers/media/pci/cx23885/cx23885-cards.c .strength = CX25840_PIN_DRIVE_MEDIUM, strength 1918 drivers/media/pci/cx23885/cx23885-cards.c .strength = CX25840_PIN_DRIVE_MEDIUM, strength 103 drivers/media/pci/ddbridge/ddbridge-sx8.c p->strength.len = 1; strength 104 drivers/media/pci/ddbridge/ddbridge-sx8.c p->strength.stat[0].scale = FE_SCALE_DECIBEL; strength 105 drivers/media/pci/ddbridge/ddbridge-sx8.c p->strength.stat[0].svalue = str; strength 339 drivers/media/tuners/fc0012.c static int fc0012_get_rf_strength(struct dvb_frontend *fe, u16 *strength) strength 384 drivers/media/tuners/fc0012.c *strength = 255; /* 100% */ strength 386 drivers/media/tuners/fc0012.c *strength = 0; strength 388 drivers/media/tuners/fc0012.c *strength = (power + 95) * 255 / 140; strength 390 drivers/media/tuners/fc0012.c *strength |= *strength << 8; strength 498 drivers/media/tuners/fc0013.c static int fc0013_get_rf_strength(struct dvb_frontend *fe, u16 *strength) strength 543 drivers/media/tuners/fc0013.c *strength = 255; /* 100% */ strength 545 drivers/media/tuners/fc0013.c *strength = 0; strength 547 drivers/media/tuners/fc0013.c *strength = (power + 95) * 255 / 140; strength 549 drivers/media/tuners/fc0013.c *strength |= *strength << 8; strength 484 drivers/media/tuners/m88rs6000t.c static int m88rs6000t_get_rf_strength(struct dvb_frontend *fe, u16 *strength) strength 554 drivers/media/tuners/m88rs6000t.c *strength = (10500 - gain) * 0xffff / (10500 - 1000); strength 77 drivers/media/tuners/mxl301rf.c rssi = &fe->dtv_property_cache.strength; strength 2236 drivers/media/tuners/r820t.c static int r820t_signal(struct dvb_frontend *fe, u16 *strength) strength 2251 drivers/media/tuners/r820t.c *strength = (45 - rc) << 4 | 0xff; strength 2252 drivers/media/tuners/r820t.c if (*strength == 0xff) strength 2253 drivers/media/tuners/r820t.c *strength = 0; strength 2255 drivers/media/tuners/r820t.c *strength = 0; strength 2266 drivers/media/tuners/r820t.c rc, *strength); strength 230 drivers/media/tuners/si2157.c c->strength.len = 1; strength 231 drivers/media/tuners/si2157.c c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; strength 414 drivers/media/tuners/si2157.c c->strength.stat[0].scale = FE_SCALE_DECIBEL; strength 415 drivers/media/tuners/si2157.c c->strength.stat[0].svalue = (s8) cmd.args[3] * 1000; strength 420 drivers/media/tuners/si2157.c c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; strength 250 drivers/media/tuners/tea5761.c static int tea5761_get_rf_strength(struct dvb_frontend *fe, u16 *strength) strength 254 drivers/media/tuners/tea5761.c *strength = 0; strength 257 drivers/media/tuners/tea5761.c *strength = tea5761_signal(fe, buffer); strength 336 drivers/media/tuners/tea5767.c static int tea5767_get_rf_strength(struct dvb_frontend *fe, u16 *strength) strength 340 drivers/media/tuners/tea5767.c *strength = 0; strength 343 drivers/media/tuners/tea5767.c *strength = tea5767_signal(fe, buffer); strength 189 drivers/media/tuners/tuner-simple.c static int simple_get_rf_strength(struct dvb_frontend *fe, u16 *strength) strength 199 drivers/media/tuners/tuner-simple.c *strength = signal; strength 903 drivers/media/tuners/tuner-xc2028.c static int xc2028_signal(struct dvb_frontend *fe, u16 *strength) strength 917 drivers/media/tuners/tuner-xc2028.c *strength = 0; strength 950 drivers/media/tuners/tuner-xc2028.c *strength = signal; strength 1451 drivers/media/tuners/xc4000.c static int xc4000_get_signal(struct dvb_frontend *fe, u16 *strength) strength 1511 drivers/media/tuners/xc4000.c *strength = value; strength 236 drivers/media/usb/dvb-usb-v2/lmedm04.c c->strength.len = 1; strength 237 drivers/media/usb/dvb-usb-v2/lmedm04.c c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; strength 258 drivers/media/usb/dvb-usb-v2/lmedm04.c c->strength.len = 1; strength 259 drivers/media/usb/dvb-usb-v2/lmedm04.c c->strength.stat[0].scale = FE_SCALE_RELATIVE; strength 260 drivers/media/usb/dvb-usb-v2/lmedm04.c c->strength.stat[0].uvalue = (u64)s_tmp; strength 894 drivers/media/usb/dvb-usb-v2/lmedm04.c static int dm04_read_signal_strength(struct dvb_frontend *fe, u16 *strength) strength 900 drivers/media/usb/dvb-usb-v2/lmedm04.c return st->fe_read_signal_strength(fe, strength); strength 902 drivers/media/usb/dvb-usb-v2/lmedm04.c if (c->strength.stat[0].scale == FE_SCALE_RELATIVE) strength 903 drivers/media/usb/dvb-usb-v2/lmedm04.c *strength = (u16)c->strength.stat[0].uvalue; strength 905 drivers/media/usb/dvb-usb-v2/lmedm04.c *strength = 0; strength 355 drivers/media/usb/dvb-usb-v2/mxl111sf-tuner.c static int mxl111sf_get_rf_strength(struct dvb_frontend *fe, u16 *strength) strength 361 drivers/media/usb/dvb-usb-v2/mxl111sf-tuner.c *strength = 0; strength 373 drivers/media/usb/dvb-usb-v2/mxl111sf-tuner.c *strength = val1 | ((val2 & 0x07) << 8); strength 498 drivers/media/usb/dvb-usb/af9005-fe.c u16 * strength) strength 518 drivers/media/usb/dvb-usb/af9005-fe.c *strength = (512 - rf_gain - if_gain) << 7; strength 190 drivers/media/usb/dvb-usb/cinergyT2-fe.c u16 *strength) strength 194 drivers/media/usb/dvb-usb/cinergyT2-fe.c *strength = (0xffff - le16_to_cpu(state->status.gain)); strength 1453 drivers/media/usb/dvb-usb/cxusb-analog.c .strength = CX25840_PIN_DRIVE_MEDIUM }, strength 1456 drivers/media/usb/dvb-usb/cxusb-analog.c .strength = CX25840_PIN_DRIVE_MEDIUM } strength 88 drivers/media/usb/dvb-usb/dtt200u-fe.c static int dtt200u_fe_read_signal_strength(struct dvb_frontend* fe, u16 *strength) strength 98 drivers/media/usb/dvb-usb/dtt200u-fe.c *strength = (state->data[0] << 8) | state->data[0]; strength 108 drivers/media/usb/dvb-usb/vp702x-fe.c static int vp702x_fe_read_signal_strength(struct dvb_frontend* fe, u16 *strength) strength 113 drivers/media/usb/dvb-usb/vp702x-fe.c *strength = (st->sig << 8) | st->sig; strength 69 drivers/media/usb/dvb-usb/vp7045-fe.c static int vp7045_fe_read_signal_strength(struct dvb_frontend* fe, u16 *strength) strength 75 drivers/media/usb/dvb-usb/vp7045-fe.c *strength = ~signal; strength 814 drivers/mtd/nand/raw/atmel/nand-controller.c chip->ecc.strength); strength 1063 drivers/mtd/nand/raw/atmel/nand-controller.c chip->ecc.strength = val; strength 1072 drivers/mtd/nand/raw/atmel/nand-controller.c req.ecc.strength = ATMEL_PMECC_MAXIMIZE_ECC_STRENGTH; strength 1073 drivers/mtd/nand/raw/atmel/nand-controller.c else if (chip->ecc.strength) strength 1074 drivers/mtd/nand/raw/atmel/nand-controller.c req.ecc.strength = chip->ecc.strength; strength 1075 drivers/mtd/nand/raw/atmel/nand-controller.c else if (chip->base.eccreq.strength) strength 1076 drivers/mtd/nand/raw/atmel/nand-controller.c req.ecc.strength = chip->base.eccreq.strength; strength 1078 drivers/mtd/nand/raw/atmel/nand-controller.c req.ecc.strength = ATMEL_PMECC_MAXIMIZE_ECC_STRENGTH; strength 1105 drivers/mtd/nand/raw/atmel/nand-controller.c chip->ecc.strength = req.ecc.strength; strength 290 drivers/mtd/nand/raw/atmel/pmecc.c if (req->ecc.strength != ATMEL_PMECC_MAXIMIZE_ECC_STRENGTH) strength 310 drivers/mtd/nand/raw/atmel/pmecc.c int nbytes, strength = pmecc->caps->strengths[i]; strength 312 drivers/mtd/nand/raw/atmel/pmecc.c if (req->ecc.strength != ATMEL_PMECC_MAXIMIZE_ECC_STRENGTH && strength 313 drivers/mtd/nand/raw/atmel/pmecc.c strength < req->ecc.strength) strength 316 drivers/mtd/nand/raw/atmel/pmecc.c nbytes = DIV_ROUND_UP(strength * fls(8 * req->ecc.sectorsize), strength 323 drivers/mtd/nand/raw/atmel/pmecc.c eccstrength = strength; strength 326 drivers/mtd/nand/raw/atmel/pmecc.c if (req->ecc.strength != ATMEL_PMECC_MAXIMIZE_ECC_STRENGTH) strength 334 drivers/mtd/nand/raw/atmel/pmecc.c req->ecc.strength = eccstrength; strength 348 drivers/mtd/nand/raw/atmel/pmecc.c int strength, size, ret; strength 357 drivers/mtd/nand/raw/atmel/pmecc.c size += ((2 * req->ecc.strength) + 1) * sizeof(u16) * strength 358 drivers/mtd/nand/raw/atmel/pmecc.c (2 + req->ecc.strength + 2); strength 360 drivers/mtd/nand/raw/atmel/pmecc.c size += (req->ecc.strength + 1) * sizeof(u16); strength 363 drivers/mtd/nand/raw/atmel/pmecc.c size += (req->ecc.strength + 1) * sizeof(s32) * 3; strength 372 drivers/mtd/nand/raw/atmel/pmecc.c user->si = user->partial_syn + ((2 * req->ecc.strength) + 1); strength 373 drivers/mtd/nand/raw/atmel/pmecc.c user->lmu = user->si + ((2 * req->ecc.strength) + 1); strength 374 drivers/mtd/nand/raw/atmel/pmecc.c user->smu = user->lmu + (req->ecc.strength + 1); strength 376 drivers/mtd/nand/raw/atmel/pmecc.c (((2 * req->ecc.strength) + 1) * strength 377 drivers/mtd/nand/raw/atmel/pmecc.c (req->ecc.strength + 2)), strength 379 drivers/mtd/nand/raw/atmel/pmecc.c user->dmu = user->mu + req->ecc.strength + 1; strength 380 drivers/mtd/nand/raw/atmel/pmecc.c user->delta = user->dmu + req->ecc.strength + 1; strength 392 drivers/mtd/nand/raw/atmel/pmecc.c for (strength = 0; strength < pmecc->caps->nstrengths; strength++) { strength 393 drivers/mtd/nand/raw/atmel/pmecc.c if (pmecc->caps->strengths[strength] == req->ecc.strength) strength 397 drivers/mtd/nand/raw/atmel/pmecc.c user->cache.cfg = PMECC_CFG_BCH_STRENGTH(strength) | strength 431 drivers/mtd/nand/raw/atmel/pmecc.c int strength = get_strength(user); strength 436 drivers/mtd/nand/raw/atmel/pmecc.c for (i = 0; i < strength; i++) { strength 450 drivers/mtd/nand/raw/atmel/pmecc.c int strength = get_strength(user); strength 463 drivers/mtd/nand/raw/atmel/pmecc.c memset(&si[1], 0, sizeof(s16) * ((2 * strength) - 1)); strength 467 drivers/mtd/nand/raw/atmel/pmecc.c for (i = 1; i < 2 * strength; i += 2) { strength 474 drivers/mtd/nand/raw/atmel/pmecc.c for (i = 2, j = 1; j <= strength; i = ++j << 1) { strength 496 drivers/mtd/nand/raw/atmel/pmecc.c int strength = get_strength(user); strength 497 drivers/mtd/nand/raw/atmel/pmecc.c int num = 2 * strength + 1; strength 542 drivers/mtd/nand/raw/atmel/pmecc.c memset(&smu[(strength + 1) * num], 0, sizeof(s16) * num); strength 544 drivers/mtd/nand/raw/atmel/pmecc.c for (i = 1; i <= strength; i++) { strength 551 drivers/mtd/nand/raw/atmel/pmecc.c tmp = ((strength - (lmu[i] >> 1) - 1) / 2); strength 552 drivers/mtd/nand/raw/atmel/pmecc.c if ((strength - (lmu[i] >> 1) - 1) & 0x1) strength 559 drivers/mtd/nand/raw/atmel/pmecc.c smu[(strength + 1) * num + j] = strength 562 drivers/mtd/nand/raw/atmel/pmecc.c lmu[strength + 1] = lmu[i]; strength 620 drivers/mtd/nand/raw/atmel/pmecc.c if (i >= strength) strength 646 drivers/mtd/nand/raw/atmel/pmecc.c int strength = get_strength(user); strength 648 drivers/mtd/nand/raw/atmel/pmecc.c int num = (2 * strength) + 1; strength 654 drivers/mtd/nand/raw/atmel/pmecc.c for (i = 0; i <= user->lmu[strength + 1] >> 1; i++) { strength 655 drivers/mtd/nand/raw/atmel/pmecc.c writel_relaxed(smu[(strength + 1) * num + i], strength 665 drivers/mtd/nand/raw/atmel/pmecc.c writel((sector_size * 8) + (degree * strength), strength 680 drivers/mtd/nand/raw/atmel/pmecc.c if (roots_nbr == user->lmu[strength + 1] >> 1) strength 45 drivers/mtd/nand/raw/atmel/pmecc.h int strength; strength 1812 drivers/mtd/nand/raw/brcmnand/brcmnand.c chip->ecc.strength); strength 2165 drivers/mtd/nand/raw/brcmnand/brcmnand.c brcmnand_wr_corr_thresh(host, DIV_ROUND_UP(chip->ecc.strength * 3, 4)); strength 2246 drivers/mtd/nand/raw/brcmnand/brcmnand.c if (chip->ecc.strength == 1 && chip->ecc.size == 512) strength 2254 drivers/mtd/nand/raw/brcmnand/brcmnand.c if (chip->ecc.algo == NAND_ECC_HAMMING && (chip->ecc.strength != 1 || strength 2257 drivers/mtd/nand/raw/brcmnand/brcmnand.c chip->ecc.strength, chip->ecc.size); strength 2262 drivers/mtd/nand/raw/brcmnand/brcmnand.c (!chip->ecc.size || !chip->ecc.strength)) { strength 2263 drivers/mtd/nand/raw/brcmnand/brcmnand.c if (chip->base.eccreq.step_size && chip->base.eccreq.strength) { strength 2266 drivers/mtd/nand/raw/brcmnand/brcmnand.c chip->ecc.strength = chip->base.eccreq.strength; strength 2268 drivers/mtd/nand/raw/brcmnand/brcmnand.c chip->ecc.size, chip->ecc.strength); strength 2277 drivers/mtd/nand/raw/brcmnand/brcmnand.c cfg->ecc_level = chip->ecc.strength; strength 2285 drivers/mtd/nand/raw/brcmnand/brcmnand.c if (chip->ecc.strength & 0x1) { strength 2291 drivers/mtd/nand/raw/brcmnand/brcmnand.c cfg->ecc_level = chip->ecc.strength >> 1; strength 640 drivers/mtd/nand/raw/cafe_nand.c cafe->nand.ecc.strength = 4; strength 219 drivers/mtd/nand/raw/cs553x_nand.c this->ecc.strength = 1; strength 647 drivers/mtd/nand/raw/davinci_nand.c info->chip.ecc.strength = pdata->ecc_bits; strength 211 drivers/mtd/nand/raw/denali.c FIELD_PREP(ECC_CORRECTION__VALUE, chip->ecc.strength), strength 424 drivers/mtd/nand/raw/denali.c ecc->strength); strength 893 drivers/mtd/nand/raw/denali.c int denali_calc_ecc_bytes(int step_size, int strength) strength 896 drivers/mtd/nand/raw/denali.c return DIV_ROUND_UP(strength * fls(step_size * 8), 16) * 2; strength 984 drivers/mtd/nand/raw/denali.c chip->ecc.strength <<= 1; strength 1005 drivers/mtd/nand/raw/denali.c chip->ecc.size, chip->ecc.strength, chip->ecc.bytes); strength 392 drivers/mtd/nand/raw/denali.h int denali_calc_ecc_bytes(int step_size, int strength); strength 1589 drivers/mtd/nand/raw/diskonchip.c nand->ecc.strength = 2; strength 748 drivers/mtd/nand/raw/fsl_elbc_nand.c chip->ecc.strength = 1; strength 653 drivers/mtd/nand/raw/fsl_ifc_nand.c chip->ecc.strength); strength 922 drivers/mtd/nand/raw/fsl_ifc_nand.c chip->ecc.strength = 4; strength 925 drivers/mtd/nand/raw/fsl_ifc_nand.c chip->ecc.strength = 8; strength 905 drivers/mtd/nand/raw/fsmc_nand.c nand->ecc.strength = 1; strength 1088 drivers/mtd/nand/raw/fsmc_nand.c nand->ecc.strength = 8; strength 275 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c chip->base.eccreq.strength, strength 514 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c if (chip->ecc.strength > 0 && chip->ecc.size > 0) strength 515 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c return set_geometry_by_ecc_info(this, chip->ecc.strength, strength 520 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c if (!(chip->base.eccreq.strength > 0 && strength 525 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c chip->base.eccreq.strength, strength 2188 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c ecc->strength = bch_geo->ecc_strength; strength 534 drivers/mtd/nand/raw/hisi504_nand.c switch (chip->ecc.strength) { strength 639 drivers/mtd/nand/raw/hisi504_nand.c int size, strength, ecc_bits; strength 645 drivers/mtd/nand/raw/hisi504_nand.c strength = chip->ecc.strength; strength 651 drivers/mtd/nand/raw/hisi504_nand.c if ((size == 1024) && ((strength != 8) && (strength != 16) && strength 652 drivers/mtd/nand/raw/hisi504_nand.c (strength != 24) && (strength != 40))) { strength 658 drivers/mtd/nand/raw/hisi504_nand.c chip->ecc.strength = strength; strength 664 drivers/mtd/nand/raw/hisi504_nand.c switch (chip->ecc.strength) { strength 675 drivers/mtd/nand/raw/hisi504_nand.c dev_err(dev, "not support strength: %d\n", chip->ecc.strength); strength 25 drivers/mtd/nand/raw/ingenic/ingenic_ecc.h int strength; strength 213 drivers/mtd/nand/raw/ingenic/ingenic_nand_drv.c params.strength = nand->chip.ecc.strength; strength 227 drivers/mtd/nand/raw/ingenic/ingenic_nand_drv.c params.strength = nand->chip.ecc.strength; strength 238 drivers/mtd/nand/raw/ingenic/ingenic_nand_drv.c if (chip->ecc.strength == 4) { strength 243 drivers/mtd/nand/raw/ingenic/ingenic_nand_drv.c (chip->ecc.strength / 8); strength 260 drivers/mtd/nand/raw/ingenic/ingenic_nand_drv.c chip->ecc.strength, chip->ecc.size, chip->ecc.bytes); strength 84 drivers/mtd/nand/raw/ingenic/jz4725b_bch.c if (params->strength == 8) strength 77 drivers/mtd/nand/raw/ingenic/jz4780_bch.c reg |= params->strength << BCH_BHCR_BSEL_SHIFT; strength 751 drivers/mtd/nand/raw/lpc32xx_mlc.c nand_chip->ecc.strength = 4; strength 896 drivers/mtd/nand/raw/lpc32xx_slc.c chip->ecc.strength = 1; strength 255 drivers/mtd/nand/raw/marvell_nand.c int strength; strength 271 drivers/mtd/nand/raw/marvell_nand.c .strength = ds, \ strength 923 drivers/mtd/nand/raw/marvell_nand.c spare, spare_len, chip->ecc.strength); strength 1409 drivers/mtd/nand/raw/marvell_nand.c if (lt->writesize == 2048 && lt->strength == 8) { strength 2189 drivers/mtd/nand/raw/marvell_nand.c ecc->size == l->chunk && ecc->strength == l->strength) { strength 2196 drivers/mtd/nand/raw/marvell_nand.c (!nfc->caps->is_nfcv2 && ecc->strength > 1)) { strength 2199 drivers/mtd/nand/raw/marvell_nand.c ecc->strength, mtd->writesize); strength 2204 drivers/mtd/nand/raw/marvell_nand.c if (l->writesize == 2048 && l->strength == 8) { strength 2217 drivers/mtd/nand/raw/marvell_nand.c if (ecc->strength == 1) { strength 2229 drivers/mtd/nand/raw/marvell_nand.c ecc->strength = 16; strength 2250 drivers/mtd/nand/raw/marvell_nand.c if (ecc->mode != NAND_ECC_NONE && (!ecc->size || !ecc->strength)) { strength 2251 drivers/mtd/nand/raw/marvell_nand.c if (chip->base.eccreq.step_size && chip->base.eccreq.strength) { strength 2253 drivers/mtd/nand/raw/marvell_nand.c ecc->strength = chip->base.eccreq.strength; strength 2258 drivers/mtd/nand/raw/marvell_nand.c ecc->strength = 1; strength 2459 drivers/mtd/nand/raw/marvell_nand.c chip->ecc.strength = pdata->ecc_strength; strength 126 drivers/mtd/nand/raw/meson_nand.c u32 strength; strength 188 drivers/mtd/nand/raw/meson_nand.c #define MESON_ECC_DATA(b, s) { .bch = (b), .strength = (s)} strength 199 drivers/mtd/nand/raw/meson_nand.c static int meson_nand_calc_ecc_bytes(int step_size, int strength) strength 203 drivers/mtd/nand/raw/meson_nand.c if (step_size == 512 && strength == 8) strength 206 drivers/mtd/nand/raw/meson_nand.c ecc_bytes = DIV_ROUND_UP(strength * fls(step_size * 8), 8); strength 461 drivers/mtd/nand/raw/meson_nand.c ECC_ZERO_CNT(*info) < nand->ecc.strength) { strength 808 drivers/mtd/nand/raw/meson_nand.c ecc->strength); strength 1144 drivers/mtd/nand/raw/meson_nand.c if (nand->ecc.strength > 60 || nand->ecc.strength < 8) strength 1148 drivers/mtd/nand/raw/meson_nand.c if (meson_ecc[i].strength == nand->ecc.strength) { strength 171 drivers/mtd/nand/raw/mtk_ecc.c if (ecc->caps->ecc_strength[i] == config->strength) strength 177 drivers/mtd/nand/raw/mtk_ecc.c config->strength); strength 198 drivers/mtd/nand/raw/mtk_ecc.c config->strength * ecc->caps->parity_bits; strength 407 drivers/mtd/nand/raw/mtk_ecc.c len = (config->strength * ecc->caps->parity_bits + 7) >> 3; strength 31 drivers/mtd/nand/raw/mtk_ecc.h u32 strength; strength 384 drivers/mtd/nand/raw/mtk_nand.c nfc->ecc_cfg.strength = chip->ecc.strength; strength 1164 drivers/mtd/nand/raw/mtk_nand.c ecc_bytes = DIV_ROUND_UP(nand->ecc.strength * strength 1235 drivers/mtd/nand/raw/mtk_nand.c if (!nand->ecc.size || !nand->ecc.strength) { strength 1237 drivers/mtd/nand/raw/mtk_nand.c nand->ecc.strength = nand->base.eccreq.strength; strength 1248 drivers/mtd/nand/raw/mtk_nand.c nand->ecc.strength <<= 1; strength 1261 drivers/mtd/nand/raw/mtk_nand.c free = (nand->ecc.strength * mtk_ecc_get_parity_bits(nfc->ecc) strength 1272 drivers/mtd/nand/raw/mtk_nand.c nand->ecc.strength = (spare << 3) / strength 1276 drivers/mtd/nand/raw/mtk_nand.c nand->ecc.strength = (spare << 3) / strength 1281 drivers/mtd/nand/raw/mtk_nand.c mtk_ecc_adjust_strength(nfc->ecc, &nand->ecc.strength); strength 1284 drivers/mtd/nand/raw/mtk_nand.c nand->ecc.size, nand->ecc.strength); strength 1733 drivers/mtd/nand/raw/mxc_nand.c chip->ecc.strength = 1; strength 1735 drivers/mtd/nand/raw/mxc_nand.c chip->ecc.strength = (host->eccsize == 4) ? 4 : 8; strength 2835 drivers/mtd/nand/raw/nand_base.c chip->ecc.strength); strength 2905 drivers/mtd/nand/raw/nand_base.c chip->ecc.strength); strength 2975 drivers/mtd/nand/raw/nand_base.c chip->ecc.strength); strength 3058 drivers/mtd/nand/raw/nand_base.c chip->ecc.strength); strength 4571 drivers/mtd/nand/raw/nand_base.c chip->base.eccreq.strength = NAND_ECC_STRENGTH(type); strength 4971 drivers/mtd/nand/raw/nand_base.c chip->ecc.strength = ecc_strength; strength 5104 drivers/mtd/nand/raw/nand_base.c ecc->strength = 1; strength 5132 drivers/mtd/nand/raw/nand_base.c ecc->strength = 4; strength 5165 drivers/mtd/nand/raw/nand_base.c ecc->strength = bytes * 8 / fls(8 * ecc->size); strength 5199 drivers/mtd/nand/raw/nand_base.c int preset_strength = chip->ecc.strength; strength 5253 drivers/mtd/nand/raw/nand_base.c int req_strength = chip->base.eccreq.strength; strength 5254 drivers/mtd/nand/raw/nand_base.c int req_corr, step_size, strength, nsteps, ecc_bytes, ecc_bytes_total; strength 5271 drivers/mtd/nand/raw/nand_base.c strength = stepinfo->strengths[j]; strength 5278 drivers/mtd/nand/raw/nand_base.c if (step_size < req_step && strength < req_strength) strength 5286 drivers/mtd/nand/raw/nand_base.c ecc_bytes = caps->calc_ecc_bytes(step_size, strength); strength 5292 drivers/mtd/nand/raw/nand_base.c strength * nsteps < req_corr) strength 5302 drivers/mtd/nand/raw/nand_base.c best_strength = strength; strength 5312 drivers/mtd/nand/raw/nand_base.c chip->ecc.strength = best_strength; strength 5333 drivers/mtd/nand/raw/nand_base.c int step_size, strength, nsteps, ecc_bytes, corr; strength 5348 drivers/mtd/nand/raw/nand_base.c strength = stepinfo->strengths[j]; strength 5355 drivers/mtd/nand/raw/nand_base.c ecc_bytes = caps->calc_ecc_bytes(step_size, strength); strength 5362 drivers/mtd/nand/raw/nand_base.c corr = strength * nsteps; strength 5372 drivers/mtd/nand/raw/nand_base.c best_strength = strength; strength 5382 drivers/mtd/nand/raw/nand_base.c chip->ecc.strength = best_strength; strength 5413 drivers/mtd/nand/raw/nand_base.c if (chip->ecc.size && chip->ecc.strength) strength 5454 drivers/mtd/nand/raw/nand_base.c corr = (mtd->writesize * ecc->strength) / ecc->size; strength 5455 drivers/mtd/nand/raw/nand_base.c ds_corr = (mtd->writesize * chip->base.eccreq.strength) / strength 5458 drivers/mtd/nand/raw/nand_base.c return corr >= ds_corr && ecc->strength >= chip->base.eccreq.strength; strength 5641 drivers/mtd/nand/raw/nand_base.c if (!ecc->strength) { strength 5684 drivers/mtd/nand/raw/nand_base.c ecc->strength = 0; strength 5709 drivers/mtd/nand/raw/nand_base.c mtd->ecc_strength = ecc->strength; strength 114 drivers/mtd/nand/raw/nand_bch.c unsigned int eccstrength = nand->ecc.strength; strength 192 drivers/mtd/nand/raw/nand_bch.c nand->ecc.strength = (eccbytes * 8) / fls(8 * eccsize); strength 20 drivers/mtd/nand/raw/nand_esmt.c chip->base.eccreq.strength = 4; strength 23 drivers/mtd/nand/raw/nand_esmt.c chip->base.eccreq.strength = 2; strength 26 drivers/mtd/nand/raw/nand_esmt.c chip->base.eccreq.strength = 1; strength 507 drivers/mtd/nand/raw/nand_hynix.c chip->base.eccreq.strength = 0; strength 510 drivers/mtd/nand/raw/nand_hynix.c chip->base.eccreq.strength = 4; strength 513 drivers/mtd/nand/raw/nand_hynix.c chip->base.eccreq.strength = 24; strength 516 drivers/mtd/nand/raw/nand_hynix.c chip->base.eccreq.strength = 32; strength 519 drivers/mtd/nand/raw/nand_hynix.c chip->base.eccreq.strength = 40; strength 522 drivers/mtd/nand/raw/nand_hynix.c chip->base.eccreq.strength = 50; strength 525 drivers/mtd/nand/raw/nand_hynix.c chip->base.eccreq.strength = 60; strength 547 drivers/mtd/nand/raw/nand_hynix.c chip->base.eccreq.strength = 1 << ecc_level; strength 553 drivers/mtd/nand/raw/nand_hynix.c chip->base.eccreq.strength = 24; strength 567 drivers/mtd/nand/raw/nand_hynix.c chip->base.eccreq.strength = 0; strength 570 drivers/mtd/nand/raw/nand_hynix.c chip->base.eccreq.strength = 1 << (ecc_level - 1); strength 573 drivers/mtd/nand/raw/nand_hynix.c chip->base.eccreq.strength = 24 + strength 113 drivers/mtd/nand/raw/nand_jedec.c chip->base.eccreq.strength = ecc->ecc_bits; strength 245 drivers/mtd/nand/raw/nand_micron.c if (WARN_ON(nbitflips > chip->ecc.strength)) strength 312 drivers/mtd/nand/raw/nand_micron.c if (chip->ecc.strength == 4) strength 385 drivers/mtd/nand/raw/nand_micron.c if (chip->base.eccreq.strength != 4 && chip->base.eccreq.strength != 8) strength 426 drivers/mtd/nand/raw/nand_micron.c if (chip->base.eccreq.strength != 4 && chip->base.eccreq.strength != 8) strength 483 drivers/mtd/nand/raw/nand_micron.c if (chip->base.eccreq.strength == 4) { strength 493 drivers/mtd/nand/raw/nand_micron.c if (chip->base.eccreq.strength == 4) strength 500 drivers/mtd/nand/raw/nand_micron.c chip->ecc.bytes = chip->base.eccreq.strength * 2; strength 502 drivers/mtd/nand/raw/nand_micron.c chip->ecc.strength = chip->base.eccreq.strength; strength 97 drivers/mtd/nand/raw/nand_onfi.c chip->base.eccreq.strength = ecc->ecc_bits; strength 255 drivers/mtd/nand/raw/nand_onfi.c chip->base.eccreq.strength = p->ecc_bits; strength 75 drivers/mtd/nand/raw/nand_samsung.c chip->base.eccreq.strength = 1 << extid; strength 80 drivers/mtd/nand/raw/nand_samsung.c chip->base.eccreq.strength = 24; strength 83 drivers/mtd/nand/raw/nand_samsung.c chip->base.eccreq.strength = 40; strength 86 drivers/mtd/nand/raw/nand_samsung.c chip->base.eccreq.strength = 60; strength 101 drivers/mtd/nand/raw/nand_samsung.c chip->base.eccreq.strength = 1; strength 80 drivers/mtd/nand/raw/nand_toshiba.c chip->ecc.strength = 8; strength 127 drivers/mtd/nand/raw/nand_toshiba.c chip->base.eccreq.strength = 1; strength 130 drivers/mtd/nand/raw/nand_toshiba.c chip->base.eccreq.strength = 4; strength 133 drivers/mtd/nand/raw/nand_toshiba.c chip->base.eccreq.strength = 8; strength 2209 drivers/mtd/nand/raw/nandsim.c chip->ecc.strength = bch; strength 155 drivers/mtd/nand/raw/ndfc.c chip->ecc.strength = 1; strength 1319 drivers/mtd/nand/raw/omap2.c if (flip_bits > info->nand.ecc.strength) strength 1325 drivers/mtd/nand/raw/omap2.c if (flip_bits > info->nand.ecc.strength) strength 2029 drivers/mtd/nand/raw/omap2.c chip->ecc.strength = 1; strength 2046 drivers/mtd/nand/raw/omap2.c chip->ecc.strength = 4; strength 2067 drivers/mtd/nand/raw/omap2.c chip->ecc.strength = 4; strength 2088 drivers/mtd/nand/raw/omap2.c chip->ecc.strength = 8; strength 2109 drivers/mtd/nand/raw/omap2.c chip->ecc.strength = 8; strength 2131 drivers/mtd/nand/raw/omap2.c chip->ecc.strength = 16; strength 1708 drivers/mtd/nand/raw/qcom_nandc.c 0, ecc->strength); strength 2455 drivers/mtd/nand/raw/qcom_nandc.c qcom_nandc_calc_ecc_bytes(int step_size, int strength) strength 2457 drivers/mtd/nand/raw/qcom_nandc.c return strength == 4 ? 12 : 16; strength 2488 drivers/mtd/nand/raw/qcom_nandc.c if (ecc->strength >= 8) { strength 2621 drivers/mtd/nand/raw/qcom_nandc.c host->cw_size, host->cw_data, ecc->strength, ecc->bytes, strength 863 drivers/mtd/nand/raw/r852.c chip->ecc.strength = 2; strength 951 drivers/mtd/nand/raw/s3c2410.c chip->ecc.strength = 1; strength 1039 drivers/mtd/nand/raw/sh_flctl.c chip->ecc.strength = 4; strength 163 drivers/mtd/nand/raw/sharpsl.c this->ecc.strength = 1; strength 325 drivers/mtd/nand/raw/stm32_fmc2_nand.c if (chip->ecc.strength == FMC2_ECC_BCH8) { strength 328 drivers/mtd/nand/raw/stm32_fmc2_nand.c } else if (chip->ecc.strength == FMC2_ECC_BCH4) { strength 392 drivers/mtd/nand/raw/stm32_fmc2_nand.c dma_cfg.src_addr += chip->ecc.strength == FMC2_ECC_HAM ? strength 403 drivers/mtd/nand/raw/stm32_fmc2_nand.c fmc2->dma_ecc_len = chip->ecc.strength == FMC2_ECC_HAM ? strength 507 drivers/mtd/nand/raw/stm32_fmc2_nand.c if (chip->ecc.strength != FMC2_ECC_HAM) { strength 644 drivers/mtd/nand/raw/stm32_fmc2_nand.c if (chip->ecc.strength == FMC2_ECC_BCH8) { strength 736 drivers/mtd/nand/raw/stm32_fmc2_nand.c int eccstrength = chip->ecc.strength; strength 1095 drivers/mtd/nand/raw/stm32_fmc2_nand.c int eccstrength = chip->ecc.strength; strength 1659 drivers/mtd/nand/raw/stm32_fmc2_nand.c if (chip->ecc.strength == FMC2_ECC_HAM) { strength 1673 drivers/mtd/nand/raw/stm32_fmc2_nand.c if (chip->ecc.strength == FMC2_ECC_HAM) strength 1675 drivers/mtd/nand/raw/stm32_fmc2_nand.c else if (chip->ecc.strength == FMC2_ECC_BCH8) strength 1718 drivers/mtd/nand/raw/stm32_fmc2_nand.c static int stm32_fmc2_calc_ecc_bytes(int step_size, int strength) strength 1721 drivers/mtd/nand/raw/stm32_fmc2_nand.c if (strength == FMC2_ECC_HAM) strength 1725 drivers/mtd/nand/raw/stm32_fmc2_nand.c if (strength == FMC2_ECC_BCH8) strength 1968 drivers/mtd/nand/raw/stm32_fmc2_nand.c chip->ecc.strength = FMC2_ECC_BCH8; strength 855 drivers/mtd/nand/raw/sunxi_nand.c NULL, 0, ecc->strength); strength 1010 drivers/mtd/nand/raw/sunxi_nand.c ecc->strength); strength 1633 drivers/mtd/nand/raw/sunxi_nand.c ecc->strength = bytes * 8 / fls(8 * ecc->size); strength 1636 drivers/mtd/nand/raw/sunxi_nand.c if (strengths[i] > ecc->strength) strength 1641 drivers/mtd/nand/raw/sunxi_nand.c ecc->strength = 0; strength 1643 drivers/mtd/nand/raw/sunxi_nand.c ecc->strength = strengths[i - 1]; strength 1656 drivers/mtd/nand/raw/sunxi_nand.c ecc->strength *= 2; strength 1661 drivers/mtd/nand/raw/sunxi_nand.c if (ecc->strength <= strengths[i]) { strength 1666 drivers/mtd/nand/raw/sunxi_nand.c ecc->strength = strengths[i]; strength 1680 drivers/mtd/nand/raw/sunxi_nand.c ecc->bytes = DIV_ROUND_UP(ecc->strength * fls(8 * 1024), 8); strength 1749 drivers/mtd/nand/raw/sunxi_nand.c ecc->strength = nand->base.eccreq.strength; strength 1752 drivers/mtd/nand/raw/sunxi_nand.c if (!ecc->size || !ecc->strength) strength 110 drivers/mtd/nand/raw/tango_nand.c #define PKT_CFG(size, strength) ((size) << 16 | (strength)) strength 188 drivers/mtd/nand/raw/tango_nand.c chip->ecc.strength); strength 516 drivers/mtd/nand/raw/tango_nand.c ecc->bytes = DIV_ROUND_UP(ecc->strength * FIELD_ORDER, BITS_PER_BYTE); strength 586 drivers/mtd/nand/raw/tango_nand.c tchip->pkt_0_cfg = PKT_CFG(ecc->size + METADATA_SIZE, ecc->strength); strength 587 drivers/mtd/nand/raw/tango_nand.c tchip->pkt_n_cfg = PKT_CFG(ecc->size, ecc->strength); strength 204 drivers/mtd/nand/raw/tegra_nand.c int bytes_per_step = DIV_ROUND_UP(BITS_PER_STEP_RS * chip->ecc.strength, strength 231 drivers/mtd/nand/raw/tegra_nand.c int bytes_per_step = DIV_ROUND_UP(BITS_PER_STEP_BCH * chip->ecc.strength, strength 729 drivers/mtd/nand/raw/tegra_nand.c chip->ecc.strength); strength 837 drivers/mtd/nand/raw/tegra_nand.c static int tegra_nand_get_strength(struct nand_chip *chip, const int *strength, strength 852 drivers/mtd/nand/raw/tegra_nand.c strength_sel = strength[strength_len - i - 1]; strength 854 drivers/mtd/nand/raw/tegra_nand.c strength_sel = strength[i]; strength 856 drivers/mtd/nand/raw/tegra_nand.c if (strength_sel < chip->base.eccreq.strength) strength 874 drivers/mtd/nand/raw/tegra_nand.c const int *strength; strength 881 drivers/mtd/nand/raw/tegra_nand.c strength = rs_strength_bootable; strength 884 drivers/mtd/nand/raw/tegra_nand.c strength = rs_strength; strength 891 drivers/mtd/nand/raw/tegra_nand.c strength = bch_strength_bootable; strength 894 drivers/mtd/nand/raw/tegra_nand.c strength = bch_strength; strength 902 drivers/mtd/nand/raw/tegra_nand.c return tegra_nand_get_strength(chip, strength, strength_len, strength 948 drivers/mtd/nand/raw/tegra_nand.c if (!chip->ecc.strength) { strength 953 drivers/mtd/nand/raw/tegra_nand.c chip->base.eccreq.strength); strength 957 drivers/mtd/nand/raw/tegra_nand.c chip->ecc.strength = ret; strength 965 drivers/mtd/nand/raw/tegra_nand.c bits_per_step = BITS_PER_STEP_RS * chip->ecc.strength; strength 969 drivers/mtd/nand/raw/tegra_nand.c switch (chip->ecc.strength) { strength 981 drivers/mtd/nand/raw/tegra_nand.c chip->ecc.strength); strength 986 drivers/mtd/nand/raw/tegra_nand.c bits_per_step = BITS_PER_STEP_BCH * chip->ecc.strength; strength 989 drivers/mtd/nand/raw/tegra_nand.c switch (chip->ecc.strength) { strength 1004 drivers/mtd/nand/raw/tegra_nand.c chip->ecc.strength); strength 1015 drivers/mtd/nand/raw/tegra_nand.c chip->ecc.strength); strength 416 drivers/mtd/nand/raw/tmio_nand.c nand_chip->ecc.strength = 2; strength 333 drivers/mtd/nand/raw/txx9ndfmc.c chip->ecc.strength = 1; strength 518 drivers/mtd/nand/raw/vf610_nfc.c int flips_threshold = nfc->chip.ecc.strength / 2; strength 781 drivers/mtd/nand/raw/vf610_nfc.c if (chip->ecc.strength == 32) { strength 784 drivers/mtd/nand/raw/vf610_nfc.c } else if (chip->ecc.strength == 24) { strength 420 drivers/mtd/nand/spi/core.c return nand->eccreq.strength; strength 1053 drivers/mtd/nand/spi/core.c mtd->ecc_strength = nand->eccreq.strength; strength 87 drivers/mtd/nand/spi/macronix.c return nand->eccreq.strength; strength 89 drivers/mtd/nand/spi/macronix.c if (WARN_ON(eccsr > nand->eccreq.strength || !eccsr)) strength 90 drivers/mtd/nand/spi/macronix.c return nand->eccreq.strength; strength 80 drivers/mtd/nand/spi/toshiba.c return nand->eccreq.strength; strength 84 drivers/mtd/nand/spi/toshiba.c if (WARN_ON(mbf > nand->eccreq.strength || !mbf)) strength 85 drivers/mtd/nand/spi/toshiba.c return nand->eccreq.strength; strength 557 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c u8 strength; /* Pad Drive Strength in mA */ strength 3750 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c if (drivestrength >= sdiod_drvstr_tab2_3v3[i].strength) { strength 3772 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c for (i = 0; str_tab[i].strength != 0; i++) { strength 3773 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c if (drivestrength >= str_tab[i].strength) { strength 3787 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c str_tab[i].strength, drivestrength, cc_data_temp); strength 545 drivers/pinctrl/bcm/pinctrl-iproc-gpio.c unsigned strength) strength 553 drivers/pinctrl/bcm/pinctrl-iproc-gpio.c if (strength < 2 || strength > 16 || (strength % 2)) strength 565 drivers/pinctrl/bcm/pinctrl-iproc-gpio.c strength); strength 568 drivers/pinctrl/bcm/pinctrl-iproc-gpio.c strength = (strength / 2) - 1; strength 573 drivers/pinctrl/bcm/pinctrl-iproc-gpio.c val |= ((strength >> i) & 0x1) << shift; strength 582 drivers/pinctrl/bcm/pinctrl-iproc-gpio.c u16 *strength) strength 598 drivers/pinctrl/bcm/pinctrl-iproc-gpio.c *strength = 0; strength 603 drivers/pinctrl/bcm/pinctrl-iproc-gpio.c *strength += (val << i); strength 607 drivers/pinctrl/bcm/pinctrl-iproc-gpio.c *strength = (*strength + 1) * 2; strength 796 drivers/pinctrl/bcm/pinctrl-ns2-mux.c u32 strength) strength 805 drivers/pinctrl/bcm/pinctrl-ns2-mux.c if (strength < 2 || strength > 16 || (strength % 2)) strength 812 drivers/pinctrl/bcm/pinctrl-ns2-mux.c val |= ((strength / 2) - 1) << pin_data->pin_conf.drive_shift; strength 817 drivers/pinctrl/bcm/pinctrl-ns2-mux.c pin, strength); strength 822 drivers/pinctrl/bcm/pinctrl-ns2-mux.c u16 *strength) strength 831 drivers/pinctrl/bcm/pinctrl-ns2-mux.c *strength = (val >> pin_data->pin_conf.drive_shift) & strength 833 drivers/pinctrl/bcm/pinctrl-ns2-mux.c *strength = (*strength + 1) * 2; strength 837 drivers/pinctrl/bcm/pinctrl-ns2-mux.c pin, *strength); strength 391 drivers/pinctrl/bcm/pinctrl-nsp-gpio.c u32 strength) strength 398 drivers/pinctrl/bcm/pinctrl-nsp-gpio.c if (strength < 2 || strength > 16 || (strength % 2)) strength 404 drivers/pinctrl/bcm/pinctrl-nsp-gpio.c strength); strength 406 drivers/pinctrl/bcm/pinctrl-nsp-gpio.c strength = (strength / 2) - 1; strength 410 drivers/pinctrl/bcm/pinctrl-nsp-gpio.c val |= ((strength >> (i-1)) & 0x1) << shift; strength 420 drivers/pinctrl/bcm/pinctrl-nsp-gpio.c u16 *strength) strength 431 drivers/pinctrl/bcm/pinctrl-nsp-gpio.c *strength = 0; strength 435 drivers/pinctrl/bcm/pinctrl-nsp-gpio.c *strength += (val << i); strength 440 drivers/pinctrl/bcm/pinctrl-nsp-gpio.c *strength = (*strength + 1) * 2; strength 857 drivers/pinctrl/intel/pinctrl-baytrail.c static void byt_get_pull_strength(u32 reg, u16 *strength) strength 861 drivers/pinctrl/intel/pinctrl-baytrail.c *strength = 2000; strength 864 drivers/pinctrl/intel/pinctrl-baytrail.c *strength = 10000; strength 867 drivers/pinctrl/intel/pinctrl-baytrail.c *strength = 20000; strength 870 drivers/pinctrl/intel/pinctrl-baytrail.c *strength = 40000; strength 875 drivers/pinctrl/intel/pinctrl-baytrail.c static int byt_set_pull_strength(u32 *reg, u16 strength) strength 879 drivers/pinctrl/intel/pinctrl-baytrail.c switch (strength) { strength 182 drivers/pinctrl/pinctrl-at91.c u32 strength); strength 609 drivers/pinctrl/pinctrl-at91.c static void set_drive_strength(void __iomem *reg, unsigned pin, u32 strength) strength 615 drivers/pinctrl/pinctrl-at91.c tmp |= strength << shift; strength 1852 drivers/pinctrl/pinctrl-rockchip.c int pin_num, int strength) strength 1863 drivers/pinctrl/pinctrl-rockchip.c bank->bank_num, pin_num, strength); strength 1869 drivers/pinctrl/pinctrl-rockchip.c if (rockchip_perpin_drv_list[drv_type][i] == strength) { strength 1880 drivers/pinctrl/pinctrl-rockchip.c strength); strength 162 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c unsigned int strength; strength 433 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c arg = pad->strength; strength 517 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c pad->strength = arg; strength 552 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c val |= pad->strength << PMIC_GPIO_REG_OUT_STRENGTH_SHIFT; strength 673 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c seq_printf(s, " %-7s", strengths[pad->strength]); strength 901 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c pad->strength = val >> PMIC_GPIO_REG_OUT_STRENGTH_SHIFT; strength 902 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c pad->strength &= PMIC_GPIO_REG_OUT_STRENGTH_MASK; strength 532 drivers/pinctrl/sh-pfc/pinctrl.c unsigned int pin, u16 strength) strength 547 drivers/pinctrl/sh-pfc/pinctrl.c if (strength < step || strength > 24) strength 553 drivers/pinctrl/sh-pfc/pinctrl.c strength = strength / step - 1; strength 559 drivers/pinctrl/sh-pfc/pinctrl.c val |= strength << offset; strength 256 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c unsigned int pin, u32 *strength) strength 276 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c *strength = strengths[(val >> shift) & mask]; strength 417 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c unsigned int pin, u32 strength) strength 434 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c if (strengths[val] > strength) strength 441 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c strength, desc->name); strength 2616 drivers/staging/media/ipu3/include/intel-ipu3.h __u32 strength; strength 122 include/linux/mtd/nand.h unsigned int strength; strength 126 include/linux/mtd/nand.h #define NAND_ECCREQ(str, stp) { .strength = (str), .step_size = (stp) } strength 283 include/linux/mtd/rawnand.h int (*calc_ecc_bytes)(int step_size, int strength); strength 360 include/linux/mtd/rawnand.h int strength; strength 249 include/media/dvb_frontend.h int (*get_rf_strength)(struct dvb_frontend *fe, u16 *strength); strength 468 include/media/dvb_frontend.h int (*read_signal_strength)(struct dvb_frontend* fe, u16* strength); strength 650 include/media/dvb_frontend.h struct dtv_fe_stats strength; strength 23 include/media/i2c/ov772x.h unsigned char strength; strength 43 include/media/i2c/ov772x.h .strength = (s & OV772X_EDGE_STRENGTH_MASK) | \ strength 137 include/media/v4l2-subdev.h u8 strength;