Home
last modified time | relevance | path

Searched refs:ftgmac100 (Results 1 – 23 of 23) sorted by relevance

/openbmc/u-boot/drivers/net/
H A Dftgmac100.c75 struct ftgmac100 *iobase;
104 struct ftgmac100 *ftgmac100 = priv->iobase; in ftgmac100_mdio_read() local
113 writel(phycr, &ftgmac100->phycr); in ftgmac100_mdio_read()
115 ret = readl_poll_timeout(&ftgmac100->phycr, phycr, in ftgmac100_mdio_read()
124 data = readl(&ftgmac100->phydata); in ftgmac100_mdio_read()
133 struct ftgmac100 *ftgmac100 = priv->iobase; in ftgmac100_mdio_write() local
144 writel(data, &ftgmac100->phydata); in ftgmac100_mdio_write()
145 writel(phycr, &ftgmac100->phycr); in ftgmac100_mdio_write()
147 ret = readl_poll_timeout(&ftgmac100->phycr, phycr, in ftgmac100_mdio_write()
191 struct ftgmac100 *ftgmac100 = priv->iobase; in ftgmac100_phy_adjust_link() local
[all …]
H A DMakefile31 obj-$(CONFIG_FTGMAC100) += ftgmac100.o aspeed_mdio.o
H A Dftgmac100.h16 struct ftgmac100 { struct
/openbmc/linux/drivers/net/ethernet/faraday/
H A Dftgmac100.c53 struct ftgmac100 { struct
114 static int ftgmac100_reset_mac(struct ftgmac100 *priv, u32 maccr) in ftgmac100_reset_mac() argument
137 static int ftgmac100_reset_and_config_mac(struct ftgmac100 *priv) in ftgmac100_reset_and_config_mac()
171 static void ftgmac100_write_mac_addr(struct ftgmac100 *priv, const u8 *mac) in ftgmac100_write_mac_addr()
180 static int ftgmac100_initial_mac(struct ftgmac100 *priv) in ftgmac100_initial_mac()
232 static void ftgmac100_config_pause(struct ftgmac100 *priv) in ftgmac100_config_pause()
249 static void ftgmac100_init_hw(struct ftgmac100 *priv) in ftgmac100_init_hw()
311 static void ftgmac100_start_hw(struct ftgmac100 *priv) in ftgmac100_start_hw()
346 static void ftgmac100_stop_hw(struct ftgmac100 *priv) in ftgmac100_stop_hw()
351 static void ftgmac100_calc_mc_hash(struct ftgmac100 *priv) in ftgmac100_calc_mc_hash()
[all …]
H A DMakefile6 obj-$(CONFIG_FTGMAC100) += ftgmac100.o
/openbmc/qemu/hw/arm/
H A Daspeed_ast27x0.c362 object_initialize_child(obj, "ftgmac100[*]", &s->ftgmac100[i], in aspeed_soc_ast2700_init()
610 object_property_set_bool(OBJECT(&s->ftgmac100[i]), "aspeed", true, in aspeed_soc_ast2700_realize()
612 object_property_set_bool(OBJECT(&s->ftgmac100[i]), "dma64", true, in aspeed_soc_ast2700_realize()
614 if (!sysbus_realize(SYS_BUS_DEVICE(&s->ftgmac100[i]), errp)) { in aspeed_soc_ast2700_realize()
617 aspeed_mmio_map(s, SYS_BUS_DEVICE(&s->ftgmac100[i]), 0, in aspeed_soc_ast2700_realize()
619 sysbus_connect_irq(SYS_BUS_DEVICE(&s->ftgmac100[i]), 0, in aspeed_soc_ast2700_realize()
623 OBJECT(&s->ftgmac100[i]), &error_abort); in aspeed_soc_ast2700_realize()
H A Daspeed_ast2400.c221 object_initialize_child(obj, "ftgmac100[*]", &s->ftgmac100[i], in aspeed_ast2400_soc_init()
447 object_property_set_bool(OBJECT(&s->ftgmac100[i]), "aspeed", true, in aspeed_ast2400_soc_realize()
449 if (!sysbus_realize(SYS_BUS_DEVICE(&s->ftgmac100[i]), errp)) { in aspeed_ast2400_soc_realize()
452 aspeed_mmio_map(s, SYS_BUS_DEVICE(&s->ftgmac100[i]), 0, in aspeed_ast2400_soc_realize()
454 sysbus_connect_irq(SYS_BUS_DEVICE(&s->ftgmac100[i]), 0, in aspeed_ast2400_soc_realize()
H A Daspeed_ast2600.c239 object_initialize_child(obj, "ftgmac100[*]", &s->ftgmac100[i], in aspeed_soc_ast2600_init()
591 object_property_set_bool(OBJECT(&s->ftgmac100[i]), "aspeed", true, in aspeed_soc_ast2600_realize()
593 if (!sysbus_realize(SYS_BUS_DEVICE(&s->ftgmac100[i]), errp)) { in aspeed_soc_ast2600_realize()
596 aspeed_mmio_map(s, SYS_BUS_DEVICE(&s->ftgmac100[i]), 0, in aspeed_soc_ast2600_realize()
598 sysbus_connect_irq(SYS_BUS_DEVICE(&s->ftgmac100[i]), 0, in aspeed_soc_ast2600_realize()
602 OBJECT(&s->ftgmac100[i]), &error_abort); in aspeed_soc_ast2600_realize()
H A Daspeed.c396 !qemu_configure_nic_device(DEVICE(&bmc->soc->ftgmac100[i]), in aspeed_machine_init()
/openbmc/openbmc/meta-facebook/recipes-phosphor/network/phosphor-network/
H A D01-bmc-eth.network2 Driver=ftgmac100
/openbmc/qemu/include/hw/arm/
H A Daspeed_soc.h89 FTGMAC100State ftgmac100[ASPEED_MACS_NUM]; member
/openbmc/qemu/hw/net/
H A Dmeson.build39 system_ss.add(when: 'CONFIG_FTGMAC100', if_true: files('ftgmac100.c'))
/openbmc/linux/arch/arm/boot/dts/aspeed/
H A Daspeed-g6.dtsi235 compatible = "aspeed,ast2600-mac", "faraday,ftgmac100";
243 compatible = "aspeed,ast2600-mac", "faraday,ftgmac100";
251 compatible = "aspeed,ast2600-mac", "faraday,ftgmac100";
259 compatible = "aspeed,ast2600-mac", "faraday,ftgmac100";
H A Daspeed-g4.dtsi132 compatible = "aspeed,ast2400-mac", "faraday,ftgmac100";
140 compatible = "aspeed,ast2400-mac", "faraday,ftgmac100";
H A Daspeed-g5.dtsi150 compatible = "aspeed,ast2500-mac", "faraday,ftgmac100";
158 compatible = "aspeed,ast2500-mac", "faraday,ftgmac100";
/openbmc/u-boot/arch/arm/dts/
H A Dast2600.dtsi205 compatible = "aspeed,ast2600-mac", "faraday,ftgmac100";
213 compatible = "aspeed,ast2600-mac", "faraday,ftgmac100";
223 compatible = "aspeed,ast2600-mac", "faraday,ftgmac100";
233 compatible = "aspeed,ast2600-mac", "faraday,ftgmac100";
H A Dast2400.dtsi116 compatible = "aspeed,ast2400-mac", "faraday,ftgmac100";
124 compatible = "aspeed,ast2400-mac", "faraday,ftgmac100";
H A Dast2500.dtsi137 compatible = "aspeed,ast2500-mac", "faraday,ftgmac100";
145 compatible = "aspeed,ast2500-mac", "faraday,ftgmac100";
/openbmc/docs/
H A Dcheatsheet.md165 -net nic,macaddr=C0:FF:EE:00:00:02,model=ftgmac100 \
/openbmc/qemu/
H A DMAINTAINERS1131 F: hw/net/ftgmac100.c
1132 F: include/hw/net/ftgmac100.h
/openbmc/linux/
H A Dopengrok1.0.log[all...]
H A Dopengrok2.0.log[all...]
H A Dopengrok0.0.log[all...]