Home
last modified time | relevance | path

Searched full:bandwidth (Results 1 – 25 of 1828) sorted by relevance

12345678910>>...74

/kernel/linux/linux-5.10/drivers/firewire/
Dcore-iso.c5 * - Isochronous bus resource management (channels, bandwidth), client side
201 * Isochronous bus resource management (channels, bandwidth), client side
205 int bandwidth, bool allocate) in manage_bandwidth() argument
216 new = allocate ? old - bandwidth : old + bandwidth; in manage_bandwidth()
227 /* A generation change frees all bandwidth. */ in manage_bandwidth()
228 return allocate ? -EAGAIN : bandwidth; in manage_bandwidth()
232 return bandwidth; in manage_bandwidth()
308 * fw_iso_resource_manage() - Allocate or deallocate a channel and/or bandwidth
313 * @bandwidth: pointer for returning bandwidth allocation result
316 * In parameters: card, generation, channels_mask, bandwidth, allocate
[all …]
/kernel/linux/linux-4.19/sound/firewire/
Diso-resources.c55 /* convert to bandwidth units (quadlets at S1600 = bytes at S400) */ in packet_bandwidth()
69 * 88.3 + N * 24.3 in bandwidth units. in current_bandwidth_overhead()
91 * fw_iso_resources_allocate - allocate isochronous channel and bandwidth
96 * This function allocates one isochronous channel and enough bandwidth for the
109 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()
[all …]
/kernel/linux/linux-5.10/sound/firewire/
Diso-resources.c55 /* convert to bandwidth units (quadlets at S1600 = bytes at S400) */ in packet_bandwidth()
69 * 88.3 + N * 24.3 in bandwidth units. in current_bandwidth_overhead()
91 * fw_iso_resources_allocate - allocate isochronous channel and bandwidth
96 * This function allocates one isochronous channel and enough bandwidth for the
109 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()
[all …]
/kernel/linux/linux-4.19/Documentation/scheduler/
Dsched-bwc.txt1 CFS Bandwidth Control
4 [ 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.
[all …]
Dsched-rt-group.txt43 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
Dsched-deadline.txt11 2.2 Bandwidth reclaiming
17 4. Bandwidth management
42 algorithm, augmented with a mechanism (called Constant Bandwidth Server, CBS)
62 "admission control" strategy (see Section "4. Bandwidth management") is used
67 interference between different tasks (bandwidth isolation), while the EDF[1]
125 2.2 Bandwidth reclaiming
128 Bandwidth reclaiming for deadline tasks is based on the GRUB (Greedy
129 Reclamation of Unused Bandwidth) algorithm [15, 16, 17] and it is enabled
164 bandwidth cannot be immediately reclaimed without breaking the
167 the 0-lag time, when the task's bandwidth can be reclaimed without
[all …]
/kernel/linux/linux-4.19/drivers/firewire/
Dcore-iso.c4 * - Isochronous bus resource management (channels, bandwidth), client side
232 * Isochronous bus resource management (channels, bandwidth), client side
236 int bandwidth, bool allocate) in manage_bandwidth() argument
247 new = allocate ? old - bandwidth : old + bandwidth; in manage_bandwidth()
258 /* A generation change frees all bandwidth. */ in manage_bandwidth()
259 return allocate ? -EAGAIN : bandwidth; in manage_bandwidth()
263 return bandwidth; in manage_bandwidth()
339 * fw_iso_resource_manage() - Allocate or deallocate a channel and/or bandwidth
341 * In parameters: card, generation, channels_mask, bandwidth, allocate
342 * Out parameters: channel, bandwidth
[all …]
/kernel/linux/linux-5.10/Documentation/scheduler/
Dsched-bwc.rst2 CFS Bandwidth Control
5 [ 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
[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
Dsched-deadline.rst11 2.2 Bandwidth reclaiming
17 4. Bandwidth management
42 algorithm, augmented with a mechanism (called Constant Bandwidth Server, CBS)
62 "admission control" strategy (see Section "4. Bandwidth management") is used
67 interference between different tasks (bandwidth isolation), while the EDF[1]
125 2.2 Bandwidth reclaiming
128 Bandwidth reclaiming for deadline tasks is based on the GRUB (Greedy
129 Reclamation of Unused Bandwidth) algorithm [15, 16, 17] and it is enabled
164 bandwidth cannot be immediately reclaimed without breaking the
167 the 0-lag time, when the task's bandwidth can be reclaimed without
[all …]
/kernel/linux/linux-4.19/drivers/net/ethernet/intel/ixgbe/
Dixgbe_dcb.h26 /* Error in bandwidth group allocation */
28 /* Error in traffic class bandwidth allocation */
32 /* Link strict traffic class has non zero bandwidth */
34 /* Link strict bandwidth group has non zero bandwidth */
36 /* Traffic class has zero bandwidth */
73 /* Traffic class bandwidth allocation per direction */
75 u8 bwg_id; /* Bandwidth Group (BWG) ID */
76 u8 bwg_percent; /* % of BWG's bandwidth */
77 u8 link_percent; /* % of link bandwidth */
114 u32 link_speed; /* For bandwidth allocation validation purpose */
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/
Dixgbe_dcb.h26 /* Error in bandwidth group allocation */
28 /* Error in traffic class bandwidth allocation */
32 /* Link strict traffic class has non zero bandwidth */
34 /* Link strict bandwidth group has non zero bandwidth */
36 /* Traffic class has zero bandwidth */
73 /* Traffic class bandwidth allocation per direction */
75 u8 bwg_id; /* Bandwidth Group (BWG) ID */
76 u8 bwg_percent; /* % of BWG's bandwidth */
77 u8 link_percent; /* % of link bandwidth */
114 u32 link_speed; /* For bandwidth allocation validation purpose */
/kernel/linux/linux-5.10/drivers/thunderbolt/
Dtunnel.h31 * @consumed_bandwidth: Return how much bandwidth the tunnel consumes
32 * @release_unused_bandwidth: Release all unused bandwidth
33 * @reclaim_available_bandwidth: Reclaim back available bandwidth
36 * @max_up: Maximum upstream bandwidth (Mb/s) available for the tunnel.
37 * Only set if the bandwidth needs to be limited.
38 * @max_down: Maximum downstream bandwidth (Mb/s) available for the tunnel.
39 * Only set if the bandwidth needs to be limited.
40 * @allocated_up: Allocated upstream bandwidth (only for USB3)
41 * @allocated_down: Allocated downstream bandwidth (only for USB3)
Dtunnel.c462 tb_port_dbg(in, "maximum supported bandwidth %u Mb/s x%u = %u Mb/s\n", in tb_dp_xchg_caps()
466 * If the tunnel bandwidth is limited (max_bw is set) then see in tb_dp_xchg_caps()
467 * if we need to reduce bandwidth to fit there. in tb_dp_xchg_caps()
472 tb_port_dbg(out, "maximum supported bandwidth %u Mb/s x%u = %u Mb/s\n", in tb_dp_xchg_caps()
487 tb_port_info(out, "not enough bandwidth for DP tunnel\n"); in tb_dp_xchg_caps()
492 tb_port_dbg(out, "bandwidth reduced to %u Mb/s x%u = %u Mb/s\n", in tb_dp_xchg_caps()
588 /* No bandwidth management for legacy devices */ in tb_dp_consumed_bandwidth()
728 * @max_up: Maximum available upstream bandwidth for the DP tunnel (%0
730 * @max_down: Maximum available downstream bandwidth for the DP tunnel
898 tb_tunnel_dbg(tunnel, "allocating initial bandwidth %d/%d Mb/s\n", in tb_usb3_init()
[all …]
/kernel/linux/linux-5.10/drivers/usb/host/
Dxhci-mtk.h18 * bandwidth to it.
24 * @fs_bus_bw: array to keep track of bandwidth already used for FS
38 * struct mu3h_sch_bw_info: schedule information for bandwidth domain
40 * @bus_bw: array to keep track of bandwidth already used at each uframes
41 * @bw_ep_list: eps in the bandwidth domain
43 * treat a HS root port as a bandwidth domain, but treat a SS root port as
44 * two bandwidth domains, one for IN eps and another for OUT eps.
57 * @bw_cost_per_microframe: bandwidth cost per microframe
58 * @endpoint: linked into bandwidth domain which it belongs to
64 * @allocated: the bandwidth is aready allocated from bus_bw
[all …]
/kernel/linux/linux-4.19/Documentation/x86/
Dintel_rdt_ui.txt15 MBM (Memory Bandwidth Monitoring) - "cqm_mbm_total", "cqm_mbm_local"
16 MBA (Memory Bandwidth Allocation) - "mba"
27 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
[all …]
/kernel/linux/linux-5.10/Documentation/x86/
Dresctrl_ui.rst25 MBM (Memory Bandwidth Monitoring) "cqm_mbm_total", "cqm_mbm_local"
26 MBA (Memory Bandwidth Allocation) "mba"
41 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
[all …]
/kernel/linux/linux-5.10/tools/perf/pmu-events/arch/powerpc/power9/
Dnest_metrics.json31 "MetricGroup" : "memory-bandwidth",
37 "MetricGroup" : "memory-bandwidth",
43 "MetricGroup" : "memory-bandwidth",
49 "MetricGroup" : "memory-bandwidth",
59 "MetricName" : "Memory-bandwidth-MCS",
60 "MetricGroup" : "memory-bandwidth",
/kernel/linux/linux-4.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 …]
/kernel/linux/linux-4.19/drivers/usb/host/
Dxhci-mtk.h18 * bandwidth to it.
23 * struct mu3h_sch_bw_info: schedule information for bandwidth domain
25 * @bus_bw: array to keep track of bandwidth already used at each uframes
26 * @bw_ep_list: eps in the bandwidth domain
28 * treat a HS root port as a bandwidth domain, but treat a SS root port as
29 * two bandwidth domains, one for IN eps and another for OUT eps.
42 * @bw_cost_per_microframe: bandwidth cost per microframe
43 * @endpoint: linked into bandwidth domain which it belongs to
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/resctrl/
Dmonitor.c267 * Supporting function to calculate the memory bandwidth
268 * and delta bandwidth in MBps.
328 * adjust the bandwidth percentage values via the IA32_MBA_THRTL_MSRs so
331 * current bandwdith(cur_bw) < user specified bandwidth(user_bw)
333 * This uses the MBM counters to measure the bandwidth and MBA throttle
334 * MSRs to control the bandwidth for a particular rdtgrp. It builds on the
338 * timer. Having 1s interval makes the calculation of bandwidth simpler.
340 * Although MBA's goal is to restrict the bandwidth to a maximum, there may
341 * be a need to increase the bandwidth to avoid uncecessarily restricting
344 * Since MBA controls the L2 external bandwidth where as MBM measures the
[all …]
/kernel/linux/linux-4.19/arch/x86/kernel/cpu/
Dintel_rdt_monitor.c279 * Supporting function to calculate the memory bandwidth
280 * and delta bandwidth in MBps.
336 * adjust the bandwidth percentage values via the IA32_MBA_THRTL_MSRs so
339 * current bandwdith(cur_bw) < user specified bandwidth(user_bw)
341 * This uses the MBM counters to measure the bandwidth and MBA throttle
342 * MSRs to control the bandwidth for a particular rdtgrp. It builds on the
346 * timer. Having 1s interval makes the calculation of bandwidth simpler.
348 * Although MBA's goal is to restrict the bandwidth to a maximum, there may
349 * be a need to increase the bandwidth to avoid uncecessarily restricting
352 * Since MBA controls the L2 external bandwidth where as MBM measures the
[all …]
/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/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
538 * bandwidth = 1700000; //best can do for FM, AGC will be a mess though in si2157_set_analog_params()
[all …]
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dvmware.h12 * number to distinguish between high- and low bandwidth versions.
15 * bandwidth mode and transfer direction. The flags should be loaded
31 /* The low bandwidth call. The low word of edx is presumed clear. */
39 * The high bandwidth out call. The low word of edx is presumed to have the
49 * The high bandwidth in call. The low word of edx is presumed to have the

12345678910>>...74