Home
last modified time | relevance | path

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

/device/linaro/dragonboard/qcom/tqftpserv/
Dtranslate.c73 char firmware_attr[32]; in translate_readonly() local
98 if (strlen(de->d_name) + sizeof("/firmware") > sizeof(firmware_attr)) in translate_readonly()
100 strcpy(firmware_attr, de->d_name); in translate_readonly()
101 strcat(firmware_attr, "/firmware"); in translate_readonly()
103 firmware_fd = openat(class_fd, firmware_attr, O_RDONLY); in translate_readonly()
/device/linaro/dragonboard/qcom/pd-mapper/
Dpd-mapper.c205 char firmware_attr[32]; in pd_enumerate_jsons() local
232 if (strlen(de->d_name) + sizeof("/firmware") > sizeof(firmware_attr)) in pd_enumerate_jsons()
235 strcpy(firmware_attr, de->d_name); in pd_enumerate_jsons()
236 strcat(firmware_attr, "/firmware"); in pd_enumerate_jsons()
238 firmware_fd = openat(class_fd, firmware_attr, O_RDONLY); in pd_enumerate_jsons()