Home
last modified time | relevance | path

Searched refs:mac (Results 451 – 475 of 1888) sorted by relevance

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

/openbmc/linux/drivers/net/wireless/ti/wl1251/
H A Dacx.c44 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 Dtrx.c277 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()
/openbmc/u-boot/arch/mips/dts/
H A Dar933x.dtsi75 compatible = "qca,ag933x-mac";
92 compatible = "qca,ag933x-mac";
/openbmc/linux/arch/arm64/boot/dts/ti/
H A Dk3-j721e-evm-gesi-exp-board.dtso41 mac-address = [00 00 00 00 00 00];
49 mac-address = [00 00 00 00 00 00];
57 mac-address = [00 00 00 00 00 00];
65 mac-address = [00 00 00 00 00 00];
/openbmc/linux/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-switch.c1441 struct dpaa2_mac *mac; in dpaa2_switch_port_connect_mac() local
1453 mac = kzalloc(sizeof(*mac), GFP_KERNEL); in dpaa2_switch_port_connect_mac()
1454 if (!mac) in dpaa2_switch_port_connect_mac()
1476 port_priv->mac = mac; in dpaa2_switch_port_connect_mac()
1482 dpaa2_mac_close(mac); in dpaa2_switch_port_connect_mac()
1484 kfree(mac); in dpaa2_switch_port_connect_mac()
1490 struct dpaa2_mac *mac; in dpaa2_switch_port_disconnect_mac() local
1493 mac = port_priv->mac; in dpaa2_switch_port_disconnect_mac()
1497 if (!mac) in dpaa2_switch_port_disconnect_mac()
1503 dpaa2_mac_close(mac); in dpaa2_switch_port_disconnect_mac()
[all …]
/openbmc/linux/tools/testing/selftests/net/forwarding/
H A Dbridge_igmp.sh140 local mac=$2
147 $MZ $host1_if -b $mac -c 1 -B $group -t ip "proto=2,p=$MZPKT_IS_INC" -q
164 local mac=$2
170 v3include_prepare $host1_if $mac $group
172 $MZ $host1_if -c 1 -b $mac -B $group -t ip "proto=2,p=$MZPKT_IS_EXC" -q
/openbmc/linux/net/netfilter/ipset/
H A DKconfig38 tristate "bitmap:ip,mac set support"
41 This option adds the bitmap:ip,mac set type support, by which one
104 tristate "hash:ip,mac set support"
107 This option adds the hash:ip,mac set type support, by which
113 tristate "hash:mac set support"
116 This option adds the hash:mac set type support, by which
/openbmc/linux/arch/arm64/boot/dts/marvell/
H A Darmada-8040-puzzle-m801.dts385 local-mac-address = [ae 00 00 00 ff 00];
394 local-mac-address = [ae 00 00 00 ff 01];
402 local-mac-address = [ae 00 00 00 ff 02];
459 local-mac-address = [ae 00 00 00 ff 03];
468 local-mac-address = [ae 00 00 00 ff 04];
475 local-mac-address = [ae 00 00 00 ff 05];
/openbmc/qemu/hw/net/
H A Dnpcm7xx_emc.c447 struct MACAddr mac; in emc_receive_filter1() local
453 mac.a[0] = value >> 24; in emc_receive_filter1()
454 mac.a[1] = value >> 16; in emc_receive_filter1()
455 mac.a[2] = value >> 8; in emc_receive_filter1()
456 mac.a[3] = value >> 0; in emc_receive_filter1()
458 mac.a[4] = value >> 24; in emc_receive_filter1()
459 mac.a[5] = value >> 16; in emc_receive_filter1()
464 memcmp(buf, mac.a, ETH_ALEN) == 0); in emc_receive_filter1()
H A Dsungem.c214 MemoryRegion mac; member
487 static int sungem_check_rx_mac(SunGEMState *s, const uint8_t *mac, uint32_t crc) in sungem_check_rx_mac() argument
498 mac0 = (mac[4] << 8) | mac[5]; in sungem_check_rx_mac()
499 mac1 = (mac[2] << 8) | mac[3]; in sungem_check_rx_mac()
500 mac2 = (mac[0] << 8) | mac[1]; in sungem_check_rx_mac()
512 if (mac[0] & 1) { in sungem_check_rx_mac()
1385 memory_region_init_io(&s->mac, OBJECT(s), &sungem_mmio_mac_ops, s, in sungem_realize()
1387 memory_region_add_subregion(&s->sungem, 0x6000, &s->mac); in sungem_realize()
/openbmc/linux/Documentation/devicetree/bindings/net/
H A Dqca,qca7000.txt54 local-mac-address = [ A0 B0 C0 D0 E0 F0 ];
69 - local-mac-address : see ./ethernet.txt
84 local-mac-address = [ A0 B0 C0 D0 E0 F0 ];
/openbmc/u-boot/arch/arm/dts/
H A Dkeystone-k2l-netcp.dtsi172 efuse-mac = <1>;
184 efuse-mac = <0>;
185 local-mac-address = [02 18 31 7e 3e 7f];
H A Dkeystone-k2e-netcp.dtsi189 efuse-mac = <1>;
201 efuse-mac = <0>;
202 local-mac-address = [02 18 31 7e 3e 00];
/openbmc/linux/drivers/net/wireless/ath/ath6kl/
H A Dmain.c38 if (memcmp(node_addr, ar->sta_list[i].mac, ETH_ALEN) == 0) { in ath6kl_find_sta()
61 static void ath6kl_add_new_sta(struct ath6kl_vif *vif, u8 *mac, u16 aid, in ath6kl_add_new_sta() argument
72 memcpy(sta->mac, mac, ETH_ALEN); in ath6kl_add_new_sta()
108 eth_zero_addr(sta->mac); in ath6kl_sta_cleanup()
117 static u8 ath6kl_remove_sta(struct ath6kl *ar, u8 *mac, u16 reason) in ath6kl_remove_sta() argument
121 if (is_zero_ether_addr(mac)) in ath6kl_remove_sta()
124 if (is_broadcast_ether_addr(mac)) { in ath6kl_remove_sta()
128 if (!is_zero_ether_addr(ar->sta_list[i].mac)) { in ath6kl_remove_sta()
135 if (memcmp(ar->sta_list[i].mac, mac, ETH_ALEN) == 0) { in ath6kl_remove_sta()
138 mac, ar->sta_list[i].aid, reason); in ath6kl_remove_sta()
[all …]
/openbmc/qemu/hw/arm/
H A Dstellaris.c1047 MACAddr mac; in stellaris_init() local
1081 memcpy(mac.a, nd->macaddr.a, sizeof(mac.a)); in stellaris_init()
1083 qemu_macaddr_default_if_unset(&mac); in stellaris_init()
1087 mac.a[0] | (mac.a[1] << 8) | (mac.a[2] << 16)); in stellaris_init()
1089 mac.a[3] | (mac.a[4] << 8) | (mac.a[5] << 16)); in stellaris_init()
1313 qdev_prop_set_macaddr(enet, "mac", mac.a); in stellaris_init()
/openbmc/linux/drivers/net/wireless/realtek/rtw89/
H A Dser.c536 const struct rtw89_mac_gen_def *mac = rtwdev->chip->mac_def; in ser_mac_mem_dump() local
537 u32 filter_model_addr = mac->filter_model_addr; in ser_mac_mem_dump()
538 u32 indir_access_addr = mac->indir_access_addr; in ser_mac_mem_dump()
546 base_addr = mac->mem_base_addrs[sel]; in ser_mac_mem_dump()
595 const struct rtw89_mac_gen_def *mac = rtwdev->chip->mac_def; in rtw89_ser_fw_backtrace_dump() local
596 u32 filter_model_addr = mac->filter_model_addr; in rtw89_ser_fw_backtrace_dump()
597 u32 indir_access_addr = mac->indir_access_addr; in rtw89_ser_fw_backtrace_dump()
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_platform.c399 stmmac_probe_config_dt(struct platform_device *pdev, u8 *mac) in stmmac_probe_config_dt() argument
412 rc = of_get_mac_address(np, mac); in stmmac_probe_config_dt()
417 eth_zero_addr(mac); in stmmac_probe_config_dt()
652 devm_stmmac_probe_config_dt(struct platform_device *pdev, u8 *mac) in devm_stmmac_probe_config_dt() argument
657 plat = stmmac_probe_config_dt(pdev, mac); in devm_stmmac_probe_config_dt()
686 stmmac_probe_config_dt(struct platform_device *pdev, u8 *mac) in stmmac_probe_config_dt() argument
692 devm_stmmac_probe_config_dt(struct platform_device *pdev, u8 *mac) in devm_stmmac_probe_config_dt() argument
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dpno.c177 memcpy(pfn_mac.mac, mac_addr, ETH_ALEN); in brcmf_pno_set_random()
179 pfn_mac.mac[i] &= mac_mask[i]; in brcmf_pno_set_random()
180 pfn_mac.mac[i] |= get_random_u8() & ~(mac_mask[i]); in brcmf_pno_set_random()
183 pfn_mac.mac[0] &= 0xFE; in brcmf_pno_set_random()
185 pfn_mac.mac[0] |= 0x02; in brcmf_pno_set_random()
188 pi->reqs[ri]->reqid, pfn_mac.mac); in brcmf_pno_set_random()
/openbmc/google-misc/subprojects/ncsid/test/
H A Dnic_mock.h156 void set_mac(const mac_addr_t& mac) in set_mac() argument
158 mac_ = mac; in set_mac()
/openbmc/linux/arch/arm/boot/dts/broadcom/
H A Dbcm958625-meraki-mx6x-common.dtsi43 nvmem-cell-names = "mac-address";
61 mac_address: mac-address@66 {
/openbmc/qemu/qapi/
H A Dcryptodev.json34 # @mac: Message Authentication Codes service
43 'data': ['cipher', 'hash', 'mac', 'aead', 'akcipher']}
/openbmc/linux/drivers/net/ethernet/brocade/bna/
H A Dbna.h240 struct bna_mac *mac; in bna_mac_find() local
242 list_for_each_entry(mac, q, qe) in bna_mac_find()
243 if (ether_addr_equal(mac->addr, addr)) in bna_mac_find()
244 return mac; in bna_mac_find()
392 void bna_enet_perm_mac_get(struct bna_enet *enet, u8 *mac);
/openbmc/linux/drivers/net/ethernet/natsemi/
H A Dmacsonic.c196 #define INVALID_MAC(mac) (memcmp(mac, "\x08\x00\x07", 3) && \ argument
197 memcmp(mac, "\x00\xA0\x40", 3) && \
198 memcmp(mac, "\x00\x80\x19", 3) && \
199 memcmp(mac, "\x00\x05\x02", 3))
/openbmc/linux/drivers/net/ethernet/mellanox/mlxbf_gige/
H A Dmlxbf_gige_main.c68 u8 mac[ETH_ALEN]; in mlxbf_gige_initial_mac() local
71 eth_zero_addr(mac); in mlxbf_gige_initial_mac()
74 u64_to_ether_addr(local_mac, mac); in mlxbf_gige_initial_mac()
76 if (is_valid_ether_addr(mac)) { in mlxbf_gige_initial_mac()
77 eth_hw_addr_set(priv->netdev, mac); in mlxbf_gige_initial_mac()
/openbmc/u-boot/drivers/mmc/
H A Drpmb.c66 unsigned char mac[RPMB_SZ_MAC]; member
251 memcpy(rpmb_frame->mac, key, RPMB_SZ_MAC); in mmc_rpmb_set_key()
282 if (memcmp(ret_hmac, rpmb_frame->mac, RPMB_SZ_MAC)) { in mmc_rpmb_read()
313 rpmb_hmac(key, rpmb_frame->data, 284, rpmb_frame->mac); in mmc_rpmb_write()

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