/Linux-v5.4/drivers/gpu/drm/i915/display/ |
D | intel_crt.c | 93 struct intel_crt *crt = intel_encoder_to_crt(encoder); in intel_crt_get_hw_state() local 102 ret = intel_crt_port_enabled(dev_priv, crt->adpa_reg, pipe); in intel_crt_get_hw_state() 112 struct intel_crt *crt = intel_encoder_to_crt(encoder); in intel_crt_get_flags() local 115 tmp = I915_READ(crt->adpa_reg); in intel_crt_get_flags() 163 struct intel_crt *crt = intel_encoder_to_crt(encoder); in intel_crt_set_dpms() local 204 I915_WRITE(crt->adpa_reg, adpa); in intel_crt_set_dpms() 425 struct intel_crt *crt = intel_attached_crt(connector); in intel_ironlake_crt_detect_hotplug() local 431 if (crt->force_hotplug_required) { in intel_ironlake_crt_detect_hotplug() 435 crt->force_hotplug_required = 0; in intel_ironlake_crt_detect_hotplug() 437 save_adpa = adpa = I915_READ(crt->adpa_reg); in intel_ironlake_crt_detect_hotplug() [all …]
|
/Linux-v5.4/drivers/s390/crypto/ |
D | zcrypt_cca_key.h | 171 static inline int zcrypt_type6_crt_key(struct ica_rsa_modexpo_crt *crt, void *p) in zcrypt_type6_crt_key() argument 194 if (WARN_ON_ONCE(crt->inputdatalength > 512)) in zcrypt_type6_crt_key() 199 short_len = (crt->inputdatalength + 1) / 2; in zcrypt_type6_crt_key() 202 key_len = 3*long_len + 2*short_len + pad_len + crt->inputdatalength; in zcrypt_type6_crt_key() 220 key->pvt.mod_len = crt->inputdatalength; in zcrypt_type6_crt_key() 224 if (copy_from_user(key->key_parts, crt->np_prime, long_len) || in zcrypt_type6_crt_key() 226 crt->nq_prime, short_len) || in zcrypt_type6_crt_key() 228 crt->bp_key, long_len) || in zcrypt_type6_crt_key() 230 crt->bq_key, short_len) || in zcrypt_type6_crt_key() 232 crt->u_mult_inv, long_len)) in zcrypt_type6_crt_key() [all …]
|
D | zcrypt_msgtype50.c | 175 unsigned int get_rsa_crt_fc(struct ica_rsa_modexpo_crt *crt, int *fcode) in get_rsa_crt_fc() argument 178 if (!crt->inputdatalength) in get_rsa_crt_fc() 181 if (crt->inputdatalength <= 128) /* 1024 bit */ in get_rsa_crt_fc() 183 else if (crt->inputdatalength <= 256) /* 2048 bit */ in get_rsa_crt_fc() 263 struct ica_rsa_modexpo_crt *crt) in ICACRT_msg_to_type50CRT_msg() argument 268 mod_len = crt->inputdatalength; in ICACRT_msg_to_type50CRT_msg() 327 if (copy_from_user(p, crt->np_prime + MSGTYPE_ADJUSTMENT, short_len) || in ICACRT_msg_to_type50CRT_msg() 328 copy_from_user(q, crt->nq_prime, short_len) || in ICACRT_msg_to_type50CRT_msg() 329 copy_from_user(dp, crt->bp_key + MSGTYPE_ADJUSTMENT, short_len) || in ICACRT_msg_to_type50CRT_msg() 330 copy_from_user(dq, crt->bq_key, short_len) || in ICACRT_msg_to_type50CRT_msg() [all …]
|
D | zcrypt_msgtype6.c | 319 struct ica_rsa_modexpo_crt *crt) in ICACRT_msg_to_type6CRT_msgX() argument 347 if (WARN_ON_ONCE(crt->inputdatalength > PAGE_SIZE)) in ICACRT_msg_to_type6CRT_msgX() 351 msg->length = crt->inputdatalength + 2; in ICACRT_msg_to_type6CRT_msgX() 352 if (copy_from_user(msg->text, crt->inputdata, crt->inputdatalength)) in ICACRT_msg_to_type6CRT_msgX() 356 size = zcrypt_type6_crt_key(crt, msg->text + crt->inputdatalength); in ICACRT_msg_to_type6CRT_msgX() 359 size += sizeof(*msg) + crt->inputdatalength; /* total size of msg */ in ICACRT_msg_to_type6CRT_msgX() 1058 struct ica_rsa_modexpo_crt *crt) in zcrypt_msgtype6_modexpo_crt() argument 1074 rc = ICACRT_msg_to_type6CRT_msgX(zq, &ap_msg, crt); in zcrypt_msgtype6_modexpo_crt() 1084 crt->outputdata, in zcrypt_msgtype6_modexpo_crt() 1085 crt->outputdatalength); in zcrypt_msgtype6_modexpo_crt()
|
D | zcrypt_api.c | 716 struct ica_rsa_modexpo_crt *crt) in zcrypt_rsa_crt() argument 725 trace_s390_zcrypt_req(crt, TP_ICARSACRT); in zcrypt_rsa_crt() 727 if (crt->outputdatalength < crt->inputdatalength) { in zcrypt_rsa_crt() 738 crt->outputdatalength = crt->inputdatalength; in zcrypt_rsa_crt() 740 rc = get_rsa_crt_fc(crt, &func_code); in zcrypt_rsa_crt() 752 if (zc->min_mod_size > crt->inputdatalength || in zcrypt_rsa_crt() 753 zc->max_mod_size < crt->inputdatalength) in zcrypt_rsa_crt() 787 rc = pref_zq->ops->rsa_modexpo_crt(pref_zq, crt); in zcrypt_rsa_crt() 794 trace_s390_zcrypt_rep(crt, func_code, rc, in zcrypt_rsa_crt() 1323 struct ica_rsa_modexpo_crt crt; in zcrypt_unlocked_ioctl() local [all …]
|
/Linux-v5.4/drivers/video/fbdev/geode/ |
D | video_gx.c | 298 int blank, hsync, vsync, crt; in gx_blank_display() local 303 blank = 0; hsync = 1; vsync = 1; crt = 1; in gx_blank_display() 306 blank = 1; hsync = 1; vsync = 1; crt = 1; in gx_blank_display() 309 blank = 1; hsync = 1; vsync = 0; crt = 1; in gx_blank_display() 312 blank = 1; hsync = 0; vsync = 1; crt = 1; in gx_blank_display() 315 blank = 1; hsync = 0; vsync = 0; crt = 0; in gx_blank_display() 329 if (crt) in gx_blank_display()
|
D | gx1fb_core.c | 463 module_param_named(crt, crt_option, int, 0444); 464 MODULE_PARM_DESC(crt, "enable CRT output. 0 = off, 1 = on (default)");
|
/Linux-v5.4/crypto/ |
D | shash.c | 354 struct crypto_ahash *crt = __crypto_ahash_cast(tfm); in crypto_init_shash_ops_async() local 370 crt->init = shash_async_init; in crypto_init_shash_ops_async() 371 crt->update = shash_async_update; in crypto_init_shash_ops_async() 372 crt->final = shash_async_final; in crypto_init_shash_ops_async() 373 crt->finup = shash_async_finup; in crypto_init_shash_ops_async() 374 crt->digest = shash_async_digest; in crypto_init_shash_ops_async() 376 crt->setkey = shash_async_setkey; in crypto_init_shash_ops_async() 378 crypto_ahash_set_flags(crt, crypto_shash_get_flags(shash) & in crypto_init_shash_ops_async() 381 crt->export = shash_async_export; in crypto_init_shash_ops_async() 382 crt->import = shash_async_import; in crypto_init_shash_ops_async() [all …]
|
D | blkcipher.c | 456 struct ablkcipher_tfm *crt = &tfm->crt_ablkcipher; in crypto_init_blkcipher_ops_async() local 459 crt->setkey = async_setkey; in crypto_init_blkcipher_ops_async() 460 crt->encrypt = async_encrypt; in crypto_init_blkcipher_ops_async() 461 crt->decrypt = async_decrypt; in crypto_init_blkcipher_ops_async() 462 crt->base = __crypto_ablkcipher_cast(tfm); in crypto_init_blkcipher_ops_async() 463 crt->ivsize = alg->ivsize; in crypto_init_blkcipher_ops_async() 470 struct blkcipher_tfm *crt = &tfm->crt_blkcipher; in crypto_init_blkcipher_ops_sync() local 475 crt->setkey = setkey; in crypto_init_blkcipher_ops_sync() 476 crt->encrypt = alg->encrypt; in crypto_init_blkcipher_ops_sync() 477 crt->decrypt = alg->decrypt; in crypto_init_blkcipher_ops_sync() [all …]
|
D | scompress.c | 189 struct crypto_acomp *crt = __crypto_acomp_tfm(tfm); in crypto_init_scomp_ops_async() local 205 crt->compress = scomp_acomp_compress; in crypto_init_scomp_ops_async() 206 crt->decompress = scomp_acomp_decompress; in crypto_init_scomp_ops_async() 207 crt->dst_free = sgl_free; in crypto_init_scomp_ops_async() 208 crt->reqsize = sizeof(void *); in crypto_init_scomp_ops_async()
|
D | ablkcipher.c | 344 struct ablkcipher_tfm *crt = &tfm->crt_ablkcipher; in crypto_init_ablkcipher_ops() local 349 crt->setkey = setkey; in crypto_init_ablkcipher_ops() 350 crt->encrypt = alg->encrypt; in crypto_init_ablkcipher_ops() 351 crt->decrypt = alg->decrypt; in crypto_init_ablkcipher_ops() 352 crt->base = __crypto_ablkcipher_cast(tfm); in crypto_init_ablkcipher_ops() 353 crt->ivsize = alg->ivsize; in crypto_init_ablkcipher_ops()
|
/Linux-v5.4/drivers/video/fbdev/ |
D | tdfxfb.c | 364 crt_outb(par, i, reg->crt[i]); in do_write_regs() 595 reg.crt[0x09] = 0x80; in tdfxfb_set_par() 643 reg.crt[0x00] = ht - 4; in tdfxfb_set_par() 644 reg.crt[0x01] = hd; in tdfxfb_set_par() 645 reg.crt[0x02] = hbs; in tdfxfb_set_par() 646 reg.crt[0x03] = 0x80 | (hbe & 0x1f); in tdfxfb_set_par() 647 reg.crt[0x04] = hs; in tdfxfb_set_par() 648 reg.crt[0x05] = ((hbe & 0x20) << 2) | (he & 0x1f); in tdfxfb_set_par() 649 reg.crt[0x06] = vt; in tdfxfb_set_par() 650 reg.crt[0x07] = ((vs & 0x200) >> 2) | in tdfxfb_set_par() [all …]
|
D | ps3fb.c | 797 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()
|
D | tridentfb.c | 72 static int crt; variable 91 module_param(crt, int, 0); 92 MODULE_PARM_DESC(crt, "Define if CRT is connected"); 903 if (crt || !iscyber(par->chip_id)) in is_flatpanel()
|
/Linux-v5.4/include/linux/ |
D | crypto.h | 1058 struct ablkcipher_tfm *crt = crypto_ablkcipher_crt(tfm); in crypto_ablkcipher_setkey() local 1060 return crt->setkey(crt->base, key, keylen); in crypto_ablkcipher_setkey() 1091 struct ablkcipher_tfm *crt = in crypto_ablkcipher_encrypt() local 1093 struct crypto_alg *alg = crt->base->base.__crt_alg; in crypto_ablkcipher_encrypt() 1098 ret = crt->encrypt(req); in crypto_ablkcipher_encrypt() 1116 struct ablkcipher_tfm *crt = in crypto_ablkcipher_decrypt() local 1118 struct crypto_alg *alg = crt->base->base.__crt_alg; in crypto_ablkcipher_decrypt() 1123 ret = crt->decrypt(req); in crypto_ablkcipher_decrypt()
|
/Linux-v5.4/drivers/acpi/ |
D | thermal.c | 56 static int crt; variable 57 module_param(crt, int, 0644); 58 MODULE_PARM_DESC(crt, "Disable or lower all critical trip points."); 297 if (crt == -1) { in acpi_thermal_trips_update() 299 } else if (crt > 0) { in acpi_thermal_trips_update() 300 unsigned long crt_k = CELSIUS_TO_DECI_KELVIN(crt); in acpi_thermal_trips_update() 306 crt); in acpi_thermal_trips_update()
|
D | acpi_video.c | 181 u8 crt:1; member 1177 data->flags.crt = 1; in acpi_video_bus_get_one_device() 1200 data->flags.crt = 1; in acpi_video_bus_get_one_device() 1480 if (!video_device->flags.crt) in acpi_video_get_edid()
|
/Linux-v5.4/drivers/video/fbdev/via/ |
D | ioctl.h | 70 unsigned short crt:1; member
|
/Linux-v5.4/Documentation/devicetree/bindings/pinctrl/ |
D | nvidia,tegra30-pinmux.txt | 89 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,
|
D | nvidia,tegra20-pinmux.txt | 108 ahb_clk, apb_clk, audio_sync, crt, dap1, dap2, dap3, dap4, dap5,
|
/Linux-v5.4/include/video/ |
D | tdfx.h | 159 unsigned char crt[25]; member
|
/Linux-v5.4/drivers/gpu/drm/nouveau/ |
D | nouveau_bios.h | 149 uint8_t crt, tv, panel; member
|
/Linux-v5.4/drivers/video/fbdev/omap2/omapfb/ |
D | omapfb-ioctl.c | 596 u32 crt; in omapfb_ioctl() member 758 if (get_user(p.crt, (__u32 __user *)arg)) { in omapfb_ioctl() 762 if (p.crt != 0) { in omapfb_ioctl()
|
/Linux-v5.4/drivers/video/fbdev/matrox/ |
D | matroxfb_crtc2.c | 447 u_int32_t crt; in matroxfb_dh_ioctl() local 449 if (get_user(crt, (u_int32_t __user *)arg)) in matroxfb_dh_ioctl() 452 if (crt != 0) in matroxfb_dh_ioctl()
|
/Linux-v5.4/Documentation/fb/ |
D | tridentfb.rst | 48 crt assume monitor is present instead of fp
|