Home
last modified time | relevance | path

Searched refs:inversion (Results 1 – 25 of 145) sorted by relevance

123456

/linux-6.6.21/drivers/media/dvb-frontends/
Dstv0297.c260 enum fe_spectral_inversion inversion) in stv0297_set_inversion() argument
264 switch (inversion) { in stv0297_set_inversion()
409 enum fe_spectral_inversion inversion; in stv0297_set_frontend() local
430 inversion = p->inversion; in stv0297_set_frontend()
432 inversion = (inversion == INVERSION_ON) ? INVERSION_OFF : INVERSION_ON; in stv0297_set_frontend()
434 switch (inversion) { in stv0297_set_frontend()
517 stv0297_set_inversion(state, inversion); in stv0297_set_frontend()
616 p->inversion = (reg_83 & 0x08) ? INVERSION_ON : INVERSION_OFF; in stv0297_get_frontend()
618 p->inversion = (p->inversion == INVERSION_ON) ? INVERSION_OFF : INVERSION_ON; in stv0297_get_frontend()
Dves1x93.c31 enum fe_spectral_inversion inversion; member
121 enum fe_spectral_inversion inversion) in ves1x93_set_inversion() argument
130 switch (inversion) { in ves1x93_set_inversion()
387 ves1x93_set_inversion (state, p->inversion); in ves1x93_set_frontend()
390 state->inversion = p->inversion; in ves1x93_set_frontend()
411 if (state->inversion == INVERSION_AUTO) in ves1x93_get_frontend()
412 p->inversion = (ves1x93_readreg (state, 0x0f) & 2) ? in ves1x93_get_frontend()
459 state->inversion = INVERSION_OFF; in ves1x93_attach()
Dtda10086.c263 dprintk ("%s %i %i\n", __func__, fe_params->inversion, state->config->invert); in tda10086_set_inversion()
265 switch(fe_params->inversion) { in tda10086_set_inversion()
477 fe_params->inversion = INVERSION_OFF; in tda10086_get_frontend()
479 fe_params->inversion = INVERSION_ON; in tda10086_get_frontend()
482 fe_params->inversion = INVERSION_ON; in tda10086_get_frontend()
484 fe_params->inversion = INVERSION_OFF; in tda10086_get_frontend()
491 fe_params->inversion = INVERSION_OFF; in tda10086_get_frontend()
493 fe_params->inversion = INVERSION_ON; in tda10086_get_frontend()
496 fe_params->inversion = INVERSION_ON; in tda10086_get_frontend()
498 fe_params->inversion = INVERSION_OFF; in tda10086_get_frontend()
Ds5h1411.c34 u8 inversion; member
445 static int s5h1411_set_spectralinversion(struct dvb_frontend *fe, int inversion) in s5h1411_set_spectralinversion() argument
450 dprintk("%s(%d)\n", __func__, inversion); in s5h1411_set_spectralinversion()
453 if (inversion == 1) in s5h1411_set_spectralinversion()
456 state->inversion = inversion; in s5h1411_set_spectralinversion()
638 s5h1411_set_spectralinversion(fe, state->config->inversion); in s5h1411_init()
872 state->inversion = state->config->inversion; in s5h1411_attach()
Dves1820.c82 u8 reg0, enum fe_spectral_inversion inversion) in ves1820_setup_reg0() argument
86 if (INVERSION_ON == inversion) { in ves1820_setup_reg0()
89 } else if (INVERSION_OFF == inversion) { in ves1820_setup_reg0()
224 ves1820_setup_reg0(state, reg0x00[real_qam], p->inversion); in ves1820_set_parameters()
319 p->inversion = (state->reg0 & 0x20) ? INVERSION_ON : INVERSION_OFF; in ves1820_get_frontend()
321 p->inversion = (!(state->reg0 & 0x20)) ? INVERSION_ON : INVERSION_OFF; in ves1820_get_frontend()
Dtda10021.c120 enum fe_spectral_inversion inversion) in tda10021_setup_reg0() argument
124 if ((INVERSION_ON == inversion) ^ (state->config->invert == 0)) in tda10021_setup_reg0()
276 if (c->inversion != INVERSION_ON && c->inversion != INVERSION_OFF) in tda10021_set_parameters()
303 tda10021_setup_reg0(state, qam_params[qam].conf, c->inversion); in tda10021_set_parameters()
404 …p->inversion = ((state->reg0 & 0x20) == 0x20) ^ (state->config->invert != 0) ? INVERSION_ON : INVE… in tda10021_get_frontend()
Dstb0899_algo.c218 STB0899_SETFIELD_VAL(CFRM, cfr[0], MSB(internal->inversion * derot_freq)); in stb0899_search_tmg()
219 STB0899_SETFIELD_VAL(CFRL, cfr[1], LSB(internal->inversion * derot_freq)); in stb0899_search_tmg()
227 internal->derot_freq = internal->inversion * MAKEWORD16(cfr[0], cfr[1]); in stb0899_search_tmg()
298 STB0899_SETFIELD_VAL(CFRM, cfr[0], MSB(internal->inversion * derot_freq)); in stb0899_search_carrier()
299 STB0899_SETFIELD_VAL(CFRL, cfr[1], LSB(internal->inversion * derot_freq)); in stb0899_search_carrier()
309 internal->derot_freq = internal->inversion * MAKEWORD16(cfr[0], cfr[1]); in stb0899_search_carrier()
404 STB0899_SETFIELD_VAL(CFRM, cfr[0], MSB(internal->inversion * derot_freq)); in stb0899_search_data()
405 STB0899_SETFIELD_VAL(CFRL, cfr[1], LSB(internal->inversion * derot_freq)); in stb0899_search_data()
421 internal->inversion = IQ_SWAP_ON; in stb0899_search_data()
423 internal->inversion = IQ_SWAP_OFF; in stb0899_search_data()
[all …]
Dtda1004x.c696 int inversion; in tda1004x_set_fe() local
802 inversion = fe_params->inversion; in tda1004x_set_fe()
804 inversion = inversion ? INVERSION_OFF : INVERSION_ON; in tda1004x_set_fe()
805 switch (inversion) { in tda1004x_set_fe()
906 fe_params->inversion = INVERSION_OFF; in tda1004x_get_fe()
908 fe_params->inversion = INVERSION_ON; in tda1004x_get_fe()
910 fe_params->inversion = fe_params->inversion ? INVERSION_OFF : INVERSION_ON; in tda1004x_get_fe()
Dcx22700.c92 static int cx22700_set_inversion (struct cx22700_state* state, int inversion) in cx22700_set_inversion() argument
98 switch (inversion) { in cx22700_set_inversion()
328 cx22700_set_inversion(state, c->inversion); in cx22700_set_frontend()
342 c->inversion = reg09 & 0x1 ? INVERSION_ON : INVERSION_OFF; in cx22700_get_frontend()
Dtda8083.c89 enum fe_spectral_inversion inversion) in tda8083_set_inversion() argument
92 if (inversion == INVERSION_AUTO) in tda8083_set_inversion()
323 tda8083_set_inversion (state, p->inversion); in tda8083_set_frontend()
340 p->inversion = (tda8083_readreg (state, 0x0e) & 0x80) ? in tda8083_get_frontend()
Ds5h1420.c538 u8 inversion = 0; in s5h1420_setfec_inversion() local
543 if (p->inversion == INVERSION_OFF) in s5h1420_setfec_inversion()
544 inversion = state->config->invert ? 0x08 : 0; in s5h1420_setfec_inversion()
545 else if (p->inversion == INVERSION_ON) in s5h1420_setfec_inversion()
546 inversion = state->config->invert ? 0 : 0x08; in s5h1420_setfec_inversion()
548 if ((p->fec_inner == FEC_AUTO) || (p->inversion == INVERSION_AUTO)) { in s5h1420_setfec_inversion()
587 vit09 |= inversion; in s5h1420_setfec_inversion()
751 p->inversion = s5h1420_getinversion(state); in s5h1420_get_frontend()
Dcx24123.c280 enum fe_spectral_inversion inversion) in cx24123_set_inversion() argument
285 switch (inversion) { in cx24123_set_inversion()
308 enum fe_spectral_inversion *inversion) in cx24123_get_inversion() argument
316 *inversion = INVERSION_OFF; in cx24123_get_inversion()
319 *inversion = INVERSION_ON; in cx24123_get_inversion()
913 cx24123_set_inversion(state, p->inversion); in cx24123_set_frontend()
942 if (cx24123_get_inversion(state, &p->inversion) != 0) { in cx24123_get_frontend()
Dcx22702.c115 static int cx22702_set_inversion(struct cx22702_state *state, int inversion) in cx22702_set_inversion() argument
120 switch (inversion) { in cx22702_set_inversion()
264 cx22702_set_inversion(state, p->inversion); in cx22702_set_tps()
560 c->inversion = reg0C & 0x1 ? INVERSION_ON : INVERSION_OFF; in cx22702_get_frontend()
Dcxd2820r_c.c41 c->symbol_rate, c->inversion); in cxd2820r_set_frontend_c()
129 c->inversion = INVERSION_OFF; in cxd2820r_get_frontend_c()
132 c->inversion = INVERSION_ON; in cxd2820r_get_frontend_c()
Dsi2165.h41 bool inversion; member
Dl64781.c148 if (p->inversion != INVERSION_ON && in apply_frontend_param()
149 p->inversion != INVERSION_OFF) in apply_frontend_param()
221 (p->inversion == INVERSION_ON ? 0x80 : 0x00)); in apply_frontend_param()
340 p->inversion = (tmp & 0x80) ? INVERSION_ON : INVERSION_OFF; in get_frontend()
Dtda10071.c554 u8 mode, rolloff, pilot, inversion, div; in tda10071_set_frontend() local
560 c->inversion, c->pilot, c->rolloff); in tda10071_set_frontend()
569 switch (c->inversion) { in tda10071_set_frontend()
571 inversion = 1; in tda10071_set_frontend()
574 inversion = 0; in tda10071_set_frontend()
579 inversion = 3; in tda10071_set_frontend()
675 cmd.args[11] = inversion; in tda10071_set_frontend()
720 c->inversion = INVERSION_ON; in tda10071_get_frontend()
723 c->inversion = INVERSION_OFF; in tda10071_get_frontend()
Ds5h1432.c32 u8 inversion; member
348 state->inversion = state->config->inversion; in s5h1432_attach()
/linux-6.6.21/Documentation/devicetree/bindings/sound/
Dsimple-card.yaml22 frame-inversion:
23 description: dai-link uses frame clock inversion
26 bitclock-inversion:
27 description: dai-link uses bit clock inversion
127 frame-inversion:
128 $ref: "#/definitions/frame-inversion"
129 bitclock-inversion:
130 $ref: "#/definitions/bitclock-inversion"
189 simple-audio-card,frame-inversion:
190 $ref: "#/definitions/frame-inversion"
[all …]
Daudio-graph-port.yaml32 frame-inversion:
33 description: dai-link uses frame clock inversion
35 bitclock-inversion:
36 description: dai-link uses bit clock inversion
Dfsl-asoc-card.txt87 - frame-inversion : dai-link uses frame clock inversion, for details see simple-card.yaml.
88 - bitclock-inversion : dai-link uses bit clock inversion, for details see simple-card.yaml.
/linux-6.6.21/drivers/media/dvb-core/
Ddvb_frontend.c115 unsigned int inversion; member
395 int original_inversion = c->inversion; in dvb_frontend_swzigzag_autotune()
400 (c->inversion == INVERSION_AUTO)); in dvb_frontend_swzigzag_autotune()
424 fepriv->inversion = (fepriv->inversion == INVERSION_OFF) ? INVERSION_ON : INVERSION_OFF; in dvb_frontend_swzigzag_autotune()
439 fepriv->inversion = (fepriv->inversion == INVERSION_OFF) ? INVERSION_ON : INVERSION_OFF; in dvb_frontend_swzigzag_autotune()
462 __func__, fepriv->lnb_drift, fepriv->inversion, in dvb_frontend_swzigzag_autotune()
469 c->inversion = fepriv->inversion; in dvb_frontend_swzigzag_autotune()
480 c->inversion = original_inversion; in dvb_frontend_swzigzag_autotune()
540 (c->inversion == INVERSION_AUTO)) { in dvb_frontend_swzigzag()
541 c->inversion = fepriv->inversion; in dvb_frontend_swzigzag()
[all …]
/linux-6.6.21/drivers/media/tuners/
Dsi2157.h39 unsigned int inversion:1; member
/linux-6.6.21/drivers/media/usb/cx231xx/
Dcx231xx-dvb.c73 .inversion = S5H1432_INVERSION_OFF,
102 .inversion = S5H1411_INVERSION_ON,
111 .inversion = S5H1411_INVERSION_OFF,
831 si2157_config.inversion = true; in dvb_init()
876 si2157_config.inversion = true; in dvb_init()
944 si2157_config.inversion = false; in dvb_init()
1017 si2157_config.inversion = true; in dvb_init()
1080 si2157_config.inversion = true; in dvb_init()
/linux-6.6.21/Documentation/devicetree/bindings/media/
Dvideo-interface-devices.yaml90 camera module's lens optical inversion effect.
93 inversion projects the scene and its reference system onto the sensor
231 inversion effect:
265 optical inversion, the two reference systems will not be aligned, with
323 the lens optical inversion effect:

123456