/kernel/linux/linux-5.10/drivers/net/ethernet/ti/ |
H A D | cpsw-common.c | 16 int slave, u8 *mac_addr) in davinci_emac_3517_get_macid() 32 mac_addr[0] = (macid_msb >> 16) & 0xff; in davinci_emac_3517_get_macid() 33 mac_addr[1] = (macid_msb >> 8) & 0xff; in davinci_emac_3517_get_macid() 34 mac_addr[2] = macid_msb & 0xff; in davinci_emac_3517_get_macid() 35 mac_addr[3] = (macid_lsb >> 16) & 0xff; in davinci_emac_3517_get_macid() 36 mac_addr[4] = (macid_lsb >> 8) & 0xff; in davinci_emac_3517_get_macid() 37 mac_addr[5] = macid_lsb & 0xff; in davinci_emac_3517_get_macid() 43 u8 *mac_addr) in cpsw_am33xx_cm_get_macid() 59 mac_addr[5] = (macid_lo >> 8) & 0xff; in cpsw_am33xx_cm_get_macid() 60 mac_addr[ in cpsw_am33xx_cm_get_macid() 15 davinci_emac_3517_get_macid(struct device *dev, u16 offset, int slave, u8 *mac_addr) davinci_emac_3517_get_macid() argument 42 cpsw_am33xx_cm_get_macid(struct device *dev, u16 offset, int slave, u8 *mac_addr) cpsw_am33xx_cm_get_macid() argument 69 ti_cm_get_macid(struct device *dev, int slave, u8 *mac_addr) ti_cm_get_macid() argument [all...] |
H A D | davinci_emac.c | 314 char mac_addr[6]; member 601 * @mac_addr: mac address to delete from hash table 606 static int emac_hash_add(struct emac_priv *priv, u8 *mac_addr) in emac_hash_add() argument 611 u32 hash_value = hash_get(mac_addr); in emac_hash_add() 643 * @mac_addr: mac address to delete from hash table 648 static int emac_hash_del(struct emac_priv *priv, u8 *mac_addr) in emac_hash_del() argument 653 hash_value = hash_get(mac_addr); in emac_hash_del() 686 * @mac_addr: mac address to set 691 static void emac_add_mcast(struct emac_priv *priv, u32 action, u8 *mac_addr) in emac_add_mcast() argument 698 update = emac_hash_add(priv, mac_addr); in emac_add_mcast() 1025 emac_set_type0addr(struct emac_priv *priv, u32 ch, char *mac_addr) emac_set_type0addr() argument 1052 emac_set_type1addr(struct emac_priv *priv, u32 ch, char *mac_addr) emac_set_type1addr() argument 1076 emac_set_type2addr(struct emac_priv *priv, u32 ch, char *mac_addr, int index, int match) emac_set_type2addr() argument 1100 emac_setmac(struct emac_priv *priv, u32 ch, char *mac_addr) emac_setmac() argument 1702 const u8 *mac_addr; davinci_emac_of_get_pdata() local 1760 davinci_emac_try_get_mac(struct platform_device *pdev, int instance, u8 *mac_addr) davinci_emac_try_get_mac() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/ti/ |
H A D | cpsw-common.c | 15 int slave, u8 *mac_addr) in davinci_emac_3517_get_macid() 31 mac_addr[0] = (macid_msb >> 16) & 0xff; in davinci_emac_3517_get_macid() 32 mac_addr[1] = (macid_msb >> 8) & 0xff; in davinci_emac_3517_get_macid() 33 mac_addr[2] = macid_msb & 0xff; in davinci_emac_3517_get_macid() 34 mac_addr[3] = (macid_lsb >> 16) & 0xff; in davinci_emac_3517_get_macid() 35 mac_addr[4] = (macid_lsb >> 8) & 0xff; in davinci_emac_3517_get_macid() 36 mac_addr[5] = macid_lsb & 0xff; in davinci_emac_3517_get_macid() 42 u8 *mac_addr) in cpsw_am33xx_cm_get_macid() 58 mac_addr[5] = (macid_lo >> 8) & 0xff; in cpsw_am33xx_cm_get_macid() 59 mac_addr[ in cpsw_am33xx_cm_get_macid() 14 davinci_emac_3517_get_macid(struct device *dev, u16 offset, int slave, u8 *mac_addr) davinci_emac_3517_get_macid() argument 41 cpsw_am33xx_cm_get_macid(struct device *dev, u16 offset, int slave, u8 *mac_addr) cpsw_am33xx_cm_get_macid() argument 68 ti_cm_get_macid(struct device *dev, int slave, u8 *mac_addr) ti_cm_get_macid() argument [all...] |
H A D | davinci_emac.c | 313 char mac_addr[6]; member 608 * @mac_addr: mac address to delete from hash table 613 static int emac_hash_add(struct emac_priv *priv, u8 *mac_addr) in emac_hash_add() argument 618 u32 hash_value = hash_get(mac_addr); in emac_hash_add() 650 * @mac_addr: mac address to delete from hash table 655 static int emac_hash_del(struct emac_priv *priv, u8 *mac_addr) in emac_hash_del() argument 660 hash_value = hash_get(mac_addr); in emac_hash_del() 693 * @mac_addr: mac address to set 698 static void emac_add_mcast(struct emac_priv *priv, u32 action, u8 *mac_addr) in emac_add_mcast() argument 705 update = emac_hash_add(priv, mac_addr); in emac_add_mcast() 1032 emac_set_type0addr(struct emac_priv *priv, u32 ch, char *mac_addr) emac_set_type0addr() argument 1059 emac_set_type1addr(struct emac_priv *priv, u32 ch, char *mac_addr) emac_set_type1addr() argument 1083 emac_set_type2addr(struct emac_priv *priv, u32 ch, char *mac_addr, int index, int match) emac_set_type2addr() argument 1107 emac_setmac(struct emac_priv *priv, u32 ch, char *mac_addr) emac_setmac() argument 1792 davinci_emac_try_get_mac(struct platform_device *pdev, int instance, u8 *mac_addr) davinci_emac_try_get_mac() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/sunplus/ |
H A D | spl2sw_driver.c | 156 netdev_dbg(ndev, "Old Ethernet (MAC) address = %pM\n", mac->mac_addr); in spl2sw_ethernet_set_mac_address() 157 if (is_valid_ether_addr(mac->mac_addr)) { in spl2sw_ethernet_set_mac_address() 164 ether_addr_copy(mac->mac_addr, ndev->dev_addr); in spl2sw_ethernet_set_mac_address() 206 static void spl2sw_check_mac_vendor_id_and_convert(u8 *mac_addr) in spl2sw_check_mac_vendor_id_and_convert() argument 212 if (mac_addr[5] == 0xfc && mac_addr[4] == 0x4b && mac_addr[3] == 0xbc && in spl2sw_check_mac_vendor_id_and_convert() 213 (mac_addr[0] != 0xfc || mac_addr[1] != 0x4b || mac_addr[ in spl2sw_check_mac_vendor_id_and_convert() 262 spl2sw_init_netdev(struct platform_device *pdev, u8 *mac_addr, struct net_device **r_ndev) spl2sw_init_netdev() argument 329 u8 mac_addr[ETH_ALEN]; spl2sw_probe() local [all...] |
H A D | spl2sw_mac.c | 60 writel((mac->mac_addr[0] << 0) + (mac->mac_addr[1] << 8), in spl2sw_mac_addr_add() 62 writel((mac->mac_addr[2] << 0) + (mac->mac_addr[3] << 8) + in spl2sw_mac_addr_add() 63 (mac->mac_addr[4] << 16) + (mac->mac_addr[5] << 24), in spl2sw_mac_addr_add() 95 writel((mac->mac_addr[0] << 0) + (mac->mac_addr[1] << 8), in spl2sw_mac_addr_del() 97 writel((mac->mac_addr[2] << 0) + (mac->mac_addr[ in spl2sw_mac_addr_del() [all...] |
/kernel/linux/linux-5.10/drivers/staging/vt6656/ |
H A D | key.c | 36 static int vnt_set_keymode(struct ieee80211_hw *hw, u8 *mac_addr, in vnt_set_keymode() argument 48 if (mac_addr) in vnt_set_keymode() 49 bssid = mac_addr; in vnt_set_keymode() 102 u8 *mac_addr = NULL; in vnt_set_keys() local 106 mac_addr = &sta->addr[0]; in vnt_set_keys() 111 vnt_set_keymode(hw, mac_addr, key, VNT_KEY_DEFAULTKEY, in vnt_set_keys() 116 return vnt_set_keymode(hw, mac_addr, key, VNT_KEY_DEFAULTKEY, in vnt_set_keys() 139 return vnt_set_keymode(hw, mac_addr, key, VNT_KEY_PAIRWISE, in vnt_set_keys() 142 return vnt_set_keymode(hw, mac_addr, key, in vnt_set_keys()
|
/kernel/linux/linux-6.6/drivers/staging/vt6656/ |
H A D | key.c | 34 static int vnt_set_keymode(struct ieee80211_hw *hw, u8 *mac_addr, in vnt_set_keymode() argument 46 if (mac_addr) in vnt_set_keymode() 47 bssid = mac_addr; in vnt_set_keymode() 100 u8 *mac_addr = NULL; in vnt_set_keys() local 104 mac_addr = &sta->addr[0]; in vnt_set_keys() 109 vnt_set_keymode(hw, mac_addr, key, VNT_KEY_DEFAULTKEY, in vnt_set_keys() 114 return vnt_set_keymode(hw, mac_addr, key, VNT_KEY_DEFAULTKEY, in vnt_set_keys() 137 return vnt_set_keymode(hw, mac_addr, key, VNT_KEY_PAIRWISE, in vnt_set_keys() 140 return vnt_set_keymode(hw, mac_addr, key, in vnt_set_keys()
|
/kernel/linux/linux-5.10/drivers/staging/vt6655/ |
H A D | key.c | 20 static int vnt_set_keymode(struct ieee80211_hw *hw, u8 *mac_addr, in vnt_set_keymode() argument 32 if (mac_addr) in vnt_set_keymode() 33 bssid = mac_addr; in vnt_set_keymode() 96 u8 *mac_addr = NULL; in vnt_set_keys() local 102 mac_addr = &sta->addr[0]; in vnt_set_keys() 115 vnt_set_keymode(hw, mac_addr, in vnt_set_keys() 135 vnt_set_keymode(hw, mac_addr, in vnt_set_keys() 138 vnt_set_keymode(hw, mac_addr, in vnt_set_keys()
|
/kernel/linux/linux-6.6/drivers/staging/vt6655/ |
H A D | key.c | 17 static int vnt_set_keymode(struct ieee80211_hw *hw, u8 *mac_addr, in vnt_set_keymode() argument 29 if (mac_addr) in vnt_set_keymode() 30 bssid = mac_addr; in vnt_set_keymode() 93 u8 *mac_addr = NULL; in vnt_set_keys() local 99 mac_addr = &sta->addr[0]; in vnt_set_keys() 112 vnt_set_keymode(hw, mac_addr, in vnt_set_keys() 132 vnt_set_keymode(hw, mac_addr, in vnt_set_keys() 135 vnt_set_keymode(hw, mac_addr, in vnt_set_keys()
|
/kernel/linux/linux-5.10/drivers/infiniband/ulp/opa_vnic/ |
H A D | opa_vnic_encap.c | 178 memcpy(entry->mac_addr, nentry->mac_addr, in opa_vnic_query_mac_tbl() 179 ARRAY_SIZE(entry->mac_addr)); in opa_vnic_query_mac_tbl() 229 u8 *mac_addr = entry->mac_addr; in opa_vnic_update_mac_tbl() local 233 loffset + i, mac_addr[0], mac_addr[1], mac_addr[2], in opa_vnic_update_mac_tbl() 234 mac_addr[3], mac_addr[ in opa_vnic_update_mac_tbl() [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/ulp/opa_vnic/ |
H A D | opa_vnic_encap.c | 178 memcpy(entry->mac_addr, nentry->mac_addr, in opa_vnic_query_mac_tbl() 179 ARRAY_SIZE(entry->mac_addr)); in opa_vnic_query_mac_tbl() 229 u8 *mac_addr = entry->mac_addr; in opa_vnic_update_mac_tbl() local 233 loffset + i, mac_addr[0], mac_addr[1], mac_addr[2], in opa_vnic_update_mac_tbl() 234 mac_addr[3], mac_addr[ in opa_vnic_update_mac_tbl() [all...] |
/kernel/liteos_a/testsuites/unittest/net/resolv/smoke/ |
H A D | net_resolv_test_003.cpp | 44 char mac_addr[buffer_size], *tmp = mac_addr; in EtherAtonrTest() local 51 (void)sprintf_s(mac_addr, sizeof(mac_addr), "%.2x:%.2x:%.2x:%.2x:%.2x:%.2x", r[0], r[1], r[2], r[3], r[4], r[5]); in EtherAtonrTest() 52 eaddr = ether_aton_r(mac_addr, &addr); in EtherAtonrTest()
|
H A D | net_resolv_test_002.cpp | 43 char mac_addr[buffer_size], *tmp = mac_addr; in EtherAtonTest() local 50 (void)sprintf_s(mac_addr, sizeof(mac_addr), "%.2x:%.2x:%.2x:%.2x:%.2x:%.2x", r[0], r[1], r[2], r[3], r[4], r[5]); in EtherAtonTest() 51 eaddr = ether_aton(mac_addr); in EtherAtonTest()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/ |
H A D | pxa168_eth.c | 368 static void nibble_swap_every_byte(unsigned char *mac_addr) in nibble_swap_every_byte() argument 372 mac_addr[i] = ((mac_addr[i] & 0x0f) << 4) | in nibble_swap_every_byte() 373 ((mac_addr[i] & 0xf0) >> 4); in nibble_swap_every_byte() 377 static void inverse_every_nibble(unsigned char *mac_addr) in inverse_every_nibble() argument 381 mac_addr[i] = flip_8_bits(mac_addr[i]); in inverse_every_nibble() 399 unsigned char mac_addr[ETH_ALEN]; in hash_function() local 404 memcpy(mac_addr, mac_addr_orig, ETH_ALEN); in hash_function() 406 nibble_swap_every_byte(mac_addr); in hash_function() 436 add_del_hash_entry(struct pxa168_eth_private *pep, unsigned char *mac_addr, u32 rd, u32 skip, int del) add_del_hash_entry() argument 1395 const unsigned char *mac_addr = NULL; pxa168_eth_probe() local [all...] |
/kernel/linux/linux-5.10/include/net/ |
H A D | bond_3ad.h | 21 typedef struct mac_addr { struct 103 struct mac_addr actor_system; 112 struct mac_addr partner_system; 140 struct mac_addr requester_system; /* The requester's system id */ 179 struct mac_addr aggregator_mac_address; 184 struct mac_addr partner_system; 197 struct mac_addr system; 209 struct mac_addr actor_system; /* This parameter is added here although it is not specified in the standard, just for simplification */ 249 struct mac_addr sys_mac_addr;
|
/kernel/linux/linux-6.6/include/net/ |
H A D | bond_3ad.h | 21 typedef struct mac_addr { struct 103 struct mac_addr actor_system; 112 struct mac_addr partner_system; 140 struct mac_addr requester_system; /* The requester's system id */ 179 struct mac_addr aggregator_mac_address; 184 struct mac_addr partner_system; 197 struct mac_addr system; 209 struct mac_addr actor_system; /* This parameter is added here although it is not specified in the standard, just for simplification */ 249 struct mac_addr sys_mac_addr;
|
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/ |
H A D | cam.c | 21 u8 *mac_addr, u8 *key_cont_128, u16 us_config) in rtl_cam_program_entry() 38 target_content = (u32) (*(mac_addr + 0)) << 16 | in rtl_cam_program_entry() 39 (u32) (*(mac_addr + 1)) << 24 | (u32) us_config; in rtl_cam_program_entry() 57 target_content = (u32) (*(mac_addr + 5)) << 24 | in rtl_cam_program_entry() 58 (u32) (*(mac_addr + 4)) << 16 | in rtl_cam_program_entry() 59 (u32) (*(mac_addr + 3)) << 8 | in rtl_cam_program_entry() 60 (u32) (*(mac_addr + 2)); in rtl_cam_program_entry() 97 u8 rtl_cam_add_one_entry(struct ieee80211_hw *hw, u8 *mac_addr, in rtl_cam_add_one_entry() argument 107 ul_default_key, mac_addr); in rtl_cam_add_one_entry() 120 rtl_cam_program_entry(hw, ul_entry_idx, mac_addr, in rtl_cam_add_one_entry() 20 rtl_cam_program_entry(struct ieee80211_hw *hw, u32 entry_no, u8 *mac_addr, u8 *key_cont_128, u16 us_config) rtl_cam_program_entry() argument 130 rtl_cam_delete_one_entry(struct ieee80211_hw *hw, u8 *mac_addr, u32 ul_key_id) rtl_cam_delete_one_entry() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtlwifi/ |
H A D | cam.c | 21 u8 *mac_addr, u8 *key_cont_128, u16 us_config) in rtl_cam_program_entry() 38 target_content = (u32) (*(mac_addr + 0)) << 16 | in rtl_cam_program_entry() 39 (u32) (*(mac_addr + 1)) << 24 | (u32) us_config; in rtl_cam_program_entry() 57 target_content = (u32) (*(mac_addr + 5)) << 24 | in rtl_cam_program_entry() 58 (u32) (*(mac_addr + 4)) << 16 | in rtl_cam_program_entry() 59 (u32) (*(mac_addr + 3)) << 8 | in rtl_cam_program_entry() 60 (u32) (*(mac_addr + 2)); in rtl_cam_program_entry() 97 u8 rtl_cam_add_one_entry(struct ieee80211_hw *hw, u8 *mac_addr, in rtl_cam_add_one_entry() argument 107 ul_default_key, mac_addr); in rtl_cam_add_one_entry() 120 rtl_cam_program_entry(hw, ul_entry_idx, mac_addr, in rtl_cam_add_one_entry() 20 rtl_cam_program_entry(struct ieee80211_hw *hw, u32 entry_no, u8 *mac_addr, u8 *key_cont_128, u16 us_config) rtl_cam_program_entry() argument 130 rtl_cam_delete_one_entry(struct ieee80211_hw *hw, u8 *mac_addr, u32 ul_key_id) rtl_cam_delete_one_entry() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/ |
H A D | pxa168_eth.c | 368 static void nibble_swap_every_byte(unsigned char *mac_addr) in nibble_swap_every_byte() argument 372 mac_addr[i] = ((mac_addr[i] & 0x0f) << 4) | in nibble_swap_every_byte() 373 ((mac_addr[i] & 0xf0) >> 4); in nibble_swap_every_byte() 377 static void inverse_every_nibble(unsigned char *mac_addr) in inverse_every_nibble() argument 381 mac_addr[i] = flip_8_bits(mac_addr[i]); in inverse_every_nibble() 399 unsigned char mac_addr[ETH_ALEN]; in hash_function() local 404 memcpy(mac_addr, mac_addr_orig, ETH_ALEN); in hash_function() 406 nibble_swap_every_byte(mac_addr); in hash_function() 436 add_del_hash_entry(struct pxa168_eth_private *pep, const unsigned char *mac_addr, u32 rd, u32 skip, int del) add_del_hash_entry() argument [all...] |
/kernel/linux/linux-5.10/net/atm/ |
H A D | lec.c | 68 const unsigned char *mac_addr); 89 static void lec_arp_update(struct lec_priv *priv, const unsigned char *mac_addr, 359 dev->dev_addr[i] = mesg->content.normal.mac_addr[i]; in lec_atm_send() 377 entry = lec_arp_find(priv, mesg->content.normal.mac_addr); in lec_atm_send() 385 lec_arp_update(priv, mesg->content.normal.mac_addr, in lec_atm_send() 393 lane2_associate_ind(dev, mesg->content.normal.mac_addr, in lec_atm_send() 435 dev->name, mesg->content.proxy.mac_addr); in lec_atm_send() 440 if (br_fdb_test_addr_hook(dev, mesg->content.proxy.mac_addr)) { in lec_atm_send() 510 const unsigned char *mac_addr, const unsigned char *atm_addr, in send_to_lecd() 528 if (mac_addr) in send_to_lecd() 509 send_to_lecd(struct lec_priv *priv, atmlec_msg_type type, const unsigned char *mac_addr, const unsigned char *atm_addr, struct sk_buff *data) send_to_lecd() argument 1158 lane2_associate_ind(struct net_device *dev, const u8 *mac_addr, const u8 *tlvs, u32 sizeoftlvs) lane2_associate_ind() argument 1516 lec_arp_find(struct lec_priv *priv, const unsigned char *mac_addr) lec_arp_find() argument 1532 make_entry(struct lec_priv *priv, const unsigned char *mac_addr) make_entry() argument 1823 lec_arp_update(struct lec_priv *priv, const unsigned char *mac_addr, const unsigned char *atm_addr, unsigned long remoteflag, unsigned int targetless_le_arp) lec_arp_update() argument 2113 unsigned char mac_addr[] = { lec_mcast_make() local [all...] |
/kernel/linux/linux-6.6/net/atm/ |
H A D | lec.c | 68 const unsigned char *mac_addr); 89 static void lec_arp_update(struct lec_priv *priv, const unsigned char *mac_addr, 358 eth_hw_addr_set(dev, mesg->content.normal.mac_addr); in lec_atm_send() 375 entry = lec_arp_find(priv, mesg->content.normal.mac_addr); in lec_atm_send() 383 lec_arp_update(priv, mesg->content.normal.mac_addr, in lec_atm_send() 391 lane2_associate_ind(dev, mesg->content.normal.mac_addr, in lec_atm_send() 433 dev->name, mesg->content.proxy.mac_addr); in lec_atm_send() 438 if (br_fdb_test_addr_hook(dev, mesg->content.proxy.mac_addr)) { in lec_atm_send() 508 const unsigned char *mac_addr, const unsigned char *atm_addr, in send_to_lecd() 526 if (mac_addr) in send_to_lecd() 507 send_to_lecd(struct lec_priv *priv, atmlec_msg_type type, const unsigned char *mac_addr, const unsigned char *atm_addr, struct sk_buff *data) send_to_lecd() argument 1156 lane2_associate_ind(struct net_device *dev, const u8 *mac_addr, const u8 *tlvs, u32 sizeoftlvs) lane2_associate_ind() argument 1514 lec_arp_find(struct lec_priv *priv, const unsigned char *mac_addr) lec_arp_find() argument 1530 make_entry(struct lec_priv *priv, const unsigned char *mac_addr) make_entry() argument 1821 lec_arp_update(struct lec_priv *priv, const unsigned char *mac_addr, const unsigned char *atm_addr, unsigned long remoteflag, unsigned int targetless_le_arp) lec_arp_update() argument 2111 unsigned char mac_addr[] = { lec_mcast_make() local [all...] |
/kernel/linux/linux-5.10/arch/powerpc/sysdev/ |
H A D | tsi108_dev.c | 76 const void *mac_addr; in tsi108_eth_of_init() local 104 mac_addr = of_get_mac_address(np); in tsi108_eth_of_init() 105 if (!IS_ERR(mac_addr)) in tsi108_eth_of_init() 106 ether_addr_copy(tsi_eth_data.mac_addr, mac_addr); in tsi108_eth_of_init()
|
/kernel/linux/linux-5.10/drivers/net/usb/ |
H A D | ch9200.c | 307 unsigned char mac_addr[0x06]; in get_mac_address() local 314 memset(mac_addr, 0, sizeof(mac_addr)); in get_mac_address() 316 MAC_REG_STATION_L, mac_addr, 0x02, in get_mac_address() 319 mac_addr + 2, 0x02, CONTROL_TIMEOUT_MS); in get_mac_address() 321 mac_addr + 4, 0x02, CONTROL_TIMEOUT_MS); in get_mac_address() 325 data[0] = mac_addr[5]; in get_mac_address() 326 data[1] = mac_addr[4]; in get_mac_address() 327 data[2] = mac_addr[3]; in get_mac_address() 328 data[3] = mac_addr[ in get_mac_address() [all...] |
/kernel/linux/linux-6.6/drivers/net/usb/ |
H A D | ch9200.c | 307 unsigned char mac_addr[0x06]; in get_mac_address() local 314 memset(mac_addr, 0, sizeof(mac_addr)); in get_mac_address() 316 MAC_REG_STATION_L, mac_addr, 0x02, in get_mac_address() 319 mac_addr + 2, 0x02, CONTROL_TIMEOUT_MS); in get_mac_address() 321 mac_addr + 4, 0x02, CONTROL_TIMEOUT_MS); in get_mac_address() 325 data[0] = mac_addr[5]; in get_mac_address() 326 data[1] = mac_addr[4]; in get_mac_address() 327 data[2] = mac_addr[3]; in get_mac_address() 328 data[3] = mac_addr[ in get_mac_address() [all...] |