Searched refs:pmdio (Results 1 – 10 of 10) 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()
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()
118 struct ls1046aqds_mdio *pmdio; in ls1046aqds_mdio_init() local126 pmdio = malloc(sizeof(*pmdio)); in ls1046aqds_mdio_init()127 if (!pmdio) { in ls1046aqds_mdio_init()138 pmdio->realbus = miiphy_get_dev_by_name(realbusname); in ls1046aqds_mdio_init()140 if (!pmdio->realbus) { in ls1046aqds_mdio_init()143 free(pmdio); in ls1046aqds_mdio_init()147 pmdio->muxval = muxval; in ls1046aqds_mdio_init()148 bus->priv = pmdio; in ls1046aqds_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()
122 struct ls1043aqds_mdio *pmdio; in ls1043aqds_mdio_init() local130 pmdio = malloc(sizeof(*pmdio)); in ls1043aqds_mdio_init()131 if (!pmdio) { in ls1043aqds_mdio_init()142 pmdio->realbus = miiphy_get_dev_by_name(realbusname); in ls1043aqds_mdio_init()144 if (!pmdio->realbus) { in ls1043aqds_mdio_init()147 free(pmdio); in ls1043aqds_mdio_init()151 pmdio->muxval = muxval; in ls1043aqds_mdio_init()152 bus->priv = pmdio; in ls1043aqds_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()
373 struct ls1088a_qds_mdio *pmdio; in ls1088a_qds_mdio_init() local381 pmdio = malloc(sizeof(*pmdio)); in ls1088a_qds_mdio_init()382 if (!pmdio) { in ls1088a_qds_mdio_init()393 pmdio->realbus = miiphy_get_dev_by_name(realbusname); in ls1088a_qds_mdio_init()395 if (!pmdio->realbus) { in ls1088a_qds_mdio_init()398 free(pmdio); in ls1088a_qds_mdio_init()402 pmdio->muxval = muxval; in ls1088a_qds_mdio_init()403 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()
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()
401 struct ls2080a_qds_mdio *pmdio; in ls2080a_qds_mdio_init() local409 pmdio = malloc(sizeof(*pmdio)); in ls2080a_qds_mdio_init()410 if (!pmdio) { in ls2080a_qds_mdio_init()421 pmdio->realbus = miiphy_get_dev_by_name(realbusname); in ls2080a_qds_mdio_init()423 if (!pmdio->realbus) { in ls2080a_qds_mdio_init()426 free(pmdio); in ls2080a_qds_mdio_init()430 pmdio->muxval = muxval; in ls2080a_qds_mdio_init()431 bus->priv = pmdio; in ls2080a_qds_mdio_init()