Searched refs:tps (Results 1 - 25 of 61) sorted by path

123

/linux-master/drivers/media/dvb-frontends/
H A Das102_fe.h11 int (*get_tps)(void *priv, struct as10x_tps *tps);
H A Ddibx000_common.h211 u16 tps[9]; member in struct:dvb_frontend_parametersContext
H A Das102_fe.c189 struct as10x_tps tps = { 0 }; local
192 ret = state->ops->get_tps(state->priv, &tps);
197 switch (tps.modulation) {
210 switch (tps.hierarchy) {
226 switch (tps.code_rate_HP) {
245 switch (tps.code_rate_LP) {
264 switch (tps.guard_interval) {
280 switch (tps.transmission_mode) {
H A Ddib3000mc.c674 u16 tps = dib3000mc_read_word(state,458); local
680 switch ((tps >> 8) & 0x1) {
685 switch (tps & 0x3) {
692 switch ((tps >> 13) & 0x3) {
700 /* (tps >> 12) & 0x1 == hrch is used, (tps >> 9) & 0x7 == alpha */
703 switch ((tps >> 5) & 0x7) {
713 switch ((tps >> 2) & 0x7) {
H A Ddib7000m.c1162 u16 tps = dib7000m_read_word(state,480); local
1168 switch ((tps >> 8) & 0x3) {
1174 switch (tps & 0x3) {
1181 switch ((tps >> 14) & 0x3) {
1189 /* (tps >> 13) & 0x1 == hrch is used, (tps >> 10) & 0x7 == alpha */
1192 switch ((tps >> 5) & 0x7) {
1202 switch ((tps >> 2) & 0x7) {
H A Ddib7000p.c1032 dib7000p_write_word(state, 5, (seq << 4) | 1); /* do not force tps, search list 0 */
1425 u16 tps = dib7000p_read_word(state, 463); local
1431 switch ((tps >> 8) & 0x3) {
1441 switch (tps & 0x3) {
1456 switch ((tps >> 14) & 0x3) {
1470 /* (tps >> 13) & 0x1 == hrch is used, (tps >> 10) & 0x7 == alpha */
1473 switch ((tps >> 5) & 0x7) {
1493 switch ((tps >> 2) & 0x7) {
H A Dmt352.c162 unsigned int tps = 0; local
166 tps |= (1 << 7);
169 tps |= (2 << 7);
172 tps |= (3 << 7);
175 tps |= (4 << 7);
186 tps |= (1 << 4);
189 tps |= (2 << 4);
192 tps |= (3 << 4);
195 tps |= (4 << 4);
214 tps |
305 u16 tps; local
[all...]
H A Dzl10353.c172 u16 tps = 0; local
223 tps |= (1 << 7);
226 tps |= (2 << 7);
229 tps |= (3 << 7);
232 tps |= (4 << 7);
243 tps |= (1 << 4);
246 tps |= (2 << 4);
249 tps |= (3 << 4);
252 tps |= (4 << 4);
271 tps |
364 u16 tps; local
[all...]
/linux-master/drivers/media/usb/as102/
H A Das102_drv.c191 static int as102_get_tps(void *priv, struct as10x_tps *tps) argument
200 ret = as10x_cmd_get_tps(bus_adap, tps);
H A Das10x_cmd.c244 ptps->modulation = prsp->body.get_tps.rsp.tps.modulation;
245 ptps->hierarchy = prsp->body.get_tps.rsp.tps.hierarchy;
246 ptps->interleaving_mode = prsp->body.get_tps.rsp.tps.interleaving_mode;
247 ptps->code_rate_HP = prsp->body.get_tps.rsp.tps.code_rate_HP;
248 ptps->code_rate_LP = prsp->body.get_tps.rsp.tps.code_rate_LP;
249 ptps->guard_interval = prsp->body.get_tps.rsp.tps.guard_interval;
250 ptps->transmission_mode = prsp->body.get_tps.rsp.tps.transmission_mode;
251 ptps->DVBH_mask_HP = prsp->body.get_tps.rsp.tps.DVBH_mask_HP;
252 ptps->DVBH_mask_LP = prsp->body.get_tps.rsp.tps.DVBH_mask_LP;
253 ptps->cell_ID = le16_to_cpu((__force __le16)prsp->body.get_tps.rsp.tps
[all...]
H A Das10x_cmd.h158 /* tps details */
159 struct as10x_tps tps; member in struct:as10x_get_tps::__anon154
/linux-master/drivers/media/usb/dvb-usb/
H A DcinergyT2-fe.c31 uint16_t tps = 0; local
35 tps |= (1 << 7);
38 tps |= (2 << 7);
41 tps |= (3 << 7);
44 tps |= (4 << 7);
49 /* tps |= (0 << 7) */;
54 tps |= (1 << 4);
57 tps |= (2 << 4);
60 tps |= (3 << 4);
63 tps |
[all...]
H A DcinergyT2.h57 uint16_t tps; member in struct:dvbt_get_status_msg
73 __le16 tps; member in struct:dvbt_set_parameters_msg
/linux-master/drivers/net/ethernet/chelsio/cxgb/
H A Dtp.h68 void t1_tp_get_mib_statistics(adapter_t *adap, struct tp_mib_statistics *tps);
/linux-master/include/linux/mfd/
H A Dtps65090.h116 struct tps65090 *tps = dev_get_drvdata(dev); local
118 return regmap_write(tps->rmap, reg, val);
123 struct tps65090 *tps = dev_get_drvdata(dev); local
127 ret = regmap_read(tps->rmap, reg, &temp_val);
136 struct tps65090 *tps = dev_get_drvdata(dev); local
138 return regmap_update_bits(tps->rmap, reg, BIT(bit_num), ~0u);
144 struct tps65090 *tps = dev_get_drvdata(dev); local
146 return regmap_update_bits(tps->rmap, reg, BIT(bit_num), 0u);
/linux-master/drivers/gpio/
H A Dgpio-tps65086.c17 struct tps65086 *tps; member in struct:tps65086_gpio
40 regmap_update_bits(gpio->tps->regmap, TPS65086_GPOCTRL,
51 ret = regmap_read(gpio->tps->regmap, TPS65086_GPOCTRL, &val);
63 regmap_update_bits(gpio->tps->regmap, TPS65086_GPOCTRL,
88 gpio->tps = dev_get_drvdata(pdev->dev.parent);
90 gpio->chip.parent = gpio->tps->dev;
H A Dgpio-tps65219.c23 struct tps65219 *tps; member in struct:tps65219_gpio
34 ret = regmap_read(gpio->tps->regmap, TPS65219_REG_MFP_1_CONFIG, &val);
44 struct device *dev = gpio->tps->dev;
52 ret = regmap_read(gpio->tps->regmap, TPS65219_REG_MFP_CTRL, &val);
73 struct device *dev = gpio->tps->dev;
81 if (regmap_update_bits(gpio->tps->regmap, TPS65219_REG_GENERAL_CONFIG, mask, v))
89 struct device *dev = gpio->tps->dev;
100 int ret = regmap_update_bits(gpio->tps->regmap, TPS65219_REG_MFP_1_CONFIG,
120 struct device *dev = gpio->tps->dev;
160 struct tps65219 *tps local
[all...]
H A Dgpio-tps65912.c20 struct tps65912 *tps; member in struct:tps65912_gpio
30 ret = regmap_read(gpio->tps->regmap, TPS65912_GPIO1 + offset, &val);
44 return regmap_update_bits(gpio->tps->regmap, TPS65912_GPIO1 + offset,
54 regmap_update_bits(gpio->tps->regmap, TPS65912_GPIO1 + offset,
57 return regmap_update_bits(gpio->tps->regmap, TPS65912_GPIO1 + offset,
66 ret = regmap_read(gpio->tps->regmap, TPS65912_GPIO1 + offset, &val);
81 regmap_update_bits(gpio->tps->regmap, TPS65912_GPIO1 + offset,
100 struct tps65912 *tps = dev_get_drvdata(pdev->dev.parent); local
107 gpio->tps = dev_get_drvdata(pdev->dev.parent);
109 gpio->gpio_chip.parent = tps
[all...]
/linux-master/drivers/gpu/drm/amd/display/dc/link/protocols/
H A Dlink_dp_training_dpia.c202 static enum dc_status convert_trng_ptn_to_trng_stg(enum dc_dp_training_pattern tps, enum dpia_set_config_ts *ts) argument
206 switch (tps) {
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/gr/
H A Dnv50.c331 int tps = 0; local
345 tps++;
390 if (!tps && display)
/linux-master/drivers/input/misc/
H A Dtps65219-pwrbutton.c47 struct tps65219 *tps = dev_get_drvdata(pdev->dev.parent); local
110 regmap_clear_bits(tps->regmap, TPS65219_REG_MASK_CONFIG,
114 regmap_update_bits(tps->regmap, TPS65219_REG_MFP_2_CONFIG,
122 struct tps65219 *tps = dev_get_drvdata(pdev->dev.parent); local
126 ret = regmap_set_bits(tps->regmap, TPS65219_REG_MASK_CONFIG,
/linux-master/drivers/media/dvb-frontends/cxd2880/
H A Dcxd2880_tnrdmd_dvbt_mon.c671 struct cxd2880_dvbt_tpsinfo tps; local
679 ret = cxd2880_tnrdmd_dvbt_mon_tps_info(tnr_dmd, &tps);
683 if (tps.constellation >= CXD2880_DVBT_CONSTELLATION_RESERVED_3 ||
684 tps.rate_hp >= CXD2880_DVBT_CODERATE_RESERVED_5)
687 prel = rf_lvl - ref_dbm_1000[tps.constellation][tps.rate_hp];
H A Dcxd2880_top.c707 pr_err("tps monitor error ret = %d\n", ret);
1414 struct cxd2880_dvbt_tpsinfo tps; local
1469 ret = cxd2880_tnrdmd_dvbt_mon_tps_info(&priv->tnrdmd, &tps);
1472 switch (tps.hierarchy) {
1488 tps.hierarchy);
1492 switch (tps.rate_hp) {
1511 tps.rate_hp);
1514 switch (tps.rate_lp) {
1533 tps.rate_lp);
1536 switch (tps
[all...]
/linux-master/drivers/mfd/
H A Dtps65010.c184 struct tps65010 *tps = s->private; local
190 switch (tps->model) {
200 mutex_lock(&tps->lock);
206 seq_printf(s, "%scharging\n\n", tps->charging ? "" : "(not) ");
212 value = i2c_smbus_read_byte_data(tps->client, TPS_CHGCONFIG);
213 dbg_chgconf(tps->por, buf, sizeof buf, value);
216 value = i2c_smbus_read_byte_data(tps->client, TPS_CHGSTATUS);
219 value = i2c_smbus_read_byte_data(tps->client, TPS_MASK1);
224 value = i2c_smbus_read_byte_data(tps->client, TPS_REGSTATUS);
227 value = i2c_smbus_read_byte_data(tps
307 tps65010_interrupt(struct tps65010 *tps) argument
399 struct tps65010 *tps; local
434 struct tps65010 *tps = _tps; local
464 struct tps65010 *tps; local
481 struct tps65010 *tps; local
506 struct tps65010 *tps = i2c_get_clientdata(client); local
521 struct tps65010 *tps; local
[all...]
H A Dtps65086.c67 struct tps65086 *tps; local
71 tps = devm_kzalloc(&client->dev, sizeof(*tps), GFP_KERNEL);
72 if (!tps)
75 i2c_set_clientdata(client, tps);
76 tps->dev = &client->dev;
77 tps->irq = client->irq;
79 tps->regmap = devm_regmap_init_i2c(client, &tps65086_regmap_config);
80 if (IS_ERR(tps->regmap)) {
81 dev_err(tps
123 struct tps65086 *tps = i2c_get_clientdata(client); local
[all...]

Completed in 268 milliseconds

123