Home
last modified time | relevance | path

Searched refs:gv (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/sound/soc/intel/atom/
Dsst-atom-controls.c392 static int sst_send_gain_cmd(struct sst_data *drv, struct sst_gain_value *gv, in sst_send_gain_cmd() argument
403 if (mute || gv->mute) { in sst_send_gain_cmd()
407 cmd.cell_gains[0].cell_gain_left = gv->l_gain; in sst_send_gain_cmd()
408 cmd.cell_gains[0].cell_gain_right = gv->r_gain; in sst_send_gain_cmd()
413 cmd.cell_gains[0].gain_time_constant = gv->ramp_duration; in sst_send_gain_cmd()
429 struct sst_gain_value *gv = mc->gain_val; in sst_gain_get() local
433 ucontrol->value.integer.value[0] = gv->l_gain; in sst_gain_get()
434 ucontrol->value.integer.value[1] = gv->r_gain; in sst_gain_get()
438 ucontrol->value.integer.value[0] = gv->mute ? 0 : 1; in sst_gain_get()
442 ucontrol->value.integer.value[0] = gv->ramp_duration; in sst_gain_get()
[all …]
/Linux-v5.4/drivers/media/usb/usbvision/
Dusbvision-core.c478 unsigned char rv, gv, bv; /* RGB components */ in usbvision_parse_lines_422() local
507 YUV_TO_RGB_BY_THE_BOOK(yuyv[0], yuyv[1], yuyv[3], rv, gv, bv); in usbvision_parse_lines_422()
511 (0xE0 & (gv << 5)); in usbvision_parse_lines_422()
512 *f++ = (0x07 & (gv >> 3)) | in usbvision_parse_lines_422()
517 *f++ = gv; in usbvision_parse_lines_422()
522 *f++ = gv; in usbvision_parse_lines_422()
528 (0xE0 & (gv << 5)); in usbvision_parse_lines_422()
529 *f++ = (0x03 & (gv >> 3)) | in usbvision_parse_lines_422()
541 YUV_TO_RGB_BY_THE_BOOK(yuyv[2], yuyv[1], yuyv[3], rv, gv, bv); in usbvision_parse_lines_422()
545 (0xE0 & (gv << 5)); in usbvision_parse_lines_422()
[all …]
/Linux-v5.4/drivers/gpu/drm/i915/display/
Dintel_tv.c63 u16 rv, gv, bv, av; member
191 .rv = 0x0340, .gv = 0x030c, .bv = 0x06d0, .av = 0x0200,
201 .rv = 0x037a, .gv = 0x033d, .bv = 0x06f6, .av = 0x0200,
211 .rv = 0x035a, .gv = 0x0322, .bv = 0x06e1, .av = 0x0200,
221 .rv = 0x0399, .gv = 0x0356, .bv = 0x070a, .av = 0x0200,
231 .rv = 0x0353, .gv = 0x031c, .bv = 0x06dc, .av = 0x0200,
241 .rv = 0x0390, .gv = 0x034f, .bv = 0x0705, .av = 0x0200,
251 .rv = 0x0340, .gv = 0x030c, .bv = 0x06d0, .av = 0x0200,
261 .rv = 0x037a, .gv = 0x033d, .bv = 0x06f6, .av = 0x0200,
271 .rv = 0x0340, .gv = 0x030c, .bv = 0x06d0, .av = 0x0200,
[all …]