Home
last modified time | relevance | path

Searched refs:pmac (Results 1 – 10 of 10) sorted by relevance

/linux/arch/arm/mach-mvebu/
H A Dkirkwood.c84 struct property *pmac; in kirkwood_dt_eth_fixup() local
110 pmac = kzalloc(sizeof(*pmac) + 6, GFP_KERNEL); in kirkwood_dt_eth_fixup()
111 if (!pmac) in kirkwood_dt_eth_fixup()
114 pmac->value = pmac + 1; in kirkwood_dt_eth_fixup()
115 pmac->length = 6; in kirkwood_dt_eth_fixup()
116 pmac->name = kstrdup("local-mac-address", GFP_KERNEL); in kirkwood_dt_eth_fixup()
117 if (!pmac->name) { in kirkwood_dt_eth_fixup()
118 kfree(pmac); in kirkwood_dt_eth_fixup()
122 macaddr = pmac->value; in kirkwood_dt_eth_fixup()
133 of_update_property(np, pmac); in kirkwood_dt_eth_fixup()
/linux/net/ethtool/
H A Dstats.c473 struct ethtool_eth_mac_stats pmac, emac; in ethtool_aggregate_mac_stats() local
476 memset(&pmac, 0xff, sizeof(pmac)); in ethtool_aggregate_mac_stats()
478 pmac.src = ETHTOOL_MAC_STATS_SRC_PMAC; in ethtool_aggregate_mac_stats()
481 ops->get_eth_mac_stats(dev, &pmac); in ethtool_aggregate_mac_stats()
483 ethtool_aggregate_stats(mac_stats, &emac, &pmac, in ethtool_aggregate_mac_stats()
493 struct ethtool_eth_phy_stats pmac, emac; in ethtool_aggregate_phy_stats() local
496 memset(&pmac, 0xff, sizeof(pmac)); in ethtool_aggregate_phy_stats()
498 pmac.src = ETHTOOL_MAC_STATS_SRC_PMAC; in ethtool_aggregate_phy_stats()
501 ops->get_eth_phy_stats(dev, &pmac); in ethtool_aggregate_phy_stats()
503 ethtool_aggregate_stats(phy_stats, &emac, &pmac, in ethtool_aggregate_phy_stats()
[all …]
/linux/tools/testing/selftests/drivers/net/hw/
H A Dethtool_mm.sh131 ethtool --set-mm $rx pmac-enabled off
148 ethtool --set-mm $rx pmac-enabled on
264 ethtool --set-mm $h1 pmac-enabled on tx-enabled off verify-enabled off
271 ethtool --set-mm $h2 pmac-enabled on tx-enabled off verify-enabled off
281 ethtool --set-mm $h1 pmac-enabled off tx-enabled off verify-enabled off
292 ethtool --set-mm $h2 pmac-enabled off tx-enabled off verify-enabled off
/linux/sound/ppc/
H A DMakefile7 snd-powermac-y := powermac.o pmac.o awacs.o burgundy.o daca.o tumbler.o keywest.o beep.o
/linux/arch/powerpc/boot/
H A D.gitignore35 zImage.pmac
H A DMakefile284 image-$(CONFIG_PPC_PMAC) += zImage.pmac
446 zImage.miboot zImage.pmac zImage.pseries \
H A Dwrapper279 pmac|chrp)
/linux/arch/mips/cavium-octeon/
H A Docteon-platform.c565 static void __init octeon_fdt_set_mac_addr(int n, u64 *pmac) in octeon_fdt_set_mac_addr() argument
570 u64 mac = *pmac; in octeon_fdt_set_mac_addr()
592 *pmac = mac + 1; in octeon_fdt_set_mac_addr()
/linux/drivers/net/ethernet/qlogic/netxen/
H A Dnetxen_nic_hw.c1000 __le32 *pmac = (__le32 *) mac; in netxen_get_flash_mac_addr() local
1005 if (netxen_get_flash_block(adapter, offset, sizeof(u64), pmac) == -1) in netxen_get_flash_mac_addr()
1014 offset, sizeof(u64), pmac) == -1) in netxen_get_flash_mac_addr()
/linux/tools/testing/selftests/net/forwarding/
H A Dlib.sh253 [ 0 -ne $(ethtool --json -S $dev --all-groups --src pmac 2>/dev/null \