Searched refs:mda_unit (Results 1 – 18 of 18) sorted by relevance
155 mda.mda_unit = device_get_unit(dev); in smb_attach() 160 error = make_dev_s(&mda, &sc->sc_devnode, "smb%d", mda.mda_unit); in smb_attach()
575 if (dev2unit(si2) == args->mda_unit) { in newdev()594 si->si_drv0 = args->mda_unit; in newdev()865 args.mda_unit = unit; in make_dev_credv()1362 args.mda_unit = unit | extra; in clone_create()
1422 args.mda_unit = TTYUNIT_INIT; in tty_makedevf()1430 args.mda_unit = TTYUNIT_LOCK; in tty_makedevf()1447 args.mda_unit = TTYUNIT_CALLOUT; in tty_makedevf()1457 args.mda_unit = TTYUNIT_CALLOUT | TTYUNIT_INIT; in tty_makedevf()1464 args.mda_unit = TTYUNIT_CALLOUT | TTYUNIT_LOCK; in tty_makedevf()
234 args.mda_unit = i; in pbioattach()
140 mda.mda_unit = unit; in spigen_attach()
574 mda.mda_unit = device_get_unit(dev); in dmtpps_attach()
267 int mda_unit; member
281 args.mda_unit = periph->unit_number; in ptctor()
972 args.mda_unit = periph->unit_number; in enc_ctor()
359 args.mda_unit = periph->unit_number; in sgregister()
2656 args.mda_unit = SAMINOR(SA_CTLDEV, SA_ATYPE_R); in saregister()2665 args.mda_unit = SAMINOR(SA_NOT_CTLDEV, SA_ATYPE_R); in saregister()2674 args.mda_unit = SAMINOR(SA_NOT_CTLDEV, SA_ATYPE_NR); in saregister()2683 args.mda_unit = SAMINOR(SA_NOT_CTLDEV, SA_ATYPE_ER); in saregister()
427 args.mda_unit = periph->unit_number; in chregister()
660 args.mda_unit = periph->unit_number; in passregister()
388 md_args.mda_unit = 0; in dpaa2_cons_create_dev()
617 md_args.mda_unit = unit; in nvme_ns_construct()
1593 md_args.mda_unit = device_get_unit(dev); in nvme_ctrlr_construct()
515 mda.mda_unit = unit; in nvdimm_spa_dev_init()
797 args.mda_unit = unit; in tun_create_device()