/linux-4.19.296/drivers/media/dvb-frontends/ |
D | ts2020.c | 73 u8 u8tmp; in ts2020_sleep() local 76 u8tmp = 0x0a; /* XXX: probably wrong */ in ts2020_sleep() 78 u8tmp = 0x00; in ts2020_sleep() 80 ret = regmap_write(priv->regmap, u8tmp, 0x00); in ts2020_sleep() 95 u8 u8tmp; in ts2020_init() local 126 u8tmp = 0x60; in ts2020_init() 129 u8tmp = 0x70; in ts2020_init() 133 u8tmp = 0x6c; in ts2020_init() 136 u8tmp = 0x60; in ts2020_init() 140 regmap_write(priv->regmap, 0x42, u8tmp); in ts2020_init() [all …]
|
D | rtl2830.c | 175 u8 buf[3], u8tmp; in rtl2830_set_frontend() local 248 ret = rtl2830_bulk_read(client, 0x119, &u8tmp, 1); in rtl2830_set_frontend() 252 buf[0] |= u8tmp & 0xc0; /* [7:6] */ in rtl2830_set_frontend() 398 u8 u8tmp, buf[2]; in rtl2830_read_status() local 405 ret = rtl2830_bulk_read(client, 0x351, &u8tmp, 1); in rtl2830_read_status() 409 u8tmp = (u8tmp >> 3) & 0x0f; /* [6:3] */ in rtl2830_read_status() 410 if (u8tmp == 11) { in rtl2830_read_status() 413 } else if (u8tmp == 10) { in rtl2830_read_status() 450 ret = rtl2830_bulk_read(client, 0x33c, &u8tmp, 1); in rtl2830_read_status() 454 constellation = (u8tmp >> 2) & 0x03; /* [3:2] */ in rtl2830_read_status() [all …]
|
D | zd1301_demod.c | 240 u8 u8tmp; in zd1301_demod_read_status() local 242 ret = zd1301_demod_rreg(dev, 0x6a24, &u8tmp); in zd1301_demod_read_status() 245 if (u8tmp > 0x00 && u8tmp < 0x20) in zd1301_demod_read_status() 251 dev_dbg(&pdev->dev, "lock byte=%02x\n", u8tmp); in zd1301_demod_read_status() 325 u8 u8tmp; in zd1301_demod_i2c_master_xfer() local 369 for (u8tmp = 1; !time_after(jiffies, timeout) && u8tmp;) { in zd1301_demod_i2c_master_xfer() 372 ret = zd1301_demod_rreg(dev, 0x6804, &u8tmp); in zd1301_demod_i2c_master_xfer() 423 for (u8tmp = 1; !time_after(jiffies, timeout) && u8tmp;) { in zd1301_demod_i2c_master_xfer() 426 ret = zd1301_demod_rreg(dev, 0x6804, &u8tmp); in zd1301_demod_i2c_master_xfer()
|
D | si2165.c | 680 u8 u8tmp; in si2165_read_status() local 691 ret = si2165_readreg8(state, REG_CHECK_SIGNAL, &u8tmp); in si2165_read_status() 694 switch (u8tmp & 0x3) { in si2165_read_status() 705 ret = si2165_readreg8(state, REG_PS_LOCK, &u8tmp); in si2165_read_status() 708 if (u8tmp & 0x01) { in si2165_read_status() 718 ret = si2165_readreg8(state, REG_FEC_LOCK, &u8tmp); in si2165_read_status() 721 if (u8tmp & 0x01) { in si2165_read_status() 772 ret = si2165_readreg8(state, REG_BER_AVAIL, &u8tmp); in si2165_read_status() 776 if (u8tmp & 1) { in si2165_read_status() 981 u8 u8tmp; in si2165_set_frontend_dvbc() local [all …]
|
D | rtl2832.c | 657 u8 u8tmp, buf[2]; in rtl2832_read_status() local 683 ret = regmap_bulk_read(dev->regmap, 0x305, &u8tmp, 1); in rtl2832_read_status() 687 dev_dbg(&client->dev, "digital agc=%02x", u8tmp); in rtl2832_read_status() 689 u8tmp = ~u8tmp; in rtl2832_read_status() 690 u16tmp = u8tmp << 8 | u8tmp << 0; in rtl2832_read_status() 709 ret = regmap_bulk_read(dev->regmap, 0x33c, &u8tmp, 1); in rtl2832_read_status() 713 constellation = (u8tmp >> 2) & 0x03; /* [3:2] */ in rtl2832_read_status() 717 hierarchy = (u8tmp >> 4) & 0x07; /* [6:4] */ in rtl2832_read_status() 963 u8 u8tmp; in rtl2832_pid_filter_ctrl() local 969 u8tmp = 0x80; in rtl2832_pid_filter_ctrl() [all …]
|
D | m88ds3103.c | 307 u8 u8tmp, u8tmp1 = 0, u8tmp2 = 0; /* silence compiler warning */ in m88ds3103_set_frontend() local 492 u8tmp = 0x06; in m88ds3103_set_frontend() 496 u8tmp = 0x06; in m88ds3103_set_frontend() 499 u8tmp = 0x02; in m88ds3103_set_frontend() 502 u8tmp = 0x03; in m88ds3103_set_frontend() 511 u8tmp |= 0x40; in m88ds3103_set_frontend() 514 ret = regmap_write(dev->regmap, 0xfd, u8tmp); in m88ds3103_set_frontend() 539 u8tmp = (u8tmp1 >> 2) & 0x0f; in m88ds3103_set_frontend() 540 ret = regmap_update_bits(dev->regmap, 0xfe, 0x0f, u8tmp); in m88ds3103_set_frontend() 543 u8tmp = ((u8tmp1 & 0x03) << 6) | u8tmp2 >> 0; in m88ds3103_set_frontend() [all …]
|
/linux-4.19.296/drivers/media/tuners/ |
D | e4000.c | 392 u8 u8tmp; in e4000_set_lna_gain() local 399 u8tmp = 0x17; in e4000_set_lna_gain() 401 u8tmp = 0x19; in e4000_set_lna_gain() 403 u8tmp = 0x16; in e4000_set_lna_gain() 405 u8tmp = 0x10; in e4000_set_lna_gain() 407 ret = regmap_write(dev->regmap, 0x1a, u8tmp); in e4000_set_lna_gain() 428 u8 u8tmp; in e4000_set_mixer_gain() local 435 u8tmp = 0x15; in e4000_set_mixer_gain() 437 u8tmp = 0x14; in e4000_set_mixer_gain() 439 ret = regmap_write(dev->regmap, 0x20, u8tmp); in e4000_set_mixer_gain() [all …]
|
D | it913x.c | 225 u8 u8tmp, n, l_band, lna_band; in it913x_set_params() local 337 u8tmp = 0; in it913x_set_params() 339 u8tmp = 2; in it913x_set_params() 341 u8tmp = 4; in it913x_set_params() 343 u8tmp = 6; /* 8000000 */ in it913x_set_params() 345 ret = regmap_write(dev->regmap, 0x80ec56, u8tmp); in it913x_set_params()
|