Lines Matching refs:FF_MAX_SS
260 #if (FF_MAX_SS < FF_MIN_SS) || (FF_MAX_SS != 512 && FF_MAX_SS != 1024 && FF_MAX_SS != 2048 && FF_MA…
263 #if FF_MAX_SS == FF_MIN_SS
264 #define SS(fs) ((UINT)FF_MAX_SS) /* Fixed sector size */
3330 …if ((w & (w - 1)) == 0 && w >= FF_MIN_SS && w <= FF_MAX_SS /* Properness of sector size (512-4096 …
3451 #if FF_MAX_SS != FF_MIN_SS /* Get sector size (multiple sector size cfg only) */
3453 if (SS(fs) > FF_MAX_SS || SS(fs) < FF_MIN_SS || (SS(fs) & (SS(fs) - 1))) return FR_DISK_ERR;
5781 #if FF_MAX_SS != FF_MIN_SS
5783 if (ss > FF_MAX_SS || ss < FF_MIN_SS || (ss & (ss - 1))) return FR_DISK_ERR;
5785 ss = FF_MAX_SS;
5862 memset(buf, 0, FF_MAX_SS); /* Clear MBR */
5941 #if FF_MAX_SS != FF_MIN_SS
5943 if (ss > FF_MAX_SS || ss < FF_MIN_SS || (ss & (ss - 1))) return FR_DISK_ERR;
5945 ss = FF_MAX_SS;
6422 if (!buf) buf = ff_memalloc(FF_MAX_SS); /* Use heap memory for working buffer */