Home
last modified time | relevance | path

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

12345678910>>...15

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/media/tuners/
Dsi2157.c402 u8 bandwidth, delivery_system; in si2157_set_params() local
415 bandwidth = 0x06; in si2157_set_params()
417 bandwidth = 0x07; in si2157_set_params()
419 bandwidth = 0x08; in si2157_set_params()
421 bandwidth = 0x0f; in si2157_set_params()
445 cmd.args[4] = delivery_system | bandwidth; in si2157_set_params()
491 dev->bandwidth = bandwidth; in si2157_set_params()
498 dev->bandwidth = 0; in si2157_set_params()
513 u32 bandwidth = 0; in si2157_set_analog_params() local
559 bandwidth = 8000000; in si2157_set_analog_params()
[all …]
Dmsi001.c37 struct v4l2_ctrl *bandwidth; member
132 unsigned int bandwidth; in msi001_set_tuner() local
175 bandwidth = dev->bandwidth->val; in msi001_set_tuner()
176 bandwidth = clamp(bandwidth, 200000U, 8000000U); in msi001_set_tuner()
179 if (bandwidth <= bandwidth_lut[i].freq) { in msi001_set_tuner()
180 bandwidth = bandwidth_lut[i].val; in msi001_set_tuner()
189 dev->bandwidth->val = bandwidth_lut[i].freq; in msi001_set_tuner()
245 reg |= bandwidth << 14; in msi001_set_tuner()
443 dev->bandwidth = v4l2_ctrl_new_std(&dev->hdl, &msi001_ctrl_ops, in msi001_probe()
Dfc0011.c63 u32 bandwidth; member
170 u32 bandwidth = p->bandwidth_hz / 1000; in fc0011_set_params() local
243 switch (bandwidth) { in fc0011_set_params()
251 bandwidth); in fc0011_set_params()
252 bandwidth = 6000; in fc0011_set_params()
431 (unsigned int)bandwidth); in fc0011_set_params()
434 priv->bandwidth = p->bandwidth_hz; in fc0011_set_params()
455 static int fc0011_get_bandwidth(struct dvb_frontend *fe, u32 *bandwidth) in fc0011_get_bandwidth() argument
459 *bandwidth = priv->bandwidth; in fc0011_get_bandwidth()
Dmt2266.c32 u32 bandwidth; member
155 priv->bandwidth = c->bandwidth_hz; in mt2266_set_params()
262 static int mt2266_get_bandwidth(struct dvb_frontend *fe, u32 *bandwidth) in mt2266_get_bandwidth() argument
265 *bandwidth = priv->bandwidth; in mt2266_get_bandwidth()
/kernel/linux/linux-5.10/net/wireless/
Dchan.c399 u32 bandwidth, in cfg80211_set_chans_dfs_state() argument
405 for (freq = center_freq - bandwidth/2 + 10; in cfg80211_set_chans_dfs_state()
406 freq <= center_freq + bandwidth/2 - 10; in cfg80211_set_chans_dfs_state()
440 u32 bandwidth) in cfg80211_get_start_freq() argument
444 bandwidth = MHZ_TO_KHZ(bandwidth); in cfg80211_get_start_freq()
445 if (bandwidth <= MHZ_TO_KHZ(20)) in cfg80211_get_start_freq()
448 start_freq = center_freq - bandwidth / 2 + MHZ_TO_KHZ(10); in cfg80211_get_start_freq()
454 u32 bandwidth) in cfg80211_get_end_freq() argument
458 bandwidth = MHZ_TO_KHZ(bandwidth); in cfg80211_get_end_freq()
459 if (bandwidth <= MHZ_TO_KHZ(20)) in cfg80211_get_end_freq()
[all …]
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/
Dtda826x.c67 u32 bandwidth; in tda826x_set_params() local
78 bandwidth = (878 * ksyms + 6500000) / 1000000 + 1; in tda826x_set_params()
79 if (bandwidth < 5) in tda826x_set_params()
80 bandwidth = 5; in tda826x_set_params()
81 else if (bandwidth > 36) in tda826x_set_params()
82 bandwidth = 36; in tda826x_set_params()
91 buf[5] = ((bandwidth - 5) << 3) | 7; /* baseband cut-off */ in tda826x_set_params()
Dstb6100_cfg.h51 static int stb6100_get_bandwidth(struct dvb_frontend *fe, u32 *bandwidth) in stb6100_get_bandwidth() argument
58 err = tuner_ops->get_bandwidth(fe, bandwidth); in stb6100_get_bandwidth()
67 static int stb6100_set_bandwidth(struct dvb_frontend *fe, u32 bandwidth) in stb6100_set_bandwidth() argument
75 c->bandwidth_hz = bandwidth; in stb6100_set_bandwidth()
Dstb6100_proc.h64 static int stb6100_get_bandw(struct dvb_frontend *fe, u32 *bandwidth) in stb6100_get_bandw() argument
74 err = tuner_ops->get_bandwidth(fe, bandwidth); in stb6100_get_bandw()
87 static int stb6100_set_bandw(struct dvb_frontend *fe, u32 bandwidth) in stb6100_set_bandw() argument
95 c->bandwidth_hz = bandwidth; in stb6100_set_bandw()
Dstb6100.c241 static int stb6100_get_bandwidth(struct dvb_frontend *fe, u32 *bandwidth) in stb6100_get_bandwidth() argument
255 *bandwidth = state->bandwidth = bw * 1000; in stb6100_get_bandwidth()
256 dprintk(verbose, FE_DEBUG, 1, "bandwidth = %u Hz", state->bandwidth); in stb6100_get_bandwidth()
260 static int stb6100_set_bandwidth(struct dvb_frontend *fe, u32 bandwidth) in stb6100_set_bandwidth() argument
266 dprintk(verbose, FE_DEBUG, 1, "set bandwidth to %u Hz", bandwidth); in stb6100_set_bandwidth()
268 bandwidth /= 2; /* ZIF */ in stb6100_set_bandwidth()
270 if (bandwidth >= 36000000) /* F[4:0] BW/2 max =31+5=36 mhz for F=31 */ in stb6100_set_bandwidth()
272 else if (bandwidth <= 5000000) /* bw/2 min = 5Mhz for F=0 */ in stb6100_set_bandwidth()
275 tmp = (bandwidth + 500000) / 1000000 - 5; in stb6100_set_bandwidth()
495 state->bandwidth = 36000000; /* Hz */ in stb6100_init()
Dstb6000.c71 int bandwidth; in stb6000_set_params() local
83 bandwidth = p->symbol_rate / 1000000; in stb6000_set_params()
85 if (bandwidth > 31) in stb6000_set_params()
86 bandwidth = 31; in stb6000_set_params()
124 buf[6] = (unsigned char)(bandwidth); in stb6000_set_params()
Dstv6110.c165 static int stv6110_set_bandwidth(struct dvb_frontend *fe, u32 bandwidth) in stv6110_set_bandwidth() argument
171 if ((bandwidth / 2) > 36000000) /*BW/2 max=31+5=36 mhz for r8=31*/ in stv6110_set_bandwidth()
173 else if ((bandwidth / 2) < 5000000) /* BW/2 min=5Mhz for F=0 */ in stv6110_set_bandwidth()
176 r8 = (bandwidth / 2) / 1000000 - 5; in stv6110_set_bandwidth()
339 u32 bandwidth = carrier_width(c->symbol_rate, c->rolloff); in stv6110_set_params() local
342 stv6110_set_bandwidth(fe, bandwidth); in stv6110_set_params()
347 static int stv6110_get_bandwidth(struct dvb_frontend *fe, u32 *bandwidth) in stv6110_get_bandwidth() argument
356 *bandwidth = (r8 + 5) * 2000000;/* x2 for ZIF tuner BW/2 = F+5 Mhz */ in stv6110_get_bandwidth()
Dcxd2841er.c468 u32 bandwidth);
471 u32 bandwidth);
474 u32 bandwidth);
477 u32 bandwidth);
1186 u32 bandwidth, int *offset) in cxd2841er_get_carrier_offset_i() argument
1207 switch (bandwidth) { in cxd2841er_get_carrier_offset_i()
1219 __func__, bandwidth); in cxd2841er_get_carrier_offset_i()
1224 __func__, bandwidth, *offset); in cxd2841er_get_carrier_offset_i()
1230 u32 bandwidth, int *offset) in cxd2841er_get_carrier_offset_t() argument
1250 *offset *= (bandwidth / 1000000); in cxd2841er_get_carrier_offset_t()
[all …]
Dtda8261_cfg.h43 static int tda8261_get_bandwidth(struct dvb_frontend *fe, u32 *bandwidth) in tda8261_get_bandwidth() argument
46 *bandwidth = 40000000; in tda8261_get_bandwidth()
Dsi2168.c237 u8 bandwidth, delivery_system; in si2168_set_frontend() local
269 bandwidth = 0x02; in si2168_set_frontend()
271 bandwidth = 0x05; in si2168_set_frontend()
273 bandwidth = 0x06; in si2168_set_frontend()
275 bandwidth = 0x07; in si2168_set_frontend()
277 bandwidth = 0x08; in si2168_set_frontend()
279 bandwidth = 0x09; in si2168_set_frontend()
281 bandwidth = 0x0a; in si2168_set_frontend()
283 bandwidth = 0x0f; in si2168_set_frontend()
346 cmd.args[4] = delivery_system | bandwidth; in si2168_set_frontend()
/kernel/linux/linux-5.10/drivers/firewire/
Dcore-iso.c205 int bandwidth, bool allocate) in manage_bandwidth() argument
216 new = allocate ? old - bandwidth : old + bandwidth; in manage_bandwidth()
228 return allocate ? -EAGAIN : bandwidth; in manage_bandwidth()
232 return bandwidth; in manage_bandwidth()
339 u64 channels_mask, int *channel, int *bandwidth, in fw_iso_resource_manage() argument
364 *bandwidth = 0; in fw_iso_resource_manage()
366 if (*bandwidth == 0) in fw_iso_resource_manage()
369 ret = manage_bandwidth(card, irm_id, generation, *bandwidth, allocate); in fw_iso_resource_manage()
371 *bandwidth = 0; in fw_iso_resource_manage()
/kernel/linux/linux-5.10/arch/arm/mach-rpc/include/mach/
Dacornfb.h119 unsigned long bandwidth = acornfb_bandwidth(var); in acornfb_vidc20_find_rates() local
122 if (bandwidth > 33334) /* < 30.0MB/s */ in acornfb_vidc20_find_rates()
124 else if (bandwidth > 26666) /* < 37.5MB/s */ in acornfb_vidc20_find_rates()
126 else if (bandwidth > 22222) /* < 45.0MB/s */ in acornfb_vidc20_find_rates()
/kernel/linux/linux-5.10/Documentation/scheduler/
Dsched-bwc.rst5 [ This document only discusses CPU bandwidth control for SCHED_NORMAL.
8 CFS bandwidth control is a CONFIG_FAIR_GROUP_SCHED extension which allows the
9 specification of the maximum CPU bandwidth available to a group or hierarchy.
11 The bandwidth allowed for a group is specified using a quota and period. Within
20 cfs_quota units at each period boundary. As threads consume this bandwidth it
38 bandwidth restriction in place, such a group is described as an unconstrained
39 bandwidth group. This represents the traditional work-conserving behavior for
42 Writing any (valid) positive value(s) will enact the specified bandwidth limit.
45 bandwidth limits are used in a hierarchical fashion, these are explained in
48 Writing any negative value to cpu.cfs_quota_us will remove the bandwidth limit
[all …]
Dsched-rt-group.rst43 the amount of bandwidth (eg. CPU time) being constant. In order to schedule
90 The scheduling period that is equivalent to 100% CPU bandwidth
95 processes. With CONFIG_RT_GROUP_SCHED it signifies the total bandwidth
114 By default all bandwidth is assigned to the root group and new groups get the
116 want to assign bandwidth to another group, reduce the root group's bandwidth
120 bandwidth to the group before it will accept realtime tasks. Therefore you will
130 CPU bandwidth to task groups.
158 Consider two sibling groups A and B; both have 50% bandwidth, but A's
/kernel/linux/linux-5.10/drivers/staging/pi433/
Drf69.c465 u8 bandwidth; in rf69_set_bandwidth_intern() local
481 bandwidth = rf69_read_reg(spi, reg); in rf69_set_bandwidth_intern()
484 bandwidth = bandwidth & MASK_BW_DCC_FREQ; in rf69_set_bandwidth_intern()
489 bandwidth = bandwidth | BW_MANT_16; in rf69_set_bandwidth_intern()
492 bandwidth = bandwidth | BW_MANT_20; in rf69_set_bandwidth_intern()
495 bandwidth = bandwidth | BW_MANT_24; in rf69_set_bandwidth_intern()
500 bandwidth = bandwidth | exponent; in rf69_set_bandwidth_intern()
503 return rf69_write_reg(spi, reg, bandwidth); in rf69_set_bandwidth_intern()
/kernel/linux/linux-5.10/Documentation/ABI/removed/
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
/kernel/linux/linux-5.10/drivers/media/usb/gspca/
Dgspca.c531 u32 bandwidth; in which_bandwidth() local
534 bandwidth = gspca_dev->pixfmt.sizeimage; in which_bandwidth()
538 bandwidth < gspca_dev->pixfmt.width * in which_bandwidth()
540 bandwidth = bandwidth * 3 / 8; /* 0.375 */ in which_bandwidth()
547 bandwidth *= parm.parm.capture.timeperframe.denominator; in which_bandwidth()
548 bandwidth /= parm.parm.capture.timeperframe.numerator; in which_bandwidth()
555 bandwidth *= 15; /* 15 fps */ in which_bandwidth()
557 bandwidth *= 30; /* 30 fps */ in which_bandwidth()
560 gspca_dbg(gspca_dev, D_STREAM, "min bandwidth: %d\n", bandwidth); in which_bandwidth()
561 return bandwidth; in which_bandwidth()
[all …]
/kernel/linux/linux-5.10/Documentation/x86/
Dresctrl_ui.rst41 bandwidth in MBps
121 Memory bandwidth(MB) subdirectory contains the following files
125 The minimum memory bandwidth percentage which
129 The granularity in which the memory bandwidth
133 available bandwidth control steps are:
144 request different memory bandwidth percentages:
150 bandwidth percentages are directly applied to
364 Memory bandwidth Allocation and monitoring
367 For Memory bandwidth resource, by default the user controls the resource
368 by indicating the percentage of total memory bandwidth.
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Drf.c13 void rtl92ee_phy_rf6052_set_bandwidth(struct ieee80211_hw *hw, u8 bandwidth) in rtl92ee_phy_rf6052_set_bandwidth() argument
18 switch (bandwidth) { in rtl92ee_phy_rf6052_set_bandwidth()
36 pr_err("unknown bandwidth: %#X\n", bandwidth); in rtl92ee_phy_rf6052_set_bandwidth()
/kernel/linux/linux-5.10/Documentation/userspace-api/media/dvb/
Dfe-bandwidth-t.rst4 Frontend bandwidth
26 - Autodetect bandwidth (if supported)

12345678910>>...15