Home
last modified time | relevance | path

Searched refs:mda_unit (Results 1 – 18 of 18) sorted by relevance

/freebsd/sys/dev/smbus/
H A Dsmb.c155 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()
/freebsd/sys/kern/
H A Dkern_conf.c575 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()
H A Dtty.c1422 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()
/freebsd/sys/dev/pbio/
H A Dpbio.c234 args.mda_unit = i; in pbioattach()
/freebsd/sys/dev/spibus/
H A Dspigen.c140 mda.mda_unit = unit; in spigen_attach()
/freebsd/sys/arm/ti/am335x/
H A Dam335x_dmtpps.c574 mda.mda_unit = device_get_unit(dev); in dmtpps_attach()
/freebsd/sys/sys/
H A Dconf.h267 int mda_unit; member
/freebsd/sys/cam/scsi/
H A Dscsi_pt.c281 args.mda_unit = periph->unit_number; in ptctor()
H A Dscsi_enc.c972 args.mda_unit = periph->unit_number; in enc_ctor()
H A Dscsi_sg.c359 args.mda_unit = periph->unit_number; in sgregister()
H A Dscsi_sa.c2656 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()
H A Dscsi_ch.c427 args.mda_unit = periph->unit_number; in chregister()
H A Dscsi_pass.c660 args.mda_unit = periph->unit_number; in passregister()
/freebsd/sys/dev/dpaa2/
H A Ddpaa2_console.c388 md_args.mda_unit = 0; in dpaa2_cons_create_dev()
/freebsd/sys/dev/nvme/
H A Dnvme_ns.c617 md_args.mda_unit = unit; in nvme_ns_construct()
H A Dnvme_ctrlr.c1593 md_args.mda_unit = device_get_unit(dev); in nvme_ctrlr_construct()
/freebsd/sys/dev/nvdimm/
H A Dnvdimm_spa.c515 mda.mda_unit = unit; in nvdimm_spa_dev_init()
/freebsd/sys/net/
H A Dif_tuntap.c797 args.mda_unit = unit; in tun_create_device()