Searched refs:LEN_MAX (Results 1 – 3 of 3) sorted by relevance
216 #define LEN_MAX 2048 /* max packet size */ in ec168_download_firmware() macro217 for (remaining = fw->size; remaining > 0; remaining -= LEN_MAX) { in ec168_download_firmware()219 if (len > LEN_MAX) in ec168_download_firmware()220 len = LEN_MAX; in ec168_download_firmware()
307 #define LEN_MAX (BUF_LEN - REQ_HDR_LEN) /* Max payload size */ in af9015_download_firmware() macro308 for (rem = firmware->size; rem > 0; rem -= LEN_MAX) { in af9015_download_firmware()309 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()