Searched refs:hmdio (Results 1 – 2 of 2) sorted by relevance
154 struct hydra_mdio *hmdio; in hydra_mdio_init() local162 hmdio = malloc(sizeof(*hmdio)); in hydra_mdio_init()163 if (!hmdio) { in hydra_mdio_init()174 hmdio->realbus = miiphy_get_dev_by_name(realbusname); in hydra_mdio_init()176 if (!hmdio->realbus) { in hydra_mdio_init()179 free(hmdio); in hydra_mdio_init()183 bus->priv = hmdio; in hydra_mdio_init()
159 struct super_hydra_mdio *hmdio; in super_hydra_mdio_init() local167 hmdio = malloc(sizeof(*hmdio)); in super_hydra_mdio_init()168 if (!hmdio) { in super_hydra_mdio_init()179 hmdio->realbus = miiphy_get_dev_by_name(realbusname); in super_hydra_mdio_init()181 if (!hmdio->realbus) { in super_hydra_mdio_init()184 free(hmdio); in super_hydra_mdio_init()188 bus->priv = hmdio; in super_hydra_mdio_init()