Home
last modified time | relevance | path

Searched refs:mac (Results 301 – 325 of 1882) sorted by relevance

1...<<11121314151617181920>>...76

/openbmc/linux/drivers/net/ethernet/intel/igbvf/
H A Dnetdev.c44 .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/fddi/skfp/
H A Dfplustm.c402 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/linux/drivers/net/wireless/intel/iwlegacy/
H A DMakefile10 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/u-boot/examples/standalone/
H A Dsmc91111_eeprom.c251 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 Dtdc_batch.py103 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 Dmain.c1320 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 Dncsi_client.c130 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 Dncsi_fsm.h198 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 Dcpsw.txt71 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 Dmediatek,net.yaml371 "^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 Dqlcnic_sriov_pf.c689 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 Dglobal1_atu.c264 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 Dethoc.c232 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()
H A Dfsl_mcdmafec.c309 static void fec_set_hwaddr(volatile fecdma_t * fecp, u8 * mac) in fec_set_hwaddr() argument
317 currByte = mac[byte]; in fec_set_hwaddr()
341 fecp->palr = (mac[0] << 24) + (mac[1] << 16) + (mac[2] << 8) + mac[3]; in fec_set_hwaddr()
342 fecp->paur = (mac[4] << 24) + (mac[5] << 16) + 0x8808; in fec_set_hwaddr()
/openbmc/u-boot/doc/
H A DREADME.ae35039 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 Drx.c290 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 Drk3399-nanopi-r4s-enterprise.dts13 nvmem-cell-names = "mac-address";
25 mac_address: mac-address@fa {
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
H A Ddm.c262 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 Dllc.h31 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 Dzd_usb.c385 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 Dpackagegroup-core-security.bb14 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/openbmc/meta-google/recipes-google/networking/google-usb-network/
H A Dusb_network.service.m44 ` --host-mac "$1"'))')
8 ` --dev-mac "$1"'))')
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
H A Ddm.c427 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 …]
/openbmc/u-boot/board/phytec/phycore_rk3288/
H A Dphycore-rk3288.c66 if (is_valid_ethaddr(opt.mac)) in rk_board_late_init()
67 eth_env_set_enetaddr("ethaddr", opt.mac); in rk_board_late_init()
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_platform.h15 stmmac_probe_config_dt(struct platform_device *pdev, u8 *mac);
17 devm_stmmac_probe_config_dt(struct platform_device *pdev, u8 *mac);

1...<<11121314151617181920>>...76