/openbmc/openbmc/meta-google/recipes-google/networking/google-usb-network/ |
H A D | usb_network.sh | 37 --host-mac MAC address of the host part of the connection. Optional. 38 --dev-mac MAC address of the device (gadget) part of the connection. Optional. 158 --host-mac) 162 --dev-mac)
|
H A D | usb_network.service.m4 | 4 ` --host-mac "$1"'))') 8 ` --dev-mac "$1"'))')
|
/openbmc/linux/arch/arm/boot/dts/moxa/ |
H A D | moxart.dtsi | 123 mac0: mac@90900000 { 124 compatible = "moxa,moxart-mac"; 132 mac1: mac@92000000 { 133 compatible = "moxa,moxart-mac";
|
/openbmc/linux/drivers/net/ethernet/intel/igbvf/ |
H A D | netdev.c | 44 .mac = e1000_vfadapt, 51 .mac = e1000_vfadapt_i350, 860 hw->mac.get_link_status = 1; in igbvf_msix_other() 1518 struct e1000_mac_info *mac = &adapter->hw.mac; in igbvf_reset() local 1525 if (mac->ops.reset_hw(hw)) in igbvf_reset() 1528 mac->ops.init_hw(hw); in igbvf_reset() 1559 hw->mac.get_link_status = 1; in igbvf_up() 1750 hw->mac.get_link_status = 1; in igbvf_open() 1811 hw->mac.ops.rar_set(hw, hw->mac.addr, 0); in igbvf_set_mac() 1918 struct e1000_mac_info *mac = &adapter->hw.mac; in igbvf_watchdog_task() local [all …]
|
/openbmc/linux/drivers/net/wireless/intel/iwlegacy/ |
H A D | Makefile | 10 iwl4965-objs := 4965.o 4965-mac.o 4965-rs.o 4965-calib.o 15 iwl3945-objs := 3945-mac.o 3945.o 3945-rs.o
|
/openbmc/linux/drivers/net/fddi/skfp/ |
H A D | fplustm.c | 402 p = (__le32 *) mac ; in copy_tx_mac() 471 struct fddi_mac_sf *mac ; in build_claim_beacon() local 478 mac = &smc->hw.fp.mac_sfb ; in build_claim_beacon() 479 mac->mac_fc = FC_CLAIM ; in build_claim_beacon() 481 mac->mac_source = mac->mac_dest = MA ; in build_claim_beacon() 495 mac->mac_fc = FC_BEACON ; in build_claim_beacon() 496 mac->mac_source = MA ; in build_claim_beacon() 511 mac->mac_fc = FC_BEACON ; in build_claim_beacon() 512 mac->mac_source = MA ; in build_claim_beacon() 515 set_int((char *) mac->mac_info+4,0) ; in build_claim_beacon() [all …]
|
/openbmc/u-boot/examples/standalone/ |
H A D | smc91111_eeprom.c | 251 int i, j, k, mac[6]; in print_macaddr() local 264 mac[i] = k & 0xFF; in print_macaddr() 266 mac[i] = k >> 8; in print_macaddr() 272 printf ("%02x:", mac[i]); in print_macaddr() 273 printf ("%02x\n", mac[5]); in print_macaddr()
|
/openbmc/linux/tools/testing/selftests/tc-testing/ |
H A D | tdc_batch.py | 103 mac = ("{:02x}:{:02x}:{:02x}".format(i, j, k)) variable 104 src_mac = "e4:11:{:02x}:{}".format(mac_prefix, mac) 105 dst_mac = "e4:12:00:" + mac
|
/openbmc/linux/drivers/net/wireless/ath/wil6210/ |
H A D | main.c | 1320 u8 *mac; in wil_get_bl_info() local 1326 mac = bl.bl0.mac_address; in wil_get_bl_info() 1334 bl_ver, mac, in wil_get_bl_info() 1345 bl_ver, mac, in wil_get_bl_info() 1353 if (!is_valid_ether_addr(mac)) { in wil_get_bl_info() 1361 eth_hw_addr_set(ndev, mac); in wil_get_bl_info() 1407 u8 mac[8]; in wil_get_otp_info() local 1412 wil_memcpy_fromio_32(mac, wil->csr + HOSTADDR(mac_addr), sizeof(mac)); in wil_get_otp_info() 1414 if (is_valid_ether_addr(mac)) { in wil_get_otp_info() 1423 sizeof(mac)); in wil_get_otp_info() [all …]
|
/openbmc/google-misc/subprojects/ncsid/src/platforms/nemora/portable/ |
H A D | ncsi_client.c | 130 uint32_t ncsi_cmd_set_mac(uint8_t* buf, uint8_t channel_id, mac_addr_t* mac) in ncsi_cmd_set_mac() argument 137 memcpy(cmd->mac_addr.octet, mac->octet, sizeof(cmd->mac_addr.octet)); in ncsi_cmd_set_mac() 241 uint32_t ncsi_oem_cmd_set_filter(uint8_t* buf, uint8_t channel, mac_addr_t* mac, in ncsi_oem_cmd_set_filter() argument 253 memcpy(cmd->filter.mac, mac->octet, sizeof(cmd->filter.mac)); in ncsi_oem_cmd_set_filter()
|
H A D | ncsi_fsm.h | 198 mac_addr_t* mac); 203 mac_addr_t* mac, 209 ncsi_buf_t* ncsi_buf, mac_addr_t* mac,
|
/openbmc/linux/Documentation/devicetree/bindings/net/ |
H A D | cpsw.txt | 71 mac: ethernet@4a100000 { 91 mac-address = [ 00 00 00 00 00 00 ]; 98 mac-address = [ 00 00 00 00 00 00 ]; 104 mac: ethernet@4a100000 { 122 mac-address = [ 00 00 00 00 00 00 ]; 129 mac-address = [ 00 00 00 00 00 00 ];
|
H A D | mediatek,net.yaml | 371 "^mac@[0-1]$": 380 const: mediatek,eth-mac 455 gmac0: mac@0 { 456 compatible = "mediatek,eth-mac"; 462 gmac1: mac@1 { 463 compatible = "mediatek,eth-mac"; 547 mac0: mac@0 { 548 compatible = "mediatek,eth-mac"; 554 mac1: mac@1 { 555 compatible = "mediatek,eth-mac";
|
/openbmc/linux/drivers/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic_sriov_pf.c | 689 u8 *mac; in qlcnic_sriov_set_vf_acl() local 702 mac = vp->mac; in qlcnic_sriov_set_vf_acl() 704 cmd.req.arg[4] = mac[5] | mac[4] << 8 | mac[3] << 16 | in qlcnic_sriov_set_vf_acl() 706 cmd.req.arg[5] = mac[1] | mac[0] << 8; in qlcnic_sriov_set_vf_acl() 916 u8 type, *mac; in qlcnic_sriov_pf_mac_address_cmd() local 926 mac = vf->vp->mac; in qlcnic_sriov_pf_mac_address_cmd() 927 cmd->rsp.arg[2] = mac[1] | ((mac[0] << 8) & 0xff00); in qlcnic_sriov_pf_mac_address_cmd() 928 cmd->rsp.arg[1] = mac[5] | ((mac[4] << 8) & 0xff00) | in qlcnic_sriov_pf_mac_address_cmd() 1825 if (ether_addr_equal(vf_info->vp->mac, mac)) { in qlcnic_sriov_set_vf_mac() 1845 mac, vf); in qlcnic_sriov_set_vf_mac() [all …]
|
/openbmc/linux/drivers/net/dsa/mv88e6xxx/ |
H A D | global1_atu.c | 264 entry->mac[i * 2] = val >> 8; in mv88e6xxx_g1_atu_mac_read() 265 entry->mac[i * 2 + 1] = val & 0xff; in mv88e6xxx_g1_atu_mac_read() 278 val = (entry->mac[i * 2] << 8) | entry->mac[i * 2 + 1]; in mv88e6xxx_g1_atu_mac_write() 437 entry.portvec, entry.mac, in mv88e6xxx_g1_atu_prob_irq_thread_fn() 444 entry.portvec, entry.mac, in mv88e6xxx_g1_atu_prob_irq_thread_fn() 458 entry.portvec, entry.mac, in mv88e6xxx_g1_atu_prob_irq_thread_fn()
|
/openbmc/u-boot/drivers/net/ |
H A D | ethoc.c | 232 static int ethoc_write_hwaddr_common(struct ethoc *priv, u8 *mac) in ethoc_write_hwaddr_common() argument 234 ethoc_write(priv, MAC_ADDR0, (mac[2] << 24) | (mac[3] << 16) | in ethoc_write_hwaddr_common() 235 (mac[4] << 8) | (mac[5] << 0)); in ethoc_write_hwaddr_common() 236 ethoc_write(priv, MAC_ADDR1, (mac[0] << 8) | (mac[1] << 0)); in ethoc_write_hwaddr_common() 650 u8 *mac = pdata->eth_pdata.enetaddr; in ethoc_write_hwaddr() local 652 return ethoc_write_hwaddr_common(priv, mac); in ethoc_write_hwaddr() 767 u8 *mac = dev->enetaddr; in ethoc_write_hwaddr() local 769 return ethoc_write_hwaddr_common(priv, mac); in ethoc_write_hwaddr()
|
/openbmc/u-boot/doc/ |
H A D | README.ae350 | 39 5. mac driver 47 3. Ping a server by mac driver 63 Warning: mac@e0100000 (eth0) using random MAC address - be:dd:d7:e4:e8:10 64 eth0: mac@e0100000 75 Using mac@e0100000 device 130 Warning: mac@e0100000 (eth0) using random MAC address - ee:4c:58:29:32:f5 131 eth0: mac@e0100000 164 Warning: mac@e0100000 (eth0) using random MAC address - 02:00:00:00:00:00 165 eth0: mac@e0100000 249 [ 1.396000] ftmac100 e0100000.mac eth0: irq 8, mapped at ffffffd002005000 [all …]
|
/openbmc/linux/drivers/net/wireless/ath/carl9170/ |
H A D | rx.c | 290 struct ar9170_rx_head *head, struct ar9170_rx_macstatus *mac, in carl9170_rx_mac_status() argument 299 error = mac->error; in carl9170_rx_mac_status() 322 decrypt = ar9170_get_decrypt_type(mac); in carl9170_rx_mac_status() 358 switch (mac->status & AR9170_RX_STATUS_MODULATION) { in carl9170_rx_mac_status() 360 if (mac->status & AR9170_RX_STATUS_SHORT_PREAMBLE) in carl9170_rx_mac_status() 700 struct ar9170_rx_macstatus *mac; in carl9170_rx_untie_data() local 709 if (unlikely(len < sizeof(*mac))) in carl9170_rx_untie_data() 714 mpdu_len = len - sizeof(*mac); in carl9170_rx_untie_data() 716 mac = (void *)(buf + mpdu_len); in carl9170_rx_untie_data() 717 mac_status = mac->status; in carl9170_rx_untie_data() [all …]
|
/openbmc/linux/arch/arm64/boot/dts/rockchip/ |
H A D | rk3399-nanopi-r4s-enterprise.dts | 13 nvmem-cell-names = "mac-address"; 25 mac_address: mac-address@fa {
|
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
H A D | dm.c | 262 struct rtl_mac *mac = rtl_mac(rtlpriv); in rtl8723be_dm_find_minimum_rssi() local 265 if ((mac->link_state < MAC80211_LINKED) && in rtl8723be_dm_find_minimum_rssi() 271 if (mac->link_state >= MAC80211_LINKED) { in rtl8723be_dm_find_minimum_rssi() 272 if (mac->opmode == NL80211_IFTYPE_AP || in rtl8723be_dm_find_minimum_rssi() 385 if (mac->act_scanning) in rtl8723be_dm_dig() 398 if (mac->link_state >= MAC80211_LINKED) { in rtl8723be_dm_dig() 469 if (mac->link_state >= MAC80211_LINKED) { in rtl8723be_dm_dig() 928 if (mac->link_state == MAC80211_LINKED && in rtl8723be_dm_refresh_rate_adaptive_mask() 929 mac->opmode == NL80211_IFTYPE_STATION) { in rtl8723be_dm_refresh_rate_adaptive_mask() 962 sta = rtl_find_sta(hw, mac->bssid); in rtl8723be_dm_refresh_rate_adaptive_mask() [all …]
|
/openbmc/linux/include/net/ |
H A D | llc.h | 31 unsigned char mac[IFHWADDRLEN]; member 83 return hash_32(jhash(laddr->mac, sizeof(laddr->mac), 0), in llc_sk_laddr_hashfn()
|
/openbmc/linux/drivers/net/wireless/zydas/zd1211rw/ |
H A D | zd_usb.c | 385 spin_lock(&mac->lock); in handle_regs_int() 1415 struct zd_mac *mac; in disconnect() local 1423 mac = zd_hw_mac(hw); in disconnect() 1424 usb = &mac->chip.usb; in disconnect() 1442 zd_mac_clear(mac); in disconnect() 1490 struct zd_mac *mac; in pre_reset() local 1496 mac = zd_hw_mac(hw); in pre_reset() 1497 usb = &mac->chip.usb; in pre_reset() 1510 struct zd_mac *mac; in post_reset() local 1516 mac = zd_hw_mac(hw); in post_reset() [all …]
|
/openbmc/openbmc/meta-security/recipes-core/packagegroup/ |
H A D | packagegroup-core-security.bb | 14 packagegroup-security-mac \ 24 packagegroup-security-mac \ 85 SUMMARY:packagegroup-security-mac = "Security Mandatory Access Control systems" 86 RDEPENDS:packagegroup-security-mac = " \ 92 RDEPENDS:packagegroup-security-mac:remove:mipsarch = "apparmor"
|
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/ |
H A D | stmmac_platform.h | 15 stmmac_probe_config_dt(struct platform_device *pdev, u8 *mac); 17 devm_stmmac_probe_config_dt(struct platform_device *pdev, u8 *mac);
|
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
H A D | dm.c | 427 struct rtl_mac *mac = rtl_mac(rtlpriv); in rtl8821ae_dm_find_minimum_rssi() local 435 if (mac->link_state >= MAC80211_LINKED) { in rtl8821ae_dm_find_minimum_rssi() 436 if (mac->opmode == NL80211_IFTYPE_AP || in rtl8821ae_dm_find_minimum_rssi() 518 if (mac->opmode == NL80211_IFTYPE_AP || in rtl8821ae_dm_check_rssi_monitor() 559 mac->mode == WIRELESS_MODE_AC_5G || in rtl8821ae_dm_check_rssi_monitor() 560 mac->mode == WIRELESS_MODE_AC_ONLY) in rtl8821ae_dm_check_rssi_monitor() 561 stbc_tx = (mac->vht_cur_stbc & in rtl8821ae_dm_check_rssi_monitor() 564 stbc_tx = (mac->ht_cur_stbc & in rtl8821ae_dm_check_rssi_monitor() 631 if (mac->act_scanning) { in rtl8821ae_dm_dig() 2404 sta = rtl_find_sta(hw, mac->bssid); in rtl8821ae_dm_refresh_rate_adaptive_mask() [all …]
|