Home
last modified time | relevance | path

Searched refs:crt (Results 1 – 25 of 41) sorted by relevance

12

/Linux-v4.19/drivers/gpu/drm/i915/
Dintel_crt.c86 struct intel_crt *crt = intel_encoder_to_crt(encoder); in intel_crt_get_hw_state() local
93 ret = intel_crt_port_enabled(dev_priv, crt->adpa_reg, pipe); in intel_crt_get_hw_state()
103 struct intel_crt *crt = intel_encoder_to_crt(encoder); in intel_crt_get_flags() local
106 tmp = I915_READ(crt->adpa_reg); in intel_crt_get_flags()
154 struct intel_crt *crt = intel_encoder_to_crt(encoder); in intel_crt_set_dpms() local
195 I915_WRITE(crt->adpa_reg, adpa); in intel_crt_set_dpms()
412 struct intel_crt *crt = intel_attached_crt(connector); in intel_ironlake_crt_detect_hotplug() local
418 if (crt->force_hotplug_required) { in intel_ironlake_crt_detect_hotplug()
422 crt->force_hotplug_required = 0; in intel_ironlake_crt_detect_hotplug()
424 save_adpa = adpa = I915_READ(crt->adpa_reg); in intel_ironlake_crt_detect_hotplug()
[all …]
/Linux-v4.19/drivers/s390/crypto/
Dzcrypt_cca_key.h173 static inline int zcrypt_type6_crt_key(struct ica_rsa_modexpo_crt *crt, void *p) in zcrypt_type6_crt_key() argument
196 if (WARN_ON_ONCE(crt->inputdatalength > 512)) in zcrypt_type6_crt_key()
201 short_len = (crt->inputdatalength + 1) / 2; in zcrypt_type6_crt_key()
204 key_len = 3*long_len + 2*short_len + pad_len + crt->inputdatalength; in zcrypt_type6_crt_key()
222 key->pvt.mod_len = crt->inputdatalength; in zcrypt_type6_crt_key()
226 if (copy_from_user(key->key_parts, crt->np_prime, long_len) || in zcrypt_type6_crt_key()
228 crt->nq_prime, short_len) || in zcrypt_type6_crt_key()
230 crt->bp_key, long_len) || in zcrypt_type6_crt_key()
232 crt->bq_key, short_len) || in zcrypt_type6_crt_key()
234 crt->u_mult_inv, long_len)) in zcrypt_type6_crt_key()
[all …]
Dzcrypt_msgtype50.c177 unsigned int get_rsa_crt_fc(struct ica_rsa_modexpo_crt *crt, int *fcode) in get_rsa_crt_fc() argument
180 if (!crt->inputdatalength) in get_rsa_crt_fc()
183 if (crt->inputdatalength <= 128) /* 1024 bit */ in get_rsa_crt_fc()
185 else if (crt->inputdatalength <= 256) /* 2048 bit */ in get_rsa_crt_fc()
265 struct ica_rsa_modexpo_crt *crt) in ICACRT_msg_to_type50CRT_msg() argument
270 mod_len = crt->inputdatalength; in ICACRT_msg_to_type50CRT_msg()
329 if (copy_from_user(p, crt->np_prime + MSGTYPE_ADJUSTMENT, short_len) || in ICACRT_msg_to_type50CRT_msg()
330 copy_from_user(q, crt->nq_prime, short_len) || in ICACRT_msg_to_type50CRT_msg()
331 copy_from_user(dp, crt->bp_key + MSGTYPE_ADJUSTMENT, short_len) || in ICACRT_msg_to_type50CRT_msg()
332 copy_from_user(dq, crt->bq_key, short_len) || in ICACRT_msg_to_type50CRT_msg()
[all …]
Dzcrypt_api.c290 static long zcrypt_rsa_crt(struct ica_rsa_modexpo_crt *crt) in zcrypt_rsa_crt() argument
298 trace_s390_zcrypt_req(crt, TP_ICARSACRT); in zcrypt_rsa_crt()
300 if (crt->outputdatalength < crt->inputdatalength) { in zcrypt_rsa_crt()
310 crt->outputdatalength = crt->inputdatalength; in zcrypt_rsa_crt()
312 rc = get_rsa_crt_fc(crt, &func_code); in zcrypt_rsa_crt()
324 if (zc->min_mod_size > crt->inputdatalength || in zcrypt_rsa_crt()
325 zc->max_mod_size < crt->inputdatalength) in zcrypt_rsa_crt()
352 rc = pref_zq->ops->rsa_modexpo_crt(pref_zq, crt); in zcrypt_rsa_crt()
359 trace_s390_zcrypt_rep(crt, func_code, rc, in zcrypt_rsa_crt()
816 struct ica_rsa_modexpo_crt crt; in zcrypt_unlocked_ioctl() local
[all …]
Dzcrypt_msgtype6.c322 struct ica_rsa_modexpo_crt *crt) in ICACRT_msg_to_type6CRT_msgX() argument
350 if (WARN_ON_ONCE(crt->inputdatalength > PAGE_SIZE)) in ICACRT_msg_to_type6CRT_msgX()
354 msg->length = crt->inputdatalength + 2; in ICACRT_msg_to_type6CRT_msgX()
355 if (copy_from_user(msg->text, crt->inputdata, crt->inputdatalength)) in ICACRT_msg_to_type6CRT_msgX()
359 size = zcrypt_type6_crt_key(crt, msg->text + crt->inputdatalength); in ICACRT_msg_to_type6CRT_msgX()
362 size += sizeof(*msg) + crt->inputdatalength; /* total size of msg */ in ICACRT_msg_to_type6CRT_msgX()
1076 struct ica_rsa_modexpo_crt *crt) in zcrypt_msgtype6_modexpo_crt() argument
1092 rc = ICACRT_msg_to_type6CRT_msgX(zq, &ap_msg, crt); in zcrypt_msgtype6_modexpo_crt()
1102 crt->outputdata, in zcrypt_msgtype6_modexpo_crt()
1103 crt->outputdatalength); in zcrypt_msgtype6_modexpo_crt()
/Linux-v4.19/drivers/video/fbdev/geode/
Dvideo_gx.c302 int blank, hsync, vsync, crt; in gx_blank_display() local
307 blank = 0; hsync = 1; vsync = 1; crt = 1; in gx_blank_display()
310 blank = 1; hsync = 1; vsync = 1; crt = 1; in gx_blank_display()
313 blank = 1; hsync = 1; vsync = 0; crt = 1; in gx_blank_display()
316 blank = 1; hsync = 0; vsync = 1; crt = 1; in gx_blank_display()
319 blank = 1; hsync = 0; vsync = 0; crt = 0; in gx_blank_display()
333 if (crt) in gx_blank_display()
Dgx1fb_core.c467 module_param_named(crt, crt_option, int, 0444);
468 MODULE_PARM_DESC(crt, "enable CRT output. 0 = off, 1 = on (default)");
/Linux-v4.19/crypto/
Dablkcipher.c349 struct ablkcipher_tfm *crt = &tfm->crt_ablkcipher; in crypto_init_ablkcipher_ops() local
354 crt->setkey = setkey; in crypto_init_ablkcipher_ops()
355 crt->encrypt = alg->encrypt; in crypto_init_ablkcipher_ops()
356 crt->decrypt = alg->decrypt; in crypto_init_ablkcipher_ops()
357 crt->base = __crypto_ablkcipher_cast(tfm); in crypto_init_ablkcipher_ops()
358 crt->ivsize = alg->ivsize; in crypto_init_ablkcipher_ops()
423 struct ablkcipher_tfm *crt = &tfm->crt_ablkcipher; in crypto_init_givcipher_ops() local
428 crt->setkey = tfm->__crt_alg->cra_flags & CRYPTO_ALG_GENIV ? in crypto_init_givcipher_ops()
430 crt->encrypt = alg->encrypt; in crypto_init_givcipher_ops()
431 crt->decrypt = alg->decrypt; in crypto_init_givcipher_ops()
[all …]
Dshash.c350 struct crypto_ahash *crt = __crypto_ahash_cast(tfm); in crypto_init_shash_ops_async() local
366 crt->init = shash_async_init; in crypto_init_shash_ops_async()
367 crt->update = shash_async_update; in crypto_init_shash_ops_async()
368 crt->final = shash_async_final; in crypto_init_shash_ops_async()
369 crt->finup = shash_async_finup; in crypto_init_shash_ops_async()
370 crt->digest = shash_async_digest; in crypto_init_shash_ops_async()
371 crt->setkey = shash_async_setkey; in crypto_init_shash_ops_async()
373 crypto_ahash_set_flags(crt, crypto_shash_get_flags(shash) & in crypto_init_shash_ops_async()
377 crt->export = shash_async_export; in crypto_init_shash_ops_async()
379 crt->import = shash_async_import; in crypto_init_shash_ops_async()
[all …]
Dblkcipher.c461 struct ablkcipher_tfm *crt = &tfm->crt_ablkcipher; in crypto_init_blkcipher_ops_async() local
464 crt->setkey = async_setkey; in crypto_init_blkcipher_ops_async()
465 crt->encrypt = async_encrypt; in crypto_init_blkcipher_ops_async()
466 crt->decrypt = async_decrypt; in crypto_init_blkcipher_ops_async()
467 crt->base = __crypto_ablkcipher_cast(tfm); in crypto_init_blkcipher_ops_async()
468 crt->ivsize = alg->ivsize; in crypto_init_blkcipher_ops_async()
475 struct blkcipher_tfm *crt = &tfm->crt_blkcipher; in crypto_init_blkcipher_ops_sync() local
480 crt->setkey = setkey; in crypto_init_blkcipher_ops_sync()
481 crt->encrypt = alg->encrypt; in crypto_init_blkcipher_ops_sync()
482 crt->decrypt = alg->decrypt; in crypto_init_blkcipher_ops_sync()
[all …]
Dscompress.c212 struct crypto_acomp *crt = __crypto_acomp_tfm(tfm); in crypto_init_scomp_ops_async() local
228 crt->compress = scomp_acomp_compress; in crypto_init_scomp_ops_async()
229 crt->decompress = scomp_acomp_decompress; in crypto_init_scomp_ops_async()
230 crt->dst_free = sgl_free; in crypto_init_scomp_ops_async()
231 crt->reqsize = sizeof(void *); in crypto_init_scomp_ops_async()
/Linux-v4.19/drivers/video/fbdev/
Dtdfxfb.c363 crt_outb(par, i, reg->crt[i]); in do_write_regs()
594 reg.crt[0x09] = 0x80; in tdfxfb_set_par()
642 reg.crt[0x00] = ht - 4; in tdfxfb_set_par()
643 reg.crt[0x01] = hd; in tdfxfb_set_par()
644 reg.crt[0x02] = hbs; in tdfxfb_set_par()
645 reg.crt[0x03] = 0x80 | (hbe & 0x1f); in tdfxfb_set_par()
646 reg.crt[0x04] = hs; in tdfxfb_set_par()
647 reg.crt[0x05] = ((hbe & 0x20) << 2) | (he & 0x1f); in tdfxfb_set_par()
648 reg.crt[0x06] = vt; in tdfxfb_set_par()
649 reg.crt[0x07] = ((vs & 0x200) >> 2) | in tdfxfb_set_par()
[all …]
Dps3fb.c797 u32 crt; in ps3fb_ioctl() local
799 if (get_user(crt, (u32 __user *) arg)) in ps3fb_ioctl()
802 retval = ps3fb_wait_for_vsync(crt); in ps3fb_ioctl()
Dtridentfb.c71 static int crt; variable
90 module_param(crt, int, 0);
91 MODULE_PARM_DESC(crt, "Define if CRT is connected");
902 if (crt || !iscyber(par->chip_id)) in is_flatpanel()
/Linux-v4.19/include/linux/
Dcrypto.h890 struct ablkcipher_tfm *crt = crypto_ablkcipher_crt(tfm); in crypto_ablkcipher_setkey() local
892 return crt->setkey(crt->base, key, keylen); in crypto_ablkcipher_setkey()
923 struct ablkcipher_tfm *crt = in crypto_ablkcipher_encrypt() local
925 return crt->encrypt(req); in crypto_ablkcipher_encrypt()
941 struct ablkcipher_tfm *crt = in crypto_ablkcipher_decrypt() local
943 return crt->decrypt(req); in crypto_ablkcipher_decrypt()
/Linux-v4.19/drivers/acpi/
Dthermal.c70 static int crt; variable
71 module_param(crt, int, 0644);
72 MODULE_PARM_DESC(crt, "Disable or lower all critical trip points.");
315 if (crt == -1) { in acpi_thermal_trips_update()
317 } else if (crt > 0) { in acpi_thermal_trips_update()
318 unsigned long crt_k = CELSIUS_TO_DECI_KELVIN(crt); in acpi_thermal_trips_update()
324 crt); in acpi_thermal_trips_update()
Dacpi_video.c188 u8 crt:1; member
1161 data->flags.crt = 1; in acpi_video_bus_get_one_device()
1184 data->flags.crt = 1; in acpi_video_bus_get_one_device()
1464 if (!video_device->flags.crt) in acpi_video_get_edid()
/Linux-v4.19/drivers/video/fbdev/via/
Dioctl.h84 unsigned short crt:1; member
/Linux-v4.19/Documentation/devicetree/bindings/pinctrl/
Dnvidia,tegra30-pinmux.txt89 ao1, ao2, at1, at2, at3, at4, at5, cdev1, cdev2, cec, crt, csus, dap1,
96 blink, cec, clk_12m_out, clk_32k_in, core_pwr_req, cpu_pwr_req, crt,
/Linux-v4.19/drivers/gpu/drm/nouveau/
Dnouveau_bios.h149 uint8_t crt, tv, panel; member
/Linux-v4.19/include/video/
Dtdfx.h159 unsigned char crt[25]; member
/Linux-v4.19/drivers/video/fbdev/matrox/
Dmatroxfb_crtc2.c446 u_int32_t crt; in matroxfb_dh_ioctl() local
448 if (get_user(crt, (u_int32_t __user *)arg)) in matroxfb_dh_ioctl()
451 if (crt != 0) in matroxfb_dh_ioctl()
/Linux-v4.19/drivers/video/fbdev/omap2/omapfb/
Domapfb-ioctl.c607 u32 crt; in omapfb_ioctl() member
767 if (get_user(p.crt, (__u32 __user *)arg)) { in omapfb_ioctl()
771 if (p.crt != 0) { in omapfb_ioctl()
/Linux-v4.19/Documentation/fb/
Dtridentfb.txt41 crt - assume monitor is present instead of fp
/Linux-v4.19/arch/arm/boot/dts/
Dtegra20-colibri.dtsi44 crt {
46 nvidia,function = "crt";

12