Searched refs:cpsw_mdio (Results 1 – 3 of 3) sorted by relevance
57 struct cpsw_mdio { struct131 struct cpsw_mdio *cpsw_mdio; in cpsw_mdio_init() local134 cpsw_mdio = calloc(1, sizeof(*cpsw_mdio)); in cpsw_mdio_init()135 if (!cpsw_mdio) { in cpsw_mdio_init()141 if (!cpsw_mdio->bus) { in cpsw_mdio_init()143 free(cpsw_mdio); in cpsw_mdio_init()173 cpsw_mdio->bus->priv = cpsw_mdio; in cpsw_mdio_init()174 snprintf(cpsw_mdio->bus->name, sizeof(cpsw_mdio->bus->name), name); in cpsw_mdio_init()182 return cpsw_mdio->bus; in cpsw_mdio_init()185 mdio_free(cpsw_mdio->bus); in cpsw_mdio_init()[all …]
5 obj-$(CONFIG_DRIVER_TI_CPSW) += cpsw.o cpsw-common.o cpsw_mdio.o7 obj-$(CONFIG_DRIVER_TI_KEYSTONE_NET) += keystone_net.o cpsw_mdio.o
11 struct cpsw_mdio;