Searched refs:mac_str (Results 1 – 7 of 7) sorted by relevance
| /OK3568_Linux_fs/u-boot/cmd/ |
| H A D | pxe.c | 317 char mac_str[21]; in pxe_mac_path() local 320 err = format_mac_pxe(mac_str, sizeof(mac_str)); in pxe_mac_path() 325 return get_pxelinux_path(cmdtp, mac_str, pxefile_addr_r); in pxe_mac_path() 620 char mac_str[29] = ""; in label_boot() local 671 strcpy(mac_str, " BOOTIF="); in label_boot() 672 err = format_mac_pxe(mac_str + 8, sizeof(mac_str) - 8); in label_boot() 674 mac_str[0] = '\0'; in label_boot() 683 strlen(ip_str) + strlen(mac_str) + 1 > sizeof(bootargs)) { in label_boot() 686 strlen(ip_str), strlen(mac_str), in label_boot() 694 strcat(bootargs, mac_str); in label_boot()
|
| /OK3568_Linux_fs/kernel/drivers/usb/atm/ |
| H A 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()
|
| H A D | ueagle-atm.c | 2417 unsigned char mac_str[2 * ETH_ALEN + 1]; in uea_getesi() local 2420 (sc->usb_dev, sc->usb_dev->descriptor.iSerialNumber, mac_str, in uea_getesi() 2421 sizeof(mac_str)) != 2 * ETH_ALEN) in uea_getesi() 2425 esi[i] = hex_to_bin(mac_str[2 * i]) * 16 + in uea_getesi() 2426 hex_to_bin(mac_str[2 * i + 1]); in uea_getesi()
|
| /OK3568_Linux_fs/kernel/arch/xtensa/platforms/iss/ |
| H A D | network.c | 224 char *dev_name = NULL, *mac_str = NULL, *rem = NULL; in tuntap_probe() local 234 rem = split_if_spec(init + 1, &mac_str, &dev_name); in tuntap_probe() 254 setup_etheraddr(dev, mac_str); in tuntap_probe()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/ssv6xxx/ssvdevice/ |
| H A D | ssv_cmd.c | 169 static int __string2mac(u8 *mac_str, void *val, u32 arg) in __string2mac() argument 173 s = sscanf(mac_str, "%02x:%02x:%02x:%02x:%02x:%02x", in __string2mac() 189 static int __string2configuration(u8 *mac_str, void *val, u32 arg) in __string2configuration() argument 193 i = sscanf(mac_str, "%08x:%08x", &address, &value); in __string2configuration()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/core/ |
| H A D | rtw_mbo.c | 1157 u8 mac_str[18] = {0}; in rtw_mbo_proc_attr_set() local 1162 &id, mac_str, &cand_list, in rtw_mbo_proc_attr_set() 1168 if (sscanf(mac_str, MAC_SFMT, in rtw_mbo_proc_attr_set()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/core/ |
| H A D | rtw_mbo.c | 1157 u8 mac_str[18] = {0}; in rtw_mbo_proc_attr_set() local 1162 &id, mac_str, &cand_list, in rtw_mbo_proc_attr_set() 1168 if (sscanf(mac_str, MAC_SFMT, in rtw_mbo_proc_attr_set()
|