Home
last modified time | relevance | path

Searched refs:syncrate (Results 1 – 6 of 6) sorted by relevance

/src/usr.sbin/fifolog/lib/
H A Dfifolog_write.h44 unsigned syncrate; member
69 …(struct fifolog_writer *f, const char *fn, unsigned writerate, unsigned syncrate, unsigned compres…
H A Dfifolog_write_poll.c119 unsigned writerate, unsigned syncrate, unsigned compression) in fifolog_write_open() argument
133 f->syncrate = syncrate; in fifolog_write_open()
267 if (f->cleanup || now >= (int)(f->lastsync + f->syncrate)) { in fifolog_write_gzip()
/src/sys/dev/aic7xxx/
H A Daic7xxx.c1697 struct ahc_syncrate *syncrate; in ahc_find_syncrate() local
1707 for (syncrate = &ahc_syncrates[maxsync]; in ahc_find_syncrate()
1708 syncrate->rate != NULL; in ahc_find_syncrate()
1709 syncrate++) { in ahc_find_syncrate()
1715 && (syncrate->sxfr_u2 == 0)) in ahc_find_syncrate()
1718 if (*period <= syncrate->period) { in ahc_find_syncrate()
1730 if (syncrate == &ahc_syncrates[maxsync]) in ahc_find_syncrate()
1731 *period = syncrate->period; in ahc_find_syncrate()
1737 if ((syncrate->sxfr_u2 & ST_SXFR) != 0) in ahc_find_syncrate()
1744 || (syncrate->rate == NULL) in ahc_find_syncrate()
[all …]
H A Daic7xxx_osm.c698 struct ahc_syncrate *syncrate; in ahc_action() local
711 syncrate = ahc_find_syncrate(ahc, &spi->sync_period, in ahc_action()
715 syncrate, &spi->sync_offset, in ahc_action()
724 ahc_set_syncrate(ahc, &devinfo, syncrate, in ahc_action()
H A Daic7xxx.h1287 struct ahc_syncrate *syncrate,
1313 struct ahc_syncrate *syncrate,
/src/sbin/camcontrol/
H A Dcamcontrol.c6147 double syncrate = -1; in ratecontrol() local
6200 syncrate = atof(optarg); in ratecontrol()
6201 if (syncrate < 0) { in ratecontrol()
6202 warnx("sync rate %f is < 0", syncrate); in ratecontrol()
6315 if (spi && syncrate != -1) { in ratecontrol()
6330 syncrate *= 1000; in ratecontrol()
6335 if (syncrate == 0) in ratecontrol()
6338 prelim_sync_period = 10000000 / syncrate; in ratecontrol()
6343 if (sata && syncrate != -1) { in ratecontrol()
6356 sata->revision = ata_speed2revision(syncrate * 100); in ratecontrol()
[all …]