fbreg.h (718cf2ccb9956613756ab15d7a0e28f2c8e91cab) fbreg.h (9a52756044676370f20527b85d450d5fc3ac32e5)
1/*-
2 * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
3 *
4 * Copyright (c) 1999 Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 313 unchanged lines hidden (view full) ---

322 int flag, int mode, struct thread *td);
323int genfbread(genfb_softc_t *sc, video_adapter_t *adp,
324 struct uio *uio, int flag);
325int genfbwrite(genfb_softc_t *sc, video_adapter_t *adp,
326 struct uio *uio, int flag);
327int genfbioctl(genfb_softc_t *sc, video_adapter_t *adp,
328 u_long cmd, caddr_t arg, int flag, struct thread *td);
329int genfbmmap(genfb_softc_t *sc, video_adapter_t *adp,
1/*-
2 * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
3 *
4 * Copyright (c) 1999 Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 313 unchanged lines hidden (view full) ---

322 int flag, int mode, struct thread *td);
323int genfbread(genfb_softc_t *sc, video_adapter_t *adp,
324 struct uio *uio, int flag);
325int genfbwrite(genfb_softc_t *sc, video_adapter_t *adp,
326 struct uio *uio, int flag);
327int genfbioctl(genfb_softc_t *sc, video_adapter_t *adp,
328 u_long cmd, caddr_t arg, int flag, struct thread *td);
329int genfbmmap(genfb_softc_t *sc, video_adapter_t *adp,
330 vm_ooffset_t offset, vm_offset_t *paddr,
330 vm_ooffset_t offset, vm_paddr_t *paddr,
331 int prot, vm_memattr_t *memattr);
332
333#endif /* FB_INSTALL_CDEV */
334
335/* generic low-level driver functions */
336
337void fb_dump_adp_info(char *driver, video_adapter_t *adp, int level);
338void fb_dump_mode_info(char *driver, video_adapter_t *adp,
339 video_info_t *info, int level);
340int fb_type(int adp_type);
341int fb_commonioctl(video_adapter_t *adp, u_long cmd, caddr_t arg);
342
343#endif /* _KERNEL */
344
345#endif /* !_DEV_FB_FBREG_H_ */
331 int prot, vm_memattr_t *memattr);
332
333#endif /* FB_INSTALL_CDEV */
334
335/* generic low-level driver functions */
336
337void fb_dump_adp_info(char *driver, video_adapter_t *adp, int level);
338void fb_dump_mode_info(char *driver, video_adapter_t *adp,
339 video_info_t *info, int level);
340int fb_type(int adp_type);
341int fb_commonioctl(video_adapter_t *adp, u_long cmd, caddr_t arg);
342
343#endif /* _KERNEL */
344
345#endif /* !_DEV_FB_FBREG_H_ */