Home
last modified time | relevance | path

Searched refs:pmac (Results 1 – 7 of 7) 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.c528 struct ethtool_eth_mac_stats pmac, emac; in ethtool_aggregate_mac_stats() local
531 memset(&pmac, 0xff, sizeof(pmac)); in ethtool_aggregate_mac_stats()
533 pmac.src = ETHTOOL_MAC_STATS_SRC_PMAC; in ethtool_aggregate_mac_stats()
536 ops->get_eth_mac_stats(dev, &pmac); in ethtool_aggregate_mac_stats()
538 ethtool_aggregate_stats(mac_stats, &emac, &pmac, in ethtool_aggregate_mac_stats()
548 struct ethtool_eth_phy_stats pmac, emac; in ethtool_aggregate_phy_stats() local
551 memset(&pmac, 0xff, sizeof(pmac)); in ethtool_aggregate_phy_stats()
553 pmac.src = ETHTOOL_MAC_STATS_SRC_PMAC; in ethtool_aggregate_phy_stats()
556 ops->get_eth_phy_stats(dev, &pmac); in ethtool_aggregate_phy_stats()
558 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/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/
H A DMAINTAINERS13364 N: /pmac