Searched refs:mac_str (Results 1 – 4 of 4) sorted by relevance
/Linux-v4.19/drivers/net/ethernet/netronome/nfp/abm/ |
D | main.c | 543 const char *mac_str; in nfp_abm_vnic_set_mac() local 555 mac_str = nfp_hwinfo_lookup(pf->hwinfo, name); in nfp_abm_vnic_set_mac() 556 if (!mac_str) { in nfp_abm_vnic_set_mac() 563 if (sscanf(mac_str, "%02hhx:%02hhx:%02hhx:%02hhx:%02hhx:%02hhx", in nfp_abm_vnic_set_mac() 567 mac_str); in nfp_abm_vnic_set_mac()
|
/Linux-v4.19/drivers/usb/atm/ |
D | speedtch.c | 652 unsigned char mac_str[13]; in speedtch_atm_start() local 658 if (usb_string(usb_dev, usb_dev->descriptor.iSerialNumber, mac_str, sizeof(mac_str)) == 12) { in speedtch_atm_start() 660 atm_dev->esi[i] = (hex_to_bin(mac_str[i * 2]) << 4) + in speedtch_atm_start() 661 hex_to_bin(mac_str[i * 2 + 1]); in speedtch_atm_start()
|
D | ueagle-atm.c | 2455 unsigned char mac_str[2 * ETH_ALEN + 1]; in uea_getesi() local 2458 (sc->usb_dev, sc->usb_dev->descriptor.iSerialNumber, mac_str, in uea_getesi() 2459 sizeof(mac_str)) != 2 * ETH_ALEN) in uea_getesi() 2463 esi[i] = hex_to_bin(mac_str[2 * i]) * 16 + in uea_getesi() 2464 hex_to_bin(mac_str[2 * i + 1]); in uea_getesi()
|
/Linux-v4.19/arch/xtensa/platforms/iss/ |
D | network.c | 229 char *dev_name = NULL, *mac_str = NULL, *rem = NULL; in tuntap_probe() local 239 rem = split_if_spec(init + 1, &mac_str, &dev_name); in tuntap_probe() 259 setup_etheraddr(dev, mac_str); in tuntap_probe()
|