Lines Matching refs:st_word
652 static void st_word (BYTE* ptr, WORD val) /* Store a 2-byte word in little-endian */ in st_word() function
1090 st_word(fs->win + BS_55AA, 0xAA55); /* Boot signature */ in sync_fs()
1239 st_word(fs->win + clst * 2 % SS(fs), (WORD)val); /* Simple WORD array */ in put_fat()
1840 st_word(dir + DIR_FstClusLO, (WORD)cl);
1842 st_word(dir + DIR_FstClusHI, (WORD)(cl >> 16));
1942 st_word(dir + LDIR_FstClusLO, 0);
1948 st_word(dir + LfnOfs[s], wc); /* Put it */
2206 st_word(dirb + XDIR_SetSum, xdir_sum(dirb));
2251 st_word(dirb + i, wc); /* Store it */
2259 st_word(dirb + XDIR_NameHash, xname_sum(lfn)); /* Set name hash */
4131 st_word(dir + DIR_LstAccDate, 0);
5114 st_word(fs->dirbuf + XDIR_NameHash, nh);
5400 st_word(dirvn + di * 2, (WCHAR)(dc >> 16)); di++;
5406 st_word(dirvn + di * 2, (WCHAR)dc); di++;
5753 st_word(buf + BS_55AA, 0xAA55);
5793 st_word(buf + BS_55AA, 0xAA55); /* MBR signature */
6069 st_word(buf + BPB_FSVerEx, 0x100); /* Filesystem version (1.00) */
6074 st_word(buf + BS_BootCodeEx, 0xFEEB); /* Boot code (x86) */
6075 st_word(buf + BS_55AA, 0xAA55); /* Signature (placed here regardless of sector size) */
6082 st_word(buf + ss - 2, 0xAA55); /* Signature (placed at end of sector) */
6182 st_word(buf + BPB_BytsPerSec, ss); /* Sector size [byte] */
6184 st_word(buf + BPB_RsvdSecCnt, (WORD)sz_rsv); /* Size of reserved area */
6186 …st_word(buf + BPB_RootEntCnt, (WORD)((fsty == FS_FAT32) ? 0 : n_root)); /* Number of root director…
6188 st_word(buf + BPB_TotSec16, (WORD)sz_vol); /* Volume size in 16-bit LBA */
6193 st_word(buf + BPB_SecPerTrk, 63); /* Number of sectors per track (for int13) */
6194 st_word(buf + BPB_NumHeads, 255); /* Number of heads (for int13) */
6200 st_word(buf + BPB_FSInfo32, 1); /* Offset of FSINFO sector (VBR + 1) */
6201 st_word(buf + BPB_BkBootSec32, 6); /* Offset of backup VBR (VBR + 6) */
6207 st_word(buf + BPB_FATSz16, (WORD)sz_fat); /* FAT size [sector] */
6212 …st_word(buf + BS_55AA, 0xAA55); /* Signature (offset is fixed here regardless of sector size) …
6223 st_word(buf + BS_55AA, 0xAA55);
6557 st_word(&pb->buf[i], hs);
6561 st_word(&pb->buf[i], wc);