Home
last modified time | relevance | path

Searched refs:bandwidth (Results 1 – 25 of 335) sorted by relevance

12345678910>>...14

/Linux-v4.19/sound/firewire/
Diso-resources.c109 int bandwidth, channel, err; in fw_iso_resources_allocate() local
114 r->bandwidth = packet_bandwidth(max_payload_bytes, speed); in fw_iso_resources_allocate()
128 bandwidth = r->bandwidth + r->bandwidth_overhead; in fw_iso_resources_allocate()
130 &channel, &bandwidth, true); in fw_iso_resources_allocate()
167 int bandwidth, channel; in fw_iso_resources_update() local
181 bandwidth = r->bandwidth + r->bandwidth_overhead; in fw_iso_resources_update()
184 &channel, &bandwidth, true); in fw_iso_resources_update()
214 int bandwidth, channel; in fw_iso_resources_free() local
224 bandwidth = r->bandwidth + r->bandwidth_overhead; in fw_iso_resources_free()
226 &channel, &bandwidth, false); in fw_iso_resources_free()
/Linux-v4.19/Documentation/scheduler/
Dsched-bwc.txt4 [ This document only discusses CPU bandwidth control for SCHED_NORMAL.
7 CFS bandwidth control is a CONFIG_FAIR_GROUP_SCHED extension which allows the
8 specification of the maximum CPU bandwidth available to a group or hierarchy.
10 The bandwidth allowed for a group is specified using a quota and period. Within
12 "quota" microseconds of CPU time. When the CPU bandwidth consumption of a
18 above at each period boundary. As threads consume this bandwidth it is
35 bandwidth restriction in place, such a group is described as an unconstrained
36 bandwidth group. This represents the traditional work-conserving behavior for
39 Writing any (valid) positive value(s) will enact the specified bandwidth limit.
42 bandwidth limits are used in a hierarchical fashion, these are explained in
[all …]
/Linux-v4.19/net/wireless/
Dchan.c242 u32 bandwidth, in cfg80211_set_chans_dfs_state() argument
248 for (freq = center_freq - bandwidth/2 + 10; in cfg80211_set_chans_dfs_state()
249 freq <= center_freq + bandwidth/2 - 10; in cfg80211_set_chans_dfs_state()
283 u32 bandwidth) in cfg80211_get_start_freq() argument
287 if (bandwidth <= 20) in cfg80211_get_start_freq()
290 start_freq = center_freq - bandwidth/2 + 10; in cfg80211_get_start_freq()
296 u32 bandwidth) in cfg80211_get_end_freq() argument
300 if (bandwidth <= 20) in cfg80211_get_end_freq()
303 end_freq = center_freq + bandwidth/2 - 10; in cfg80211_get_end_freq()
310 u32 bandwidth) in cfg80211_get_chans_dfs_required() argument
[all …]
/Linux-v4.19/drivers/media/dvb-frontends/
Dtda826x.c80 u32 bandwidth; in tda826x_set_params() local
91 bandwidth = (878 * ksyms + 6500000) / 1000000 + 1; in tda826x_set_params()
92 if (bandwidth < 5) in tda826x_set_params()
93 bandwidth = 5; in tda826x_set_params()
94 else if (bandwidth > 36) in tda826x_set_params()
95 bandwidth = 36; in tda826x_set_params()
104 buf[5] = ((bandwidth - 5) << 3) | 7; /* baseband cut-off */ in tda826x_set_params()
Dstb6100_cfg.h63 static int stb6100_get_bandwidth(struct dvb_frontend *fe, u32 *bandwidth) in stb6100_get_bandwidth() argument
70 err = tuner_ops->get_bandwidth(fe, bandwidth); in stb6100_get_bandwidth()
79 static int stb6100_set_bandwidth(struct dvb_frontend *fe, u32 bandwidth) in stb6100_set_bandwidth() argument
87 c->bandwidth_hz = bandwidth; in stb6100_set_bandwidth()
Dstb6100_proc.h76 static int stb6100_get_bandw(struct dvb_frontend *fe, u32 *bandwidth) in stb6100_get_bandw() argument
86 err = tuner_ops->get_bandwidth(fe, bandwidth); in stb6100_get_bandw()
99 static int stb6100_set_bandw(struct dvb_frontend *fe, u32 bandwidth) in stb6100_set_bandw() argument
107 c->bandwidth_hz = bandwidth; in stb6100_set_bandw()
Dstb6100.c253 static int stb6100_get_bandwidth(struct dvb_frontend *fe, u32 *bandwidth) in stb6100_get_bandwidth() argument
267 *bandwidth = state->bandwidth = bw * 1000; in stb6100_get_bandwidth()
268 dprintk(verbose, FE_DEBUG, 1, "bandwidth = %u Hz", state->bandwidth); in stb6100_get_bandwidth()
272 static int stb6100_set_bandwidth(struct dvb_frontend *fe, u32 bandwidth) in stb6100_set_bandwidth() argument
278 dprintk(verbose, FE_DEBUG, 1, "set bandwidth to %u Hz", bandwidth); in stb6100_set_bandwidth()
280 bandwidth /= 2; /* ZIF */ in stb6100_set_bandwidth()
282 if (bandwidth >= 36000000) /* F[4:0] BW/2 max =31+5=36 mhz for F=31 */ in stb6100_set_bandwidth()
284 else if (bandwidth <= 5000000) /* bw/2 min = 5Mhz for F=0 */ in stb6100_set_bandwidth()
287 tmp = (bandwidth + 500000) / 1000000 - 5; in stb6100_set_bandwidth()
507 state->bandwidth = 36000000; /* Hz */ in stb6100_init()
Dstb6000.c84 int bandwidth; in stb6000_set_params() local
96 bandwidth = p->symbol_rate / 1000000; in stb6000_set_params()
98 if (bandwidth > 31) in stb6000_set_params()
99 bandwidth = 31; in stb6000_set_params()
137 buf[6] = (unsigned char)(bandwidth); in stb6000_set_params()
Dstv6110.c175 static int stv6110_set_bandwidth(struct dvb_frontend *fe, u32 bandwidth) in stv6110_set_bandwidth() argument
181 if ((bandwidth / 2) > 36000000) /*BW/2 max=31+5=36 mhz for r8=31*/ in stv6110_set_bandwidth()
183 else if ((bandwidth / 2) < 5000000) /* BW/2 min=5Mhz for F=0 */ in stv6110_set_bandwidth()
186 r8 = (bandwidth / 2) / 1000000 - 5; in stv6110_set_bandwidth()
349 u32 bandwidth = carrier_width(c->symbol_rate, c->rolloff); in stv6110_set_params() local
352 stv6110_set_bandwidth(fe, bandwidth); in stv6110_set_params()
357 static int stv6110_get_bandwidth(struct dvb_frontend *fe, u32 *bandwidth) in stv6110_get_bandwidth() argument
366 *bandwidth = (r8 + 5) * 2000000;/* x2 for ZIF tuner BW/2 = F+5 Mhz */ in stv6110_get_bandwidth()
Dcxd2841er.c476 u32 bandwidth);
479 u32 bandwidth);
482 u32 bandwidth);
485 u32 bandwidth);
1194 u32 bandwidth, int *offset) in cxd2841er_get_carrier_offset_i() argument
1215 switch (bandwidth) { in cxd2841er_get_carrier_offset_i()
1227 __func__, bandwidth); in cxd2841er_get_carrier_offset_i()
1232 __func__, bandwidth, *offset); in cxd2841er_get_carrier_offset_i()
1238 u32 bandwidth, int *offset) in cxd2841er_get_carrier_offset_t() argument
1258 *offset *= (bandwidth / 1000000); in cxd2841er_get_carrier_offset_t()
[all …]
Dtda8261_cfg.h55 static int tda8261_get_bandwidth(struct dvb_frontend *fe, u32 *bandwidth) in tda8261_get_bandwidth() argument
58 *bandwidth = 40000000; in tda8261_get_bandwidth()
/Linux-v4.19/drivers/firewire/
Dcore-iso.c236 int bandwidth, bool allocate) in manage_bandwidth() argument
247 new = allocate ? old - bandwidth : old + bandwidth; in manage_bandwidth()
259 return allocate ? -EAGAIN : bandwidth; in manage_bandwidth()
263 return bandwidth; in manage_bandwidth()
363 u64 channels_mask, int *channel, int *bandwidth, in fw_iso_resource_manage() argument
388 *bandwidth = 0; in fw_iso_resource_manage()
390 if (*bandwidth == 0) in fw_iso_resource_manage()
393 ret = manage_bandwidth(card, irm_id, generation, *bandwidth, allocate); in fw_iso_resource_manage()
395 *bandwidth = 0; in fw_iso_resource_manage()
/Linux-v4.19/arch/arm/mach-rpc/include/mach/
Dacornfb.h122 unsigned long bandwidth = acornfb_bandwidth(var); in acornfb_vidc20_find_rates() local
125 if (bandwidth > 33334) /* < 30.0MB/s */ in acornfb_vidc20_find_rates()
127 else if (bandwidth > 26666) /* < 37.5MB/s */ in acornfb_vidc20_find_rates()
129 else if (bandwidth > 22222) /* < 45.0MB/s */ in acornfb_vidc20_find_rates()
/Linux-v4.19/drivers/media/tuners/
Dmsi001.c46 struct v4l2_ctrl *bandwidth; member
141 unsigned int bandwidth; in msi001_set_tuner() local
184 bandwidth = dev->bandwidth->val; in msi001_set_tuner()
185 bandwidth = clamp(bandwidth, 200000U, 8000000U); in msi001_set_tuner()
188 if (bandwidth <= bandwidth_lut[i].freq) { in msi001_set_tuner()
189 bandwidth = bandwidth_lut[i].val; in msi001_set_tuner()
198 dev->bandwidth->val = bandwidth_lut[i].freq; in msi001_set_tuner()
254 reg |= bandwidth << 14; in msi001_set_tuner()
452 dev->bandwidth = v4l2_ctrl_new_std(&dev->hdl, &msi001_ctrl_ops, in msi001_probe()
Dfc0011.c72 u32 bandwidth; member
179 u32 bandwidth = p->bandwidth_hz / 1000; in fc0011_set_params() local
252 switch (bandwidth) { in fc0011_set_params()
260 bandwidth); in fc0011_set_params()
261 bandwidth = 6000; in fc0011_set_params()
440 (unsigned int)bandwidth); in fc0011_set_params()
443 priv->bandwidth = p->bandwidth_hz; in fc0011_set_params()
464 static int fc0011_get_bandwidth(struct dvb_frontend *fe, u32 *bandwidth) in fc0011_get_bandwidth() argument
468 *bandwidth = priv->bandwidth; in fc0011_get_bandwidth()
Dmt2266.c41 u32 bandwidth; member
164 priv->bandwidth = c->bandwidth_hz; in mt2266_set_params()
271 static int mt2266_get_bandwidth(struct dvb_frontend *fe, u32 *bandwidth) in mt2266_get_bandwidth() argument
274 *bandwidth = priv->bandwidth; in mt2266_get_bandwidth()
/Linux-v4.19/drivers/media/usb/gspca/
Dgspca.c536 u32 bandwidth; in which_bandwidth() local
539 bandwidth = gspca_dev->pixfmt.sizeimage; in which_bandwidth()
543 bandwidth < gspca_dev->pixfmt.width * in which_bandwidth()
545 bandwidth = bandwidth * 3 / 8; /* 0.375 */ in which_bandwidth()
552 bandwidth *= parm.parm.capture.timeperframe.denominator; in which_bandwidth()
553 bandwidth /= parm.parm.capture.timeperframe.numerator; in which_bandwidth()
560 bandwidth *= 15; /* 15 fps */ in which_bandwidth()
562 bandwidth *= 30; /* 30 fps */ in which_bandwidth()
565 gspca_dbg(gspca_dev, D_STREAM, "min bandwidth: %d\n", bandwidth); in which_bandwidth()
566 return bandwidth; in which_bandwidth()
[all …]
/Linux-v4.19/Documentation/ABI/testing/
Dsysfs-kernel-uids7 to set the cpu bandwidth a user is allowed. This is a
10 shares, then they will get equal CPU bandwidth. Another
13 bandwidth user A will. For more details refer
/Linux-v4.19/drivers/staging/pi433/
Drf69.c442 u8 bandwidth; in rf69_set_bandwidth_intern() local
458 bandwidth = rf69_read_reg(spi, reg); in rf69_set_bandwidth_intern()
461 bandwidth = bandwidth & MASK_BW_DCC_FREQ; in rf69_set_bandwidth_intern()
466 bandwidth = bandwidth | BW_MANT_16; in rf69_set_bandwidth_intern()
469 bandwidth = bandwidth | BW_MANT_20; in rf69_set_bandwidth_intern()
472 bandwidth = bandwidth | BW_MANT_24; in rf69_set_bandwidth_intern()
477 bandwidth = bandwidth | exponent; in rf69_set_bandwidth_intern()
480 return rf69_write_reg(spi, reg, bandwidth); in rf69_set_bandwidth_intern()
/Linux-v4.19/drivers/staging/rtlwifi/phydm/rtl8822b/
Dphydm_hal_api8822b.c501 enum odm_bw bandwidth) in phydm_ccapar_by_bw_8822b() argument
511 if (bandwidth == ODM_BW20M) { in phydm_ccapar_by_bw_8822b()
518 } else if (bandwidth == ODM_BW40M) { in phydm_ccapar_by_bw_8822b()
525 } else if (bandwidth == ODM_BW80M) { in phydm_ccapar_by_bw_8822b()
569 enum odm_bw bandwidth) in phydm_rxdfirpar_by_bw_8822b() argument
571 if (bandwidth == ODM_BW40M) { in phydm_rxdfirpar_by_bw_8822b()
577 } else if (bandwidth == ODM_BW80M) { in phydm_rxdfirpar_by_bw_8822b()
1295 enum odm_bw bandwidth) in config_phydm_switch_bandwidth_8822b() argument
1311 if ((bandwidth >= ODM_BW_MAX) || in config_phydm_switch_bandwidth_8822b()
1312 ((bandwidth == ODM_BW40M) && (primary_ch_idx > 2)) || in config_phydm_switch_bandwidth_8822b()
[all …]
/Linux-v4.19/drivers/staging/rtlwifi/rtl8822be/
Dphy.c764 u8 regulation = 0, bandwidth = 0, rate_section = 0, channel; in rtl8822be_phy_set_txpower_limit() local
806 bandwidth = HT_CHANNEL_WIDTH_20; in rtl8822be_phy_set_txpower_limit()
808 bandwidth = HT_CHANNEL_WIDTH_20_40; in rtl8822be_phy_set_txpower_limit()
810 bandwidth = HT_CHANNEL_WIDTH_80; in rtl8822be_phy_set_txpower_limit()
812 bandwidth = 3; in rtl8822be_phy_set_txpower_limit()
824 rtlphy->txpwr_limit_2_4g[regulation][bandwidth] in rtl8822be_phy_set_txpower_limit()
829 rtlphy->txpwr_limit_2_4g[regulation][bandwidth] in rtl8822be_phy_set_txpower_limit()
835 regulation, bandwidth, rate_section, channel_index, in rtl8822be_phy_set_txpower_limit()
836 rtlphy->txpwr_limit_2_4g[regulation][bandwidth] in rtl8822be_phy_set_txpower_limit()
849 rtlphy->txpwr_limit_5g[regulation][bandwidth] in rtl8822be_phy_set_txpower_limit()
[all …]
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Drf.c35 void rtl92ee_phy_rf6052_set_bandwidth(struct ieee80211_hw *hw, u8 bandwidth) in rtl92ee_phy_rf6052_set_bandwidth() argument
40 switch (bandwidth) { in rtl92ee_phy_rf6052_set_bandwidth()
58 pr_err("unknown bandwidth: %#X\n", bandwidth); in rtl92ee_phy_rf6052_set_bandwidth()
/Linux-v4.19/Documentation/x86/
Dintel_rdt_ui.txt27 bandwidth in MBps
99 "min_bandwidth": The minimum memory bandwidth percentage which
102 "bandwidth_gran": The granularity in which the memory bandwidth
106 available bandwidth control steps are:
320 Memory bandwidth Allocation and monitoring
323 For Memory bandwidth resource, by default the user controls the resource
324 by indicating the percentage of total memory bandwidth.
326 The minimum bandwidth percentage value for each cpu model is predefined
327 and can be looked up through "info/MB/min_bandwidth". The bandwidth
329 be looked up at "info/MB/bandwidth_gran". The available bandwidth
[all …]
/Linux-v4.19/Documentation/media/uapi/dvb/
Dfe-bandwidth-t.rst4 Frontend bandwidth
26 - Autodetect bandwidth (if supported)
/Linux-v4.19/drivers/staging/rtlwifi/phydm/
Drtl_phydm.h23 enum ht_channel_width bandwidth, u8 channel);
27 void phy_set_tx_power_limit(void *dm, u8 *regulation, u8 *band, u8 *bandwidth,

12345678910>>...14