Home
last modified time | relevance | path

Searched refs:otp_mac_buf (Results 1 – 2 of 2) sorted by relevance

/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/
H A Ddhd_custom_cis.c1212 unsigned char otp_mac_buf[MAC_BUF_SIZE]; in dhd_check_module_mac() local
1239 memset(otp_mac_buf, 0, sizeof(otp_mac_buf)); in dhd_check_module_mac()
1247 if (dhd_read_file(filepath_efs, otp_mac_buf, sizeof(otp_mac_buf) - 1) < 0) { in dhd_check_module_mac()
1255 strlcpy(eabuf, otp_mac_buf, sizeof(eabuf)); in dhd_check_module_mac()
1315 snprintf(otp_mac_buf, sizeof(otp_mac_buf), MAC_CUSTOM_FORMAT, in dhd_check_module_mac()
1327 snprintf(otp_mac_buf, sizeof(otp_mac_buf), MAC_CUSTOM_FORMAT, in dhd_check_module_mac()
1338 dhd_write_file(filepath_efs, otp_mac_buf, strlen(otp_mac_buf)); in dhd_check_module_mac()
1341 if (!bcm_ether_atoe(otp_mac_buf, &sysfs_mac_addr)) { in dhd_check_module_mac()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/
H A Ddhd_custom_cis.c1212 unsigned char otp_mac_buf[MAC_BUF_SIZE]; in dhd_check_module_mac() local
1239 memset(otp_mac_buf, 0, sizeof(otp_mac_buf)); in dhd_check_module_mac()
1247 if (dhd_read_file(filepath_efs, otp_mac_buf, sizeof(otp_mac_buf) - 1) < 0) { in dhd_check_module_mac()
1255 strlcpy(eabuf, otp_mac_buf, sizeof(eabuf)); in dhd_check_module_mac()
1315 snprintf(otp_mac_buf, sizeof(otp_mac_buf), MAC_CUSTOM_FORMAT, in dhd_check_module_mac()
1327 snprintf(otp_mac_buf, sizeof(otp_mac_buf), MAC_CUSTOM_FORMAT, in dhd_check_module_mac()
1338 dhd_write_file(filepath_efs, otp_mac_buf, strlen(otp_mac_buf)); in dhd_check_module_mac()
1341 if (!bcm_ether_atoe(otp_mac_buf, &sysfs_mac_addr)) { in dhd_check_module_mac()