/drivers/hid/ |
D | hid-sony.c | 820 __u8 mac_address[6]; member 1669 sc->mac_address); in sony_battery_probe() 1713 ret = memcmp(sc->mac_address, entry->mac_address, in sony_check_add_dev_list() 1714 sizeof(sc->mac_address)); in sony_check_add_dev_list() 1718 sc->mac_address); in sony_check_add_dev_list() 1753 &sc->mac_address[5], &sc->mac_address[4], &sc->mac_address[3], in sony_get_bt_devaddr() 1754 &sc->mac_address[2], &sc->mac_address[1], &sc->mac_address[0]); in sony_get_bt_devaddr() 1794 memcpy(sc->mac_address, &buf[1], sizeof(sc->mac_address)); in sony_check_add() 1816 sc->mac_address[5-n] = buf[4+n]; in sony_check_add()
|
/drivers/net/wimax/i2400m/ |
D | driver.c | 236 BUILD_BUG_ON(ETH_ALEN != sizeof(ddi->mac_address)); in i2400m_check_mac_addr() 238 ddi->mac_address); in i2400m_check_mac_addr() 239 if (!memcmp(net_dev->perm_addr, ddi->mac_address, in i2400m_check_mac_addr() 240 sizeof(ddi->mac_address))) in i2400m_check_mac_addr() 244 dev_warn(dev, "device reports %pM\n", ddi->mac_address); in i2400m_check_mac_addr() 246 if (is_zero_ether_addr(ddi->mac_address)) in i2400m_check_mac_addr() 252 memcpy(net_dev->perm_addr, ddi->mac_address, ETH_ALEN); in i2400m_check_mac_addr() 253 memcpy(net_dev->dev_addr, ddi->mac_address, ETH_ALEN); in i2400m_check_mac_addr()
|
/drivers/staging/gdm724x/ |
D | gdm_lte.c | 841 u8 *mac_address, u8 index) in form_mac_address() argument 844 if (!mac_address) in form_mac_address() 847 memcpy(dev_addr, mac_address, ETH_ALEN); in form_mac_address() 864 static void validate_mac_address(u8 *mac_address) in validate_mac_address() argument 867 if (is_zero_ether_addr(mac_address) || (mac_address[0] & 0x01)) { in validate_mac_address() 869 memcpy(mac_address, gdm_lte_macaddr, 6); in validate_mac_address() 874 struct device *dev, u8 *mac_address) in register_lte_device() argument 882 validate_mac_address(mac_address); in register_lte_device() 910 mac_address, in register_lte_device()
|
D | gdm_lte.h | 78 u8 *mac_address);
|
D | gdm_usb.c | 373 u8 mac_address[ETH_ALEN] = {0, }; in set_mac_address() local 376 memcpy(mac_address, tlv->data, tlv->len); in set_mac_address() 379 &udev->intf->dev, mac_address) < 0) in set_mac_address()
|
/drivers/media/pci/mantis/ |
D | mantis_core.c | 86 mantis->mac_address[0] = 0x08; in get_mac_address() 87 err = read_eeprom_byte(mantis, &mantis->mac_address[0], 6); in get_mac_address() 94 " MAC Address=[%pM]\n", mantis->mac_address); in get_mac_address()
|
D | mantis_common.h | 157 u8 mac_address[8]; member
|
/drivers/net/wireless/mwifiex/ |
D | join.c | 408 bss_desc->mac_address, sizeof(assoc->peer_sta_addr)); in mwifiex_cmd_802_11_associate() 736 priv->curr_bss_params.bss_descriptor.mac_address); in mwifiex_ret_802_11_associate() 1095 &bss_desc->mac_address, ETH_ALEN); in mwifiex_cmd_802_11_ad_hoc_join() 1234 memcpy(bss_desc->mac_address, in mwifiex_ret_802_11_ad_hoc() 1260 priv->curr_bss_params.bss_descriptor.mac_address); in mwifiex_ret_802_11_ad_hoc() 1390 u8 mac_address[ETH_ALEN]; in mwifiex_deauthenticate_infra() local 1394 memcpy(mac_address, in mwifiex_deauthenticate_infra() 1395 priv->curr_bss_params.bss_descriptor.mac_address, in mwifiex_deauthenticate_infra() 1398 memcpy(mac_address, mac, ETH_ALEN); in mwifiex_deauthenticate_infra() 1401 HostCmd_ACT_GEN_SET, 0, mac_address, true); in mwifiex_deauthenticate_infra()
|
D | sta_event.c | 111 priv->curr_bss_params.bss_descriptor.mac_address, ETH_ALEN); in mwifiex_reset_connect_state() 498 priv->curr_bss_params.bss_descriptor.mac_address, in mwifiex_process_sta_event()
|
D | sta_rx.c | 239 memcpy(ta, priv->curr_bss_params.bss_descriptor.mac_address, in mwifiex_process_sta_rx_packet()
|
D | sta_cmdresp.c | 551 &priv->curr_bss_params.bss_descriptor.mac_address, in mwifiex_ret_802_11_deauthenticate() 837 if (!ether_addr_equal(priv->curr_bss_params.bss_descriptor.mac_address, ibss_coal_resp->bssid)) { in mwifiex_ret_ibss_coalescing_status() 839 memcpy(priv->curr_bss_params.bss_descriptor.mac_address, in mwifiex_ret_ibss_coalescing_status()
|
/drivers/net/wireless/ti/wlcore/ |
D | boot.h | 38 u8 mac_address[ETH_ALEN]; member
|
D | wlcore.h | 229 struct mac_address addresses[WLCORE_NUM_MAC_ADDRESSES];
|
/drivers/net/fddi/skfp/h/ |
D | sba.h | 51 struct fddi_addr mac_address ; member
|
/drivers/net/ethernet/xilinx/ |
D | xilinx_emaclite.c | 1103 const void *mac_address; in xemaclite_of_probe() local 1144 mac_address = of_get_mac_address(ofdev->dev.of_node); in xemaclite_of_probe() 1146 if (mac_address) in xemaclite_of_probe() 1148 memcpy(ndev->dev_addr, mac_address, ETH_ALEN); in xemaclite_of_probe()
|
/drivers/net/ethernet/neterion/vxge/ |
D | vxge-main.c | 669 u8 *mac_address = NULL; in vxge_mac_list_add() local 685 mac_address = (u8 *)&new_mac_entry->macaddr; in vxge_mac_list_add() 686 memcpy(mac_address, mac->macaddr, ETH_ALEN); in vxge_mac_list_add() 727 u8 *mac_address = NULL; in vxge_learn_mac() local 733 mac_address = (u8 *)&mac_addr; in vxge_learn_mac() 734 memcpy(mac_address, mac_header, ETH_ALEN); in vxge_learn_mac() 1070 u8 *mac_address = (u8 *) (&del_mac); in vxge_mac_list_del() local 1073 memcpy(mac_address, mac->macaddr, ETH_ALEN); in vxge_mac_list_del() 1133 u8 *mac_address = NULL; in vxge_set_multicast() local 1200 mac_address = (u8 *)&mac_entry->macaddr; in vxge_set_multicast() [all …]
|
/drivers/media/pci/bt8xx/ |
D | dst_common.h | 133 u8 mac_address[8]; member
|
D | dst.c | 918 memset(&state->mac_address, '\0', 8); in dst_get_mac() 919 memcpy(&state->mac_address, &state->rxbuffer, 6); in dst_get_mac() 920 dprintk(verbose, DST_ERROR, 1, "MAC Address=[%pM]", state->mac_address); in dst_get_mac()
|
/drivers/net/ethernet/ibm/ |
D | ibmveth.c | 510 union ibmveth_buf_desc rxq_desc, u64 mac_address) in ibmveth_register_logical_lan() argument 522 adapter->filter_list_dma, mac_address); in ibmveth_register_logical_lan() 550 u64 mac_address; in ibmveth_open() local 604 mac_address = ibmveth_encode_mac_addr(netdev->dev_addr); in ibmveth_open() 616 lpar_rc = ibmveth_register_logical_lan(adapter, rxq_desc, mac_address); in ibmveth_open() 626 mac_address); in ibmveth_open()
|
/drivers/net/wireless/ath/carl9170/ |
D | eeprom.h | 135 u8 mac_address[6]; member
|
/drivers/scsi/be2iscsi/ |
D | be_iscsi.c | 877 return sysfs_format_mac(buf, phba->mac_address, ETH_ALEN); in beiscsi_get_macaddr() 885 memcpy(phba->mac_address, resp.mac_address, ETH_ALEN); in beiscsi_get_macaddr() 886 return sysfs_format_mac(buf, phba->mac_address, ETH_ALEN); in beiscsi_get_macaddr()
|
D | be_cmds.h | 655 u8 mac_address[ETH_ALEN]; member 667 u8 mac_address[6]; member
|
/drivers/uwb/ |
D | address.c | 358 DEVICE_ATTR(mac_address, S_IRUGO | S_IWUSR, uwb_rc_mac_addr_show, uwb_rc_mac_addr_store);
|
/drivers/net/wireless/iwlegacy/ |
D | 3945.h | 341 u8 mac_address[6]; /* abs.ofs: 42 */ member
|
/drivers/net/ethernet/sfc/ |
D | mcdi.c | 1201 int efx_mcdi_get_board_cfg(struct efx_nic *efx, u8 *mac_address, in efx_mcdi_get_board_cfg() argument 1224 if (mac_address) in efx_mcdi_get_board_cfg() 1225 ether_addr_copy(mac_address, in efx_mcdi_get_board_cfg()
|