Home
last modified time | relevance | path

Searched refs:mpd (Results 1 – 25 of 31) sorted by relevance

12

/mirbsd/src/sys/dev/ic/
Dcac.c565 } mpd; local
632 bzero(&mpd, sizeof mpd);
636 mpd.dp.rigid_geometry.pg_length = 0x16;
637 mpd.hd.data_length = sizeof mpd.hd + sizeof mpd.bd +
638 mpd.dp.rigid_geometry.pg_length;
639 mpd.hd.blk_desc_len = sizeof mpd.bd;
642 mpd.hd.dev_spec = 0;
643 _lto3b(CAC_SECTOR_SIZE, mpd.bd.blklen);
644 mpd.dp.rigid_geometry.pg_code = 4;
646 mpd.dp.rigid_geometry.ncyl);
[all …]
Dtwe.c796 } mpd; local
858 bzero(&mpd, sizeof mpd);
862 mpd.dp.rigid_geometry.pg_length = 0x16;
863 mpd.hd.data_length = sizeof mpd.hd + sizeof mpd.bd +
864 mpd.dp.rigid_geometry.pg_length;
865 mpd.hd.blk_desc_len = sizeof mpd.bd;
868 mpd.hd.dev_spec =
870 _lto3b(TWE_SECTOR_SIZE, mpd.bd.blklen);
871 mpd.dp.rigid_geometry.pg_code = 4;
875 mpd.dp.rigid_geometry.ncyl);
[all …]
Dgdt_common.c861 } mpd; local
909 bzero(&mpd, sizeof mpd);
913 mpd.dp.rigid_geometry.pg_length = 0x16;
914 mpd.hd.data_length = sizeof mpd.hd + sizeof mpd.bd +
915 mpd.dp.rigid_geometry.pg_length;
916 mpd.hd.blk_desc_len = sizeof mpd.bd;
919 mpd.hd.dev_spec =
921 _lto3b(GDT_SECTOR_SIZE, mpd.bd.blklen);
922 mpd.dp.rigid_geometry.pg_code = 4;
926 mpd.dp.rigid_geometry.ncyl);
[all …]
Dami.c1061 } mpd; local
1126 bzero(&mpd, sizeof mpd);
1130 mpd.dp.rigid_geometry.pg_length = 0x16;
1131 mpd.hd.data_length = sizeof mpd.hd + sizeof mpd.bd +
1132 mpd.dp.rigid_geometry.pg_length;
1133 mpd.hd.blk_desc_len = sizeof mpd.bd;
1135 mpd.hd.dev_spec = 0; /* writeprotect ? XXX */
1136 _lto3b(AMI_SECTOR_SIZE, mpd.bd.blklen);
1137 mpd.dp.rigid_geometry.pg_code = 4;
1141 mpd.dp.rigid_geometry.ncyl);
[all …]
Daac.c819 } mpd; local
866 bzero(&mpd, sizeof mpd);
870 mpd.dp.rigid_geometry.pg_length = 0x16;
871 mpd.hd.data_length = sizeof mpd.hd + sizeof mpd.bd +
872 mpd.dp.rigid_geometry.pg_length;
873 mpd.hd.blk_desc_len = sizeof mpd.bd;
876 mpd.hd.dev_spec = 0;
877 _lto3b(AAC_BLOCK_SIZE, mpd.bd.blklen);
878 mpd.dp.rigid_geometry.pg_code = 4;
882 mpd.dp.rigid_geometry.ncyl);
[all …]
/mirbsd/src/sys/dev/i2o/
Dioprbs.c744 } mpd; local
801 bzero(&mpd, sizeof mpd);
805 mpd.dp.rigid_geometry.pg_length = 0x16;
806 mpd.hd.data_length = sizeof mpd.hd + sizeof mpd.bd +
807 mpd.dp.rigid_geometry.pg_length;
808 mpd.hd.blk_desc_len = sizeof mpd.bd;
811 mpd.hd.dev_spec = 0;
812 _lto3b(IOPRBS_BLOCK_SIZE, mpd.bd.blklen);
813 mpd.dp.rigid_geometry.pg_code = 4;
814 _lto3b(sc->sc_ncylinders, mpd.dp.rigid_geometry.ncyl);
[all …]
/mirbsd/src/sys/dev/mii/
Dtxphy.c90 const struct mii_phydesc *mpd; in txphyattach() local
92 mpd = mii_phy_match(ma, txphys); in txphyattach()
93 printf(": %s, rev. %d\n", mpd->mpd_name, MII_REV(ma->mii_id2)); in txphyattach()
Dluphy.c100 const struct mii_phydesc *mpd; in luphyattach() local
102 mpd = mii_phy_match(ma, luphys); in luphyattach()
103 printf(": %s, rev. %d\n", mpd->mpd_name, MII_REV(ma->mii_id2)); in luphyattach()
Dmtdphy.c91 const struct mii_phydesc *mpd; in mtdphyattach() local
93 mpd = mii_phy_match(ma, mtdphys); in mtdphyattach()
94 printf(": %s, rev. %d\n", mpd->mpd_name, MII_REV(ma->mii_id2)); in mtdphyattach()
Dmii_physubr.c513 mii_phy_match(const struct mii_attach_args *ma, const struct mii_phydesc *mpd) in mii_phy_match() argument
516 for (; mpd->mpd_name != NULL; mpd++) { in mii_phy_match()
517 if (MII_OUI(ma->mii_id1, ma->mii_id2) == mpd->mpd_oui && in mii_phy_match()
518 MII_MODEL(ma->mii_id2) == mpd->mpd_model) in mii_phy_match()
519 return (mpd); in mii_phy_match()
Dnsphyter.c137 const struct mii_phydesc *mpd; in nsphyterattach() local
139 mpd = mii_phy_match(ma, nsphyterphys); in nsphyterattach()
140 printf(": %s, rev. %d\n", mpd->mpd_name, MII_REV(ma->mii_id2)); in nsphyterattach()
Dtqphy.c136 const struct mii_phydesc *mpd; in tqphyattach() local
138 mpd = mii_phy_match(ma, tqphys); in tqphyattach()
139 printf(": %s, rev. %d\n", mpd->mpd_name, MII_REV(ma->mii_id2)); in tqphyattach()
Dsqphy.c139 const struct mii_phydesc *mpd; in sqphyattach() local
141 mpd = mii_phy_match(ma, sqphys); in sqphyattach()
142 printf(": %s, rev. %d\n", mpd->mpd_name, MII_REV(ma->mii_id2)); in sqphyattach()
Diophy.c141 const struct mii_phydesc *mpd; local
143 mpd = mii_phy_match(ma, iophys);
144 printf(": %s, rev. %d\n", mpd->mpd_name, MII_REV(ma->mii_id2));
Dicsphy.c141 const struct mii_phydesc *mpd; in icsphyattach() local
143 mpd = mii_phy_match(ma, icsphys); in icsphyattach()
144 printf(": %s, rev. %d\n", mpd->mpd_name, MII_REV(ma->mii_id2)); in icsphyattach()
Dqsphy.c135 const struct mii_phydesc *mpd; in qsphyattach() local
137 mpd = mii_phy_match(ma, qsphys); in qsphyattach()
138 printf(": %s, rev. %d\n", mpd->mpd_name, MII_REV(ma->mii_id2)); in qsphyattach()
Dacphy.c107 const struct mii_phydesc *mpd; in acphyattach() local
109 mpd = mii_phy_match(ma, acphys); in acphyattach()
110 printf(": %s, rev. %d\n", mpd->mpd_name, MII_REV(ma->mii_id2)); in acphyattach()
Dbmtphy.c109 const struct mii_phydesc *mpd; in bmtphyattach() local
111 mpd = mii_phy_match(ma, bmtphys); in bmtphyattach()
112 printf(": %s, rev. %d\n", mpd->mpd_name, MII_REV(ma->mii_id2)); in bmtphyattach()
Dinphy.c144 const struct mii_phydesc *mpd; local
146 mpd = mii_phy_match(ma, inphys);
147 printf(": %s, rev. %d\n", mpd->mpd_name, MII_REV(ma->mii_id2));
Dlxtphy.c147 const struct mii_phydesc *mpd; local
158 mpd = mii_phy_match(ma, lxtphys);
159 printf(": %s, rev. %d\n", mpd->mpd_name, MII_REV(ma->mii_id2));
Dnsgphy.c111 const struct mii_phydesc *mpd; in nsgphyattach() local
113 mpd = mii_phy_match(ma, nsgphys); in nsgphyattach()
114 printf(": %s, rev. %d\n", mpd->mpd_name, MII_REV(ma->mii_id2)); in nsgphyattach()
Damphy.c110 const struct mii_phydesc *mpd; in amphyattach() local
112 mpd = mii_phy_match(ma, amphys); in amphyattach()
113 printf(": %s, rev. %d\n", mpd->mpd_name, MII_REV(ma->mii_id2)); in amphyattach()
Dnsphy.c136 const struct mii_phydesc *mpd; in nsphyattach() local
138 mpd = mii_phy_match(ma, nsphys); in nsphyattach()
139 printf(": %s, rev. %d\n", mpd->mpd_name, MII_REV(ma->mii_id2)); in nsphyattach()
Dxmphy.c107 const struct mii_phydesc *mpd; in xmphy_attach() local
109 mpd = mii_phy_match(ma, xmphys); in xmphy_attach()
110 printf(": %s, rev. %d\n", mpd->mpd_name, MII_REV(ma->mii_id2)); in xmphy_attach()
Dtlphy.c152 const struct mii_phydesc *mpd; in tlphyattach() local
154 mpd = mii_phy_match(ma, tlphys); in tlphyattach()
155 printf(": %s, rev. %d\n", mpd->mpd_name, MII_REV(ma->mii_id2)); in tlphyattach()

12