Home
last modified time | relevance | path

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

/drivers/gpu/drm/i915/display/
Dintel_crt.c103 struct intel_crt *crt = intel_encoder_to_crt(encoder); in intel_crt_get_hw_state() local
112 ret = intel_crt_port_enabled(dev_priv, crt->adpa_reg, pipe); in intel_crt_get_hw_state()
122 struct intel_crt *crt = intel_encoder_to_crt(encoder); in intel_crt_get_flags() local
125 tmp = intel_de_read(dev_priv, crt->adpa_reg); in intel_crt_get_flags()
171 struct intel_crt *crt = intel_encoder_to_crt(encoder); in intel_crt_set_dpms() local
212 intel_de_write(dev_priv, crt->adpa_reg, adpa); in intel_crt_set_dpms()
469 struct intel_crt *crt = intel_attached_crt(to_intel_connector(connector)); in ilk_crt_detect_hotplug() local
475 if (crt->force_hotplug_required) { in ilk_crt_detect_hotplug()
479 crt->force_hotplug_required = false; in ilk_crt_detect_hotplug()
481 save_adpa = adpa = intel_de_read(dev_priv, crt->adpa_reg); in ilk_crt_detect_hotplug()
[all …]
/drivers/s390/crypto/
Dzcrypt_cca_key.h159 static inline int zcrypt_type6_crt_key(struct ica_rsa_modexpo_crt *crt, void *p) in zcrypt_type6_crt_key() argument
182 if (WARN_ON_ONCE(crt->inputdatalength > 512)) in zcrypt_type6_crt_key()
187 short_len = (crt->inputdatalength + 1) / 2; in zcrypt_type6_crt_key()
190 key_len = 3 * long_len + 2 * short_len + pad_len + crt->inputdatalength; in zcrypt_type6_crt_key()
208 key->pvt.mod_len = crt->inputdatalength; in zcrypt_type6_crt_key()
212 if (copy_from_user(key->key_parts, crt->np_prime, long_len) || in zcrypt_type6_crt_key()
214 crt->nq_prime, short_len) || in zcrypt_type6_crt_key()
216 crt->bp_key, long_len) || in zcrypt_type6_crt_key()
218 crt->bq_key, short_len) || in zcrypt_type6_crt_key()
220 crt->u_mult_inv, long_len)) in zcrypt_type6_crt_key()
[all …]
Dzcrypt_msgtype50.c171 int get_rsa_crt_fc(struct ica_rsa_modexpo_crt *crt, int *fcode) in get_rsa_crt_fc() argument
173 if (!crt->inputdatalength) in get_rsa_crt_fc()
176 if (crt->inputdatalength <= 128) /* 1024 bit */ in get_rsa_crt_fc()
178 else if (crt->inputdatalength <= 256) /* 2048 bit */ in get_rsa_crt_fc()
260 struct ica_rsa_modexpo_crt *crt) in ICACRT_msg_to_type50CRT_msg() argument
265 mod_len = crt->inputdatalength; in ICACRT_msg_to_type50CRT_msg()
325 if (copy_from_user(p, crt->np_prime + MSGTYPE_ADJUSTMENT, short_len) || in ICACRT_msg_to_type50CRT_msg()
326 copy_from_user(q, crt->nq_prime, short_len) || in ICACRT_msg_to_type50CRT_msg()
327 copy_from_user(dp, crt->bp_key + MSGTYPE_ADJUSTMENT, short_len) || in ICACRT_msg_to_type50CRT_msg()
328 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()
1021 struct ica_rsa_modexpo_crt *crt, in zcrypt_msgtype6_modexpo_crt() argument
1037 rc = icacrt_msg_to_type6crt_msgx(zq, ap_msg, crt); in zcrypt_msgtype6_modexpo_crt()
1049 crt->outputdata, in zcrypt_msgtype6_modexpo_crt()
1050 crt->outputdatalength); in zcrypt_msgtype6_modexpo_crt()
Dzcrypt_api.c746 struct ica_rsa_modexpo_crt *crt) in zcrypt_rsa_crt() argument
756 trace_s390_zcrypt_req(crt, TP_ICARSACRT); in zcrypt_rsa_crt()
760 if (crt->outputdatalength < crt->inputdatalength) { in zcrypt_rsa_crt()
771 crt->outputdatalength = crt->inputdatalength; in zcrypt_rsa_crt()
773 rc = get_rsa_crt_fc(crt, &func_code); in zcrypt_rsa_crt()
786 if (zc->min_mod_size > crt->inputdatalength || in zcrypt_rsa_crt()
787 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()
1459 struct ica_rsa_modexpo_crt crt; in icarsacrt_ioctl() local
[all …]
Dzcrypt_msgtype50.h23 int get_rsa_crt_fc(struct ica_rsa_modexpo_crt *crt, int *fc);
/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.c469 module_param_named(crt, crt_option, int, 0444);
470 MODULE_PARM_DESC(crt, "enable CRT output. 0 = off, 1 = on (default)");
/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.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.c73 static int crt; variable
92 module_param(crt, int, 0);
93 MODULE_PARM_DESC(crt, "Define if CRT is connected");
904 if (crt || !iscyber(par->chip_id)) in is_flatpanel()
/drivers/acpi/
Dthermal.c77 static int crt; variable
78 module_param(crt, int, 0644);
79 MODULE_PARM_DESC(crt, "Disable or lower all critical trip points.");
223 if (crt == -1) { in __acpi_thermal_trips_update()
225 } else if (crt > 0) { in __acpi_thermal_trips_update()
226 unsigned long crt_k = celsius_to_deci_kelvin(crt); in __acpi_thermal_trips_update()
232 pr_info("Critical threshold %d C\n", crt); in __acpi_thermal_trips_update()
1060 crt = -1; in thermal_nocrt()
Dacpi_video.c174 u8 crt:1; member
1146 data->flags.crt = 1; in acpi_video_bus_get_one_device()
1169 data->flags.crt = 1; in acpi_video_bus_get_one_device()
1461 if (!video_device->flags.crt) in acpi_video_get_edid()
/drivers/video/fbdev/via/
Dioctl.h70 unsigned short crt:1; member
Dviafbdev.c500 u.active_dev.crt = viafb_CRT_ON; in viafb_ioctl()
/drivers/gpu/drm/nouveau/
Dnouveau_bios.h149 uint8_t crt, tv, panel; member
Dnouveau_bios.c1196 bios->legacy.i2c_indices.crt = bios->data[legacy_i2c_offset]; in parse_bmp_structure()
1773 bios->legacy.i2c_indices.crt, 1, DCB_OUTPUT_B); in fabricate_dcb_encoder_table()
/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()
Dmatroxfb_base.c902 u_int32_t crt; in matroxfb_ioctl() local
904 if (get_user(crt, (u_int32_t __user *)arg)) in matroxfb_ioctl()
907 return matroxfb_wait_for_sync(minfo, crt); in matroxfb_ioctl()
/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()
/drivers/pinctrl/tegra/
Dpinctrl-tegra20.c1898 FUNCTION(crt),
2200 DRV_PG(crt, 0x8ec),
Dpinctrl-tegra30.c2022 FUNCTION(crt),
2431 DRV_PINGROUP(crt, 0x8f8, 2, 3, 4, 12, 5, 20, 5, 28, 2, 30, 2),