Home
last modified time | relevance | path

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

123

/linux-5.19.10/drivers/gpu/drm/i915/display/
Dintel_crt.c97 struct intel_crt *crt = intel_encoder_to_crt(encoder); in intel_crt_get_hw_state() local
106 ret = intel_crt_port_enabled(dev_priv, crt->adpa_reg, pipe); in intel_crt_get_hw_state()
116 struct intel_crt *crt = intel_encoder_to_crt(encoder); in intel_crt_get_flags() local
119 tmp = intel_de_read(dev_priv, crt->adpa_reg); in intel_crt_get_flags()
165 struct intel_crt *crt = intel_encoder_to_crt(encoder); in intel_crt_set_dpms() local
206 intel_de_write(dev_priv, crt->adpa_reg, adpa); in intel_crt_set_dpms()
453 struct intel_crt *crt = intel_attached_crt(to_intel_connector(connector)); in ilk_crt_detect_hotplug() local
459 if (crt->force_hotplug_required) { in ilk_crt_detect_hotplug()
463 crt->force_hotplug_required = false; in ilk_crt_detect_hotplug()
465 save_adpa = adpa = intel_de_read(dev_priv, crt->adpa_reg); in ilk_crt_detect_hotplug()
[all …]
/linux-5.19.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.c174 int get_rsa_crt_fc(struct ica_rsa_modexpo_crt *crt, int *fcode) in get_rsa_crt_fc() argument
176 if (!crt->inputdatalength) in get_rsa_crt_fc()
179 if (crt->inputdatalength <= 128) /* 1024 bit */ in get_rsa_crt_fc()
181 else if (crt->inputdatalength <= 256) /* 2048 bit */ in get_rsa_crt_fc()
268 struct ica_rsa_modexpo_crt *crt) in ICACRT_msg_to_type50CRT_msg() argument
273 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.c262 struct ica_rsa_modexpo_crt *crt) in icacrt_msg_to_type6crt_msgx() argument
290 if (WARN_ON_ONCE(crt->inputdatalength > PAGE_SIZE)) in icacrt_msg_to_type6crt_msgx()
294 msg->length = crt->inputdatalength + 2; in icacrt_msg_to_type6crt_msgx()
295 if (copy_from_user(msg->text, crt->inputdata, crt->inputdatalength)) in icacrt_msg_to_type6crt_msgx()
299 size = zcrypt_type6_crt_key(crt, msg->text + crt->inputdatalength); in icacrt_msg_to_type6crt_msgx()
302 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
1083 rc = icacrt_msg_to_type6crt_msgx(zq, ap_msg, crt); in zcrypt_msgtype6_modexpo_crt()
1095 crt->outputdata, in zcrypt_msgtype6_modexpo_crt()
1096 crt->outputdatalength); in zcrypt_msgtype6_modexpo_crt()
Dzcrypt_api.c786 struct ica_rsa_modexpo_crt *crt) in zcrypt_rsa_crt() argument
796 trace_s390_zcrypt_req(crt, TP_ICARSACRT); in zcrypt_rsa_crt()
805 if (crt->outputdatalength < crt->inputdatalength) { in zcrypt_rsa_crt()
816 crt->outputdatalength = crt->inputdatalength; in zcrypt_rsa_crt()
818 rc = get_rsa_crt_fc(crt, &func_code); in zcrypt_rsa_crt()
831 if (zc->min_mod_size > crt->inputdatalength || in zcrypt_rsa_crt()
832 zc->max_mod_size < crt->inputdatalength) in zcrypt_rsa_crt()
877 rc = pref_zq->ops->rsa_modexpo_crt(pref_zq, crt, &ap_msg); in zcrypt_rsa_crt()
889 trace_s390_zcrypt_rep(crt, func_code, rc, in zcrypt_rsa_crt()
1540 struct ica_rsa_modexpo_crt crt; in icarsacrt_ioctl() local
[all …]
Dzcrypt_msgtype50.h24 int get_rsa_crt_fc(struct ica_rsa_modexpo_crt *crt, int *fc);
/linux-5.19.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-5.19.10/crypto/
Dshash.c381 struct crypto_ahash *crt = __crypto_ahash_cast(tfm); in crypto_init_shash_ops_async() local
397 crt->init = shash_async_init; in crypto_init_shash_ops_async()
398 crt->update = shash_async_update; in crypto_init_shash_ops_async()
399 crt->final = shash_async_final; in crypto_init_shash_ops_async()
400 crt->finup = shash_async_finup; in crypto_init_shash_ops_async()
401 crt->digest = shash_async_digest; in crypto_init_shash_ops_async()
403 crt->setkey = shash_async_setkey; in crypto_init_shash_ops_async()
405 crypto_ahash_set_flags(crt, crypto_shash_get_flags(shash) & in crypto_init_shash_ops_async()
408 crt->export = shash_async_export; in crypto_init_shash_ops_async()
409 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-5.19.10/drivers/video/fbdev/
Dtdfxfb.c362 crt_outb(par, i, reg->crt[i]); in do_write_regs()
593 reg.crt[0x09] = 0x80; in tdfxfb_set_par()
641 reg.crt[0x00] = ht - 4; in tdfxfb_set_par()
642 reg.crt[0x01] = hd; in tdfxfb_set_par()
643 reg.crt[0x02] = hbs; in tdfxfb_set_par()
644 reg.crt[0x03] = 0x80 | (hbe & 0x1f); in tdfxfb_set_par()
645 reg.crt[0x04] = hs; in tdfxfb_set_par()
646 reg.crt[0x05] = ((hbe & 0x20) << 2) | (he & 0x1f); in tdfxfb_set_par()
647 reg.crt[0x06] = vt; in tdfxfb_set_par()
648 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()
/linux-5.19.10/drivers/acpi/
Dthermal.c54 static int crt; variable
55 module_param(crt, int, 0644);
56 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 pr_info("Critical threshold %d C\n", crt); in acpi_thermal_trips_update()
Dacpi_video.c179 u8 crt:1; member
1187 data->flags.crt = 1; in acpi_video_bus_get_one_device()
1210 data->flags.crt = 1; in acpi_video_bus_get_one_device()
1500 if (!video_device->flags.crt) in acpi_video_get_edid()
/linux-5.19.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-5.19.10/arch/arm/boot/dts/
Drtd1195.dtsi104 crt: syscon@0 { label
163 &crt {
/linux-5.19.10/drivers/video/fbdev/via/
Dioctl.h70 unsigned short crt:1; member
/linux-5.19.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-5.19.10/include/video/
Dtdfx.h159 unsigned char crt[25]; member
/linux-5.19.10/drivers/gpu/drm/nouveau/
Dnouveau_bios.h149 uint8_t crt, tv, panel; member
/linux-5.19.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-5.19.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-5.19.10/Documentation/fb/
Dtridentfb.rst48 crt assume monitor is present instead of fp

123