/src/usr.sbin/altq/libaltq/ |
qop_dummy.c | 77 u_int bandwidth = 0; local in function:null_interface_parser 84 if (EQUAL(*argv, "bandwidth")) { 87 bandwidth = atobps(*argv); 99 if (bandwidth != 0) 100 if (qcmd_tbr_register(ifname, bandwidth, tbrsize) != 0)
|
qop_fifoq.c | 86 u_int bandwidth = 100000000; /* 100Mbps */ local in function:fifoq_interface_parser 94 if (EQUAL(*argv, "bandwidth")) { 97 bandwidth = atobps(*argv); 115 if (qcmd_tbr_register(ifname, bandwidth, tbrsize) != 0) 118 if (qcmd_fifoq_add_if(ifname, bandwidth, qlimit) != 0) 127 qcmd_fifoq_add_if(const char *ifname, u_int bandwidth, int qlimit) 131 error = qop_fifoq_add_if(NULL, ifname, bandwidth, qlimit); 143 u_int bandwidth, int qlimit) 153 error = qop_add_if(&ifinfo, ifname, bandwidth,
|
qop_blue.c | 86 u_int bandwidth = 100000000; /* 100Mbps */ local in function:blue_interface_parser 99 if (EQUAL(*argv, "bandwidth")) { 102 bandwidth = atobps(*argv); 134 if (qcmd_tbr_register(ifname, bandwidth, tbrsize) != 0) 137 pkttime = packet_size * 8 * 1000 / (bandwidth / 1000); 139 if (qcmd_blue_add_if(ifname, bandwidth, max_pmark, hold_time, 149 qcmd_blue_add_if(const char *ifname, u_int bandwidth, int max_pmark, 154 error = qop_blue_add_if(NULL, ifname, bandwidth, max_pmark, hold_time, 166 qop_blue_add_if(struct ifinfo **rp, const char *ifname, u_int bandwidth, 182 error = qop_add_if(&ifinfo, ifname, bandwidth, [all...] |
qop_wfq.c | 86 u_int bandwidth = 100000000; /* 100Mbps */ local in function:wfq_interface_parser 96 if (EQUAL(*argv, "bandwidth")) { 99 bandwidth = atobps(*argv); 138 if (qcmd_tbr_register(ifname, bandwidth, tbrsize) != 0) 146 if (qcmd_wfq_add_if(ifname, bandwidth, 156 qcmd_wfq_add_if(const char *ifname, u_int bandwidth, int hash_policy, 161 error = qop_wfq_add_if(NULL, ifname, bandwidth, 173 qop_wfq_add_if(struct ifinfo **rp, const char *ifname, u_int bandwidth, 186 error = qop_add_if(&ifinfo, ifname, bandwidth,
|
qop_cbq.h | 53 double psPerByte; /* bandwidth in ps per sec */ 63 uint64_t bandwidth; /* bandwidth in bps */ member in struct:cbq_classinfo 64 uint64_t allocated; /* bandwidth used by children */ 79 int qcmd_cbq_add_if(const char *ifname, uint64_t bandwidth, 83 u_int pri, uint64_t bandwidth, 88 u_int pri, uint64_t bandwidth, 93 uint64_t bandwidth, int is_wrr, int efficient, bool no_control); 96 struct classinfo *borrow, u_int pri, uint64_t bandwidth, 100 int qop_cbq_modify_class(struct classinfo *clinfo, u_int pri, uint64_t bandwidth, [all...] |
qop_priq.c | 94 u_int bandwidth = 100000000; /* 100Mbps */ local in function:priq_interface_parser 102 if (EQUAL(*argv, "bandwidth")) { 105 bandwidth = atobps(*argv); 119 if (qcmd_tbr_register(ifname, bandwidth, tbrsize) != 0) 122 if (qcmd_priq_add_if(ifname, bandwidth, flags) != 0) 180 qcmd_priq_add_if(const char *ifname, u_int bandwidth, int flags) 184 error = qop_priq_add_if(NULL, ifname, bandwidth, flags); 232 u_int bandwidth, int flags) 241 error = qop_add_if(&ifinfo, ifname, bandwidth, 364 iface.arg = ifinfo->bandwidth; [all...] |
qop_red.c | 86 u_int bandwidth = 100000000; /* 100Mbps */ local in function:red_interface_parser 101 if (EQUAL(*argv, "bandwidth")) { 104 bandwidth = atobps(*argv); 146 if (qcmd_tbr_register(ifname, bandwidth, tbrsize) != 0) 149 pkttime = packet_size * 8 * 1000 / (bandwidth / 1000); 165 if (qcmd_red_add_if(ifname, bandwidth, weight, inv_pmax, 175 qcmd_red_add_if(const char *ifname, u_int bandwidth, int weight, 181 error = qop_red_add_if(NULL, ifname, bandwidth, weight, inv_pmax, 194 u_int bandwidth, int weight, int inv_pmax, int th_min, 211 error = qop_add_if(&ifinfo, ifname, bandwidth, [all...] |
qop_rio.c | 87 u_int bandwidth = 100000000; /* 100Mbps */ local in function:rio_interface_parser 108 if (EQUAL(*argv, "bandwidth")) { 111 bandwidth = atobps(*argv); 175 if (qcmd_tbr_register(ifname, bandwidth, tbrsize) != 0) 178 pkttime = packet_size * 8 * 1000 / (bandwidth / 1000); 194 if (qcmd_rio_add_if(ifname, bandwidth, weight, 207 qcmd_rio_add_if(const char *ifname, u_int bandwidth, int weight, 226 error = qop_rio_add_if(NULL, ifname, bandwidth, weight, red_params, 239 u_int bandwidth, int weight, struct redparams *red_params, 255 error = qop_add_if(&ifinfo, ifname, bandwidth, [all...] |
qop_jobs.c | 150 u_int bandwidth = 100000000; /* 100 Mbps */ local in function:jobs_interface_parser 159 if (EQUAL(*argv, "bandwidth")) { 162 bandwidth = atobps(*argv); 183 if (qcmd_tbr_register(ifname, bandwidth, tbrsize) != 0) 186 if (qcmd_jobs_add_if(ifname, bandwidth, qlimit, separate) != 0) 287 qcmd_jobs_add_if(const char *ifname, u_int bandwidth, int qlimit, int separate) 291 error = qop_jobs_add_if(NULL, ifname, bandwidth, qlimit, separate); 367 u_int bandwidth, int qlimit, int separate) 378 error = qop_add_if(&ifinfo, ifname, bandwidth, 531 attach.bandwidth = ifinfo->bandwidth [all...] |
altq_qop.h | 76 uint64_t bandwidth; /* bandwidth in bps */ member in struct:ifinfo 151 int qop_add_if(struct ifinfo **rp, const char *ifname, uint64_t bandwidth, 211 #define QOPERR_ADMISSION_NOBW 15 /* insufficient bandwidth */
|
qop_hfsc.c | 108 u_int bandwidth = 100000000; /* 100Mbps */ local in function:hfsc_interface_parser 116 if (EQUAL(*argv, "bandwidth")) { 119 bandwidth = atobps(*argv); 133 if (qcmd_tbr_register(ifname, bandwidth, tbrsize) != 0) 136 if (qcmd_hfsc_add_if(ifname, bandwidth, flags) != 0) 182 fm2 = ifinfo->bandwidth / 100 * pshare; 192 } else if (EQUAL(*argv, "bandwidth")) { 345 qcmd_hfsc_add_if(const char *ifname, u_int bandwidth, int flags) 349 error = qop_hfsc_add_if(NULL, ifname, bandwidth, flags); 413 u_int bandwidth, int flags [all...] |
qop.c | 329 qop_add_if(struct ifinfo **rp, const char *ifname, uint64_t bandwidth, 343 ifinfo->bandwidth = bandwidth; 794 double bandwidth; local in function:atobps 797 bandwidth = strtod(s, &cp); 800 bandwidth *= 1000; 802 bandwidth *= 1000000; 804 bandwidth *= 1000000000; 806 if (bandwidth < 0) 807 bandwidth = 0 [all...] |
qop_cbq.c | 115 uint64_t bandwidth = 100000000; /* 100Mbps */ local in function:cbq_interface_parser 126 if (EQUAL(*argv, "bandwidth")) { 129 bandwidth = atobps(*argv); 154 if (qcmd_tbr_register(ifname, bandwidth, tbrsize) != 0) 158 if (qcmd_cbq_add_if(ifname, bandwidth, 172 uint64_t bandwidth = 0; local in function:cbq_class_parser 241 bandwidth = atobps(*argv); 291 if (bandwidth == 0 && pbandwidth != 0) { 295 bandwidth = ifinfo->bandwidth / 100 * pbandwidth [all...] |
/src/sys/dev/i2c/ |
mt2131.c | 70 uint32_t bandwidth; member in struct:mt2131_softc
|
/src/usr.sbin/altq/tbrconfig/ |
tbrconfig.c | 206 u_long bandwidth; local in function:atobps 209 bandwidth = strtoul(s, &cp, 0); 212 bandwidth *= 1000; 214 bandwidth *= 1000000; 216 bandwidth *= 1000000000; 218 return (bandwidth);
|
/src/sys/dev/usb/ |
uhcivar.h | 142 u_int bandwidth; /* max bandwidth used by this frame */ member in struct:uhci_vframe
|
/src/dist/pf/sbin/pfctl/ |
parse.y | 420 %token ALTQ CBQ PRIQ HFSC BANDWIDTH TBRSIZE LINKSHARE REALTIME UPPERLIMIT 464 %type <v.queue_bwspec> bandwidth 1377 queue_opt : BANDWIDTH bandwidth { 1379 yyerror("bandwidth cannot be respecified"); 1431 bandwidth : STRING { label 1449 yyerror("bandwidth spec " 1555 hfscopts_item : LINKSHARE bandwidth { 1563 | LINKSHARE '(' bandwidth comma number comma bandwidth ')' [all...] |
/src/sys/altq/ |
altq_hfsc.h | 117 u_int bandwidth; /* link bandwidth in bits/sec */ member in struct:hfsc_attach 197 * y-axis doesn't wrap around for 4358 years with 1Gbps bandwidth.
|
altq_jobs.h | 135 u_int bandwidth; /* link bandwidth in bits/sec */ member in struct:jobs_attach 377 u_int jif_bandwidth; /* link bandwidth in bps */
|
/src/sys/dev/dtv/ |
dtvio_frontend.h | 164 /* Frontend bandwidth */ 216 fe_bandwidth_t bandwidth; member in struct:dvb_ofdm_parameters
|
/src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/ |
amdgpu_dce_v10_0.c | 670 * Used for display watermark bandwidth calculations 702 u32 yclk; /* bandwidth per dram data pin in kHz */ 717 * dce_v10_0_dram_bandwidth - get the dram bandwidth 721 * Calculate the raw dram bandwidth (CIK). 722 * Used for display watermark bandwidth calculations 723 * Returns the dram bandwidth in MBytes/s 727 /* Calculate raw DRAM Bandwidth */ 729 fixed20_12 yclk, dram_channels, bandwidth; local in function:dce_v10_0_dram_bandwidth 739 bandwidth.full = dfixed_mul(dram_channels, yclk); 740 bandwidth.full = dfixed_mul(bandwidth, dram_efficiency) 758 fixed20_12 yclk, dram_channels, bandwidth; local in function:dce_v10_0_dram_bandwidth_for_display 787 fixed20_12 sclk, bandwidth; local in function:dce_v10_0_data_return_bandwidth 816 fixed20_12 disp_clk, bandwidth; local in function:dce_v10_0_dmif_request_bandwidth 871 fixed20_12 bandwidth; local in function:dce_v10_0_average_bandwidth [all...] |
amdgpu_dce_v11_0.c | 696 * Used for display watermark bandwidth calculations 728 u32 yclk; /* bandwidth per dram data pin in kHz */ 743 * dce_v11_0_dram_bandwidth - get the dram bandwidth 747 * Calculate the raw dram bandwidth (CIK). 748 * Used for display watermark bandwidth calculations 749 * Returns the dram bandwidth in MBytes/s 753 /* Calculate raw DRAM Bandwidth */ 755 fixed20_12 yclk, dram_channels, bandwidth; local in function:dce_v11_0_dram_bandwidth 765 bandwidth.full = dfixed_mul(dram_channels, yclk); 766 bandwidth.full = dfixed_mul(bandwidth, dram_efficiency) 784 fixed20_12 yclk, dram_channels, bandwidth; local in function:dce_v11_0_dram_bandwidth_for_display 813 fixed20_12 sclk, bandwidth; local in function:dce_v11_0_data_return_bandwidth 842 fixed20_12 disp_clk, bandwidth; local in function:dce_v11_0_dmif_request_bandwidth 897 fixed20_12 bandwidth; local in function:dce_v11_0_average_bandwidth [all...] |
amdgpu_dce_v6_0.c | 468 * Used for display watermark bandwidth calculations 500 u32 yclk; /* bandwidth per dram data pin in kHz */ 515 * dce_v6_0_dram_bandwidth - get the dram bandwidth 519 * Calculate the raw dram bandwidth (CIK). 520 * Used for display watermark bandwidth calculations 521 * Returns the dram bandwidth in MBytes/s 525 /* Calculate raw DRAM Bandwidth */ 527 fixed20_12 yclk, dram_channels, bandwidth; local in function:dce_v6_0_dram_bandwidth 537 bandwidth.full = dfixed_mul(dram_channels, yclk); 538 bandwidth.full = dfixed_mul(bandwidth, dram_efficiency) 556 fixed20_12 yclk, dram_channels, bandwidth; local in function:dce_v6_0_dram_bandwidth_for_display 585 fixed20_12 sclk, bandwidth; local in function:dce_v6_0_data_return_bandwidth 614 fixed20_12 disp_clk, bandwidth; local in function:dce_v6_0_dmif_request_bandwidth 669 fixed20_12 bandwidth; local in function:dce_v6_0_average_bandwidth [all...] |
amdgpu_dce_v8_0.c | 605 * Used for display watermark bandwidth calculations 637 u32 yclk; /* bandwidth per dram data pin in kHz */ 652 * dce_v8_0_dram_bandwidth - get the dram bandwidth 656 * Calculate the raw dram bandwidth (CIK). 657 * Used for display watermark bandwidth calculations 658 * Returns the dram bandwidth in MBytes/s 662 /* Calculate raw DRAM Bandwidth */ 664 fixed20_12 yclk, dram_channels, bandwidth; local in function:dce_v8_0_dram_bandwidth 674 bandwidth.full = dfixed_mul(dram_channels, yclk); 675 bandwidth.full = dfixed_mul(bandwidth, dram_efficiency) 693 fixed20_12 yclk, dram_channels, bandwidth; local in function:dce_v8_0_dram_bandwidth_for_display 722 fixed20_12 sclk, bandwidth; local in function:dce_v8_0_data_return_bandwidth 751 fixed20_12 disp_clk, bandwidth; local in function:dce_v8_0_dmif_request_bandwidth 806 fixed20_12 bandwidth; local in function:dce_v8_0_average_bandwidth [all...] |
/src/sys/external/bsd/drm2/dist/drm/radeon/ |
radeon_evergreen.c | 1938 u32 yclk; /* bandwidth per dram data pin in kHz */ 1954 /* Calculate DRAM Bandwidth and the part allocated to display. */ 1956 fixed20_12 yclk, dram_channels, bandwidth; local in function:evergreen_dram_bandwidth 1966 bandwidth.full = dfixed_mul(dram_channels, yclk); 1967 bandwidth.full = dfixed_mul(bandwidth, dram_efficiency); 1969 return dfixed_trunc(bandwidth); 1974 /* Calculate DRAM Bandwidth and the part allocated to display. */ 1976 fixed20_12 yclk, dram_channels, bandwidth; local in function:evergreen_dram_bandwidth_for_display 1986 bandwidth.full = dfixed_mul(dram_channels, yclk) 1996 fixed20_12 sclk, bandwidth; local in function:evergreen_data_return_bandwidth 2016 fixed20_12 disp_clk, bandwidth; local in function:evergreen_dmif_request_bandwidth 2051 fixed20_12 bandwidth; local in function:evergreen_average_bandwidth [all...] |