Home
last modified time | relevance | path

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

12

/drivers/gpu/drm/i915/
Dintel_crt.c71 struct intel_crt *crt = intel_encoder_to_crt(encoder); in intel_crt_get_hw_state() local
82 tmp = I915_READ(crt->adpa_reg); in intel_crt_get_hw_state()
102 struct intel_crt *crt = intel_encoder_to_crt(encoder); in intel_crt_get_flags() local
105 tmp = I915_READ(crt->adpa_reg); in intel_crt_get_flags()
152 struct intel_crt *crt = intel_encoder_to_crt(encoder); in intel_crt_set_dpms() local
195 I915_WRITE(crt->adpa_reg, adpa); in intel_crt_set_dpms()
308 struct intel_crt *crt = intel_attached_crt(connector); in intel_ironlake_crt_detect_hotplug() local
314 if (crt->force_hotplug_required) { in intel_ironlake_crt_detect_hotplug()
318 crt->force_hotplug_required = 0; in intel_ironlake_crt_detect_hotplug()
320 save_adpa = adpa = I915_READ(crt->adpa_reg); in intel_ironlake_crt_detect_hotplug()
[all …]
/drivers/s390/crypto/
Dzcrypt_cca_key.h274 static inline int zcrypt_type6_crt_key(struct ica_rsa_modexpo_crt *crt, in zcrypt_type6_crt_key() argument
294 short_len = (crt->inputdatalength + 1) / 2; in zcrypt_type6_crt_key()
297 key_len = 3*long_len + 2*short_len + pad_len + crt->inputdatalength; in zcrypt_type6_crt_key()
320 key->pvt.mod_len = crt->inputdatalength; in zcrypt_type6_crt_key()
324 if (copy_from_user(key->key_parts, crt->np_prime, long_len) || in zcrypt_type6_crt_key()
326 crt->nq_prime, short_len) || in zcrypt_type6_crt_key()
328 crt->bp_key, long_len) || in zcrypt_type6_crt_key()
330 crt->bq_key, short_len) || in zcrypt_type6_crt_key()
332 crt->u_mult_inv, long_len)) in zcrypt_type6_crt_key()
335 0xff, crt->inputdatalength); in zcrypt_type6_crt_key()
[all …]
Dzcrypt_msgtype50.c245 struct ica_rsa_modexpo_crt *crt) in ICACRT_msg_to_type50CRT_msg() argument
250 mod_len = crt->inputdatalength; in ICACRT_msg_to_type50CRT_msg()
306 if (copy_from_user(p, crt->np_prime + MSGTYPE_ADJUSTMENT, short_len) || in ICACRT_msg_to_type50CRT_msg()
307 copy_from_user(q, crt->nq_prime, short_len) || in ICACRT_msg_to_type50CRT_msg()
308 copy_from_user(dp, crt->bp_key + MSGTYPE_ADJUSTMENT, short_len) || in ICACRT_msg_to_type50CRT_msg()
309 copy_from_user(dq, crt->bq_key, short_len) || in ICACRT_msg_to_type50CRT_msg()
310 copy_from_user(u, crt->u_mult_inv + MSGTYPE_ADJUSTMENT, short_len) || in ICACRT_msg_to_type50CRT_msg()
311 copy_from_user(inp, crt->inputdata, mod_len)) in ICACRT_msg_to_type50CRT_msg()
472 struct ica_rsa_modexpo_crt *crt) in zcrypt_cex2a_modexpo_crt() argument
491 rc = ICACRT_msg_to_type50CRT_msg(zdev, &ap_msg, crt); in zcrypt_cex2a_modexpo_crt()
[all …]
Dzcrypt_api.c467 static long zcrypt_rsa_crt(struct ica_rsa_modexpo_crt *crt) in zcrypt_rsa_crt() argument
473 if (crt->outputdatalength < crt->inputdatalength) in zcrypt_rsa_crt()
480 crt->outputdatalength = crt->inputdatalength; in zcrypt_rsa_crt()
488 zdev->min_mod_size > crt->inputdatalength || in zcrypt_rsa_crt()
489 zdev->max_mod_size < crt->inputdatalength) in zcrypt_rsa_crt()
491 if (zdev->short_crt && crt->inputdatalength > 240) { in zcrypt_rsa_crt()
505 if (crt->inputdatalength <= 256) in zcrypt_rsa_crt()
506 len = crt->inputdatalength / 2 - 120; in zcrypt_rsa_crt()
512 if (copy_from_user(&z1, crt->np_prime, len) || in zcrypt_rsa_crt()
513 copy_from_user(&z2, crt->bp_key, len) || in zcrypt_rsa_crt()
[all …]
Dzcrypt_msgtype6.c230 struct ica_rsa_modexpo_crt *crt) in ICACRT_msg_to_type6CRT_msgX() argument
259 msg->length = crt->inputdatalength + 2; in ICACRT_msg_to_type6CRT_msgX()
260 if (copy_from_user(msg->text, crt->inputdata, crt->inputdatalength)) in ICACRT_msg_to_type6CRT_msgX()
264 size = zcrypt_type6_crt_key(crt, msg->text + crt->inputdatalength, 1); in ICACRT_msg_to_type6CRT_msgX()
267 size += sizeof(*msg) + crt->inputdatalength; /* total size of msg */ in ICACRT_msg_to_type6CRT_msgX()
956 struct ica_rsa_modexpo_crt *crt) in zcrypt_msgtype6_modexpo_crt() argument
972 rc = ICACRT_msg_to_type6CRT_msgX(zdev, &ap_msg, crt); in zcrypt_msgtype6_modexpo_crt()
982 crt->outputdata, in zcrypt_msgtype6_modexpo_crt()
983 crt->outputdatalength); in zcrypt_msgtype6_modexpo_crt()
/drivers/staging/lustre/lustre/obdclass/
Dcl_page.c780 static enum cl_page_state cl_req_type_state(enum cl_req_type crt) in cl_req_type_state() argument
782 return crt == CRT_WRITE ? CPS_PAGEOUT : CPS_PAGEIN; in cl_req_type_state()
786 struct cl_page *pg, enum cl_req_type crt) in cl_page_io_start() argument
792 cl_page_state_set(env, pg, cl_req_type_state(crt)); in cl_page_io_start()
803 struct cl_page *pg, enum cl_req_type crt) in cl_page_prep() argument
809 PINVRNT(env, pg, crt < CRT_NR); in cl_page_prep()
816 if (crt >= CRT_NR) in cl_page_prep()
818 result = cl_page_invoke(env, io, pg, CL_PAGE_OP(io[crt].cpo_prep)); in cl_page_prep()
820 cl_page_io_start(env, pg, crt); in cl_page_prep()
822 CL_PAGE_HEADER(D_TRACE, env, pg, "%d %d\n", crt, result); in cl_page_prep()
[all …]
/drivers/video/fbdev/geode/
Dvideo_gx.c302 int blank, hsync, vsync, crt; in gx_blank_display() local
307 blank = 0; hsync = 1; vsync = 1; crt = 1; in gx_blank_display()
310 blank = 1; hsync = 1; vsync = 1; crt = 1; in gx_blank_display()
313 blank = 1; hsync = 1; vsync = 0; crt = 1; in gx_blank_display()
316 blank = 1; hsync = 0; vsync = 1; crt = 1; in gx_blank_display()
319 blank = 1; hsync = 0; vsync = 0; crt = 0; in gx_blank_display()
333 if (crt) in gx_blank_display()
/drivers/video/fbdev/
Dtdfxfb.c363 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 …]
/drivers/acpi/
Dthermal.c70 static int crt; variable
71 module_param(crt, int, 0644);
72 MODULE_PARM_DESC(crt, "Disable or lower all critical trip points.");
315 if (crt == -1) { in acpi_thermal_trips_update()
317 } else if (crt > 0) { in acpi_thermal_trips_update()
318 unsigned long crt_k = CELSIUS_TO_DECI_KELVIN(crt); in acpi_thermal_trips_update()
324 crt); in acpi_thermal_trips_update()
/drivers/staging/lustre/lustre/osc/
Dosc_page.c84 struct osc_page *opg, enum cl_req_type crt) in osc_page_transfer_add() argument
91 list_add(&opg->ops_inflight, &obj->oo_inflight[crt]); in osc_page_transfer_add()
331 enum cl_req_type crt, int brw_flags) in osc_page_submit() argument
340 oap->oap_cmd = crt == CRT_WRITE ? OBD_BRW_WRITE : OBD_BRW_READ; in osc_page_submit()
352 osc_page_transfer_add(env, opg, crt); in osc_page_submit()
Dosc_io.c100 enum cl_req_type crt, struct cl_2queue *queue) in osc_io_submit() argument
120 CDEBUG(D_CACHE, "%d %d\n", qin->pl_nr, crt); in osc_io_submit()
126 cmd = crt == CRT_WRITE ? OBD_BRW_WRITE : OBD_BRW_READ; in osc_io_submit()
152 result = cl_page_prep(env, io, page, crt); in osc_io_submit()
171 osc_page_submit(env, opg, crt, brw_flags); in osc_io_submit()
/drivers/staging/lustre/lustre/include/
Dcl_object.h1564 enum cl_req_type crt,
2280 struct cl_page *pg, enum cl_req_type crt);
2282 struct cl_page *pg, enum cl_req_type crt, int ioret);
2284 enum cl_req_type crt);
2286 struct cl_page *pg, enum cl_req_type crt);
2527 enum cl_req_type crt, int nr_objects);
/drivers/gpu/drm/nouveau/nvkm/engine/disp/
Dgm107.c37 .outp.internal.crt = nv50_dac_output_new,
Dgk110.c37 .outp.internal.crt = nv50_dac_output_new,
Dgk104.c37 .outp.internal.crt = nv50_dac_output_new,
Dg84.c36 .outp.internal.crt = nv50_dac_output_new,
Dgp100.c37 .outp.internal.crt = nv50_dac_output_new,
Dgm200.c37 .outp.internal.crt = nv50_dac_output_new,
Dgt200.c36 .outp.internal.crt = nv50_dac_output_new,
Dg94.c36 .outp.internal.crt = nv50_dac_output_new,
Dpriv.h14 int (* crt)(struct nvkm_disp *, int index, struct dcb_output *, member
Dgt215.c36 .outp.internal.crt = nv50_dac_output_new,
Dgp104.c63 .outp.internal.crt = nv50_dac_output_new,
Dnv50.h57 int (* crt)(struct nvkm_disp *, int index, struct dcb_output *, member
/drivers/video/fbdev/via/
Dioctl.h84 unsigned short crt:1; member

12