Home
last modified time | relevance | path

Searched refs:emac (Results 1 – 25 of 81) sorted by relevance

1234

/openbmc/u-boot/drivers/net/
H A Dat91_emac.c164 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 Dallwinner,sun4i-emac.txt4 - 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 Dlxt972.c40 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 Dksz8873.c33 emac_regs *emac = (emac_regs *)EMAC_BASE_ADDR; in ksz8873_get_link_speed() local
38 &emac->MACCONTROL); in ksz8873_get_link_speed()
H A Ddp83848.c39 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 Dmsf2-soc.c76 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 Dallwinner-a10.c78 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 Dallwinner-h3.c225 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 Dallwinner-r40.c303 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 Dsun4i-a10-hackberry.dts63 reg_emac_3v3: emac-3v3 {
65 regulator-name = "emac-3v3";
82 &emac {
H A Dsun50i-h5-orangepi-zero-plus.dts27 ethernet0 = &emac;
70 &emac {
H A Dsun4i-a10-jesurun-q5.dts73 reg_emac_3v3: emac-3v3 {
75 regulator-name = "emac-3v3";
96 &emac {
H A Dsun4i-a10-a1000.dts78 reg_emac_3v3: emac-3v3 {
80 regulator-name = "emac-3v3";
127 &emac {
H A Dsun5i-a10s-wobo-i5.dts74 reg_emac_3v3: emac-3v3 {
78 regulator-name = "emac-3v3";
95 &emac {
H A Dsunxi-libretech-all-h3-cc.dtsi11 ethernet0 = &emac;
120 &emac {
H A Dsun8i-h3-nanopi-m1.dts50 ethernet0 = &emac;
77 &emac {
H A Dsun8i-h3-orangepi-2.dts56 /* ethernet0 is the H3 emac, defined in sun8i-h3.dtsi */
57 ethernet0 = &emac;
136 &emac {
/openbmc/qemu/include/hw/arm/
H A Dmsf2-soc.h66 MSF2EmacState emac; member
H A Dallwinner-a10.h40 AwEmacState emac; member
H A Dallwinner-h3.h143 AwSun8iEmacState emac; member
H A Dallwinner-r40.h127 AwEmacState emac; member
/openbmc/u-boot/arch/arm/mach-omap2/omap3/
H A DMakefile21 obj-$(CONFIG_DRIVER_TI_EMAC) += emac.o
/openbmc/u-boot/board/bluewater/gurnard/
H A Dgurnard.c371 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 DMakefile7 obj-y += emac.o
/openbmc/u-boot/drivers/net/ti/
H A DKconfig15 Support for davinci emac

1234