Home
last modified time | relevance | path

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

12

/Linux-v5.10/drivers/gpu/drm/i915/display/
Dintel_crt.c92 struct intel_crt *crt = intel_encoder_to_crt(encoder); in intel_crt_get_hw_state() local
101 ret = intel_crt_port_enabled(dev_priv, crt->adpa_reg, pipe); in intel_crt_get_hw_state()
111 struct intel_crt *crt = intel_encoder_to_crt(encoder); in intel_crt_get_flags() local
114 tmp = intel_de_read(dev_priv, crt->adpa_reg); in intel_crt_get_flags()
162 struct intel_crt *crt = intel_encoder_to_crt(encoder); in intel_crt_set_dpms() local
203 intel_de_write(dev_priv, crt->adpa_reg, adpa); in intel_crt_set_dpms()
450 struct intel_crt *crt = intel_attached_crt(to_intel_connector(connector)); in ilk_crt_detect_hotplug() local
456 if (crt->force_hotplug_required) { in ilk_crt_detect_hotplug()
460 crt->force_hotplug_required = false; in ilk_crt_detect_hotplug()
462 save_adpa = adpa = intel_de_read(dev_priv, crt->adpa_reg); in ilk_crt_detect_hotplug()
[all …]
/Linux-v5.10/drivers/s390/crypto/
Dzcrypt_cca_key.h171 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 …]
Dzcrypt_msgtype50.c175 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()
269 struct ica_rsa_modexpo_crt *crt) in ICACRT_msg_to_type50CRT_msg() argument
274 mod_len = crt->inputdatalength; in ICACRT_msg_to_type50CRT_msg()
333 if (copy_from_user(p, crt->np_prime + MSGTYPE_ADJUSTMENT, short_len) || in ICACRT_msg_to_type50CRT_msg()
334 copy_from_user(q, crt->nq_prime, short_len) || in ICACRT_msg_to_type50CRT_msg()
335 copy_from_user(dp, crt->bp_key + MSGTYPE_ADJUSTMENT, short_len) || in ICACRT_msg_to_type50CRT_msg()
336 copy_from_user(dq, crt->bq_key, short_len) || in ICACRT_msg_to_type50CRT_msg()
[all …]
Dzcrypt_msgtype6.c319 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()
1067 struct ica_rsa_modexpo_crt *crt, in zcrypt_msgtype6_modexpo_crt() argument
1082 rc = ICACRT_msg_to_type6CRT_msgX(zq, ap_msg, crt); in zcrypt_msgtype6_modexpo_crt()
1094 crt->outputdata, in zcrypt_msgtype6_modexpo_crt()
1095 crt->outputdatalength); in zcrypt_msgtype6_modexpo_crt()
Dzcrypt_api.c743 struct ica_rsa_modexpo_crt *crt) in zcrypt_rsa_crt() argument
753 trace_s390_zcrypt_req(crt, TP_ICARSACRT); in zcrypt_rsa_crt()
762 if (crt->outputdatalength < crt->inputdatalength) { in zcrypt_rsa_crt()
773 crt->outputdatalength = crt->inputdatalength; in zcrypt_rsa_crt()
775 rc = get_rsa_crt_fc(crt, &func_code); in zcrypt_rsa_crt()
788 if (zc->min_mod_size > crt->inputdatalength || in zcrypt_rsa_crt()
789 zc->max_mod_size < crt->inputdatalength) in zcrypt_rsa_crt()
832 rc = pref_zq->ops->rsa_modexpo_crt(pref_zq, crt, &ap_msg); in zcrypt_rsa_crt()
844 trace_s390_zcrypt_rep(crt, func_code, rc, in zcrypt_rsa_crt()
1452 struct ica_rsa_modexpo_crt crt; in icarsacrt_ioctl() local
[all …]
/Linux-v5.10/drivers/video/fbdev/geode/
Dvideo_gx.c298 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()
Dgx1fb_core.c463 module_param_named(crt, crt_option, int, 0444);
464 MODULE_PARM_DESC(crt, "enable CRT output. 0 = off, 1 = on (default)");
/Linux-v5.10/crypto/
Dshash.c369 struct crypto_ahash *crt = __crypto_ahash_cast(tfm); in crypto_init_shash_ops_async() local
385 crt->init = shash_async_init; in crypto_init_shash_ops_async()
386 crt->update = shash_async_update; in crypto_init_shash_ops_async()
387 crt->final = shash_async_final; in crypto_init_shash_ops_async()
388 crt->finup = shash_async_finup; in crypto_init_shash_ops_async()
389 crt->digest = shash_async_digest; in crypto_init_shash_ops_async()
391 crt->setkey = shash_async_setkey; in crypto_init_shash_ops_async()
393 crypto_ahash_set_flags(crt, crypto_shash_get_flags(shash) & in crypto_init_shash_ops_async()
396 crt->export = shash_async_export; in crypto_init_shash_ops_async()
397 crt->import = shash_async_import; in crypto_init_shash_ops_async()
[all …]
Dscompress.c189 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()
/Linux-v5.10/drivers/video/fbdev/
Dtdfxfb.c364 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 …]
Dps3fb.c798 u32 crt; in ps3fb_ioctl() local
800 if (get_user(crt, (u32 __user *) arg)) in ps3fb_ioctl()
803 retval = ps3fb_wait_for_vsync(crt); in ps3fb_ioctl()
Dtridentfb.c72 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.10/drivers/acpi/
Dthermal.c57 static int crt; variable
58 module_param(crt, int, 0644);
59 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()
307 crt); in acpi_thermal_trips_update()
Dacpi_video.c181 u8 crt:1; member
1181 data->flags.crt = 1; in acpi_video_bus_get_one_device()
1204 data->flags.crt = 1; in acpi_video_bus_get_one_device()
1484 if (!video_device->flags.crt) in acpi_video_get_edid()
/Linux-v5.10/arch/arm64/boot/dts/realtek/
Drtd139x.dtsi64 crt: syscon@0 { label
123 &crt {
Drtd129x.dtsi66 crt: syscon@0 { label
125 &crt {
Drtd16xx.dtsi140 crt: syscon@0 { label
/Linux-v5.10/arch/arm/boot/dts/
Drtd1195.dtsi104 crt: syscon@0 { label
163 &crt {
/Linux-v5.10/drivers/video/fbdev/via/
Dioctl.h70 unsigned short crt:1; member
/Linux-v5.10/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-v5.10/drivers/gpu/drm/nouveau/
Dnouveau_bios.h149 uint8_t crt, tv, panel; member
/Linux-v5.10/include/video/
Dtdfx.h159 unsigned char crt[25]; member
/Linux-v5.10/drivers/video/fbdev/matrox/
Dmatroxfb_crtc2.c447 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.10/drivers/video/fbdev/omap2/omapfb/
Domapfb-ioctl.c593 u32 crt; in omapfb_ioctl() member
755 if (get_user(p.crt, (__u32 __user *)arg)) { in omapfb_ioctl()
759 if (p.crt != 0) { in omapfb_ioctl()
/Linux-v5.10/Documentation/fb/
Dtridentfb.rst48 crt assume monitor is present instead of fp

12