/netbsd/sys/sys/ |
H A D | disklabel.h | 95 #define MAKEDISKDEV(maj, unit, part) \ argument 96 (makedev((maj), DISKMINOR((unit), (part))))
|
/netbsd/external/gpl2/lvm2/dist/lib/activate/ |
H A D | activate.h | 48 int target_version(const char *target_name, uint32_t *maj,
|
/netbsd/external/gpl2/lvm2/dist/include/ |
H A D | activate.h | 48 int target_version(const char *target_name, uint32_t *maj,
|
/netbsd/sys/arch/arm/imx/ |
H A D | imxuart.c | 370 int maj; in imxuart_attach_subr() local 373 maj = cdevsw_lookup_major(&imxcom_cdevsw); in imxuart_attach_subr() 375 if (maj != NODEVMAJOR) { in imxuart_attach_subr() 376 tp->t_dev = cn_tab->cn_dev = makedev(maj, in imxuart_attach_subr() 522 int maj, mn; 528 maj = cdevsw_lookup_major(&imxcom_cdevsw); 532 vdevgone(maj, mn, mn, VCHR); 535 vdevgone(maj, mn, mn, VCHR);
|
/netbsd/sys/arch/arm/at91/ |
H A D | at91usart.c | 298 int maj; in at91usart_attach_subr() local 301 maj = cdevsw_lookup_major(&at91usart_cdevsw); in at91usart_attach_subr() 303 cn_tab->cn_dev = makedev(maj, device_unit(sc->sc_dev)); in at91usart_attach_subr() 306 device_xname(sc->sc_dev), maj, device_unit(sc->sc_dev), in at91usart_attach_subr()
|
/netbsd/sys/arch/sparc64/dev/ |
H A D | sab.c | 392 int maj; in sabtty_attach() local 473 maj = cdevsw_lookup_major(&sabtty_cdevsw); in sabtty_attach() 474 cn_tab->cn_dev = makedev(maj, device_unit(self)); in sabtty_attach() 484 maj = cdevsw_lookup_major(&sabtty_cdevsw); in sabtty_attach() 485 cn_tab->cn_dev = makedev(maj, device_unit(self)); in sabtty_attach()
|
/netbsd/sys/external/bsd/drm2/dist/drm/savage/ |
H A D | savage_drv.h | 453 #define BCI_LINE_MISC(maj, ym, xp, yp, err) \ argument 454 (((maj) & 0x1FFF) | \
|
/netbsd/sys/external/bsd/drm/dist/shared-core/ |
H A D | savage_drv.h | 448 #define BCI_LINE_MISC(maj, ym, xp, yp, err) \ argument 449 (((maj) & 0x1FFF) | \
|
/netbsd/sys/dev/qbus/ |
H A D | rl.c | 344 int maj; in rlopen() local 352 maj = cdevsw_lookup_major(&rl_cdevsw); in rlopen() 353 if ((msg = readdisklabel(MAKEDISKDEV(maj, in rlopen()
|
/netbsd/sys/dev/usb/ |
H A D | uhid.c | 213 int maj, mn; in uhid_detach() local 220 maj = cdevsw_lookup_major(&uhid_cdevsw); in uhid_detach() 224 vdevgone(maj, mn, mn, VCHR); in uhid_detach()
|
/netbsd/external/bsd/openldap/dist/libraries/libldap/ |
H A D | cyrus.c | 84 #define VSTR0(maj, min, pat) #maj "." #min "." #pat in ldap_int_sasl_init() argument 85 #define VSTR(maj, min, pat) VSTR0(maj, min, pat) in ldap_int_sasl_init() argument
|
/netbsd/external/ibm-public/postfix/dist/src/util/ |
H A D | sys_defs.h | 788 #define HAVE_GLIBC_API_VERSION_SUPPORT(maj, min) __GLIBC_PREREQ(maj, min) argument 790 #define HAVE_GLIBC_API_VERSION_SUPPORT(maj, min) \ argument 792 ((__GLIBC__ << 16) + __GLIBC_MINOR__ >= ((maj) << 16) + (min)))
|
/netbsd/sys/dev/wscons/ |
H A D | wsmouse.c | 323 int maj, mn; in wsmouse_detach() local 356 maj = cdevsw_lookup_major(&wsmouse_cdevsw); in wsmouse_detach() 360 vdevgone(maj, mn, mn, VCHR); in wsmouse_detach()
|
H A D | wsdisplay.c | 500 int maj, mn, idx; in wsdisplay_closescreen() local 509 maj = cdevsw_lookup_major(&wsdisplay_cdevsw); in wsdisplay_closescreen() 521 vdevgone(maj, mn, mn, VCHR); in wsdisplay_closescreen() 650 int maj; in wsdisplay_emul_attach() local 653 maj = cdevsw_lookup_major(&wsdisplay_cdevsw); in wsdisplay_emul_attach() 655 cn_tab->cn_dev = makedev(maj, WSDISPLAYMINOR(device_unit(self), in wsdisplay_emul_attach()
|
/netbsd/sys/dev/ic/ |
H A D | stireg.h | 178 #define STI_REVISION(maj, min) (((maj) << 4) | ((min) & 0x0f)) argument
|
H A D | com.c | 806 int maj; in com_attach_subr() local 809 maj = cdevsw_lookup_major(&com_cdevsw); in com_attach_subr() 811 tp->t_dev = cn_tab->cn_dev = makedev(maj, in com_attach_subr() 907 int maj, mn; in com_detach() local 927 maj = cdevsw_lookup_major(&com_cdevsw); in com_detach() 931 vdevgone(maj, mn, mn, VCHR); in com_detach() 934 vdevgone(maj, mn, mn, VCHR); in com_detach()
|
H A D | ispvar.h | 765 #define ISP_FW_REV(maj, min, mic) ((maj << 24) | (min << 16) | mic) argument
|
/netbsd/sys/arch/hpcsh/dev/hd64461/ |
H A D | hd64461video.c | 310 int maj, unit; in hd64461video_cnprobe() local 317 maj = cdevsw_lookup_major(&wsdisplay_cdevsw); in hd64461video_cnprobe() 319 if (maj != -1) { in hd64461video_cnprobe() 321 cndev->cn_dev = makedev(maj, unit); in hd64461video_cnprobe()
|
/netbsd/sys/arch/evbarm/dev/ |
H A D | plcom.c | 593 int maj; in plcom_attach_subr() local 596 maj = cdevsw_lookup_major(&plcom_cdevsw); in plcom_attach_subr() 598 tp->t_dev = cn_tab->cn_dev = makedev(maj, device_unit(sc->sc_dev)); in plcom_attach_subr() 666 int maj, mn; in plcom_detach() local 677 maj = cdevsw_lookup_major(&plcom_cdevsw); in plcom_detach() 681 vdevgone(maj, mn, mn, VCHR); in plcom_detach() 684 vdevgone(maj, mn, mn, VCHR); in plcom_detach()
|
/netbsd/sys/dev/pci/ixgbe/ |
H A D | ixgbe_x550.h | 70 s32 ixgbe_set_fw_drv_ver_x550(struct ixgbe_hw *hw, u8 maj, u8 min,
|
/netbsd/sys/arch/sh3/dev/ |
H A D | sci.c | 1278 int maj; local 1281 maj = cdevsw_lookup_major(&sci_cdevsw); 1284 cp->cn_dev = makedev(maj, 0);
|
/netbsd/sys/arch/arm/ixp12x0/ |
H A D | ixp12x0_com.c | 228 int maj; in ixpcom_attach_subr() local 231 maj = cdevsw_lookup_major(&ixpcom_cdevsw); in ixpcom_attach_subr() 233 cn_tab->cn_dev = makedev(maj, device_unit(sc->sc_dev)); in ixpcom_attach_subr()
|
/netbsd/sys/arch/amiga/dev/ |
H A D | mfc.c | 1101 int maj; in mfcseint() local 1104 maj = cdevsw_lookup_major(&ser_cdevsw); in mfcseint() 1105 if (kgdb_dev == makedev(maj, unit) && c == FRAME_END) in mfcseint()
|
/netbsd/sys/arch/hpcmips/tx/ |
H A D | txcom.c | 242 int maj; in txcom_attach() local 244 maj = cdevsw_lookup_major(&txcom_cdevsw); in txcom_attach() 246 cn_tab->cn_dev = makedev(maj, device_unit(self)); in txcom_attach()
|
/netbsd/sys/arch/arm/ep93xx/ |
H A D | epcom.c | 246 int maj; in epcom_attach_subr() local 249 maj = cdevsw_lookup_major(&epcom_cdevsw); in epcom_attach_subr() 251 cn_tab->cn_dev = makedev(maj, device_unit(sc->sc_dev)); in epcom_attach_subr()
|