/dragonfly/sys/dev/raid/aac/ |
H A D | aac_disk.c | 193 struct aac_blockwrite *bw; in aac_dump_map_sg() local 199 sg = &bw->SgMap; in aac_dump_map_sg() 220 struct aac_blockwrite64 *bw; in aac_dump_map_sg64() local 226 sg = &bw->SgMap64; in aac_dump_map_sg64() 284 struct aac_blockwrite *bw; in aac_disk_dump() local 286 bw->Command = VM_CtBlockWrite; in aac_disk_dump() 289 bw->ByteCount = len; in aac_disk_dump() 290 bw->Stable = CUNSTABLE; in aac_disk_dump() 295 struct aac_blockwrite64 *bw; in aac_disk_dump() local 301 bw->Pad = 0; in aac_disk_dump() [all …]
|
H A D | aac_debug.c | 216 struct aac_blockwrite *bw; in aac_print_fib() local 221 bw = (struct aac_blockwrite*)fib->data; in aac_print_fib() 231 if (bw->Command == VM_CtBlockWrite) { in aac_print_fib() 234 "(%s)\n", bw->ContainerId, in aac_print_fib() 235 bw->BlockNumber, bw->ByteCount, in aac_print_fib() 236 bw->Stable == CSTABLE ? "stable" : in aac_print_fib() 238 sg = &bw->SgMap; in aac_print_fib()
|
H A D | aac.c | 1243 struct aac_blockwrite *bw; in aac_bio_command() local 1244 bw = (struct aac_blockwrite *)&fib->data[0]; in aac_bio_command() 1245 bw->Command = VM_CtBlockWrite; in aac_bio_command() 1248 bw->ByteCount = bp->b_bcount; in aac_bio_command() 1249 bw->Stable = CUNSTABLE; in aac_bio_command() 1252 cm->cm_sgtable = &bw->SgMap; in aac_bio_command() 1269 struct aac_blockwrite64 *bw; in aac_bio_command() local 1270 bw = (struct aac_blockwrite64 *)&fib->data[0]; in aac_bio_command() 1271 bw->Command = VM_CtHostWrite64; in aac_bio_command() 1275 bw->Pad = 0; in aac_bio_command() [all …]
|
/dragonfly/contrib/wpa_supplicant/wpa_supplicant/ |
H A D | op_classes.c | 163 u8 bw) in verify_channel() argument 169 if (bw == BW40MINUS) { in verify_channel() 173 } else if (bw == BW40PLUS) { in verify_channel() 177 } else if (bw == BW80) { in verify_channel() 184 } else if (bw == BW160) { in verify_channel() 191 } else if (bw == BW80P80) { in verify_channel() 287 if (verify_channel(mode, channels[i], op_class->bw) != in wpas_op_class_supported() 298 verify_channel(mode, 114, op_class->bw) != NOT_ALLOWED; in wpas_op_class_supported() 306 verify_channel(mode, 58, op_class->bw) != NOT_ALLOWED) in wpas_op_class_supported() 310 verify_channel(mode, 138, op_class->bw) != NOT_ALLOWED) in wpas_op_class_supported() [all …]
|
H A D | rrm.c | 507 if (op->bw == BW80 || op->bw == BW80P80) in wpas_add_channels() 509 else if (op->bw == BW160) in wpas_add_channels() 525 enum chan_allowed res = verify_channel(mode, chan, op->bw); in wpas_add_channels() 559 if (op->bw == BW80 || op->bw == BW80P80) in wpas_op_class_freqs() 563 if (op->bw == BW160) in wpas_op_class_freqs()
|
/dragonfly/sys/dev/drm/amd/display/dc/dce110/ |
H A D | dce110_resource.c | 825 &context->bw.dce)) in dce110_validate_bandwidth() 835 if (memcmp(&dc->current_state->bw.dce, in dce110_validate_bandwidth() 836 &context->bw.dce, sizeof(context->bw.dce))) { in dce110_validate_bandwidth() 852 context->bw.dce.urgent_wm_ns[0].b_mark, in dce110_validate_bandwidth() 853 context->bw.dce.urgent_wm_ns[0].a_mark, in dce110_validate_bandwidth() 868 context->bw.dce.stutter_mode_enable, in dce110_validate_bandwidth() 872 context->bw.dce.all_displays_in_sync, in dce110_validate_bandwidth() 873 context->bw.dce.dispclk_khz, in dce110_validate_bandwidth() 874 context->bw.dce.sclk_khz, in dce110_validate_bandwidth() 875 context->bw.dce.sclk_deep_sleep_khz, in dce110_validate_bandwidth() [all …]
|
H A D | dce110_hw_sequencer.c | 1678 context->bw.dce.stutter_exit_wm_ns[num_pipes], in dce110_set_displaymarks() 1679 context->bw.dce.stutter_entry_wm_ns[num_pipes], in dce110_set_displaymarks() 1680 context->bw.dce.urgent_wm_ns[num_pipes], in dce110_set_displaymarks() 1687 context->bw.dce.stutter_exit_wm_ns[num_pipes], in dce110_set_displaymarks() 1688 context->bw.dce.urgent_wm_ns[num_pipes], in dce110_set_displaymarks() 2533 context->bw.dce.all_displays_in_sync; in pplib_apply_display_requirements() 2535 context->bw.dce.nbp_state_change_enable == false; in pplib_apply_display_requirements() 2541 context->bw.dce.blackout_recovery_time_us; in pplib_apply_display_requirements() 2548 context->bw.dce.sclk_khz); in pplib_apply_display_requirements() 2553 = context->bw.dce.sclk_deep_sleep_khz; in pplib_apply_display_requirements() [all …]
|
/dragonfly/sys/dev/drm/amd/display/dc/dce112/ |
H A D | dce112_resource.c | 782 &context->bw.dce)) in dce112_validate_bandwidth() 790 if (memcmp(&dc->current_state->bw.dce, in dce112_validate_bandwidth() 791 &context->bw.dce, sizeof(context->bw.dce))) { in dce112_validate_bandwidth() 807 context->bw.dce.urgent_wm_ns[0].b_mark, in dce112_validate_bandwidth() 808 context->bw.dce.urgent_wm_ns[0].a_mark, in dce112_validate_bandwidth() 823 context->bw.dce.stutter_mode_enable, in dce112_validate_bandwidth() 827 context->bw.dce.all_displays_in_sync, in dce112_validate_bandwidth() 828 context->bw.dce.dispclk_khz, in dce112_validate_bandwidth() 829 context->bw.dce.sclk_khz, in dce112_validate_bandwidth() 830 context->bw.dce.sclk_deep_sleep_khz, in dce112_validate_bandwidth() [all …]
|
/dragonfly/sys/dev/drm/amd/display/dc/core/ |
H A D | dc_debug.c | 355 context->bw.dcn.clk.dispclk_khz, in context_clock_trace() 356 context->bw.dcn.clk.dppclk_khz, in context_clock_trace() 357 context->bw.dcn.clk.dcfclk_khz, in context_clock_trace() 358 context->bw.dcn.clk.dcfclk_deep_sleep_khz, in context_clock_trace() 359 context->bw.dcn.clk.fclk_khz, in context_clock_trace() 360 context->bw.dcn.clk.socclk_khz); in context_clock_trace() 363 context->bw.dcn.clk.dispclk_khz, in context_clock_trace() 364 context->bw.dcn.clk.dppclk_khz, in context_clock_trace() 365 context->bw.dcn.clk.dcfclk_khz, in context_clock_trace() 367 context->bw.dcn.clk.fclk_khz, in context_clock_trace() [all …]
|
/dragonfly/sys/dev/drm/amd/display/dc/calcs/ |
H A D | dcn_calcs.c | 604 context->bw.dcn.watermarks.b = context->bw.dcn.watermarks.a; 605 context->bw.dcn.watermarks.c = context->bw.dcn.watermarks.a; 608 context->bw.dcn.watermarks.d = context->bw.dcn.watermarks.a; 1038 context->bw.dcn.watermarks.b = context->bw.dcn.watermarks.a; in dcn_validate_bandwidth() 1039 context->bw.dcn.watermarks.c = context->bw.dcn.watermarks.a; in dcn_validate_bandwidth() 1040 context->bw.dcn.watermarks.d = context->bw.dcn.watermarks.a; in dcn_validate_bandwidth() 1055 if (context->bw.dcn.clk.dispclk_khz < in dcn_validate_bandwidth() 1057 context->bw.dcn.clk.dispclk_khz = in dcn_validate_bandwidth() 1061 context->bw.dcn.clk.dppclk_khz = context->bw.dcn.clk.dispclk_khz / v->dispclk_dppclk_ratio; in dcn_validate_bandwidth() 1065 context->bw.dcn.clk.max_supported_dppclk_khz = in dcn_validate_bandwidth() [all …]
|
/dragonfly/sys/dev/netif/ix/ |
H A D | ixgbe_dcb.c | 63 if (bw[i] < min_percent && bw[i]) in ixgbe_dcb_calculate_tc_credits() 64 min_percent = bw[i]; in ixgbe_dcb_calculate_tc_credits() 77 max[i] = bw[i] ? (bw[i]*IXGBE_DCB_MAX_CREDIT)/100 : min_credit; in ixgbe_dcb_calculate_tc_credits() 313 u8 i, j, bw = 0, bw_id; in ixgbe_dcb_check_config_cee() local 326 bw = p->bwg_percent; in ixgbe_dcb_check_config_cee() 336 if (bw) { in ixgbe_dcb_check_config_cee() 340 } else if (!bw) { in ixgbe_dcb_check_config_cee() 348 bw_sum[i][bw_id] += bw; in ixgbe_dcb_check_config_cee() 351 bw = 0; in ixgbe_dcb_check_config_cee() 355 bw += dcb_config->bw_percentage[i][j]; in ixgbe_dcb_check_config_cee() [all …]
|
/dragonfly/crypto/openssh/ |
H A D | misc.c | 1723 bw->lamt = 0; in bandwidth_limit_init() 1740 if (bw->lamt < bw->thresh) in bandwidth_limit() 1744 timersub(&bw->bwend, &bw->bwstart, &bw->bwend); in bandwidth_limit() 1749 waitlen = (double)1000000L * bw->lamt / bw->rate; in bandwidth_limit() 1754 if (timercmp(&bw->bwstart, &bw->bwend, >)) { in bandwidth_limit() 1755 timersub(&bw->bwstart, &bw->bwend, &bw->bwend); in bandwidth_limit() 1760 if (bw->thresh < bw->buflen / 4) in bandwidth_limit() 1761 bw->thresh = bw->buflen / 4; in bandwidth_limit() 1764 if (bw->thresh > bw->buflen * 8) in bandwidth_limit() 1765 bw->thresh = bw->buflen * 8; in bandwidth_limit() [all …]
|
/dragonfly/usr.sbin/installer/libdfui/ |
H A D | conn_tcp.c | 457 int bw; /* bytes written this pass */ in write_data() local 460 bw = 0; in write_data() 462 if ((bw = fwrite(buf, 1, n - bcount, f)) > 0) { in write_data() 463 dfui_debug("WROTE_BYTES<<%d>>\n", bw); in write_data() 464 bcount += bw; in write_data() 465 buf += bw; in write_data() 466 } else if (bw <= 0) { in write_data() 467 dfui_debug("write_data_error<<%d>>\n", bw); in write_data()
|
/dragonfly/usr.sbin/pfctl/ |
H A D | pfctl_altq.c | 155 print_queue(a, level, bw, 1, qopts); in print_altq() 180 if (bw != NULL && bw->bw_percent > 0) { in print_altq() 181 if (bw->bw_percent < 100) in print_altq() 206 if (bw != NULL && bw->bw_percent > 0) { in print_queue() 207 if (bw->bw_percent < 100) in print_queue() 241 if (bw->bw_absolute > 0) in eval_pfaltq() 242 pa->ifbandwidth = bw->bw_absolute; in eval_pfaltq() 348 pa->bandwidth = eval_bwspec(bw, in eval_pfqueue() 1381 if (bw->bw_absolute > 0) in eval_bwspec() 1382 return (bw->bw_absolute); in eval_bwspec() [all …]
|
/dragonfly/sys/net/altq/ |
H A D | altq_fairq.c | 721 uint64_t bw; in fairq_addq() local 758 bw = b->bw_bytes * machclk_freq / b->bw_delta; in fairq_addq() 759 if (bw < cl->cl_hogs_m1) { in fairq_addq() 866 uint64_t bw; in fairq_pollq() local 890 bw = (cl->cl_bw_bytes + m->m_pkthdr.len) * in fairq_pollq() 892 if (bw > cl->cl_bandwidth) in fairq_pollq() 894 cl->cl_bw_current = bw; in fairq_pollq() 897 bw, cl->cl_bandwidth, *hit_limit, b); in fairq_pollq() 912 uint64_t bw; in fairq_selectq() local 944 bw = b->bw_bytes * machclk_freq / b->bw_delta; in fairq_selectq() [all …]
|
/dragonfly/contrib/tcpdump/ |
H A D | print-rsvp.c | 519 } bw; in rsvp_intserv_print() local 558 bw.i = GET_BE_U_4(tptr + 4); in rsvp_intserv_print() 612 bw.i = GET_BE_U_4(tptr + 4); in rsvp_intserv_print() 614 bw.i = GET_BE_U_4(tptr + 8); in rsvp_intserv_print() 615 ND_PRINT("\n\t\tToken Bucket Size: %.10g bytes", bw.f); in rsvp_intserv_print() 616 bw.i = GET_BE_U_4(tptr + 12); in rsvp_intserv_print() 638 bw.i = GET_BE_U_4(tptr + 4); in rsvp_intserv_print() 639 ND_PRINT("\n\t\tRate: %.10g Mbps", bw.f / 125000); in rsvp_intserv_print() 696 } bw; in rsvp_obj_print() local 1564 bw.f * 8 / 1000000); in rsvp_obj_print() [all …]
|
H A D | print-ospf.c | 273 } bw; in ospf_te_lsa_print() local 366 bw.i = GET_BE_U_4(tptr); in ospf_te_lsa_print() 367 ND_PRINT(", %.3f Mbps", bw.f * 8 / 1000000); in ospf_te_lsa_print() 375 bw.i = GET_BE_U_4(tptr + te_class * 4); in ospf_te_lsa_print() 378 bw.f * 8 / 1000000); in ospf_te_lsa_print() 400 bw.i = GET_BE_U_4(tptr + 4 + te_class * 4); in ospf_te_lsa_print() 403 bw.f * 8 / 1000000); in ospf_te_lsa_print() 433 bw.i = GET_BE_U_4(tptr + 4 + (priority_level * 4)); in ospf_te_lsa_print() 436 bw.f * 8 / 1000000); in ospf_te_lsa_print() 458 bw.i = GET_BE_U_4(tptr); in ospf_te_lsa_print() [all …]
|
H A D | print-lmp.c | 369 } bw; in lmp_print_data_link_subobjs() local 404 bw.i = GET_BE_U_4(obj_tptr + offset + 4); in lmp_print_data_link_subobjs() 406 bw.f*8/1000000); in lmp_print_data_link_subobjs() 407 bw.i = GET_BE_U_4(obj_tptr + offset + 8); in lmp_print_data_link_subobjs() 409 bw.f*8/1000000); in lmp_print_data_link_subobjs() 440 } bw; in lmp_print() local 806 bw.i = GET_BE_U_4(obj_tptr + 12); in lmp_print() 807 ND_PRINT("\n\t Transmission Rate: %.3f Mbps",bw.f*8/1000000); in lmp_print()
|
H A D | print-isoclns.c | 1961 } bw; in isis_print_ext_is_reach() local 2049 bw.i = GET_BE_U_4(tptr); in isis_print_ext_is_reach() 2050 ND_PRINT(", %.3f Mbps", bw.f * 8 / 1000000); in isis_print_ext_is_reach() 2056 bw.i = GET_BE_U_4(tptr); in isis_print_ext_is_reach() 2060 bw.f * 8 / 1000000); in isis_print_ext_is_reach() 2084 bw.i = GET_BE_U_4(tptr); in isis_print_ext_is_reach() 2088 bw.f * 8 / 1000000); in isis_print_ext_is_reach() 2144 bw.i = GET_BE_U_4(tptr); in isis_print_ext_is_reach() 2148 bw.f * 8 / 1000000); in isis_print_ext_is_reach() 2161 bw.i = GET_BE_U_4(tptr); in isis_print_ext_is_reach() [all …]
|
/dragonfly/contrib/wpa_supplicant/src/ap/ |
H A D | ieee802_11_vht.c | 169 u8 bw, chan1, chan2 = 0; in hostapd_eid_wb_chsw_wrapper() local 179 bw = 0; in hostapd_eid_wb_chsw_wrapper() 184 bw = 1; in hostapd_eid_wb_chsw_wrapper() 186 bw = 3; in hostapd_eid_wb_chsw_wrapper() 189 bw = 2; in hostapd_eid_wb_chsw_wrapper() 212 *eid++ = bw; /* New Channel Width */ in hostapd_eid_wb_chsw_wrapper()
|
H A D | acs.c | 582 u32 bw; in acs_find_ideal_chan() local 608 bw = num_chan_to_bw(n_chans); in acs_find_ideal_chan() 613 "ACS: Survey analysis for selected bandwidth %d MHz", bw); in acs_find_ideal_chan() 631 if (!chan_bw_allowed(chan, bw, 1, 1)) { in acs_find_ideal_chan() 634 chan->chan, bw); in acs_find_ideal_chan() 680 if (!chan_bw_allowed(adj_chan, bw, 1, 0)) { in acs_find_ideal_chan() 683 chan->chan, adj_chan->chan, bw); in acs_find_ideal_chan()
|
/dragonfly/contrib/wpa_supplicant/src/common/ |
H A D | ocv.c | 44 if (op_class_map->bw == BW40PLUS) in ocv_derive_all_parameters() 46 else if (op_class_map->bw == BW40MINUS) in ocv_derive_all_parameters()
|
/dragonfly/contrib/mdocml/ |
H A D | tbl_term.c | 579 int bw; /* Box line width. */ in tbl_hrule() local 595 bw = opts & TBL_OPT_DBOX ? (tp->enc == TERMENC_UTF8 ? 2 : 1) : in tbl_hrule() 597 hw = flags == TBL_OPT_DBOX || flags == TBL_OPT_BOX ? bw : in tbl_hrule() 608 (spp == NULL ? 0 : BUP * bw) + in tbl_hrule() 609 (spn == NULL ? 0 : BDOWN * bw) + in tbl_hrule() 704 (spp == NULL ? 0 : BUP * bw) + in tbl_hrule() 705 (spn == NULL ? 0 : BDOWN * bw) + in tbl_hrule()
|
/dragonfly/sys/dev/drm/amd/display/dc/inc/ |
H A D | core_types.h | 206 struct dcn_fe_bandwidth bw; member 276 union bw_context bw; member
|
/dragonfly/sys/dev/sound/pci/hda/ |
H A D | hdac.c | 1842 int stream, ss, bw, maxbw, prevbw; in hdac_stream_alloc() local 1852 bw = hdac_bdata_rate(format, dir); in hdac_stream_alloc() 1854 bw *= 1 << (sc->num_sdo - stripe); in hdac_stream_alloc() 1863 (bw + prevbw) / 1000, maxbw / 1000, in hdac_stream_alloc() 1864 bw + prevbw > maxbw ? " -- OVERFLOW!" : ""); in hdac_stream_alloc() 1866 if (bw + prevbw > maxbw) in hdac_stream_alloc() 1869 sc->sdo_bw_used += bw; in hdac_stream_alloc() 1871 sc->codecs[cad].sdi_bw_used += bw; in hdac_stream_alloc() 1884 sc->streams[ss].bw = bw; in hdac_stream_alloc() 1907 sc->sdo_bw_used -= sc->streams[ss].bw; in hdac_stream_free() [all …]
|