/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()
|
/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";
|
/openbmc/linux/drivers/net/wireless/ti/wl1251/ |
H A D | acx.c | 44 struct acx_dot11_station_id *mac; in wl1251_acx_station_id() local 49 mac = kzalloc(sizeof(*mac), GFP_KERNEL); in wl1251_acx_station_id() 50 if (!mac) in wl1251_acx_station_id() 54 mac->mac[i] = wl->mac_addr[ETH_ALEN - 1 - i]; in wl1251_acx_station_id() 56 ret = wl1251_cmd_configure(wl, DOT11_STATION_ID, mac, sizeof(*mac)); in wl1251_acx_station_id() 58 kfree(mac); in wl1251_acx_station_id()
|
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
H A D | trx.c | 277 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in _rtl88ee_translate_rx_signal_stuff() local 295 (ether_addr_equal(mac->bssid, ieee80211_has_tods(fc) ? in _rtl88ee_translate_rx_signal_stuff() 485 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl88ee_tx_fill_desc() local 502 if (mac->opmode == NL80211_IFTYPE_STATION) { in rtl88ee_tx_fill_desc() 503 bw_40 = mac->bw_40; in rtl88ee_tx_fill_desc() 504 } else if (mac->opmode == NL80211_IFTYPE_AP || in rtl88ee_tx_fill_desc() 505 mac->opmode == NL80211_IFTYPE_ADHOC) { in rtl88ee_tx_fill_desc() 584 mac->cur_40_prime_sc); in rtl88ee_tx_fill_desc() 633 if (mac->rdg_en) { in rtl88ee_tx_fill_desc()
|