Searched refs:cpsw_mdio (Results 1 – 3 of 3) sorted by relevance
61 struct cpsw_mdio { struct135 struct cpsw_mdio *cpsw_mdio; in cpsw_mdio_init() local138 cpsw_mdio = calloc(1, sizeof(*cpsw_mdio)); in cpsw_mdio_init()139 if (!cpsw_mdio) { in cpsw_mdio_init()145 if (!cpsw_mdio->bus) { in cpsw_mdio_init()147 free(cpsw_mdio); in cpsw_mdio_init()177 cpsw_mdio->bus->priv = cpsw_mdio; in cpsw_mdio_init()178 snprintf(cpsw_mdio->bus->name, sizeof(cpsw_mdio->bus->name), name); in cpsw_mdio_init()186 return cpsw_mdio->bus; in cpsw_mdio_init()189 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.o8 obj-$(CONFIG_TI_AM65_CPSW_NUSS) += am65-cpsw-nuss.o cpsw_mdio.o
11 struct cpsw_mdio;
Completed in 4 milliseconds