/src/usr.sbin/sysinst/ |
sizemultname.c | 52 set_sizemult(daddr_t unit, uint bps) 54 if (unit == 0 || bps == 0) 57 sizemult = unit/bps; 73 set_default_sizemult(const char *disk, daddr_t unit, uint bps) 81 set_sizemult(unit, bps);
|
/src/sys/arch/arm/s3c2xx0/ |
s3c24x0_spi.h | 59 int s3c24x0_spi_bps(struct ssspi_softc *sc, int bps);
|
s3c2440_spi.c | 205 s3c24x0_spi_setup(struct ssspi_softc *sc, uint32_t mode, int bps, int use_ss) 213 if (bps > 1) { 214 prescaler = pclk / 2 / bps - 1; 317 s3c24x0_spi_bps(struct ssspi_softc *sc, int bps) 322 if (bps > 1) { 323 prescaler = pclk / 2 / bps - 1;
|
s3c2410_spi.c | 163 s3c24x0_spi_setup(struct ssspi_softc *sc, uint32_t mode, int bps, int use_ss) 171 if (bps > 1) { 172 prescaler = pclk / 2 / bps - 1;
|
/src/sbin/newfs_msdos/ |
mkfs_msdos.c | 119 u_int8_t bps[2]; /* bytes per sector */ member in struct:bsbpb 163 u_int bps; /* bytes per sector */ member in struct:bpb 182 { .bps = a, .spc = b, .res = c, .nft = d, .rde = e, \ 329 bpb.bps = o.bytes_per_sector; 339 bpb.bsec -= (o.offset / bpb.bps); 397 if (!powerof2(bpb.bps)) { 398 warnx("bytes/sector (%u) is not a power of 2", bpb.bps); 401 if (bpb.bps < MINBPS) { 403 bpb.bps, MINBPS); 414 if (o.block_size < bpb.bps) { [all...] |
/src/usr.sbin/spray/ |
spray.c | 202 double bps; /* bytes per second */ local in function:print_xferstats 206 bps = datalen / xfertime; 210 if (bps >= 1024) 211 printf ("%.1fK ", bps / 1024); 213 printf ("%.0f ", bps);
|
/src/usr.sbin/altq/altqstat/ |
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));
|
/src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/ |
amdgpu_ras.c | 858 struct ras_badpage **bps, unsigned int *count) __unused; 917 struct ras_badpage *bps = NULL; local in function:amdgpu_ras_sysfs_badpages_read 922 if (amdgpu_ras_badpages_read(adev, &bps, &bps_count)) 928 bps[start].bp, 929 bps[start].size, 930 amdgpu_ras_badpage_flags_str(bps[start].flags)); 932 kfree(bps); 1357 * caller need free bps. 1360 struct ras_badpage **bps, unsigned int *count) 1367 if (!con || !con->eh_data || !bps || !count 1420 void *bps = kmalloc(align_space * sizeof(*data->bps), GFP_KERNEL); local in function:amdgpu_ras_realloc_eh_data_space 1517 struct eeprom_table_record *bps = NULL; local in function:amdgpu_ras_load_bad_pages [all...] |
/src/sys/arch/mac68k/dev/ |
zs.c | 474 zs_cn_check_speed(int bps) 478 tc = BPS_TO_TCONST(PCLK / 16, bps); 482 if (ZS_TOLERANCE > abs(((rate - bps)*1000)/bps)) 501 zs_set_speed(struct zs_chanstate *cs, int bps) 507 if (bps == 0) 525 tc1 = BPS_TO_TCONST(xcs->cs_clocks[i].clk >> 4, bps); 528 err = abs(((rate1 - bps)*1000)/bps); 544 int b0 = xcs->cs_clocks[i].clk, e0 = abs(b0-bps); [all...] |
/src/sys/arch/ews4800mips/dev/ |
zs.c | 112 zs_set_speed(struct zs_chanstate *cs, int bps) 116 if (bps == 0) 124 tconst = BPS_TO_TCONST(cs->cs_brg_clk, bps); 132 if (real_bps != bps)
|
/src/sys/arch/newsmips/dev/ |
zs.c | 119 zs_set_speed(struct zs_chanstate *cs, int bps) 123 if (bps == 0) 131 tconst = BPS_TO_TCONST(cs->cs_brg_clk, bps); 139 if (real_bps != bps)
|
/src/sys/dev/sun/ |
ms_zs.c | 130 int bps; local in function:ms_zs_attach 140 if ((bps = cs->cs_defspeed) == 0) 142 bps = ms_zs_bps; 144 aprint_normal(": baud rate %d\n", bps); 155 (void)zs_set_speed(cs, bps);
|
kbd_zs.c | 133 int bps; local in function:kbd_zs_attach 148 if ((bps = cs->cs_defspeed) == 0) 149 bps = kbd_zs_bps; 151 aprint_normal(": baud rate %d", bps); 179 (void) zs_set_speed(cs, bps);
|
/src/sys/arch/hpc/stand/hpcboot/sh3/dev/ |
sh_dev.cpp | 95 SHdev::scif_dump(int bps) 113 DPRINTF((TEXT("SCBRR=%d(%dbps) estimated PCLOCK %dHz\n"), r, bps, 114 32 * bps *(r + 1) * n));
|
/src/libexec/lfs_cleanerd/ |
coalesce.c | 173 int bps; local in function:clean_inode 352 bps = lfs_segtod(fs, 1); 353 for (tbip = bip; tbip < bip + nb; tbip += bps) { 365 * Note that although lim.blkcnt is 32 bits wide, bps 370 lim.blkcnt = (tbip + bps < bip + nb ? bps : nb % bps);
|
/src/sys/arch/landisk/stand/boot/ |
scifcons.c | 139 scif_init(unsigned int bps) 155 scif_brr_write(divrnd(PCLOCK, 32 * bps) - 1);
|
/src/distrib/utils/embedded/conf/ |
riscv.conf | 33 local bps=512 44 bytes/sector: ${bps}
|
evbmips.conf | 35 local bps=512 46 bytes/sector: ${bps}
|
x86.conf | 23 local bps=512 34 bytes/sector: ${bps}
|
evbarm.conf | 35 local bps=512 46 bytes/sector: ${bps}
|
evbppc.conf | 35 local bps=512 46 bytes/sector: ${bps}
|
/src/sys/arch/arm/broadcom/ |
bcm2835_vcaudioreg.h | 79 uint32_t bps; member in struct:__anon5827fd4f0208
|
/src/sys/arch/cobalt/dev/ |
zs.c | 311 zs_set_speed(struct zs_chanstate *cs, int bps) 315 if (bps == 0) 323 tconst = BPS_TO_TCONST(cs->cs_brg_clk, bps); 331 if (abs(real_bps - bps) >= bps * 4 / 100)
|
/src/sys/arch/mvme68k/dev/ |
zs.c | 302 zs_set_speed(struct zs_chanstate *cs, int bps) 306 if (bps == 0) 314 tconst = BPS_TO_TCONST(cs->cs_brg_clk, bps); 321 /* Allow 2% tolerance WRT the required bps */ 322 if (((abs(real_bps - bps) * 1000) / bps) > 20)
|
/src/sys/arch/macppc/dev/ |
zs.c | 565 zs_set_speed(struct zs_chanstate *cs, int bps) 571 if (bps == 0) 589 tc1 = BPS_TO_TCONST(xcs->cs_clocks[i].clk >> 4, bps); 592 err = abs(((rate1 - bps)*1000)/bps); 608 int b0 = xcs->cs_clocks[i].clk, e0 = abs(b0-bps); 609 int b1 = b0 >> 4, e1 = abs(b1-bps); 610 int b2 = b1 >> 1, e2 = abs(b2-bps); 611 int b3 = b2 >> 1, e3 = abs(b3-bps); 631 err = (err * 1000)/bps; [all...] |