Home
last modified time | relevance | path

Searched refs:LEN_MAX (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/tools/testing/selftests/powerpc/dscr/
H A Ddscr_sysfs_test.c34 char file[LEN_MAX]; in check_all_cpu_dscr_defaults()
52 len = snprintf(file, LEN_MAX, "%s%s/dscr", CPU_PATH, dp->d_name); in check_all_cpu_dscr_defaults()
53 if (len >= LEN_MAX) in check_all_cpu_dscr_defaults()
H A Ddscr.h32 #define LEN_MAX 100 /* Max name length */ macro
/openbmc/linux/drivers/media/usb/dvb-usb-v2/
H A Dec168.c216 #define LEN_MAX 2048 /* max packet size */ in ec168_download_firmware() macro
217 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()
H A Daf9015.c307 #define LEN_MAX (BUF_LEN - REQ_HDR_LEN) /* Max payload size */ in af9015_download_firmware() macro
308 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()
/openbmc/linux/drivers/media/dvb-frontends/
H A Daf9013.c1074 #define LEN_MAX 16 in af9013_download_firmware() macro
1075 for (rem = firmware->size; rem > 0; rem -= LEN_MAX) { in af9013_download_firmware()
1076 len = min(LEN_MAX, rem); in af9013_download_firmware()