Home
last modified time | relevance | path

Searched refs:mac (Results 201 – 225 of 1876) sorted by relevance

12345678910>>...76

/openbmc/linux/tools/testing/selftests/drivers/net/dsa/
H A Dlib.sh1287 | jq -e ".[] | select(.mac == \"$mac\")" &> /dev/null
1298 flower dst_mac $mac action drop
1300 $MZ $host2_if -c 1 -p 64 -b $mac -t ip -q
1308 $MZ $host1_if -c 1 -p 64 -a $mac -t ip -q
1315 $MZ $host2_if -c 1 -p 64 -b $mac -t ip -q
1334 $MZ $host1_if -c 1 -p 64 -a $mac -t ip -q
1355 local mac=$2
1366 flower dst_mac $mac action drop
1391 local mac=de:ad:be:ef:13:37
1414 local mac=01:00:5e:00:00:01
[all …]
/openbmc/linux/tools/testing/selftests/drivers/net/bonding/
H A Dnet_forwarding_lib.sh1287 | jq -e ".[] | select(.mac == \"$mac\")" &> /dev/null
1298 flower dst_mac $mac action drop
1300 $MZ $host2_if -c 1 -p 64 -b $mac -t ip -q
1308 $MZ $host1_if -c 1 -p 64 -a $mac -t ip -q
1315 $MZ $host2_if -c 1 -p 64 -b $mac -t ip -q
1334 $MZ $host1_if -c 1 -p 64 -a $mac -t ip -q
1355 local mac=$2
1366 flower dst_mac $mac action drop
1391 local mac=de:ad:be:ef:13:37
1414 local mac=01:00:5e:00:00:01
[all …]
/openbmc/linux/tools/testing/selftests/drivers/net/team/
H A Dnet_forwarding_lib.sh1287 | jq -e ".[] | select(.mac == \"$mac\")" &> /dev/null
1298 flower dst_mac $mac action drop
1300 $MZ $host2_if -c 1 -p 64 -b $mac -t ip -q
1308 $MZ $host1_if -c 1 -p 64 -a $mac -t ip -q
1315 $MZ $host2_if -c 1 -p 64 -b $mac -t ip -q
1334 $MZ $host1_if -c 1 -p 64 -a $mac -t ip -q
1355 local mac=$2
1366 flower dst_mac $mac action drop
1391 local mac=de:ad:be:ef:13:37
1414 local mac=01:00:5e:00:00:01
[all …]
/openbmc/u-boot/board/imgtec/ci20/
H A Dci20.c23 u8 mac[6]; member
175 if (!is_valid_ethaddr(otp.mac)) { in misc_init_r()
177 jz4780_efuse_read(0x8, 4, &otp.mac[0]); in misc_init_r()
178 jz4780_efuse_read(0x12, 2, &otp.mac[4]); in misc_init_r()
179 otp.mac[0] = (otp.mac[0] | 0x02) & ~0x01; in misc_init_r()
181 eth_env_set_enetaddr("ethaddr", otp.mac); in misc_init_r()
/openbmc/u-boot/arch/arm/cpu/armv7/vf610/
H A Dgeneric.c255 void imx_get_mac_from_fuse(int dev_id, unsigned char *mac) in imx_get_mac_from_fuse() argument
263 mac[0] = (value >> 8); in imx_get_mac_from_fuse()
264 mac[1] = value; in imx_get_mac_from_fuse()
267 mac[2] = value >> 24; in imx_get_mac_from_fuse()
268 mac[3] = value >> 16; in imx_get_mac_from_fuse()
269 mac[4] = value >> 8; in imx_get_mac_from_fuse()
270 mac[5] = value; in imx_get_mac_from_fuse()
/openbmc/u-boot/drivers/net/pfe_eth/
H A Dpfe_eth.c88 uchar *mac = pdata->enetaddr; in pfe_eth_write_hwaddr() local
90 writel((mac[0] << 24) + (mac[1] << 16) + (mac[2] << 8) + mac[3], in pfe_eth_write_hwaddr()
92 writel((mac[4] << 24) + (mac[5] << 16) + 0x8808, gem->gemac_base + in pfe_eth_write_hwaddr()
/openbmc/linux/drivers/media/common/b2c2/
H A Dflexcop-hw-filter.c25 void flexcop_set_mac_filter(struct flexcop_device *fc, u8 mac[6]) in flexcop_set_mac_filter()
30 v418.mac_address_418.MAC1 = mac[0]; in flexcop_set_mac_filter()
31 v418.mac_address_418.MAC2 = mac[1]; in flexcop_set_mac_filter()
32 v418.mac_address_418.MAC3 = mac[2]; in flexcop_set_mac_filter()
33 v418.mac_address_418.MAC6 = mac[3]; in flexcop_set_mac_filter()
34 v41c.mac_address_41c.MAC7 = mac[4]; in flexcop_set_mac_filter()
35 v41c.mac_address_41c.MAC8 = mac[5]; in flexcop_set_mac_filter()
/openbmc/openbmc/meta-phosphor/dynamic-layers/aspeed-layer/recipes-bsp/u-boot/files/
H A D0002-board-aspeed-aspeednic-Use-MAC2-for-networking.patch26 #define _PHY_SETTING_CONCAT(mac) CONFIG_MAC##mac##_PHY_SETTING
27 #define _GET_MAC_PHY_SETTING(mac) _PHY_SETTING_CONCAT(mac)
/openbmc/openbmc/meta-yadro/meta-vegman/recipes-yadro/fru/vegman-fru-handler/
H A Dbaseboard-fru-handler.sh21 local mac="$2"
30 ip link set dev "${iface}" address "${mac}" ||:
38 local mac="$2"
51 if ! fw_setenv "$envname" "$mac"; then
/openbmc/linux/Documentation/devicetree/bindings/nvmem/
H A Dsunplus,sp7021-ocotp.yaml39 mac-address0:
43 mac-address1:
71 mac_addr0: mac-address0@34 {
74 mac_addr1: mac-address1@3a {
/openbmc/u-boot/board/ti/common/
H A Dboard_detect.c394 static u64 mac_to_u64(u8 mac[6]) in mac_to_u64()
401 addr |= mac[i]; in mac_to_u64()
407 static void u64_to_mac(u64 addr, u8 mac[6]) in u64_to_mac()
409 mac[5] = addr; in u64_to_mac()
410 mac[4] = addr >> 8; in u64_to_mac()
411 mac[3] = addr >> 16; in u64_to_mac()
412 mac[2] = addr >> 24; in u64_to_mac()
413 mac[1] = addr >> 32; in u64_to_mac()
414 mac[0] = addr >> 40; in u64_to_mac()
/openbmc/google-misc/subprojects/ncsid/src/platforms/nemora/portable/
H A Dncsi_fsm.c79 mac_addr_t* mac) { in ncsi_fsm_poll_l2_config() argument
231 memcpy(mac->octet, get_mac_response->mac, sizeof(mac_addr_t)); in ncsi_fsm_poll_l2_config()
238 len = ncsi_cmd_set_mac(ncsi_buf->data, CHANNEL_0_ID, mac); in ncsi_fsm_poll_l2_config()
251 len = ncsi_cmd_set_mac(ncsi_buf->data, CHANNEL_1_ID, mac); in ncsi_fsm_poll_l2_config()
322 mac_addr_t* mac, in write_ncsi_oem_config_filter() argument
332 len = ncsi_oem_cmd_set_filter(buffer, channel, mac, 0, rx_port, 1); in write_ncsi_oem_config_filter()
340 mac_addr_t* mac, in ncsi_fsm_poll_l3l4_config() argument
566 network_debug, mac, ipv4_addr, rx_port); in ncsi_fsm_poll_test()
568 if (0 != memcmp((void*)&get_filter_response->filter.mac, in ncsi_fsm_poll_test()
569 (void*)&expected.filter.mac, in ncsi_fsm_poll_test()
[all …]
/openbmc/linux/arch/mips/boot/dts/cavium-octeon/
H A Docteon_68xx.dts251 local-mac-address = [ 00 00 00 00 00 00 ];
270 local-mac-address = [ 00 00 00 00 00 00 ];
276 local-mac-address = [ 00 00 00 00 00 00 ];
282 local-mac-address = [ 00 00 00 00 00 00 ];
288 local-mac-address = [ 00 00 00 00 00 00 ];
302 local-mac-address = [ 00 00 00 00 00 00 ];
308 local-mac-address = [ 00 00 00 00 00 00 ];
314 local-mac-address = [ 00 00 00 00 00 00 ];
320 local-mac-address = [ 00 00 00 00 00 00 ];
334 local-mac-address = [ 00 00 00 00 00 00 ];
[all …]
/openbmc/linux/drivers/net/dsa/
H A Dlan9303-core.c620 mac[0] = (dat0 >> 0) & 0xff; in alr_reg_to_mac()
621 mac[1] = (dat0 >> 8) & 0xff; in alr_reg_to_mac()
622 mac[2] = (dat0 >> 16) & 0xff; in alr_reg_to_mac()
623 mac[3] = (dat0 >> 24) & 0xff; in alr_reg_to_mac()
659 u8 mac[ETH_ALEN]; in alr_loop_cb_fdb_port_dump() local
689 dat0 |= (mac[0] << 0); in lan9303_alr_set_entry()
690 dat0 |= (mac[1] << 8); in lan9303_alr_set_entry()
691 dat0 |= (mac[2] << 16); in lan9303_alr_set_entry()
692 dat0 |= (mac[3] << 24); in lan9303_alr_set_entry()
694 dat1 |= (mac[4] << 0); in lan9303_alr_set_entry()
[all …]
/openbmc/linux/drivers/scsi/qedf/
H A Dqedf_fip.c36 ether_addr_copy(vlan->eth.h_source, qedf->mac); in qedf_fcoe_send_vlan_req()
45 vlan->desc.mac.fd_desc.fip_dtype = FIP_DT_MAC; in qedf_fcoe_send_vlan_req()
46 vlan->desc.mac.fd_desc.fip_dlen = sizeof(vlan->desc.mac) / FIP_BPW; in qedf_fcoe_send_vlan_req()
47 ether_addr_copy(vlan->desc.mac.fd_mac, qedf->mac); in qedf_fcoe_send_vlan_req()
199 if (!ether_addr_equal(eth_hdr->h_dest, qedf->mac) && in qedf_fip_recv()
204 op, eth_hdr->h_dest, qedf->mac, in qedf_fip_recv()
/openbmc/linux/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_sriov.c64 int nfp_app_set_vf_mac(struct net_device *netdev, int vf, u8 *mac) in nfp_app_set_vf_mac() argument
74 if (is_multicast_ether_addr(mac)) { in nfp_app_set_vf_mac()
77 mac, vf); in nfp_app_set_vf_mac()
83 writel(get_unaligned_be32(mac), app->pf->vfcfg_tbl2 + vf_offset); in nfp_app_set_vf_mac()
84 writew(get_unaligned_be16(mac + 4), in nfp_app_set_vf_mac()
91 mac, vf); in nfp_app_set_vf_mac()
285 put_unaligned_be32(mac_hi, &ivi->mac[0]); in nfp_app_get_vf_config()
286 put_unaligned_be16(mac_lo, &ivi->mac[4]); in nfp_app_get_vf_config()
/openbmc/u-boot/board/LaCie/netspace_v2/
H A Dnetspace_v2.c87 uchar mac[6]; in misc_init_r() local
88 if (lacie_read_mac_address(mac) == 0) in misc_init_r()
89 eth_env_set_enetaddr("ethaddr", mac); in misc_init_r()
/openbmc/openbmc/meta-google/recipes-google/networking/gbmc-bridge/
H A Dgbmc-br-ula.sh61 if [[ $action == add && $mac != "$gbmc_br_ula_mac" ]]; then
62 gbmc_br_ula_mac="$mac"
65 if [[ $action == del && $mac == "$gbmc_br_ula_mac" ]]; then
/openbmc/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_main.c863 switch (hw->mac.type) { in ixgbe_set_ivar()
939 switch (hw->mac.type) { in ixgbe_update_xoff_rx_lfc()
982 switch (hw->mac.type) { in ixgbe_update_xoff_received()
1278 switch (hw->mac.type) { in ixgbe_update_tx_dca()
1315 switch (hw->mac.type) { in ixgbe_update_rx_dca()
2872 switch (hw->mac.type) { in ixgbe_is_sfp()
2945 switch (hw->mac.type) { in ixgbe_irq_enable_queues()
7995 if (hw->mac.ops.fw_recovery_mode && hw->mac.ops.fw_recovery_mode(hw)) { in ixgbe_check_fw_error()
9014 struct ixgbe_mac_info *mac = &adapter->hw.mac; in ixgbe_del_sanmac_netdev() local
10881 hw->mac.type = ii->mac; in ixgbe_probe()
[all …]
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
H A Dhw.c197 if (!mac->ht_enable) in rtl92de_set_hw_reg()
235 mac->min_space_cfg = ((mac->min_space_cfg & 0xf8) | in rtl92de_set_hw_reg()
240 mac->min_space_cfg); in rtl92de_set_hw_reg()
242 mac->min_space_cfg); in rtl92de_set_hw_reg()
254 mac->min_space_cfg); in rtl92de_set_hw_reg()
256 mac->min_space_cfg); in rtl92de_set_hw_reg()
421 mac->assoc_id)); in rtl92de_set_hw_reg()
931 if (mac->rdg_en) { in rtl92de_hw_init()
1794 u8 nmode = mac->ht_enable; in rtl92de_update_hal_rate_table()
2021 &mac->slot_time); in rtl92de_update_channel_access_setting()
[all …]
/openbmc/openbmc/meta-quanta/meta-common/recipes-quanta/network/usb-network/
H A Dusb-network.sh15 mac="$(tr -d '\0' < "$1")"
19 mac="${first_byte}${mac:2}"
20 echo "$mac"
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_lwt_redirect.c14 char mac[] = {0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0xf, in prepend_dummy_mac() local
20 if (bpf_skb_store_bytes(skb, 0, mac, sizeof(mac), 0)) in prepend_dummy_mac()
/openbmc/openbmc/meta-openpower/recipes-phosphor/network/first-boot-set-mac/
H A Dfirst-boot-set-mac.sh5 echo "$@" | systemd-cat -t first-boot-set-mac -p emerg
83 mkdir -p "/var/lib/first-boot-set-mac"
84 touch "/var/lib/first-boot-set-mac/${1}"
/openbmc/ipmitool/src/plugins/lanplus/
H A Dlanplus_crypt_impl.c113 lanplus_HMAC(uint8_t mac, in lanplus_HMAC() argument
123 if ((mac == IPMI_AUTH_RAKP_HMAC_SHA1) || in lanplus_HMAC()
124 (mac == IPMI_INTEGRITY_HMAC_SHA1_96)) in lanplus_HMAC()
128 lprintf(LOG_DEBUG, "Invalid mac type 0x%x in lanplus_HMAC\n", mac); in lanplus_HMAC()
/openbmc/linux/arch/arm64/boot/dts/freescale/
H A Dfsl-ls1028a-kontron-sl28-var2.dts40 nvmem-cell-names = "mac-address";
46 nvmem-cell-names = "mac-address";
60 nvmem-cell-names = "mac-address";
70 nvmem-cell-names = "mac-address";

12345678910>>...76