Searched refs:strength (Results 1 - 25 of 99) sorted by relevance

1234

/drivers/staging/ft1000/ft1000-pcmcia/
H A Dft1000_proc.c63 int strength; local
106 strength = 1;
109 strength = 2;
112 strength = 3;
115 strength = 4;
118 strength = 0;
165 PUTM_TO_PAGE(len, page, "Signal Strength: %s\n", signal[strength]);
/drivers/staging/ft1000/ft1000-usb/
H A Dft1000_proc.c82 int strength; local
114 strength = 1;
117 strength = 2;
120 strength = 3;
123 strength = 4;
126 strength = 0;
171 PUTM_TO_PAGE(len, page, "Signal Strength: %s\n", signal[strength]);
/drivers/net/wireless/bcmdhd/
H A Dhndpmu.c49 /* SDIO Pad drive strength to select value mappings.
50 * The last strength value in each table must be 0 (the tri-state value).
53 uint8 strength; /* Pad Drive Strength in mA */ member in struct:__anon3303
177 PMU_MSG(("No SDIO Drive strength init done for chip %s rev %d pmurev %d\n",
187 /* Pick the lowest available drive strength equal or greater than the
188 * requested strength. Drive strength of 0 requests tri-state.
190 for (i = 0; drivestrength < str_tab[i].strength; i++)
193 if (i > 0 && drivestrength > str_tab[i].strength)
202 PMU_MSG(("SDIO: %dmA drive strength requeste
[all...]
/drivers/media/dvb/frontends/
H A Dcxd2820r_priv.h97 int cxd2820r_read_signal_strength_c(struct dvb_frontend *fe, u16 *strength);
120 int cxd2820r_read_signal_strength_t(struct dvb_frontend *fe, u16 *strength);
143 int cxd2820r_read_signal_strength_t2(struct dvb_frontend *fe, u16 *strength);
H A Ddvb_dummy_fe.c53 static int dvb_dummy_fe_read_signal_strength(struct dvb_frontend* fe, u16* strength) argument
55 *strength = 0;
H A Dec100.c235 static int ec100_read_signal_strength(struct dvb_frontend *fe, u16 *strength) argument
243 *strength = 0;
247 *strength = ((tmp << 8) | tmp);
H A Dor51132.c527 static int or51132_read_signal_strength(struct dvb_frontend* fe, u16* strength) argument
542 *strength = 0xffff;
544 *strength = state->snr / 8960;
H A Dor51211.c328 static int or51211_read_signal_strength(struct dvb_frontend* fe, u16* strength) argument
343 *strength = 0xffff;
345 *strength = state->snr / 8960;
H A Ds921.c390 static int s921_read_signal_strength(struct dvb_frontend *fe, u16 *strength) argument
401 *strength = (status & FE_HAS_LOCK) ? 0xffff : 0;
403 dprintk("strength = 0x%04x\n", *strength);
H A Dcxd2820r_core.c359 static int cxd2820r_read_signal_strength(struct dvb_frontend *fe, u16 *strength) argument
366 ret = cxd2820r_read_signal_strength_t(fe, strength);
369 ret = cxd2820r_read_signal_strength_t2(fe, strength);
372 ret = cxd2820r_read_signal_strength_c(fe, strength);
H A Dcxd2820r_c.c192 u16 *strength)
213 *strength = tmp * 0xffff / (350-0);
191 cxd2820r_read_signal_strength_c(struct dvb_frontend *fe, u16 *strength) argument
H A Dcxd2820r_t.c296 u16 *strength)
311 *strength = tmp * 0xffff / 0x0fff;
295 cxd2820r_read_signal_strength_t(struct dvb_frontend *fe, u16 *strength) argument
H A Dcxd2820r_t2.c330 u16 *strength)
345 *strength = tmp * 0xffff / 0x0fff;
329 cxd2820r_read_signal_strength_t2(struct dvb_frontend *fe, u16 *strength) argument
H A Dstb0899_drv.c960 static int stb0899_read_signal_strength(struct dvb_frontend *fe, u16 *strength) argument
967 *strength = 0;
978 *strength = stb0899_table_lookup(stb0899_dvbsrf_tab, ARRAY_SIZE(stb0899_dvbsrf_tab) - 1, val);
979 *strength += 750;
981 val & 0xff, *strength);
990 *strength = stb0899_table_lookup(stb0899_dvbs2rf_tab, ARRAY_SIZE(stb0899_dvbs2rf_tab) - 1, val);
991 *strength += 950;
993 val & 0x3fff, *strength);
/drivers/media/dvb/dvb-usb/
H A Ddtt200u-fe.c65 static int dtt200u_fe_read_signal_strength(struct dvb_frontend* fe, u16 *strength) argument
70 *strength = (b << 8) | b;
H A Dvp7045-fe.c72 static int vp7045_fe_read_signal_strength(struct dvb_frontend* fe, u16 *strength) argument
78 *strength = ~signal;
H A Dgp8psk-fe.c96 static int gp8psk_fe_read_signal_strength(struct dvb_frontend* fe, u16 *strength) argument
101 /* snr / 38.4 ~= 100% strength */
102 /* snr * 17 returns 100% strength as 65535 */
104 *strength = 0xffff;
106 *strength = (st->snr << 4) + st->snr; /* snr*17 */
H A Dmxl111sf-tuner.c367 static int mxl111sf_get_rf_strength(struct dvb_frontend *fe, u16 *strength) argument
373 *strength = 0;
385 *strength = val1 | ((val2 & 0x07) << 8);
H A Dfriio-fe.c238 u16 *strength)
243 *strength = 0;
245 /* status register (incl. signal strength) : 0x89 */
256 *strength = (rbuf[3] << 8) + rbuf[4];
258 *strength = 0xffff;
237 jdvbt90502_read_signal_strength(struct dvb_frontend *fe, u16 *strength) argument
H A DcinergyT2-fe.c212 u16 *strength)
226 *strength = (0xffff - le16_to_cpu(status.gain));
211 cinergyt2_fe_read_signal_strength(struct dvb_frontend *fe, u16 *strength) argument
H A Dvp702x-fe.c111 static int vp702x_fe_read_signal_strength(struct dvb_frontend* fe, u16 *strength) argument
116 *strength = (st->sig << 8) | st->sig;
/drivers/media/common/tuners/
H A Dtea5761.c221 tuner_dbg("Signal strength: %d\n", signal);
253 static int tea5761_get_rf_strength(struct dvb_frontend *fe, u16 *strength) argument
257 *strength = 0;
260 *strength = tea5761_signal(fe, buffer);
H A Dtea5767.c305 tuner_dbg("Signal strength: %d\n", signal);
337 static int tea5767_get_rf_strength(struct dvb_frontend *fe, u16 *strength) argument
341 *strength = 0;
344 *strength = tea5767_signal(fe, buffer);
/drivers/media/dvb/dvb-core/
H A Ddvb_frontend.h222 int (*get_rf_strength)(struct dvb_frontend *fe, u16 *strength);
291 int (*read_signal_strength)(struct dvb_frontend* fe, u16* strength);
/drivers/media/dvb/firewire/
H A Dfiredtv-fe.c114 static int fdtv_read_signal_strength(struct dvb_frontend *fe, u16 *strength) argument
122 *strength = stat.signal_strength << 8;

Completed in 914 milliseconds

1234