Home
last modified time | relevance | path

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

/linux-6.6.21/sound/soc/intel/atom/
Dsst-atom-controls.c407 static int sst_send_gain_cmd(struct sst_data *drv, struct sst_gain_value *gv, in sst_send_gain_cmd() argument
418 if (mute || gv->mute) { in sst_send_gain_cmd()
422 cmd.cell_gains[0].cell_gain_left = gv->l_gain; in sst_send_gain_cmd()
423 cmd.cell_gains[0].cell_gain_right = gv->r_gain; in sst_send_gain_cmd()
428 cmd.cell_gains[0].gain_time_constant = gv->ramp_duration; in sst_send_gain_cmd()
444 struct sst_gain_value *gv = mc->gain_val; in sst_gain_get() local
448 ucontrol->value.integer.value[0] = gv->l_gain; in sst_gain_get()
449 ucontrol->value.integer.value[1] = gv->r_gain; in sst_gain_get()
453 ucontrol->value.integer.value[0] = gv->mute ? 0 : 1; in sst_gain_get()
457 ucontrol->value.integer.value[0] = gv->ramp_duration; in sst_gain_get()
[all …]
/linux-6.6.21/drivers/staging/media/atomisp/pci/
Datomisp_csi2_bridge.c157 struct gmin_cfg_var *gv; in gmin_cfg_get_dmi_override() local
163 for (gv = id->driver_data; gv->acpi_dev_name; gv++) { in gmin_cfg_get_dmi_override()
164 if (strcmp(gv->acpi_dev_name, acpi_dev_name(adev))) in gmin_cfg_get_dmi_override()
167 if (strcmp(key, gv->key)) in gmin_cfg_get_dmi_override()
171 dev_name(&adev->dev), key, gv->val); in gmin_cfg_get_dmi_override()
172 return kstrdup(gv->val, GFP_KERNEL); in gmin_cfg_get_dmi_override()
Datomisp_gmin_platform.c1263 struct gmin_cfg_var *gv; in gmin_get_hardcoded_var() local
1265 for (gv = varlist; gv->name; gv++) { in gmin_get_hardcoded_var()
1268 if (strcmp(var8, gv->name)) in gmin_get_hardcoded_var()
1273 vl = strlen(gv->val); in gmin_get_hardcoded_var()
1277 strscpy(out, gv->val, *out_len); in gmin_get_hardcoded_var()
/linux-6.6.21/drivers/gpu/drm/i915/display/
Dintel_tv.c69 u16 rv, gv, bv, av; member
197 .rv = 0x0340, .gv = 0x030c, .bv = 0x06d0, .av = 0x0200,
207 .rv = 0x037a, .gv = 0x033d, .bv = 0x06f6, .av = 0x0200,
217 .rv = 0x035a, .gv = 0x0322, .bv = 0x06e1, .av = 0x0200,
227 .rv = 0x0399, .gv = 0x0356, .bv = 0x070a, .av = 0x0200,
237 .rv = 0x0353, .gv = 0x031c, .bv = 0x06dc, .av = 0x0200,
247 .rv = 0x0390, .gv = 0x034f, .bv = 0x0705, .av = 0x0200,
257 .rv = 0x0340, .gv = 0x030c, .bv = 0x06d0, .av = 0x0200,
267 .rv = 0x037a, .gv = 0x033d, .bv = 0x06f6, .av = 0x0200,
277 .rv = 0x0340, .gv = 0x030c, .bv = 0x06d0, .av = 0x0200,
[all …]
/linux-6.6.21/drivers/media/platform/mediatek/vcodec/decoder/vdec/
Dvdec_av1_req_lat_if.c1099 long long gv, dv; in vdec_av1_slice_get_shear_params() local
1109 gv = ((long long)mat[4] * (1 << WARPEDMODEL_PREC_BITS)) * y; in vdec_av1_slice_get_shear_params()
1110 gm_params->gamma = clamp_val((int)AV1_DIV_ROUND_UP_POW2_SIGNED(gv, shift), in vdec_av1_slice_get_shear_params()
/linux-6.6.21/drivers/media/platform/verisilicon/
Drockchip_vpu981_hw_av1_dec.c480 long long gv, dv; in rockchip_vpu981_av1_dec_get_shear_params() local
490 gv = ((long long)mat[4] * (1 << WARPEDMODEL_PREC_BITS)) * y; in rockchip_vpu981_av1_dec_get_shear_params()
492 *gamma = clamp_val((int)AV1_DIV_ROUND_UP_POW2_SIGNED(gv, shift), S16_MIN, S16_MAX); in rockchip_vpu981_av1_dec_get_shear_params()