/netbsd-6-1-5-RELEASE/sys/arch/arm/s3c2xx0/ |
H A D | s3c24x0_spi.h | 59 int s3c24x0_spi_bps(struct ssspi_softc *sc, int bps);
|
H A D | s3c2440_spi.c | 207 s3c24x0_spi_setup(struct ssspi_softc *sc, uint32_t mode, int bps, int use_ss) argument 215 if (bps > 1) { 216 prescaler = pclk / 2 / bps - 1; 319 s3c24x0_spi_bps(struct ssspi_softc *sc, int bps) argument 324 if (bps > 1) { 325 prescaler = pclk / 2 / bps - 1;
|
H A D | s3c2410_spi.c | 165 s3c24x0_spi_setup(struct ssspi_softc *sc, uint32_t mode, int bps, int use_ss) argument 173 if (bps > 1) { 174 prescaler = pclk / 2 / bps - 1;
|
/netbsd-6-1-5-RELEASE/usr.sbin/spray/ |
H A D | spray.c | 202 double bps; /* bytes per second */ local 206 bps = datalen / xfertime; 210 if (bps >= 1024) 211 printf ("%.1fK ", bps / 1024); 213 printf ("%.0f ", bps);
|
/netbsd-6-1-5-RELEASE/usr.sbin/altq/altqstat/ |
H A D | qdisc_wfq.c | 55 double bps; member in struct:wfqinfo 120 qinfo[i].bps = calc_rate(qinfo[i].stats.xmit_cnt.bytes, 129 if (top[j]->bps < qinfo[i].bps || 130 (top[j]->bps == qinfo[i].bps && 144 printf("[QID] WEIGHT QSIZE(KB) SENT(pkts) (KB) DROP(pkts) (KB) bps\n\r"); 156 rate2str(top[j]->bps));
|
/netbsd-6-1-5-RELEASE/sbin/newfs_msdos/ |
H A D | newfs_msdos.c | 115 u_int8_t bps[2]; /* bytes per sector */ member in struct:bsbpb 159 u_int bps; /* bytes per sector */ member in struct:bpb 178 { .bps = a, .spc = b, .res = c, .nft = d, .rde = e, \ 406 bpb.bps = opt_S; 414 bpb.bsec -= (opt_ofs / bpb.bps); 434 if (!powerof2(bpb.bps)) 435 errx(1, "bytes/sector (%u) is not a power of 2", bpb.bps); 436 if (bpb.bps < MINBPS) 438 bpb.bps, MINBPS); 454 if (opt_b < bpb.bps) [all...] |
/netbsd-6-1-5-RELEASE/sys/arch/mac68k/dev/ |
H A D | zs.c | 473 zs_cn_check_speed(int bps) argument 477 tc = BPS_TO_TCONST(PCLK / 16, bps); 481 if (ZS_TOLERANCE > abs(((rate - bps)*1000)/bps)) 500 zs_set_speed(struct zs_chanstate *cs, int bps) argument 506 if (bps == 0) 524 tc1 = BPS_TO_TCONST(xcs->cs_clocks[i].clk >> 4, bps); 527 err = abs(((rate1 - bps)*1000)/bps); 543 int b0 = xcs->cs_clocks[i].clk, e0 = abs(b0-bps); [all...] |
/netbsd-6-1-5-RELEASE/sys/arch/newsmips/dev/ |
H A D | zs.c | 117 zs_set_speed(struct zs_chanstate *cs, int bps) argument 121 if (bps == 0) 129 tconst = BPS_TO_TCONST(cs->cs_brg_clk, bps); 137 if (real_bps != bps)
|
/netbsd-6-1-5-RELEASE/sys/arch/ews4800mips/dev/ |
H A D | zs.c | 112 zs_set_speed(struct zs_chanstate *cs, int bps) argument 116 if (bps == 0) 124 tconst = BPS_TO_TCONST(cs->cs_brg_clk, bps); 132 if (real_bps != bps)
|
/netbsd-6-1-5-RELEASE/usr.bin/audio/record/ |
H A D | record.c | 515 u_int16_t fmttag, nchan, align, bps, extln = 0; local 523 bps = 8; 526 bps = 16; 529 bps = 32; 564 if (bps == 16) 566 else if (bps == 32) 574 if (bps == 8) 576 else if (bps == 16) 578 else if (bps == 32) 586 if (bps [all...] |
/netbsd-6-1-5-RELEASE/sys/arch/macppc/dev/ |
H A D | zs.c | 533 zs_set_speed(struct zs_chanstate *cs, int bps) argument 539 if (bps == 0) 557 tc1 = BPS_TO_TCONST(xcs->cs_clocks[i].clk >> 4, bps); 560 err = abs(((rate1 - bps)*1000)/bps); 576 int b0 = xcs->cs_clocks[i].clk, e0 = abs(b0-bps); 577 int b1 = b0 >> 4, e1 = abs(b1-bps); 578 int b2 = b1 >> 1, e2 = abs(b2-bps); 579 int b3 = b2 >> 1, e3 = abs(b3-bps); 599 err = (err * 1000)/bps; [all...] |
/netbsd-6-1-5-RELEASE/sys/dev/sun/ |
H A D | kbd_zs.c | 134 int bps; local 149 if ((bps = cs->cs_defspeed) == 0) 150 bps = kbd_zs_bps; 152 aprint_normal(": baud rate %d", bps); 180 (void) zs_set_speed(cs, bps);
|
H A D | ms_zs.c | 131 int bps; local 143 if ((bps = cs->cs_defspeed) == 0) 145 bps = ms_zs_bps; 147 aprint_normal(": baud rate %d\n", bps); 158 (void)zs_set_speed(cs, bps);
|
/netbsd-6-1-5-RELEASE/sys/arch/hpc/stand/hpcboot/sh3/dev/ |
H A D | sh_dev.cpp | 95 SHdev::scif_dump(int bps) argument 113 DPRINTF((TEXT("SCBRR=%d(%dbps) estimated PCLOCK %dHz\n"), r, bps, 114 32 * bps *(r + 1) * n));
|
/netbsd-6-1-5-RELEASE/libexec/lfs_cleanerd/ |
H A D | coalesce.c | 157 int bps; local 298 bps = segtod(fs, 1); 299 for (tbip = bip; tbip < bip + nb; tbip += bps) { 311 lim.blkcnt = (tbip + bps < bip + nb ? bps : nb % bps);
|
/netbsd-6-1-5-RELEASE/sys/arch/landisk/stand/boot/ |
H A D | scifcons.c | 139 scif_init(unsigned int bps) argument 155 scif_brr_write(divrnd(PCLOCK, 32 * bps) - 1);
|
/netbsd-6-1-5-RELEASE/sys/arch/mvme68k/dev/ |
H A D | zs.c | 300 zs_set_speed(struct zs_chanstate *cs, int bps) argument 304 if (bps == 0) 312 tconst = BPS_TO_TCONST(cs->cs_brg_clk, bps); 319 /* Allow 2% tolerance WRT the required bps */ 320 if (((abs(real_bps - bps) * 1000) / bps) > 20)
|
/netbsd-6-1-5-RELEASE/sys/arch/cobalt/dev/ |
H A D | zs.c | 307 zs_set_speed(struct zs_chanstate *cs, int bps) argument 311 if (bps == 0) 319 tconst = BPS_TO_TCONST(cs->cs_brg_clk, bps); 327 if (abs(real_bps - bps) >= bps * 4 / 100)
|
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.target/ia64/ |
H A D | 20020313-1.c | 39 __u32 bps; member in struct:tc_stats
|
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/testsuite/gcc.target/ia64/ |
H A D | 20020313-1.c | 39 __u32 bps; member in struct:tc_stats
|
/netbsd-6-1-5-RELEASE/sys/arch/news68k/dev/ |
H A D | zs.c | 341 zs_set_speed(struct zs_chanstate *cs, int bps) argument 345 if (bps == 0) 353 tconst = BPS_TO_TCONST(cs->cs_brg_clk, bps); 361 if (real_bps != bps)
|
/netbsd-6-1-5-RELEASE/sys/dev/ic/ |
H A D | z8530reg.h | 323 * bps desired rate in bits per second (9600, etc) 329 * 2 bps 334 * f + bps 336 * 2 bps 338 #define BPS_TO_TCONST(f, bps) ((((f) + (bps)) / (2 * (bps))) - 2)
|
/netbsd-6-1-5-RELEASE/sys/arch/cesfic/dev/ |
H A D | zs.c | 272 zs_set_speed(struct zs_chanstate *cs, int bps) argument 276 tconst = BPS_TO_TCONST(cs->cs_brg_clk, bps); 285 if (real_bps != bps)
|
/netbsd-6-1-5-RELEASE/sys/arch/sun2/dev/ |
H A D | zs.c | 417 zs_set_speed(struct zs_chanstate *cs, int bps) argument 421 if (bps == 0) 429 tconst = BPS_TO_TCONST(cs->cs_brg_clk, bps); 437 if (real_bps != bps)
|
/netbsd-6-1-5-RELEASE/sys/arch/sun3/dev/ |
H A D | zs.c | 412 zs_set_speed(struct zs_chanstate *cs, int bps) argument 416 if (bps == 0) 424 tconst = BPS_TO_TCONST(cs->cs_brg_clk, bps); 432 if (real_bps != bps)
|