Home
last modified time | relevance | path

Searched full:crt (Results 1 – 25 of 183) sorted by relevance

12345678

/linux-6.14.4/drivers/gpu/drm/aspeed/
Daspeed_gfx.h28 #define CRT_CTRL1 0x60 /* CRT Control I */
29 #define CRT_CTRL2 0x64 /* CRT Control II */
30 #define CRT_STATUS 0x68 /* CRT Status */
31 #define CRT_MISC 0x6c /* CRT Misc Setting */
32 #define CRT_HORIZ0 0x70 /* CRT Horizontal Total & Display Enable End */
33 #define CRT_HORIZ1 0x74 /* CRT Horizontal Retrace Start & End */
34 #define CRT_VERT0 0x78 /* CRT Vertical Total & Display Enable End */
35 #define CRT_VERT1 0x7C /* CRT Vertical Retrace Start & End */
36 #define CRT_ADDR 0x80 /* CRT Display Starting Address */
37 #define CRT_OFFSET 0x84 /* CRT Display Offset & Terminal Count */
[all …]
/linux-6.14.4/drivers/gpu/drm/i915/display/
Dintel_crt.c112 struct intel_crt *crt = intel_encoder_to_crt(encoder); in intel_crt_get_hw_state() local
121 ret = intel_crt_port_enabled(display, crt->adpa_reg, pipe); in intel_crt_get_hw_state()
131 struct intel_crt *crt = intel_encoder_to_crt(encoder); in intel_crt_get_flags() local
134 tmp = intel_de_read(display, crt->adpa_reg); in intel_crt_get_flags()
181 struct intel_crt *crt = intel_encoder_to_crt(encoder); in intel_crt_set_dpms() local
222 intel_de_write(display, crt->adpa_reg, adpa); in intel_crt_set_dpms()
489 struct intel_crt *crt = intel_attached_crt(to_intel_connector(connector)); in ilk_crt_detect_hotplug() local
495 if (crt->force_hotplug_required) { in ilk_crt_detect_hotplug()
499 crt->force_hotplug_required = false; in ilk_crt_detect_hotplug()
501 save_adpa = adpa = intel_de_read(display, crt->adpa_reg); in ilk_crt_detect_hotplug()
[all …]
/linux-6.14.4/include/video/
Ds1d13xxxfb.h35 #define S1DREG_CRT_CLK_CNF 0x0018 /* CRT/TV Pixel Clock Configuration Register */
63 #define S1DREG_CRT_DISP_HWIDTH 0x0050 /* CRT/TV Horizontal Display Width Register: ((val)+1)*8)=pi…
64 #define S1DREG_CRT_NDISP_HPER 0x0052 /* CRT/TV Horizontal Non-Display Period Register */
65 #define S1DREG_CRT_HRTC_START 0x0053 /* CRT/TV HRTC Start Position Register */
66 #define S1DREG_CRT_HRTC_PWIDTH 0x0054 /* CRT/TV HRTC Pulse Width Register */
67 #define S1DREG_CRT_DISP_VHEIGHT0 0x0056 /* CRT/TV Vertical Display Height Register 0 */
68 #define S1DREG_CRT_DISP_VHEIGHT1 0x0057 /* CRT/TV Vertical Display Height Register 1 */
69 #define S1DREG_CRT_NDISP_VPER 0x0058 /* CRT/TV Vertical Non-Display Period Register */
70 #define S1DREG_CRT_VRTC_START 0x0059 /* CRT/TV VRTC Start Position Register */
71 #define S1DREG_CRT_VRTC_PWIDTH 0x005A /* CRT/TV VRTC Pulse Width Register */
[all …]
Dvga.h40 #define VGA_CRT_DC 0x3D5 /* CRT Controller Data Register - color emulation */
41 #define VGA_CRT_DM 0x3B5 /* CRT Controller Data Register - mono emulation */
59 #define VGA_CRT_IC 0x3D4 /* CRT Controller Index - color emulation */
60 #define VGA_CRT_IM 0x3B4 /* CRT Controller Index - mono emulation */
68 #define VGA_CRT_C 0x19 /* Number of CRT Controller Registers */
81 /* VGA CRT controller register indices */
109 /* VGA CRT controller bit masks */
191 __u32 num_crtc; /* number of crt registers, 0 for default */
/linux-6.14.4/arch/arm/mach-sa1100/
Djornada720.c64 {0x0018,0x01}, // CRT/TV Pixel Clock Configuration Register
92 {0x0050,0x4F}, // CRT/TV Horizontal Display Width Register
93 {0x0052,0x13}, // CRT/TV Horizontal Non-Display Period Register
94 {0x0053,0x01}, // CRT/TV HRTC Start Position Register
95 {0x0054,0x0B}, // CRT/TV HRTC Pulse Width Register
96 {0x0056,0xDF}, // CRT/TV Vertical Display Height Register 0
97 {0x0057,0x01}, // CRT/TV Vertical Display Height Register 1
98 {0x0058,0x2B}, // CRT/TV Vertical Non-Display Period Register
99 {0x0059,0x09}, // CRT/TV VRTC Start Position Register
100 {0x005A,0x01}, // CRT/TV VRTC Pulse Width Register
[all …]
/linux-6.14.4/Documentation/fb/
Dviafb.rst16 Device: CRT, LCD, DVI
20 CRT:
42 viafb_active_dev=CRT+DVI viafb_dvi_port=DVP1
109 This option is used to specify active devices.(CRT, DVI, CRT+LCD...)
121 To enable two devices, such as CRT+DVI::
123 modprobe viafb viafb_active_dev=CRT+DVI;
127 modprobe viafb viafb_active_dev=CRT+DVI
131 modprobe viafb viafb_active_dev=DVI+CRT...
135 If CRT is primary and DVI is secondary, we should use::
137 modprobe viafb viafb_active_dev=CRT+DVI viafb_SAMM_ON=1...
[all …]
/linux-6.14.4/drivers/s390/crypto/
Dzcrypt_cca_key.h55 * mapping for the cca private CRT key 'token'
152 * Set up private key fields of a type6 CRT message.
159 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()
[all …]
Dzcrypt_msgtype50.c97 /* CRT, with a small modulus */
110 /* CRT, with a large modulus */
123 /* CRT, with a larger modulus */
171 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()
250 * Convert a ICACRT message to a type50 CRT message.
254 * @crt: pointer to user input data
260 struct ica_rsa_modexpo_crt *crt) in ICACRT_msg_to_type50CRT_msg() argument
[all …]
Dzcrypt_msgtype6.c252 * Convert a ICACRT message to a type6 CRT message.
256 * @crt: pointer to user input data
262 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()
1014 * @crt: pointer to the modexpoc_crt request buffer
1017 struct ica_rsa_modexpo_crt *crt, in zcrypt_msgtype6_modexpo_crt() argument
[all …]
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()
757 if (crt->outputdatalength < crt->inputdatalength) { in zcrypt_rsa_crt()
768 crt->outputdatalength = crt->inputdatalength; in zcrypt_rsa_crt()
770 rc = get_rsa_crt_fc(crt, &func_code); in zcrypt_rsa_crt()
783 if (zc->min_mod_size > crt->inputdatalength || in zcrypt_rsa_crt()
784 zc->max_mod_size < crt->inputdatalength) in zcrypt_rsa_crt()
828 rc = pref_zq->ops->rsa_modexpo_crt(pref_zq, crt, &ap_msg); in zcrypt_rsa_crt()
840 trace_s390_zcrypt_rep(crt, func_code, rc, in zcrypt_rsa_crt()
1496 struct ica_rsa_modexpo_crt crt; in icarsacrt_ioctl() local
[all …]
/linux-6.14.4/drivers/video/fbdev/geode/
Dvideo_gx.c262 /* Power up the CRT DACs */ in gx_configure_display()
267 * in CRT mode. The FP polarities will be handled in in gx_configure_display()
274 /* Power down the CRT DACs if in FP mode */ in gx_configure_display()
298 int blank, hsync, vsync, crt; in gx_blank_display() local
300 /* CRT power saving modes. */ in gx_blank_display()
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()
[all …]
Dgx1fb_core.c300 /* CRT and panel options */ in gx1fb_init_fbinfo()
305 par->enable_crt = 1; /* fall back to CRT if no panel is specified */ in gx1fb_init_fbinfo()
415 else if (!strncmp(this_opt, "crt:", 4)) in gx1fb_setup()
469 module_param_named(crt, crt_option, int, 0444);
470 MODULE_PARM_DESC(crt, "enable CRT output. 0 = off, 1 = on (default)");
/linux-6.14.4/drivers/crypto/caam/
Dcaampkc.h35 * dP the first factors's CRT exponent
36 * dQ the second factors's CRT exponent
37 * qInv the (first) CRT coefficient
55 * @dp : RSA CRT exponent of p
56 * @dp : RSA CRT exponent of q
57 * @qinv : RSA CRT coefficient
/linux-6.14.4/drivers/platform/x86/
Dasus-nb-wmi.c582 { KE_KEY, 0x62, { KEY_SWITCHVIDEOMODE } }, /* SDSP CRT only */
583 { KE_KEY, 0x63, { KEY_SWITCHVIDEOMODE } }, /* SDSP LCD + CRT */
586 { KE_KEY, 0x66, { KEY_SWITCHVIDEOMODE } }, /* SDSP CRT + TV */
587 { KE_KEY, 0x67, { KEY_SWITCHVIDEOMODE } }, /* SDSP LCD + CRT + TV */
604 { KE_KEY, 0x8E, { KEY_SWITCHVIDEOMODE } }, /* SDSP CRT + DVI */
606 { KE_KEY, 0x90, { KEY_SWITCHVIDEOMODE } }, /* SDSP LCD + CRT + DVI */
608 { KE_KEY, 0x92, { KEY_SWITCHVIDEOMODE } }, /* SDSP CRT + TV + DVI */
609 { KE_KEY, 0x93, { KEY_SWITCHVIDEOMODE } }, /* SDSP LCD + CRT + TV + DVI */
614 { KE_KEY, 0xA2, { KEY_SWITCHVIDEOMODE } }, /* SDSP CRT + HDMI */
616 { KE_KEY, 0xA4, { KEY_SWITCHVIDEOMODE } }, /* SDSP LCD + CRT + HDMI */
[all …]
/linux-6.14.4/drivers/staging/sm750fb/
Dsm750.h25 sm750_dual_normal, /* primary => panel head and secondary => crt */
26 sm750_dual_swap, /* primary => crt head and secondary => panel */
38 sm750_pnc = 3, /* panel and crt */
160 * paths=2:means output for crt paths
161 * paths=3:means output for both panel and crt paths
Dddk750_display.h59 * crt path select
90 * CRT means crt path DSUB
/linux-6.14.4/drivers/gpu/drm/gma500/
Dcdv_intel_crt.c108 * Disable separate mode multiplier used when cloning SDVO to CRT in cdv_intel_crt_mode_set()
133 * Uses CRT_HOTPLUG_EN and CRT_HOTPLUG_STAT to detect CRT presence.
135 * \return true if CRT is connected.
136 * \return false if CRT is disconnected.
147 * On a CDV thep, CRT detect sequence need to be done twice in cdv_intel_crt_detect_hotplug()
/linux-6.14.4/crypto/
Dscompress.c210 struct crypto_acomp *crt = __crypto_acomp_tfm(tfm); in crypto_init_scomp_ops_async() local
226 crt->compress = scomp_acomp_compress; in crypto_init_scomp_ops_async()
227 crt->decompress = scomp_acomp_decompress; in crypto_init_scomp_ops_async()
228 crt->dst_free = sgl_free; in crypto_init_scomp_ops_async()
229 crt->reqsize = sizeof(void *); in crypto_init_scomp_ops_async()
/linux-6.14.4/drivers/video/fbdev/
Dsm501fb.c90 unsigned long pm_crt_ctrl; /* pm: crt ctrl save */
291 * check common variables for both panel and crt
407 * check the parameters for the CRT head, and either bring them
419 * check the parameters for the CRT head, and either bring them
508 /* program CRT clock */ in sm501fb_set_par_common()
582 * pan the CRT display output within an virtual framebuffer
634 * Set the CRT video mode from the fb_info structure
649 /* enable CRT DAC - note 0 is on!*/ in sm501fb_set_par_crt()
707 control |= SM501_DC_CRT_CONTROL_SEL; /* CRT displays CRT data */ in sm501fb_set_par_crt()
708 control |= SM501_DC_CRT_CONTROL_TE; /* enable CRT timing */ in sm501fb_set_par_crt()
[all …]
Dtdfxfb.c346 crt_outb(par, 0x11, crt_inb(par, 0x11) & 0x7f); /* CRT unprotect */ in do_write_regs()
363 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()
[all …]
/linux-6.14.4/include/linux/
Dsm501.h57 SM501_FB_OWN = 0, /* CRT=>CRT, Panel=>Panel */
58 SM501_FB_CRT_PANEL = 1, /* Panel=>CRT, Panel=>Panel */
/linux-6.14.4/Documentation/ABI/testing/
Dsysfs-platform-eeepc-laptop9 - 2 = CRT
10 - 3 = LCD+CRT
Dsysfs-platform-asus-laptop11 ||`-- CRT
17 - 3 (0011b) CRT+LCD.
/linux-6.14.4/drivers/video/fbdev/aty/
Dradeon_monitor.c39 pret = "CRT"; in radeon_get_mon_name()
86 else if (!strcmp(pmt, "CRT")) in radeon_parse_montype_prop()
260 "NONE", "Proprietary", "CRT", "DVI-I", "DVI-D", "Unknown", "Unknown", in radeon_parse_connector_info()
297 * Probe physical connection of a CRT. This code comes from XFree
298 * as well and currently is only implemented for the CRT DAC, the
305 /* the monitor either wasn't connected or it is a non-DDC CRT. in radeon_crt_is_connected()
414 if (strcmp(s1, "CRT") == 0) in radeon_parse_monitor_layout()
421 if (strcmp(s2, "CRT") == 0) in radeon_parse_monitor_layout()
476 printk(KERN_INFO "radeonfb: No valid monitor, assuming CRT on first port\n"); in radeon_probe_screens()
596 * assume CRT (maybe fallback to old BIOS_SCRATCH stuff ? or look in radeon_probe_screens()
[all …]
/linux-6.14.4/drivers/video/fbdev/via/
Dviafbdev.c357 /* control CRT monitor power management */ in viafb_blank()
362 /* control CRT monitor power management */ in viafb_blank()
367 /* control CRT monitor power management */ in viafb_blank()
372 /* control CRT monitor power management */ in viafb_blank()
500 u.active_dev.crt = viafb_CRT_ON; in viafb_ioctl()
921 DEBUG_MSG(KERN_INFO "CRT IGA Path:%d\n", IGA1); in get_primary_device()
1006 } else if (!strcmp(viafb_active_dev, "CRT+DVI")) { in parse_active_dev()
1007 /* CRT+DVI */ in parse_active_dev()
1011 } else if (!strcmp(viafb_active_dev, "DVI+CRT")) { in parse_active_dev()
1012 /* DVI+CRT */ in parse_active_dev()
[all …]

12345678