Home
last modified time | relevance | path

Searched refs:cpsw_mdio (Results 1 – 3 of 3) sorted by relevance

/openbmc/u-boot/drivers/net/ti/
H A Dcpsw_mdio.c57 struct cpsw_mdio { struct
131 struct cpsw_mdio *cpsw_mdio; in cpsw_mdio_init() local
134 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 …]
H A DMakefile5 obj-$(CONFIG_DRIVER_TI_CPSW) += cpsw.o cpsw-common.o cpsw_mdio.o
7 obj-$(CONFIG_DRIVER_TI_KEYSTONE_NET) += keystone_net.o cpsw_mdio.o
H A Dcpsw_mdio.h11 struct cpsw_mdio;