Home
last modified time | relevance | path

Searched refs:mac (Results 701 – 725 of 1888) sorted by relevance

1...<<21222324252627282930>>...76

/openbmc/linux/net/core/
H A Dfailover.c20 static struct net_device *failover_get_bymac(u8 *mac, struct failover_ops **ops) in failover_get_bymac() argument
28 if (ether_addr_equal(failover_dev->perm_addr, mac)) { in failover_get_bymac()
/openbmc/linux/drivers/net/wireless/ath/ath5k/
H A Dpci.c120 static int ath5k_pci_eeprom_read_mac(struct ath5k_hw *ah, u8 *mac) in ath5k_pci_eeprom_read_mac() argument
141 memcpy(mac, mac_d, ETH_ALEN); in ath5k_pci_eeprom_read_mac()
/openbmc/linux/Documentation/devicetree/bindings/net/
H A Dmediatek-dwmac.yaml102 mediatek,rmii-clk-from-mac:
128 mediatek,mac-wol:
160 mac-address = [00 55 7b b5 7d f7];
H A Dlpc-eth.txt20 mac: ethernet@31060000 {
/openbmc/linux/arch/powerpc/boot/dts/
H A Dtqm8540.dts158 local-mac-address = [ 00 00 00 00 00 00 ];
200 local-mac-address = [ 00 00 00 00 00 00 ];
227 local-mac-address = [ 00 00 00 00 00 00 ];
H A Dmpc836x_rdk.dts276 local-mac-address = [ 00 00 00 00 00 00 ];
291 local-mac-address = [ 00 00 00 00 00 00 ];
306 local-mac-address = [ 00 00 00 00 00 00 ];
321 local-mac-address = [ 00 00 00 00 00 00 ];
/openbmc/linux/drivers/net/dsa/microchip/
H A Dksz9477.c603 alu->mac[0] = (alu_table[2] >> 8) & 0xFF; in ksz9477_convert_alu()
604 alu->mac[1] = alu_table[2] & 0xFF; in ksz9477_convert_alu()
605 alu->mac[2] = (alu_table[3] >> 24) & 0xFF; in ksz9477_convert_alu()
606 alu->mac[3] = (alu_table[3] >> 16) & 0xFF; in ksz9477_convert_alu()
607 alu->mac[4] = (alu_table[3] >> 8) & 0xFF; in ksz9477_convert_alu()
608 alu->mac[5] = alu_table[3] & 0xFF; in ksz9477_convert_alu()
649 ret = cb(alu.mac, alu.fid, alu.is_static, data); in ksz9477_fdb_dump()
/openbmc/linux/drivers/net/ethernet/fungible/funeth/
H A Dfuneth_main.c965 u8 mac[ETH_ALEN]; in fun_get_port_attributes() local
975 u64_to_ether_addr(data[i], mac); in fun_get_port_attributes()
976 if (is_zero_ether_addr(mac)) { in fun_get_port_attributes()
978 } else if (is_valid_ether_addr(mac)) { in fun_get_port_attributes()
979 eth_hw_addr_set(netdev, mac); in fun_get_port_attributes()
983 mac); in fun_get_port_attributes()
1214 static int fun_set_vf_mac(struct net_device *dev, int vf, u8 *mac) in fun_set_vf_mac() argument
1223 if (is_multicast_ether_addr(mac)) in fun_set_vf_mac()
1231 mac_param.u.mac = FUN_ADI_MAC_INIT(ether_addr_to_u64(mac)); in fun_set_vf_mac()
1235 ether_addr_copy(vi->mac, mac); in fun_set_vf_mac()
[all …]
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dfwsignal.c205 struct brcmf_fws_mac_descriptor *mac; member
859 struct brcmf_fws_mac_descriptor *entry = brcmf_skbcb(skb)->mac; in brcmf_fws_hdrpush()
942 skcb->mac = entry; in brcmf_fws_tim_update()
1175 struct brcmf_fws_mac_descriptor *entry = brcmf_skbcb(skb)->mac; in brcmf_fws_macdesc_return_req_credit()
1247 entry = brcmf_skbcb(p)->mac; in brcmf_fws_enq()
1480 entry = skcb->mac; in brcmf_fws_txs_process()
1968 struct brcmf_fws_mac_descriptor *entry = skcb->mac; in brcmf_fws_precommit_skb()
1994 entry = brcmf_skbcb(skb)->mac; in brcmf_fws_rollback_toq()
2059 entry = skcb->mac; in brcmf_fws_commit_skb()
2107 skcb->mac->seq[fifo]++; in brcmf_fws_assign_htod()
[all …]
/openbmc/linux/Documentation/networking/
H A Dfailover.rst14 with the same mac address as the failover netdev.
H A Dnet_failover.rst42 <mac address='52:54:00:00:12:53'/>
52 <mac address='52:54:00:00:12:53'/>
129 <mac address='52:54:00:00:12:53'/>
155 ip link set $PF vf $VF_NUM mac $ZERO_MAC
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Network/
H A DNeighbor.interface.yaml17 The low level mac address that the IP maps to.
/openbmc/linux/drivers/net/dsa/mv88e6xxx/
H A Dswitchdev.c57 .addr = entry->mac, in mv88e6xxx_handle_miss_violation()
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac-lpc18xx.c40 plat_dat = stmmac_probe_config_dt(pdev, stmmac_res.mac); in lpc18xx_dwmac_probe()
/openbmc/linux/arch/arm/boot/dts/nxp/imx/
H A Dimx6qdl-mba6b.dtsi39 mba_mac_address: mac-address@20 {
/openbmc/linux/drivers/scsi/fcoe/
H A Dfcoe_sysfs.c84 ((x)->mac)
530 fcoe_fcf_private_rd_attr(mac, "%pM\n", 20);
777 ether_addr_equal(new->mac, old->mac)) in fcoe_fcf_device_match()
1034 memcpy(fcf->mac, new_fcf->mac, ETH_ALEN); in fcoe_fcf_device_add()
/openbmc/linux/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-ethtool.c93 err = phylink_ethtool_nway_reset(priv->mac->phylink); in dpaa2_eth_nway_reset()
110 err = phylink_ethtool_ksettings_get(priv->mac->phylink, in dpaa2_eth_get_link_ksettings()
136 err = phylink_ethtool_ksettings_set(priv->mac->phylink, in dpaa2_eth_set_link_ksettings()
153 phylink_ethtool_get_pauseparam(priv->mac->phylink, pause); in dpaa2_eth_get_pauseparam()
181 err = phylink_ethtool_set_pauseparam(priv->mac->phylink, in dpaa2_eth_set_pauseparam()
347 dpaa2_mac_get_ethtool_stats(priv->mac, data + i); in dpaa2_eth_get_ethtool_stats()
/openbmc/linux/drivers/staging/rtl8723bs/core/
H A Drtw_ieee80211.c971 u8 mac[ETH_ALEN]; in rtw_macaddr_cfg() local
979 if (rtw_initmac && mac_pton(rtw_initmac, mac)) { in rtw_macaddr_cfg()
981 ether_addr_copy(mac_addr, mac); in rtw_macaddr_cfg()
984 ether_addr_copy(mac, mac_addr); in rtw_macaddr_cfg()
987 if (is_broadcast_ether_addr(mac) || is_zero_ether_addr(mac)) { in rtw_macaddr_cfg()
/openbmc/linux/drivers/net/ethernet/intel/igb/
H A Digb.h129 #define IGB_RX_PTHRESH ((hw->mac.type == e1000_i354) ? 12 : 8)
131 #define IGB_TX_PTHRESH ((hw->mac.type == e1000_i354) ? 20 : 8)
133 #define IGB_RX_WTHRESH ((hw->mac.type == e1000_82576 && \
135 #define IGB_TX_WTHRESH ((hw->mac.type == e1000_82576 && \
/openbmc/linux/drivers/infiniband/hw/erdma/
H A Derdma_main.c495 u64 mac; in erdma_ib_device_add() local
533 mac = erdma_reg_read32(dev, ERDMA_REGS_NETDEV_MAC_L_REG); in erdma_ib_device_add()
534 mac |= (u64)erdma_reg_read32(dev, ERDMA_REGS_NETDEV_MAC_H_REG) << 32; in erdma_ib_device_add()
536 u64_to_ether_addr(mac, dev->attrs.peer_addr); in erdma_ib_device_add()
/openbmc/linux/drivers/net/wireless/virtual/
H A Dvirt_wifi.c322 const u8 *mac, struct station_info *sinfo) in virt_wifi_get_station() argument
328 if (!priv->is_connected || !ether_addr_equal(mac, fake_router_bssid)) in virt_wifi_get_station()
347 int idx, u8 *mac, struct station_info *sinfo) in virt_wifi_dump_station() argument
356 ether_addr_copy(mac, fake_router_bssid); in virt_wifi_dump_station()
/openbmc/linux/arch/arm64/boot/dts/mediatek/
H A Dmt7622-bananapi-bpi-r64.dts124 gmac0: mac@0 {
125 compatible = "mediatek,eth-mac";
136 gmac1: mac@1 {
137 compatible = "mediatek,eth-mac";
/openbmc/qemu/docs/
H A Dcolo-proxy.txt166 -device e1000,id=e0,netdev=hn0,mac=52:a4:00:12:78:66
181 -device e1000,netdev=hn0,mac=52:a4:00:12:78:66
192 -device e1000,id=e0,netdev=hn0,mac=52:a4:00:12:78:66
206 -device e1000,netdev=hn0,mac=52:a4:00:12:78:66
/openbmc/qemu/hw/net/
H A Dxen_nic.c606 MACAddr mac; in type_init() local
621 if (net_parse_macaddr(mac.a, macstr) < 0) { in type_init()
630 memcpy(&net->conf.macaddr, &mac, sizeof(mac)); in type_init()
/openbmc/linux/drivers/net/ethernet/intel/e1000e/
H A Dphy.c183 if (hw->mac.type == e1000_pch2lan) in e1000e_read_phy_reg_mdic()
263 if (hw->mac.type == e1000_pch2lan) in e1000e_write_phy_reg_mdic()
915 if (hw->mac.autoneg) { in e1000e_copper_link_setup_igp()
1166 hw->mac.get_link_status = true; in e1000_copper_link_autoneg()
1185 if (hw->mac.autoneg) { in e1000e_setup_copper_link()
1214 hw->mac.ops.config_collision_dist(hw); in e1000e_setup_copper_link()
1470 struct e1000_mac_info *mac = &hw->mac; in e1000e_phy_force_speed_duplex_setup() local
1488 if (mac->forced_speed_duplex & E1000_ALL_HALF_DUPLEX) { in e1000e_phy_force_speed_duplex_setup()
1499 if (mac->forced_speed_duplex & E1000_ALL_100_SPEED) { in e1000e_phy_force_speed_duplex_setup()
1510 hw->mac.ops.config_collision_dist(hw); in e1000e_phy_force_speed_duplex_setup()
[all …]

1...<<21222324252627282930>>...76