| /openbmc/u-boot/drivers/net/ |
| H A D | at91_emac.c | 164 at91_emac_t *emac; in at91emac_mii_read() local 166 emac = get_emacbase_by_name(bus->name); in at91emac_mii_read() 167 at91emac_read(emac , addr, reg, &value); in at91emac_mii_read() 175 at91_emac_t *emac; in at91emac_mii_write() local 177 emac = get_emacbase_by_name(bus->name); in at91emac_mii_write() 178 at91emac_write(emac, addr, reg, value); in at91emac_mii_write() 188 at91_emac_t *emac; in at91emac_phy_reset() local 190 emac = (at91_emac_t *) netdev->iobase; in at91emac_phy_reset() 193 at91emac_write(emac, CONFIG_DRIVER_AT91EMAC_PHYADDR, in at91emac_phy_reset() 196 at91emac_write(emac, CONFIG_DRIVER_AT91EMAC_PHYADDR, MII_BMCR, in at91emac_phy_reset() [all …]
|
| /openbmc/u-boot/doc/device-tree-bindings/net/ |
| H A D | allwinner,sun4i-emac.txt | 4 - compatible: should be "allwinner,sun4i-a10-emac" (Deprecated: 5 "allwinner,sun4i-emac") 13 emac: ethernet@01c0b000 { 14 compatible = "allwinner,sun4i-a10-emac";
|
| /openbmc/u-boot/arch/arm/mach-davinci/ |
| H A D | lxt972.c | 40 volatile emac_regs *emac = (emac_regs *)EMAC_BASE_ADDR; in lxt972_get_link_speed() local 61 emac->MACCONTROL = EMAC_MACCONTROL_MIIEN_ENABLE | in lxt972_get_link_speed() 65 emac->MACCONTROL = EMAC_MACCONTROL_MIIEN_ENABLE; in lxt972_get_link_speed()
|
| H A D | ksz8873.c | 33 emac_regs *emac = (emac_regs *)EMAC_BASE_ADDR; in ksz8873_get_link_speed() local 38 &emac->MACCONTROL); in ksz8873_get_link_speed()
|
| H A D | dp83848.c | 39 volatile emac_regs* emac = (emac_regs *)EMAC_BASE_ADDR; in dp83848_get_link_speed() local 53 emac->MACCONTROL = EMAC_MACCONTROL_MIIEN_ENABLE | in dp83848_get_link_speed() 57 emac->MACCONTROL = EMAC_MACCONTROL_MIIEN_ENABLE; in dp83848_get_link_speed()
|
| /openbmc/qemu/hw/arm/ |
| H A D | msf2-soc.c | 76 object_initialize_child(obj, "emac", &s->emac, TYPE_MSS_EMAC); in m2sxxx_soc_initfn() 200 dev = DEVICE(&s->emac); in m2sxxx_soc_realize() 202 object_property_set_link(OBJECT(&s->emac), "ahb-bus", in m2sxxx_soc_realize() 204 if (!sysbus_realize(SYS_BUS_DEVICE(&s->emac), errp)) { in m2sxxx_soc_realize()
|
| H A D | allwinner-a10.c | 78 object_initialize_child(obj, "emac", &s->emac, TYPE_AW_EMAC); in aw_a10_init() 144 qemu_configure_nic_device(DEVICE(&s->emac), true, NULL); in aw_a10_realize() 145 if (!sysbus_realize(SYS_BUS_DEVICE(&s->emac), errp)) { in aw_a10_realize() 148 sysbusdev = SYS_BUS_DEVICE(&s->emac); in aw_a10_realize()
|
| H A D | allwinner-h3.c | 225 object_initialize_child(obj, "emac", &s->emac, TYPE_AW_SUN8I_EMAC); in allwinner_h3_init() 373 qemu_configure_nic_device(DEVICE(&s->emac), true, NULL); in allwinner_h3_realize() 374 object_property_set_link(OBJECT(&s->emac), "dma-memory", in allwinner_h3_realize() 376 sysbus_realize(SYS_BUS_DEVICE(&s->emac), &error_fatal); in allwinner_h3_realize() 377 sysbus_mmio_map(SYS_BUS_DEVICE(&s->emac), 0, s->memmap[AW_H3_DEV_EMAC]); in allwinner_h3_realize() 378 sysbus_connect_irq(SYS_BUS_DEVICE(&s->emac), 0, in allwinner_h3_realize()
|
| H A D | allwinner-r40.c | 303 object_initialize_child(obj, "emac", &s->emac, TYPE_AW_EMAC); in allwinner_r40_init() 522 qemu_configure_nic_device(DEVICE(&s->emac), true, "emac"); in allwinner_r40_realize() 523 sysbus_realize(SYS_BUS_DEVICE(&s->emac), &error_fatal); in allwinner_r40_realize() 524 sysbus_mmio_map(SYS_BUS_DEVICE(&s->emac), 0, s->memmap[AW_R40_DEV_EMAC]); in allwinner_r40_realize() 525 sysbus_connect_irq(SYS_BUS_DEVICE(&s->emac), 0, in allwinner_r40_realize()
|
| /openbmc/u-boot/arch/arm/dts/ |
| H A D | sun4i-a10-hackberry.dts | 63 reg_emac_3v3: emac-3v3 { 65 regulator-name = "emac-3v3"; 82 &emac {
|
| H A D | sun50i-h5-orangepi-zero-plus.dts | 27 ethernet0 = &emac; 70 &emac {
|
| H A D | sun4i-a10-jesurun-q5.dts | 73 reg_emac_3v3: emac-3v3 { 75 regulator-name = "emac-3v3"; 96 &emac {
|
| H A D | sun4i-a10-a1000.dts | 78 reg_emac_3v3: emac-3v3 { 80 regulator-name = "emac-3v3"; 127 &emac {
|
| H A D | sun5i-a10s-wobo-i5.dts | 74 reg_emac_3v3: emac-3v3 { 78 regulator-name = "emac-3v3"; 95 &emac {
|
| H A D | sunxi-libretech-all-h3-cc.dtsi | 11 ethernet0 = &emac; 120 &emac {
|
| H A D | sun8i-h3-nanopi-m1.dts | 50 ethernet0 = &emac; 77 &emac {
|
| H A D | sun8i-h3-orangepi-2.dts | 56 /* ethernet0 is the H3 emac, defined in sun8i-h3.dtsi */ 57 ethernet0 = &emac; 136 &emac {
|
| /openbmc/qemu/include/hw/arm/ |
| H A D | msf2-soc.h | 66 MSF2EmacState emac; member
|
| H A D | allwinner-a10.h | 40 AwEmacState emac; member
|
| H A D | allwinner-h3.h | 143 AwSun8iEmacState emac; member
|
| H A D | allwinner-r40.h | 127 AwEmacState emac; member
|
| /openbmc/u-boot/arch/arm/mach-omap2/omap3/ |
| H A D | Makefile | 21 obj-$(CONFIG_DRIVER_TI_EMAC) += emac.o
|
| /openbmc/u-boot/board/bluewater/gurnard/ |
| H A D | gurnard.c | 371 struct at91_emac *emac = (struct at91_emac *)ATMEL_BASE_EMAC; in board_late_init() local 383 &emac->sa2l); in board_late_init() 384 writel((env_enetaddr[4] | env_enetaddr[5] << 8), &emac->sa2h); in board_late_init()
|
| /openbmc/u-boot/arch/arm/mach-rmobile/ |
| H A D | Makefile | 7 obj-y += emac.o
|
| /openbmc/u-boot/drivers/net/ti/ |
| H A D | Kconfig | 15 Support for davinci emac
|