Searched refs:LEN_MAX (Results 1 – 5 of 5) sorted by relevance
45 char file[LEN_MAX]; in check_all_cpu_dscr_defaults()63 len = snprintf(file, LEN_MAX, "%s%s/dscr", CPU_PATH, dp->d_name); in check_all_cpu_dscr_defaults()64 if (len >= LEN_MAX) in check_all_cpu_dscr_defaults()
31 #define LEN_MAX 100 /* Max name length */ macro
204 #define LEN_MAX 2048 /* max packet size */ in ec168_download_firmware() macro205 for (remaining = fw->size; remaining > 0; remaining -= LEN_MAX) { in ec168_download_firmware()207 if (len > LEN_MAX) in ec168_download_firmware()208 len = LEN_MAX; in ec168_download_firmware()
306 #define LEN_MAX (BUF_LEN - REQ_HDR_LEN) /* Max payload size */ in af9015_download_firmware() macro307 for (rem = firmware->size; rem > 0; rem -= LEN_MAX) { in af9015_download_firmware()308 req.data_len = min(LEN_MAX, rem); in af9015_download_firmware()
1074 #define LEN_MAX 16 in af9013_download_firmware() macro1075 for (rem = firmware->size; rem > 0; rem -= LEN_MAX) { in af9013_download_firmware()1076 len = min(LEN_MAX, rem); in af9013_download_firmware()