Home
last modified time | relevance | path

Searched full:chs (Results 1 – 25 of 36) sorted by relevance

12

/freebsd/stand/i386/boot2/
H A Dboot1.S265 * fall back to using CHS. Since we use a LBA, if we are using CHS, we have to
273 jz read.1 # No, use CHS
275 jb read.1 # No, use CHS
281 jc read.1 # If error, use CHS
283 jne read.1 # No, so use CHS
285 jz read.1 # No, so use CHS
/freebsd/sys/geom/part/
H A Dg_part_bsd.c390 off_t chs, msize; in g_part_bsd_read() local
410 g_part_geometry_heads(msize, sectors, &chs, &heads); in g_part_bsd_read()
411 if (chs != 0) { in g_part_bsd_read()
422 chs = le32dec(buf + 60); in g_part_bsd_read()
423 if (chs < 1) in g_part_bsd_read()
426 if (chs > msize) { in g_part_bsd_read()
427 chs = msize; in g_part_bsd_read()
H A Dg_part_mbr.c58 CTLFLAG_RWTUN, &enforce_chs, 0, "Enforce alignment to CHS addressing");
479 off_t chs, msize, first; in g_part_mbr_read() local
512 g_part_geometry_heads(msize, sectors, &chs, &heads); in g_part_mbr_read()
513 if (chs != 0) { in g_part_mbr_read()
H A Dg_part.c224 off_t chs, cylinders; in g_part_geometry_heads() local
237 chs = cylinders * heads * sectors; in g_part_geometry_heads()
238 if (chs > *bestchs || (chs == *bestchs && *bestheads == 1)) { in g_part_geometry_heads()
239 *bestchs = chs; in g_part_geometry_heads()
250 off_t chs, bestchs; in g_part_geometry() local
262 g_part_geometry_heads(blocks, sectors, &chs, &heads); in g_part_geometry()
263 if (chs == 0) in g_part_geometry()
269 if (chs > bestchs || (chs == bestchs && heads > 1 && in g_part_geometry()
271 bestchs = chs; in g_part_geometry()
/freebsd/stand/i386/boot0/
H A Dboot0.S59 * (called 'packet') or CHS mode, whether to force a drive number,
67 * 1 3 start sector CHS
70 * 5 3 end sector CHS
189 * initialized to LBA 0 / CHS 0:0:1.
431 * Make %si and %bx point to the fake partition at LBA 0 (CHS 0:0:1).
548 * Load the CHS values and possibly the LBA address from the block
552 intx13: # Prepare CHS parameters
560 jz 1f # Yes, use CHS mode
H A DMakefile21 # 0x80 'packet', use BIOS EDD (LBA) extensions instead of CHS
/freebsd/tools/test/stress2/misc/
H A Dchain.sh49 chs(left, int, 1 + chr(right, int));
66 chs(right, int, 0);
H A Dsendfile24.sh36 # Test scenario suggestion by chs@
H A Dsendfile25.sh34 # Test scenario suggestion by chs@
/freebsd/stand/i386/mbr/
H A Dmbr.S83 # Ok, now that we have a valid drive and partition entry, load the CHS from
111 jmp main.8 # Skip the CHS setup
/freebsd/lib/libc/locale/
H A Deuc.c318 unsigned char ch, chs; in _EUC_mbrtowc_impl() local
367 chs = *s; in _EUC_mbrtowc_impl()
368 wc |= chs; in _EUC_mbrtowc_impl()
/freebsd/sys/contrib/openzfs/lib/libspl/include/sys/dktp/
H A Dfdisk.h47 * the MAX values are the maximum usable values for BIOS chs values
50 * indicating no CHS geometry exists for the corresponding LBA value.
/freebsd/stand/i386/zfsboot/
H A Dzfsldr.S245 check_edd.1: mov $msg_chs,%si # Warn that CHS is
264 msg_chs: .asciz "CHS not supported"
/freebsd/sys/contrib/device-tree/Bindings/iio/adc/
H A Drenesas,gyroadc.txt39 MB88101A connect directly to two CHS lines of the
H A Drenesas,rcar-gyroadc.yaml73 of the MB88101A connect directly to two CHS lines of the GyroADC,
/freebsd/usr.sbin/makefs/ffs/
H A Dufs_bmap.c2 /* From: NetBSD: ufs_bmap.c,v 1.14 2001/11/08 05:00:51 chs Exp */
/freebsd/usr.sbin/boot0cfg/
H A Dboot0cfg.8126 as opposed to the legacy (CHS) interface, when doing disk I/O.
H A Dboot0cfg.c92 static const char fmt0[] = "# flag start chs type"
93 " end chs offset size\n";
/freebsd/sys/dev/sound/usb/
H A Duaudio.c3348 uint32_t chs; /* channels */ in uaudio_mixer_add_mixer() local
3380 chs = uaudio_mixer_get_cluster( in uaudio_mixer_add_mixer()
3383 for (c = 0; c < chs; c++) { in uaudio_mixer_add_mixer()
3393 if ((mc == chs) && (chs <= MIX_MAX_CHAN)) { in uaudio_mixer_add_mixer()
3397 for (c = 0; c < chs; c++) { in uaudio_mixer_add_mixer()
3404 MIX(sc).nchan = chs; in uaudio_mixer_add_mixer()
3407 p += chs; in uaudio_mixer_add_mixer()
3425 uint32_t chs; /* channels */ in uaudio20_mixer_add_mixer() local
3457 chs = uaudio20_mixer_get_cluster( in uaudio20_mixer_add_mixer()
3460 for (c = 0; c < chs; c++) { in uaudio20_mixer_add_mixer()
[all …]
/freebsd/sys/contrib/openzfs/module/
H A DMakefile.in164 …cd @srcdir@ && find . -name '*.[chS]' -exec sh -c 'for f; do mkdir -p $$distdir/$${f%/*}; cp @srcd…
/freebsd/usr.sbin/makefs/cd9660/
H A Dcd9660_eltorito.c561 val = 0xff; /* CHS begin */ in cd9660_write_mbr_partition_entry()
569 val = 0xff; /* CHS end */ in cd9660_write_mbr_partition_entry()
/freebsd/sys/sys/
H A Data.h326 * bit 6 Sets LBA/CHS mode. 1=LBA, 0=CHS
329 * bit 3-0 In LBA mode, 27-24 of address. In CHS mode, head number
/freebsd/contrib/file/magic/Magdir/
H A Dfilesystems148 >0 ubyte 0xcb DR-DOS 7.04+ Secured FAT32 CHS
1132 >>1 ubyte x \b, start-CHS (
1133 >>1 use partition-chs
1134 >>5 ubyte x \b), end-CHS (
1135 >>5 use partition-chs
1138 # Print cylinder,head,sector (CHS) of partition entry
1139 0 name partition-chs
1242 >>>0x7d search/7 \x5a\x52\xb4\x08\xcd\x13 \b,CHS
H A Dvirtual54 >56 ubeshort x \b, CHS %u
/freebsd/sbin/fsck_msdosfs/
H A Dboot.c125 /* Legacy CHS geometry numbers: ignored */ in readboot()

12