Searched refs:pmdio (Results 1 – 11 of 11) sorted by relevance
95 struct ls1012aqds_mdio *pmdio; in ls1012aqds_mdio_init() local103 pmdio = malloc(sizeof(*pmdio)); in ls1012aqds_mdio_init()104 if (!pmdio) { in ls1012aqds_mdio_init()115 pmdio->realbus = miiphy_get_dev_by_name(realbusname); in ls1012aqds_mdio_init()117 if (!pmdio->realbus) { in ls1012aqds_mdio_init()120 free(pmdio); in ls1012aqds_mdio_init()124 pmdio->muxval = muxval; in ls1012aqds_mdio_init()125 bus->priv = pmdio; in ls1012aqds_mdio_init()
119 struct ls1046aqds_mdio *pmdio; in ls1046aqds_mdio_init() local127 pmdio = malloc(sizeof(*pmdio)); in ls1046aqds_mdio_init()128 if (!pmdio) { in ls1046aqds_mdio_init()139 pmdio->realbus = miiphy_get_dev_by_name(realbusname); in ls1046aqds_mdio_init()141 if (!pmdio->realbus) { in ls1046aqds_mdio_init()144 free(pmdio); in ls1046aqds_mdio_init()148 pmdio->muxval = muxval; in ls1046aqds_mdio_init()149 bus->priv = pmdio; in ls1046aqds_mdio_init()
132 struct t1024qds_mdio *pmdio; in t1024qds_mdio_init() local140 pmdio = malloc(sizeof(*pmdio)); in t1024qds_mdio_init()141 if (!pmdio) { in t1024qds_mdio_init()152 pmdio->realbus = miiphy_get_dev_by_name(realbusname); in t1024qds_mdio_init()154 if (!pmdio->realbus) { in t1024qds_mdio_init()157 free(pmdio); in t1024qds_mdio_init()161 pmdio->muxval = muxval; in t1024qds_mdio_init()162 bus->priv = pmdio; in t1024qds_mdio_init()
186 struct p4080ds_mdio *pmdio; in p4080ds_mdio_init() local194 pmdio = malloc(sizeof(*pmdio)); in p4080ds_mdio_init()195 if (!pmdio) { in p4080ds_mdio_init()206 pmdio->realbus = miiphy_get_dev_by_name(realbusname); in p4080ds_mdio_init()208 if (!pmdio->realbus) { in p4080ds_mdio_init()211 free(pmdio); in p4080ds_mdio_init()215 pmdio->muxval = muxval; in p4080ds_mdio_init()216 bus->priv = pmdio; in p4080ds_mdio_init()
146 struct t1040_qds_mdio *pmdio; in t1040_qds_mdio_init() local154 pmdio = malloc(sizeof(*pmdio)); in t1040_qds_mdio_init()155 if (!pmdio) { in t1040_qds_mdio_init()166 pmdio->realbus = miiphy_get_dev_by_name(realbusname); in t1040_qds_mdio_init()168 if (!pmdio->realbus) { in t1040_qds_mdio_init()171 free(pmdio); in t1040_qds_mdio_init()175 pmdio->muxval = muxval; in t1040_qds_mdio_init()176 bus->priv = pmdio; in t1040_qds_mdio_init()
123 struct ls1043aqds_mdio *pmdio; in ls1043aqds_mdio_init() local131 pmdio = malloc(sizeof(*pmdio)); in ls1043aqds_mdio_init()132 if (!pmdio) { in ls1043aqds_mdio_init()143 pmdio->realbus = miiphy_get_dev_by_name(realbusname); in ls1043aqds_mdio_init()145 if (!pmdio->realbus) { in ls1043aqds_mdio_init()148 free(pmdio); in ls1043aqds_mdio_init()152 pmdio->muxval = muxval; in ls1043aqds_mdio_init()153 bus->priv = pmdio; in ls1043aqds_mdio_init()
274 struct lx2160a_qds_mdio *pmdio; in lx2160a_qds_mdio_init() local312 pmdio = malloc(sizeof(*pmdio)); in lx2160a_qds_mdio_init()313 if (!pmdio) { in lx2160a_qds_mdio_init()321 pmdio->realbus = in lx2160a_qds_mdio_init()325 pmdio->realbus = in lx2160a_qds_mdio_init()330 if (!pmdio->realbus) { in lx2160a_qds_mdio_init()333 free(pmdio); in lx2160a_qds_mdio_init()337 pmdio->realbusnum = realbusnum; in lx2160a_qds_mdio_init()338 pmdio->ioslot = ioslot; in lx2160a_qds_mdio_init()343 bus->priv = pmdio; in lx2160a_qds_mdio_init()[all …]
429 struct ls1088a_qds_mdio *pmdio; in ls1088a_qds_mdio_init() local437 pmdio = malloc(sizeof(*pmdio)); in ls1088a_qds_mdio_init()438 if (!pmdio) { in ls1088a_qds_mdio_init()449 pmdio->realbus = miiphy_get_dev_by_name(realbusname); in ls1088a_qds_mdio_init()451 if (!pmdio->realbus) { in ls1088a_qds_mdio_init()454 free(pmdio); in ls1088a_qds_mdio_init()458 pmdio->muxval = muxval; in ls1088a_qds_mdio_init()459 bus->priv = pmdio; in ls1088a_qds_mdio_init()
160 struct t208xqds_mdio *pmdio; in t208xqds_mdio_init() local168 pmdio = malloc(sizeof(*pmdio)); in t208xqds_mdio_init()169 if (!pmdio) { in t208xqds_mdio_init()180 pmdio->realbus = miiphy_get_dev_by_name(realbusname); in t208xqds_mdio_init()182 if (!pmdio->realbus) { in t208xqds_mdio_init()185 free(pmdio); in t208xqds_mdio_init()189 pmdio->muxval = muxval; in t208xqds_mdio_init()190 bus->priv = pmdio; in t208xqds_mdio_init()
459 struct ls2080a_qds_mdio *pmdio; in ls2080a_qds_mdio_init() local467 pmdio = malloc(sizeof(*pmdio)); in ls2080a_qds_mdio_init()468 if (!pmdio) { in ls2080a_qds_mdio_init()479 pmdio->realbus = miiphy_get_dev_by_name(realbusname); in ls2080a_qds_mdio_init()481 if (!pmdio->realbus) { in ls2080a_qds_mdio_init()484 free(pmdio); in ls2080a_qds_mdio_init()488 pmdio->muxval = muxval; in ls2080a_qds_mdio_init()489 bus->priv = pmdio; in ls2080a_qds_mdio_init()
137 struct t4240qds_mdio *pmdio; in t4240qds_mdio_init() local145 pmdio = malloc(sizeof(*pmdio)); in t4240qds_mdio_init()146 if (!pmdio) { in t4240qds_mdio_init()157 pmdio->realbus = miiphy_get_dev_by_name(realbusname); in t4240qds_mdio_init()159 if (!pmdio->realbus) { in t4240qds_mdio_init()162 free(pmdio); in t4240qds_mdio_init()166 pmdio->muxval = muxval; in t4240qds_mdio_init()167 bus->priv = pmdio; in t4240qds_mdio_init()