Home
last modified time | relevance | path

Searched refs:edp (Results 1 – 21 of 21) sorted by relevance

/openbsd/sys/dev/wscons/
H A Dwsemul_vt100.c270 edp->ccol = edp->crow = 0; in wsemul_vt100_resetop()
275 (*edp->emulops->cursor)(edp->emulcookie, 0, edp->crow, in wsemul_vt100_resetop()
290 edp->bkgdattr = edp->curattr = edp->defattr; in wsemul_vt100_reset()
397 (edp->emulcookie, edp->crow, edp->ccol << edp->dw, dc, in wsemul_vt100_output_normal()
401 (edp->emulcookie, edp->crow, edp->ccol, dc, in wsemul_vt100_output_normal()
671 edp->chartab_G[edp->designating] = edp->nrctab; in wsemul_vt100_output_scs94()
680 edp->chartab_G[edp->designating] = edp->isolatin1tab; in wsemul_vt100_output_scs94()
684 edp->chartab_G[edp->designating] = edp->decgraphtab; in wsemul_vt100_output_scs94()
688 edp->chartab_G[edp->designating] = edp->dectechtab; in wsemul_vt100_output_scs94()
869 edp->args[edp->nargs] = (edp->args[edp->nargs] * 10) + in wsemul_vt100_output_dcs()
[all …]
H A Dwsemul_sun.c182 edp->bkgdattr = edp->curattr = edp->defattr; in wsemul_sun_reset()
297 (edp->emulcookie, edp->crow, edp->ccol, n, in wsemul_sun_output_lowchars()
307 (edp->emulcookie, 0, edp->nrows, edp->bkgdattr)); in wsemul_sun_output_lowchars()
310 edp->ccol = edp->crow = 0; in wsemul_sun_output_lowchars()
352 (edp->emulcookie, edp->crow, edp->ccol, in wsemul_sun_output_normal()
423 (edp->emulcookie, edp->crow, src, n, edp->bkgdattr)); in wsemul_sun_control()
507 (edp->emulcookie, edp->crow, edp->ncols - n, n, in wsemul_sun_control()
615 edp->args[edp->nargs] = (edp->args[edp->nargs] * 10) + in wsemul_sun_output_control()
693 (edp->emulcookie, 0, edp->crow, edp->ccol); in wsemul_sun_output()
812 (edp->emulcookie, 1, edp->crow, edp->ccol); in wsemul_sun_output()
[all …]
H A Dwsemul_vt100_subr.c68 (edp->emulcookie, edp->scrreg_startrow + help, n, edp->bkgdattr)); in wsemul_vt100_scrollup()
105 (edp->emulcookie, edp->scrreg_startrow, n, edp->bkgdattr)); in wsemul_vt100_scrolldown()
136 n = edp->nrows - edp->crow - 1; in wsemul_vt100_ed()
139 (edp->emulcookie, edp->crow + 1, n, edp->bkgdattr)); in wsemul_vt100_ed()
151 (edp->emulcookie, 0, edp->crow, edp->bkgdattr)); in wsemul_vt100_ed()
168 (edp->emulcookie, 0, edp->nrows, edp->bkgdattr)); in wsemul_vt100_ed()
210 (edp->emulcookie, edp->crow, 0, edp->ncols, edp->bkgdattr)); in wsemul_vt100_el()
496 edp->crow < edp->scrreg_startrow + edp->scrreg_nrows) { in wsemul_vt100_handle_csi()
573 edp->tabs[edp->ccol] = 0; in wsemul_vt100_handle_csi()
593 edp->bkgdattr = edp->curattr = edp->defattr; in wsemul_vt100_handle_csi()
[all …]
H A Dwsemul_dumb.c170 (edp->emulcookie, 0, edp->crow, edp->ccol); in wsemul_dumb_output()
198 edp->ncols - edp->ccol - 1); in wsemul_dumb_output()
200 (edp->emulcookie, edp->crow, edp->ccol, n, in wsemul_dumb_output()
209 (edp->emulcookie, 0, edp->nrows, edp->defattr)); in wsemul_dumb_output()
223 (edp->emulcookie, edp->crow, edp->ccol, c, in wsemul_dumb_output()
230 if (edp->ccol < edp->ncols) in wsemul_dumb_output()
254 edp->ccol = edp->ncols - 1; in wsemul_dumb_output()
270 (edp->emulcookie, 1, edp->crow, edp->ccol); in wsemul_dumb_output()
315 (*edp->emulops->eraserows)(edp->emulcookie, 0, edp->nrows, in wsemul_dumb_resetop()
317 edp->ccol = edp->crow = 0; in wsemul_dumb_resetop()
[all …]
H A Dwsemul_vt100var.h109 #define ROWS_ABOVE ((int)edp->crow - (int)edp->scrreg_startrow)
110 #define ROWS_BELOW ((int)(edp->scrreg_startrow + edp->scrreg_nrows) \
114 if (edp->dblwid && edp->dblwid[edp->crow]) { \
115 edp->dw = 1; \
116 if (edp->ccol > (edp->ncols >> 1) - 1) \
117 edp->ccol = (edp->ncols >> 1) - 1; \
119 edp->dw = 0; \
121 #define NCOLS (edp->ncols >> edp->dw)
122 #define COPYCOLS(f, t, n) (edp->emulcookie, edp->crow, (f) << edp->dw, \
123 (t) << edp->dw, (n) << edp->dw)
[all …]
H A Dwsemul_vt100_chars.c83 if (edp->isolatin1tab != NULL) in vt100_initchartables()
85 (*edp->emulops->mapchar)(edp->emulcookie, 128 + i, in vt100_initchartables()
86 &edp->isolatin1tab[i]); in vt100_initchartables()
88 if (edp->decgraphtab != NULL) in vt100_initchartables()
90 (*edp->emulops->mapchar)(edp->emulcookie, in vt100_initchartables()
93 if (edp->dectechtab != NULL) in vt100_initchartables()
95 (*edp->emulops->mapchar)(edp->emulcookie, in vt100_initchartables()
98 vt100_setnrc(edp, 0); in vt100_initchartables()
151 if (edp->nrctab == NULL) in vt100_setnrc()
158 (*edp->emulops->mapchar)(edp->emulcookie, i, &edp->nrctab[i]); in vt100_setnrc()
[all …]
H A Dwsemul_vt100_keys.c91 struct wsemul_vt100_emuldata *edp = cookie; in wsemul_vt100_translate() local
94 *out = edp->translatebuf; in wsemul_vt100_translate()
96 edp->translatebuf, edp->flags & VTFL_UTF8)); in wsemul_vt100_translate()
111 if (edp->flags & VTFL_APPLKEYPAD) { in wsemul_vt100_translate()
144 edp->translatebuf[0] = in & 0xff; /* turn into ASCII */ in wsemul_vt100_translate()
145 *out = edp->translatebuf; in wsemul_vt100_translate()
190 if (edp->flags & VTFL_APPLCURSOR) in wsemul_vt100_translate()
197 if (edp->flags & VTFL_APPLCURSOR) in wsemul_vt100_translate()
204 if (edp->flags & VTFL_APPLCURSOR) in wsemul_vt100_translate()
211 if (edp->flags & VTFL_APPLCURSOR) in wsemul_vt100_translate()
H A Dwsemulvar.h197 #define WSEMULOP(rc, edp, was, rutin, args) \ argument
203 (rc) = (*(edp)->emulops->rutin) args ; \
209 #define WSEMULOP(rc, edp, was, rutin, args) \ argument
211 (void)(*(edp)->emulops->rutin) args ; \
/openbsd/sys/dev/pci/drm/i915/display/
H A Dintel_dp_aux_backlight.c160 panel->backlight.edp.intel.sdr_uses_aux = in intel_dp_aux_supports_hdr_backlight()
182 if (!panel->backlight.edp.intel.sdr_uses_aux) { in intel_dp_aux_hdr_get_backlight()
225 if (panel->backlight.edp.intel.sdr_uses_aux) { in intel_dp_aux_hdr_set_backlight()
255 if (panel->backlight.edp.intel.sdr_uses_aux) { in intel_dp_aux_hdr_enable_backlight()
279 if (panel->backlight.edp.intel.sdr_uses_aux) in intel_dp_aux_hdr_disable_backlight()
304 if (!panel->backlight.edp.intel.sdr_uses_aux) { in intel_dp_aux_hdr_setup_backlight()
346 if (!panel->backlight.edp.vesa.info.aux_set) { in intel_dp_aux_vesa_set_backlight()
366 if (!panel->backlight.edp.vesa.info.aux_set) in intel_dp_aux_vesa_enable_backlight()
387 if (!panel->backlight.edp.vesa.info.aux_enable) in intel_dp_aux_vesa_disable_backlight()
414 if (!panel->backlight.edp.vesa.info.aux_set || !panel->backlight.edp.vesa.info.aux_enable) { in intel_dp_aux_vesa_setup_backlight()
[all …]
H A Dintel_bios.c1389 const struct bdb_edp *edp; in parse_edp() local
1395 if (!edp) in parse_edp()
1400 panel->vbt.edp.bpp = 18; in parse_edp()
1403 panel->vbt.edp.bpp = 24; in parse_edp()
1406 panel->vbt.edp.bpp = 30; in parse_edp()
1414 panel->vbt.edp.pps = *edp_pps; in parse_edp()
1417 panel->vbt.edp.rate = in parse_edp()
1440 panel->vbt.edp.lanes = 1; in parse_edp()
1443 panel->vbt.edp.lanes = 2; in parse_edp()
1446 panel->vbt.edp.lanes = 4; in parse_edp()
[all …]
H A Dintel_dp.c451 int edp_max_rate = connector->panel.vbt.edp.max_link_rate; in vbt_max_link_rate()
1407 intel_connector->panel.vbt.edp.bpp && in intel_dp_max_bpp()
1408 intel_connector->panel.vbt.edp.bpp < bpp) { in intel_dp_max_bpp()
1411 intel_connector->panel.vbt.edp.bpp); in intel_dp_max_bpp()
1412 bpp = intel_connector->panel.vbt.edp.bpp; in intel_dp_max_bpp()
2169 pipe_config->msa_timing_delay = connector->panel.vbt.edp.drrs_msa_timing_delay; in intel_dp_drrs_compute_config()
3066 if (connector->panel.vbt.edp.bpp && pipe_bpp > connector->panel.vbt.edp.bpp) { in intel_edp_fixup_vbt_bpp()
3082 pipe_bpp, connector->panel.vbt.edp.bpp); in intel_edp_fixup_vbt_bpp()
3083 connector->panel.vbt.edp.bpp = pipe_bpp; in intel_edp_fixup_vbt_bpp()
H A Dintel_display_types.h326 } edp; member
399 } edp; member
H A Dintel_ddi_buf_trans.c1128 return connector->panel.vbt.edp.hobl && !intel_dp->hobl_failed; in use_edp_hobl()
1136 return connector->panel.vbt.edp.low_vswing; in use_edp_low_vswing()
H A Dintel_pps.c1357 *vbt = connector->panel.vbt.edp.pps; in pps_init_delays_vbt()
/openbsd/usr.sbin/pwd_mkdb/
H A Dpwd_mkdb.c100 DB *dp, *edp; in main() local
222 edp = dbopen(buf, in main()
225 edp = dbopen(buf, in main()
228 if (!edp) in main()
230 if (fchown(edp->fd(edp), -1, shadow) != 0) in main()
233 else if (fchmod(edp->fd(edp), PERM_SECURE|S_IRGRP) != 0) in main()
308 if ((edp->put)(edp, &key, &data, R_NOOVERWRITE) == -1) in main()
315 if ((edp->close)(edp)) in main()
515 db_store(FILE *fp, FILE *oldfp, DB *edp, DB *dp, struct passwd *pw, in db_store() argument
563 (edp->del)(edp, &key, 0); in db_store()
[all …]
/openbsd/sys/dev/eisa/
H A Deisa.c231 const struct eisa_knowndev *edp; in eisa_devinfo() local
243 edp = eisa_knowndevs; in eisa_devinfo()
244 while (edp->name != NULL) { in eisa_devinfo()
246 if ((edp->flags & EISA_KNOWNDEV_NOPROD) != 0) in eisa_devinfo()
247 match = !strncmp(edp->id, id, 3); in eisa_devinfo()
249 match = !strcmp(edp->id, id); in eisa_devinfo()
251 name = edp->name; in eisa_devinfo()
252 onlyvendor = (edp->flags & EISA_KNOWNDEV_NOPROD) != 0; in eisa_devinfo()
255 edp++; in eisa_devinfo()
/openbsd/sys/lib/libsa/
H A Dufs.c366 struct direct *dp, *edp; in search_directory() local
379 edp = (struct direct *)(buf + buf_size); in search_directory()
380 while (dp < edp) { in search_directory()
702 struct direct *dp, *edp; in ufs_readdir() local
721 edp = (struct direct *)(buf + buf_size); in ufs_readdir()
722 while (dp < edp && dp->d_ino == 0) in ufs_readdir()
725 ((u_int8_t *)edp - (u_int8_t *)dp); in ufs_readdir()
726 } while (dp >= edp); in ufs_readdir()
H A Dufs2.c362 struct direct *dp, *edp; in search_directory() local
375 edp = (struct direct *)(buf + buf_size); in search_directory()
376 while (dp < edp) { in search_directory()
698 struct direct *dp, *edp; in ufs2_readdir() local
717 edp = (struct direct *)(buf + buf_size); in ufs2_readdir()
718 while (dp < edp && dp->d_ino == 0) in ufs2_readdir()
721 ((u_int8_t *)edp - (u_int8_t *)dp); in ufs2_readdir()
722 } while (dp >= edp); in ufs2_readdir()
/openbsd/sys/arch/landisk/stand/xxboot/
H A Dufs12.c395 struct direct *dp, *edp; in search_directory() local
413 edp = (struct direct *)(buf + buf_size); in search_directory()
414 while (dp < edp) { in search_directory()
789 struct direct *dp, *edp; in ufs12_readdir()
813 edp = (struct direct *)(buf + buf_size); in ufs12_readdir()
814 while (dp < edp && dp->d_ino == 0) in ufs12_readdir()
817 ((u_int8_t *)edp - (u_int8_t *)dp); in ufs12_readdir()
818 } while (dp >= edp); in ufs12_readdir()
/openbsd/sys/miscfs/fuse/
H A Dfuse_vnops.c756 char *edp; in fusefs_readdir() local
813 edp = fbuf->fb_dat + fbuf->fb_len; in fusefs_readdir()
814 while ((char *)dp < edp) { in fusefs_readdir()
815 if ((char *)dp + offsetof(struct dirent, d_name) >= edp in fusefs_readdir()
817 || (char *)dp + dp->d_reclen > edp) { in fusefs_readdir()
/openbsd/sys/ufs/ufs/
H A Dufs_vnops.c1334 char *edp; in ufs_readdir() local
1369 edp = &diskbuf[readcnt]; in ufs_readdir()
1382 (char *)dp + offsetof(struct direct, d_name) < edp && in ufs_readdir()
1384 (char *)dp + dp->d_reclen <= edp) { in ufs_readdir()
1411 if ((char *)dp + offsetof(struct direct, d_name) < edp && in ufs_readdir()