/openbmc/linux/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_sriov.c | 1788 ether_addr_copy(filter.mac, p_vf->bulletin.p_virt->mac); in qed_iov_configure_vport_forced() 3254 ether_addr_copy(vf->mac, params->mac); in qed_iov_chk_ucast() 3288 memcpy(params.mac, req->mac, ETH_ALEN); in qed_iov_vf_mbx_ucast_filter() 3331 if (!ether_addr_equal(p_bulletin->mac, params.mac) || in qed_iov_vf_mbx_ucast_filter() 3867 ether_addr_copy(p_bulletin->mac, p_req->mac); in qed_iov_vf_pf_bulletin_update_mac() 4168 memcpy(vf_info->bulletin.p_virt->mac, mac, ETH_ALEN); in qed_iov_bulletin_set_forced_mac() 4200 ether_addr_copy(vf_info->bulletin.p_virt->mac, mac); in qed_iov_bulletin_set_mac() 4655 ether_addr_copy(vf_info->mac, mac); in qed_sriov_pf_set_mac() 4728 ether_addr_copy(ivi->mac, vf_info->mac); in qed_get_vf_config() 4977 (!mac || !ether_addr_equal(mac, info->mac))) in qed_pf_validate_req_vf_mac() [all …]
|
/openbmc/linux/samples/bpf/ |
H A D | tcbpf1_kern.c | 16 static inline void set_dst_mac(struct __sk_buff *skb, char *mac) in set_dst_mac() argument 18 bpf_skb_store_bytes(skb, 0, mac, ETH_ALEN, 1); in set_dst_mac()
|
/openbmc/u-boot/arch/mips/dts/ |
H A D | ar934x.dtsi | 67 compatible = "qca,ag934x-mac"; 84 compatible = "qca,ag934x-mac";
|
/openbmc/linux/Documentation/devicetree/bindings/nvmem/layouts/ |
H A D | fixed-cell.yaml | 16 - const: mac-base 45 const: mac-base
|
H A D | kontron,sl28-vpd.yaml | 30 base-mac-address: 58 base_mac_address: base-mac-address {
|
/openbmc/linux/Documentation/devicetree/bindings/net/ |
H A D | xlnx,emaclite.yaml | 34 local-mac-address: true 59 local-mac-address = [00 00 00 00 00 00];
|
H A D | qca,ar71xx.yaml | 54 - const: mac 81 reset-names = "mac", "mdio"; 93 reset-names = "mac", "mdio";
|
/openbmc/linux/drivers/net/wireless/marvell/mwifiex/ |
H A D | wmm.h | 92 void mwifiex_update_ralist_tx_pause(struct mwifiex_private *priv, u8 *mac, 95 u8 *mac, u8 tx_pause);
|
/openbmc/linux/drivers/net/ethernet/mscc/ |
H A D | ocelot.h | 90 const unsigned char mac[ETH_ALEN], 93 const unsigned char mac[ETH_ALEN], unsigned int vid);
|
/openbmc/linux/arch/arm/boot/dts/broadcom/ |
H A D | bcm47094-luxul-abr-4500.dts | 70 nvmem-cell-names = "mac-address"; 88 nvmem-cell-names = "mac-address";
|
H A D | bcm47094-luxul-xbr-4500.dts | 70 nvmem-cell-names = "mac-address"; 88 nvmem-cell-names = "mac-address";
|
/openbmc/linux/drivers/infiniband/hw/usnic/ |
H A D | usnic_fwd.h | 57 char mac[ETH_ALEN]; member 77 void usnic_fwd_set_mac(struct usnic_fwd_dev *ufdev, const char mac[ETH_ALEN]);
|
H A D | usnic_fwd.c | 106 void usnic_fwd_set_mac(struct usnic_fwd_dev *ufdev, const char mac[ETH_ALEN]) in usnic_fwd_set_mac() 109 memcpy(&ufdev->mac, mac, sizeof(ufdev->mac)); in usnic_fwd_set_mac()
|
/openbmc/phosphor-networkd/src/ |
H A D | inventory_mac.cpp | 53 void setFirstBootMACOnInterface(const std::string& intf, const std::string& mac) in setFirstBootMACOnInterface() argument 59 auto returnMAC = interface.second->macAddress(mac); in setFirstBootMACOnInterface() 60 if (returnMAC == mac) in setFirstBootMACOnInterface() 63 "NET_MAC", mac, "NET_INTF", intf); in setFirstBootMACOnInterface()
|
H A D | ethernet_interface.cpp | 149 if (info.mac) in updateInfo() 151 MacAddressIntf::macAddress(stdplus::toStr(*info.mac), skipSignal); in updateInfo() 213 if (!info.mac || !info.addr) in addStaticNeigh() 222 it->second->NeighborObj::macAddress(stdplus::toStr(*info.mac)); in addStaticNeigh() 229 *info.mac, Neighbor::State::Permanent)); in addStaticNeigh() 660 std::optional<stdplus::EtherAddr> mac; in createVLAN() local 663 mac.emplace(stdplus::fromStr<stdplus::EtherAddr>(macStr)); in createVLAN() 670 .mac = std::move(mac), in createVLAN() 757 auto mac = MacAddressIntf::macAddress(); in writeConfigurationFile() local 758 if (!mac.empty()) in writeConfigurationFile() [all …]
|
/openbmc/linux/arch/powerpc/boot/dts/ |
H A D | kmeter1.dts | 322 local-mac-address = [ 00 00 00 00 00 00 ]; 338 local-mac-address = [ 00 00 00 00 00 00 ]; 354 local-mac-address = [ 00 00 00 00 00 00 ]; 370 local-mac-address = [ 00 00 00 00 00 00 ]; 386 local-mac-address = [ 00 00 00 00 00 00 ]; 402 local-mac-address = [ 00 00 00 00 00 00 ]; 418 local-mac-address = [ 00 00 00 00 00 00 ];
|
/openbmc/u-boot/drivers/net/ |
H A D | ravb.c | 343 unsigned char *mac = pdata->enetaddr; in ravb_write_hwaddr() local 345 writel((mac[0] << 24) | (mac[1] << 16) | (mac[2] << 8) | mac[3], in ravb_write_hwaddr() 348 writel((mac[4] << 8) | mac[5], eth->iobase + RAVB_REG_MALR); in ravb_write_hwaddr()
|
/openbmc/linux/Documentation/devicetree/bindings/usb/ |
H A D | mediatek,mtu3.yaml | 41 - const: mac 238 reg-names = "mac", "ippc"; 257 reg-names = "mac"; 274 reg-names = "mac", "ippc"; 289 reg-names = "mac"; 309 reg-names = "mac", "ippc"; 326 reg-names = "mac";
|
/openbmc/linux/drivers/net/ethernet/faraday/ |
H A D | ftgmac100.c | 173 unsigned int maddr = mac[0] << 8 | mac[1]; in ftgmac100_write_mac_addr() 174 unsigned int laddr = mac[2] << 24 | mac[3] << 16 | mac[4] << 8 | mac[5]; in ftgmac100_write_mac_addr() 182 u8 mac[ETH_ALEN]; in ftgmac100_initial_mac() local 199 mac[0] = (m >> 8) & 0xff; in ftgmac100_initial_mac() 200 mac[1] = m & 0xff; in ftgmac100_initial_mac() 201 mac[2] = (l >> 24) & 0xff; in ftgmac100_initial_mac() 202 mac[3] = (l >> 16) & 0xff; in ftgmac100_initial_mac() 203 mac[4] = (l >> 8) & 0xff; in ftgmac100_initial_mac() 204 mac[5] = l & 0xff; in ftgmac100_initial_mac() 206 if (is_valid_ether_addr(mac)) { in ftgmac100_initial_mac() [all …]
|
/openbmc/u-boot/board/renesas/sh7785lcr/ |
H A D | rtl8169_mac.c | 290 unsigned char mac[6]; in do_set_mac() local 299 mac[i] = s ? simple_strtoul(s, &e, 16) : 0; in do_set_mac() 303 mac_write((unsigned short *)mac); in do_set_mac()
|
/openbmc/linux/arch/mips/rb532/ |
H A D | devices.c | 90 .mac = {0xde, 0xca, 0xff, 0xc0, 0xff, 0xee} 99 .platform_data = &korina_dev0_data.mac, 304 if (!mac_pton(s, korina_dev0_data.mac)) in setup_kmac()
|
/openbmc/linux/lib/crypto/ |
H A D | poly1305-donna64.c | 114 u8 *mac = dst; in poly1305_core_emit() local 181 put_unaligned_le64(h0, &mac[0]); in poly1305_core_emit() 182 put_unaligned_le64(h1, &mac[8]); in poly1305_core_emit()
|
/openbmc/linux/drivers/net/ethernet/wangxun/txgbe/ |
H A D | txgbe_hw.c | 53 struct wx_thermal_sensor_data *data = &wx->mac.sensor; in txgbe_init_thermal_sensor_thresh() 310 wx_get_mac_addr(wx, wx->mac.perm_addr); in txgbe_reset_hw() 316 wx->mac.num_rar_entries = TXGBE_SP_RAR_ENTRIES; in txgbe_reset_hw()
|
/openbmc/linux/drivers/net/ethernet/freescale/dpaa2/ |
H A D | dpaa2-switch-ethtool.c | 68 err = phylink_ethtool_ksettings_get(port_priv->mac->phylink, in dpaa2_switch_get_link_ksettings() 112 err = phylink_ethtool_ksettings_set(port_priv->mac->phylink, in dpaa2_switch_set_link_ksettings() 209 dpaa2_mac_get_ethtool_stats(port_priv->mac, data + i); in dpaa2_switch_ethtool_get_stats()
|
/openbmc/linux/arch/arm64/boot/dts/marvell/ |
H A D | armada-3720-gl-mv1000.dts | 185 nvmem-cell-names = "mac-address"; 194 nvmem-cell-names = "mac-address"; 217 nvmem-cell-names = "mac-address";
|