/linux-6.1.9/drivers/char/hw_random/ |
D | core.c | 173 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 …]
|
D | timeriomem-rng.c | 147 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/ |
D | nr_route.c | 83 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/ |
D | jpeg.h | 139 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()
|
D | jeilinj.c | 53 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()
|
D | topro.c | 119 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/ |
D | timeriomem_rng.yaml | 20 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/ |
D | hantro_jpeg.c | 312 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()
|
D | hantro_jpeg.h | 9 int quality; member
|
/linux-6.1.9/Documentation/userspace-api/media/v4l/ |
D | ext-ctrls-jpeg.rst | 64 .. _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.
|
D | vidioc-g-jpegcomp.rst | 39 :ref:`JPEG class controls <jpeg-controls>` for image quality and JPEG 67 - ``quality`` 69 :ref:`V4L2_CID_JPEG_COMPRESSION_QUALITY <jpeg-quality-control>`
|
D | vidioc-g-parm.rst | 235 - 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/ |
D | fsl_micfil.c | 31 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/ |
D | cfg80211.c | 245 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/ |
D | mxc-jpeg-hw.c | 121 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/ |
D | meye.c | 198 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/ |
D | timeriomem-rng.h | 18 unsigned int quality; member
|
D | hw_random.h | 47 unsigned short quality; member
|
/linux-6.1.9/include/uapi/linux/ |
D | netrom.h | 29 unsigned int quality; member
|
D | meye.h | 40 unsigned char quality; member
|
/linux-6.1.9/include/net/ |
D | netrom.h | 95 unsigned char quality; member 104 unsigned char quality; member
|
/linux-6.1.9/drivers/media/platform/chips-media/ |
D | coda-jpeg.c | 1010 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/ |
D | ves1820.c | 282 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/ |
D | sl3516-ce-rng.c | 50 ce->trng.quality = 700; in sl3516_ce_rng_register()
|
/linux-6.1.9/Documentation/devicetree/bindings/iio/chemical/ |
D | sensirion,scd4x.yaml | 13 Air quality sensor capable of measuring co2 concentration, temperature
|