Home
last modified time | relevance | path

Searched refs:maj (Results 101 – 125 of 224) sorted by relevance

123456789

/netbsd/sys/sys/
H A Ddisklabel.h95 #define MAKEDISKDEV(maj, unit, part) \ argument
96 (makedev((maj), DISKMINOR((unit), (part))))
/netbsd/external/gpl2/lvm2/dist/lib/activate/
H A Dactivate.h48 int target_version(const char *target_name, uint32_t *maj,
/netbsd/external/gpl2/lvm2/dist/include/
H A Dactivate.h48 int target_version(const char *target_name, uint32_t *maj,
/netbsd/sys/arch/arm/imx/
H A Dimxuart.c370 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 Dat91usart.c298 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 Dsab.c392 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 Dsavage_drv.h453 #define BCI_LINE_MISC(maj, ym, xp, yp, err) \ argument
454 (((maj) & 0x1FFF) | \
/netbsd/sys/external/bsd/drm/dist/shared-core/
H A Dsavage_drv.h448 #define BCI_LINE_MISC(maj, ym, xp, yp, err) \ argument
449 (((maj) & 0x1FFF) | \
/netbsd/sys/dev/qbus/
H A Drl.c344 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 Duhid.c213 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 Dcyrus.c84 #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 Dsys_defs.h788 #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 Dwsmouse.c323 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 Dwsdisplay.c500 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 Dstireg.h178 #define STI_REVISION(maj, min) (((maj) << 4) | ((min) & 0x0f)) argument
H A Dcom.c806 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 Dispvar.h765 #define ISP_FW_REV(maj, min, mic) ((maj << 24) | (min << 16) | mic) argument
/netbsd/sys/arch/hpcsh/dev/hd64461/
H A Dhd64461video.c310 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 Dplcom.c593 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 Dixgbe_x550.h70 s32 ixgbe_set_fw_drv_ver_x550(struct ixgbe_hw *hw, u8 maj, u8 min,
/netbsd/sys/arch/sh3/dev/
H A Dsci.c1278 int maj; local
1281 maj = cdevsw_lookup_major(&sci_cdevsw);
1284 cp->cn_dev = makedev(maj, 0);
/netbsd/sys/arch/arm/ixp12x0/
H A Dixp12x0_com.c228 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 Dmfc.c1101 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 Dtxcom.c242 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 Depcom.c246 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()

123456789