Home
last modified time | relevance | path

Searched refs:quality (Results 1 – 25 of 178) sorted by relevance

12345678

/linux-6.1.9/drivers/char/hw_random/
Dcore.c173 if (!rng->quality) in hwrng_init()
174 rng->quality = default_quality; in hwrng_init()
175 if (rng->quality > 1024) in hwrng_init()
176 rng->quality = 1024; in hwrng_init()
177 current_quality = rng->quality; /* obsolete */ in hwrng_init()
321 if (!new_rng || rng->quality > new_rng->quality) in enable_best_rng()
427 ret = sysfs_emit(buf, "%hu\n", rng->quality); in rng_quality_show()
437 u16 quality; in rng_quality_store() local
447 ret = kstrtou16(buf, 0, &quality); in rng_quality_store()
448 if (ret || quality > 1024) { in rng_quality_store()
[all …]
Dtimeriomem-rng.c147 priv->rng_ops.quality = i; in timeriomem_rng_probe()
149 priv->rng_ops.quality = 0; in timeriomem_rng_probe()
152 priv->rng_ops.quality = pdata->quality; in timeriomem_rng_probe()
/linux-6.1.9/net/netrom/
Dnr_route.c83 if (nr_node->routes[y].quality > nr_node->routes[x].quality) { in re_sort_routes()
99 int quality, int obs_count) in nr_add_node() argument
121 if (nr_neigh != NULL && nr_neigh->failed != 0 && quality == 0) { in nr_add_node()
139 if (quality == 0 && nr_neigh != NULL && nr_node != NULL) { in nr_add_node()
156 nr_neigh->quality = sysctl_netrom_default_path_quality; in nr_add_node()
181 if (quality != 0 && ax25cmp(nr, ax25) == 0 && !nr_neigh->locked) in nr_add_node()
182 nr_neigh->quality = quality; in nr_add_node()
199 nr_node->routes[0].quality = quality; in nr_add_node()
216 if (quality != 0) in nr_add_node()
221 nr_node->routes[i].quality = quality; in nr_add_node()
[all …]
/linux-6.1.9/drivers/media/usb/gspca/
Djpeg.h139 int quality) in jpeg_set_qual() argument
143 if (quality <= 0) in jpeg_set_qual()
145 else if (quality < 50) in jpeg_set_qual()
146 sc = 5000 / quality; in jpeg_set_qual()
148 sc = 200 - quality * 2; in jpeg_set_qual()
Djeilinj.c53 u8 quality; /* image quality */ member
312 dev->quality = QUALITY_DEF; in sd_config()
372 jpeg_set_qual(dev->jpeg_hdr, dev->quality); in sd_start()
470 v4l2_ctrl_s_ctrl(sd->jpegqual, jcomp->quality); in sd_set_jcomp()
480 jcomp->quality = v4l2_ctrl_g_ctrl(sd->jpegqual); in sd_get_jcomp()
Dtopro.c119 u8 quality; /* webcam current JPEG quality (0..16) */ member
957 int quality) in jpeg_set_qual() argument
961 if (quality <= 0) in jpeg_set_qual()
963 else if (quality < 50) in jpeg_set_qual()
964 sc = 5000 / quality; in jpeg_set_qual()
966 sc = 200 - quality * 2; in jpeg_set_qual()
1444 gspca_dbg(gspca_dev, D_STREAM, "q %d -> %d\n", sd->quality, q); in set_dqt()
1445 sd->quality = q; in set_dqt()
4550 set_dqt(gspca_dev, sd->quality); in sd_start()
4635 if ((data[6] & 0x0f) != sd->quality) in sd_pkt_scan()
[all …]
/linux-6.1.9/Documentation/devicetree/bindings/rng/
Dtimeriomem_rng.yaml20 quality:
25 Defaults to zero which causes the kernel's default quality to be used
26 instead. Note that the default quality is usually zero which disables
/linux-6.1.9/drivers/media/platform/verisilicon/
Dhantro_jpeg.c312 if (ctx->quality < 50) in jpeg_set_quality()
313 scale = 5000 / ctx->quality; in jpeg_set_quality()
315 scale = 200 - 2 * ctx->quality; in jpeg_set_quality()
Dhantro_jpeg.h9 int quality; member
/linux-6.1.9/Documentation/userspace-api/media/v4l/
Dext-ctrls-jpeg.rst64 .. _jpeg-quality-control:
67 Determines trade-off between image quality and size.
68 It provides simpler method for applications to control image quality,
77 where larger values correspond to better image quality.
Dvidioc-g-jpegcomp.rst39 :ref:`JPEG class controls <jpeg-controls>` for image quality and JPEG
67 - ``quality``
69 :ref:`V4L2_CID_JPEG_COMPRESSION_QUALITY <jpeg-quality-control>`
Dvidioc-g-parm.rst235 - High quality imaging mode. High quality mode is intended for still
237 quality that the hardware can deliver. It is not defined how the
239 the ingenuity of the driver writer. High quality mode is a
241 high quality mode:
/linux-6.1.9/sound/soc/fsl/
Dfsl_micfil.c31 enum quality { enum
53 enum quality quality; member
107 switch (micfil->quality) { in micfil_set_quality()
139 ucontrol->value.integer.value[0] = micfil->quality; in micfil_quality_get()
150 micfil->quality = ucontrol->value.integer.value[0]; in micfil_quality_set()
372 micfil->quality = QUALITY_VLOW0; in fsl_micfil_dai_probe()
/linux-6.1.9/drivers/staging/wlan-ng/
Dcfg80211.c245 struct p80211msg_lnxreq_commsquality quality; in prism2_get_station() local
254 quality.msgcode = DIDMSG_LNXREQ_COMMSQUALITY; in prism2_get_station()
255 quality.dbm.data = P80211ENUM_truth_true; in prism2_get_station()
256 quality.dbm.status = P80211ENUM_msgitem_status_data_ok; in prism2_get_station()
262 result = wlandev->mlmerequest(wlandev, (struct p80211msg *)&quality); in prism2_get_station()
265 sinfo->txrate.legacy = quality.txrate.data; in prism2_get_station()
267 sinfo->signal = quality.level.data; in prism2_get_station()
/linux-6.1.9/drivers/media/platform/nxp/imx-jpeg/
Dmxc-jpeg-hw.c121 void mxc_jpeg_enc_set_quality(struct device *dev, void __iomem *reg, u8 quality) in mxc_jpeg_enc_set_quality() argument
123 dev_dbg(dev, "CAST Encoder Quality %d...\n", quality); in mxc_jpeg_enc_set_quality()
126 writel(quality, reg + CAST_QUALITY); in mxc_jpeg_enc_set_quality()
/linux-6.1.9/drivers/staging/media/deprecated/meye/
Dmeye.c198 static u16 *jpeg_quantisation_tables(int *length, int quality) in jpeg_quantisation_tables() argument
333 if (quality < 0 || quality > 10) { in jpeg_quantisation_tables()
335 "meye: invalid quality level %d - using 8\n", quality); in jpeg_quantisation_tables()
336 quality = 8; in jpeg_quantisation_tables()
339 *length = ARRAY_SIZE(jpeg_tables[quality]); in jpeg_quantisation_tables()
340 return jpeg_tables[quality]; in jpeg_quantisation_tables()
485 tables = jpeg_quantisation_tables(&length, meye.params.quality); in mchip_load_tables()
875 if (jp->quality > 10) in meyeioc_s_params()
887 meye.params.quality != jp->quality) in meyeioc_s_params()
1083 meye.params.quality = ctrl->val; in meye_s_ctrl()
/linux-6.1.9/include/linux/
Dtimeriomem-rng.h18 unsigned int quality; member
Dhw_random.h47 unsigned short quality; member
/linux-6.1.9/include/uapi/linux/
Dnetrom.h29 unsigned int quality; member
Dmeye.h40 unsigned char quality; member
/linux-6.1.9/include/net/
Dnetrom.h95 unsigned char quality; member
104 unsigned char quality; member
/linux-6.1.9/drivers/media/platform/chips-media/
Dcoda-jpeg.c1010 void coda_set_jpeg_compression_quality(struct coda_ctx *ctx, int quality) in coda_set_jpeg_compression_quality() argument
1014 ctx->params.jpeg_quality = quality; in coda_set_jpeg_compression_quality()
1017 if (quality > 100) in coda_set_jpeg_compression_quality()
1018 quality = 100; in coda_set_jpeg_compression_quality()
1019 if (quality < 5) in coda_set_jpeg_compression_quality()
1020 quality = 5; in coda_set_jpeg_compression_quality()
1026 if (quality < 50) in coda_set_jpeg_compression_quality()
1027 scale = 5000 / quality; in coda_set_jpeg_compression_quality()
1029 scale = 200 - 2 * quality; in coda_set_jpeg_compression_quality()
/linux-6.1.9/drivers/media/dvb-frontends/
Dves1820.c282 u8 quality = ~ves1820_readreg(state, 0x18); in ves1820_read_snr() local
283 *snr = (quality << 8) | quality; in ves1820_read_snr()
/linux-6.1.9/drivers/crypto/gemini/
Dsl3516-ce-rng.c50 ce->trng.quality = 700; in sl3516_ce_rng_register()
/linux-6.1.9/Documentation/devicetree/bindings/iio/chemical/
Dsensirion,scd4x.yaml13 Air quality sensor capable of measuring co2 concentration, temperature

12345678