/src/usr.sbin/wakeonlan/ |
wakeonlan.c | 167 ssize_t bw, len; local in function:send_wakeup 178 bw = 0; 180 if ((bw = write(bpf, p, len)) == -1) 182 len -= bw; 183 p += bw;
|
/src/games/gomoku/ |
bdisp.c | 124 int bw = (int)strlen(plyr[BLACK]); local in function:bdwho 128 int total = fixed + bw + ww; 137 if (bw <= half) 138 ww = remaining - bw; 140 bw = remaining - ww; 142 bw = half, ww = remaining - half; 148 bw, plyr[BLACK], ww, plyr[WHITE]);
|
/src/sys/dev/ic/ |
ld_aac.c | 176 struct aac_blockwrite *bw; local in function:ld_aac_dobio 182 bw = (struct aac_blockwrite *)&fib->data[0]; 183 bw->Command = htole32(VM_CtBlockWrite); 184 bw->ContainerId = htole32(sc->sc_hwunit); 185 bw->BlockNumber = htole32(blkno); 186 bw->ByteCount = htole32(datasize); 187 bw->Stable = htole32(CUNSTABLE); 191 sgt = &bw->SgMap; 221 struct aac_blockwrite64 *bw; local in function:ld_aac_dobio 227 bw = (struct aac_blockwrite64 *)&fib->data[0] [all...] |
aac.c | 1674 struct aac_blockwrite *bw; local in function:aac_print_fib 1719 bw = (struct aac_blockwrite *)fib->data; 1728 if (le32toh(bw->Command) == VM_CtBlockWrite) { 1730 le32toh(bw->ContainerId), le32toh(bw->BlockNumber), 1731 le32toh(bw->ByteCount), 1732 le32toh(bw->Stable) == CSTABLE ? 1734 sg = &bw->SgMap;
|
anx_dp.c | 430 uint8_t bw[2]; local in function:anxdp_link_start 439 bw[0] = drm_dp_link_rate_to_bw_code(link->rate); 440 bw[1] = link->num_lanes; 442 bw[1] |= DP_LANE_COUNT_ENHANCED_FRAME_EN; 443 ret = drm_dp_dpcd_write(&sc->sc_dpaux, DP_LINK_BW_SET, bw, sizeof(bw));
|
/src/sbin/newfs_lfs/ |
newfs.c | 116 off_t off, bw; local in function:auto_segsize 133 bw = off / (finish - start); 151 printf("bw = %ld B/s, seek time %ld ms (%ld seeks/s)\n", 152 (long)bw, 1000/seeks, seeks); 153 final = dbtob(btodb(4 * bw / seeks));
|
/src/sys/dev/pci/ixgbe/ |
ixgbe_dcb.c | 51 * @bw: bandwidth index by traffic class 56 s32 ixgbe_dcb_calculate_tc_credits(u8 *bw, u16 *refill, u16 *max, 67 if (bw[i] < min_percent && bw[i]) 68 min_percent = bw[i]; 75 int val = uimin(bw[i] * multiplier, IXGBE_DCB_MAX_CREDIT_REFILL); 81 max[i] = bw[i] ? (bw[i]*IXGBE_DCB_MAX_CREDIT)/100 : min_credit; 317 u8 i, j, bw = 0, bw_id; local in function:ixgbe_dcb_check_config_cee 330 bw = p->bwg_percent [all...] |
/src/sys/external/bsd/drm2/dist/drm/i915/display/ |
intel_bw.c | 221 int ct, bw; local in function:icl_get_bw_info 231 bw = icl_calc_bw(sp->dclk, clpchgroup * 32 * num_channels, ct); 234 bw * 9 / 10); /* 90% */ 236 DRM_DEBUG_KMS("BW%d / QGV %d: num_planes=%d deratedbw=%u\n", 286 * Any bw group has same amount of QGV points 299 unsigned int bw = icl_max_bw(dev_priv, num_planes, i); local in function:intel_max_data_rate 301 min_bw = min(bw, min_bw); 418 * Avoid locking the bw state when
|
/src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/disp/ |
ior.h | 44 u8 bw; member in struct:nvkm_ior::__anonfa17732f0108
|
nouveau_nvkm_engine_disp_dp.c | 241 ior->dp.nr, ior->dp.bw * 27); 251 while ((ior->dp.bw * 2700) < nvbios_rd16(bios, lnkcmp)) 255 while (ior->dp.bw < nvbios_rd08(bios, lnkcmp)) 279 sink[0] = ior->dp.bw; 336 u8 bw; member in struct:dp_rates 375 if (cfg->nr <= outp_nr && cfg->bw <= outp_bw) { 380 (cfg->nr <= sink_nr && cfg->bw <= sink_bw)) 402 failsafe->nr, failsafe->bw * 27); 406 if ((cfg->nr > outp_nr || cfg->bw > outp_bw || 407 cfg->nr > sink_nr || cfg->bw > sink_bw)) [all...] |
/src/sys/arch/dreamcast/dev/maple/ |
mlcd.c | 53 bw : 1, /* 0: normally white, 1: normally black */ member in struct:mlcd_funcdef 246 funcdef.s.bw ? "black" : "white",
|
/src/sys/dev/vme/ |
xyreg.h | 140 volatile u_char bw:1; /* byte(1)/word(0) xfer size */ member in struct:xy_iopb
|
/src/sys/arch/sun3/dev/ |
xyreg.h | 141 volatile u_char bw:1; /* byte(1)/word(0) xfer size */ member in struct:xy_iopb
|
/src/sys/external/bsd/drm2/dist/drm/amd/display/dc/inc/ |
core_types.h | 256 struct dcn_fe_bandwidth bw; member in struct:plane_resource 349 union bw_output bw; member in struct:bw_context
|
/src/sys/external/bsd/drm2/dist/drm/radeon/ |
radeon_r600_cs.c | 218 unsigned bw; local in function:r600_fmt_get_nblocksx 223 bw = color_formats_table[format].blockwidth; 224 if (bw == 0) 227 return (w + bw - 1) / bw;
|
/src/sys/external/bsd/drm2/dist/drm/vmwgfx/device_include/ |
svga3d_surfacedefs.h | 1274 const u32 bw = desc->block_size.width, bh = desc->block_size.height; local in function:svga3dsurface_get_pixel_offset 1276 const u32 rowstride = __KERNEL_DIV_ROUND_UP(width, bw) * 1281 x / bw * desc->bytes_per_block);
|
/src/sys/dev/usb/ |
ohci.c | 3409 u_int bestbw, bw; local in function:ohci_device_setintr 3440 bw = 0; 3442 bw += sc->sc_bws[(i * nslots + j) % OHCI_NO_INTRS]; 3443 if (bw < bestbw) { 3445 bestbw = bw;
|
uhci.c | 3325 u_int bestbw, bw, bestoffs, offs; local in function:uhci_device_setintr 3349 for (bw = i = 0; i < npoll; i++) 3350 bw += sc->sc_vframes[MOD(i * ival + offs)].bandwidth; 3351 if (bw < bestbw) { 3352 bestbw = bw; 3356 DPRINTF("bw=%jd offs=%jd", bestbw, bestoffs, 0, 0);
|