Home
last modified time | relevance | path

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

12345678910>>...43

/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-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 …]
Diso-resources.h11 * struct fw_iso_resources - manages channel/bandwidth allocation
16 * bandwidth) for one isochronous stream.
24 unsigned int bandwidth; /* in bandwidth units, without overhead */ member
/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-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/usb/host/
Dxhci-mtk.h18 * bandwidth to it.
23 * @fs_bus_bw: array to keep track of bandwidth already used for FS
36 * struct mu3h_sch_bw_info: schedule information for bandwidth domain
38 * @bus_bw: array to keep track of bandwidth already used at each uframes
39 * @bw_ep_list: eps in the bandwidth domain
41 * treat a HS root port as a bandwidth domain, but treat a SS root port as
42 * two bandwidth domains, one for IN eps and another for OUT eps.
55 * @bw_cost_per_microframe: bandwidth cost per microframe
56 * @endpoint: linked into bandwidth domain which it belongs to
62 * @allocated: the bandwidth is aready allocated from bus_bw
[all …]
Dehci-sysfs.c105 * bandwidth allocation through submitting new urbs. in uframe_periodic_max_store()
110 * for request to decrease max periodic bandwidth, we have to check in uframe_periodic_max_store()
118 ehci->bandwidth[uframe]); in uframe_periodic_max_store()
123 "periodic bandwidth is already allocated " in uframe_periodic_max_store()
132 ehci_info(ehci, "setting max periodic bandwidth to %u%% " in uframe_periodic_max_store()
137 ehci_warn(ehci, "max periodic bandwidth set is non-standard\n"); in uframe_periodic_max_store()
/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/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-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-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
/kernel/linux/linux-5.10/tools/perf/pmu-events/arch/x86/knightslanding/
Duncore-memory.json3 "BriefDescription": "ddr bandwidth read (CPU traffic only) (MB/sec). ",
13 "BriefDescription": "ddr bandwidth write (CPU traffic only) (MB/sec). ",
23 "BriefDescription": "mcdram bandwidth read (CPU traffic only) (MB/sec). ",
33 "BriefDescription": "mcdram bandwidth write (CPU traffic only) (MB/sec). ",
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/
Dstb6100_cfg.h38 c->bandwidth_hz = 0; /* Don't adjust the bandwidth */ in stb6100_set_frequency()
51 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()
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_proc.h43 c->bandwidth_hz = 0; /* Don't adjust the bandwidth */ in stb6100_set_freq()
64 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()
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_core_perf.c164 /* we only need bandwidth check on real-time clients (interfaces) */ in dpu_core_perf_crtc_check()
190 /* convert bandwidth to kb */ in dpu_core_perf_crtc_check()
192 DPU_DEBUG("calculated bandwidth=%uk\n", bw); in dpu_core_perf_crtc_check()
199 DPU_ERROR("no bandwidth limits specified\n"); in dpu_core_perf_crtc_check()
202 DPU_ERROR("exceeds bandwidth: %ukb > %ukb\n", bw, in dpu_core_perf_crtc_check()
252 * @dpu_core_perf_crtc_release_bw() - request zero bandwidth
256 * requests are done, meaning no more bandwidth is needed, release
257 * bandwidth request.
280 /* Release the bandwidth */ in dpu_core_perf_crtc_release_bw()
357 * cases for bus bandwidth update. in dpu_core_perf_crtc_update()
[all …]
/kernel/linux/linux-5.10/include/uapi/linux/
Ddcbnl.h39 * @tc_tx_bw: tc tx bandwidth indexed by traffic class
40 * @tc_rx_bw: tc rx bandwidth indexed by traffic class
43 * @tc_reco_bw: recommended tc bandwidth indexed by traffic class for TLV
44 * @tc_reco_tsa: recommended tc bandwidth indexed by traffic class for TLV
45 * @reco_prio_tc: recommended tc tx bandwidth indexed by traffic class for TLV
76 * @tc_maxrate: maximal tc tx bandwidth indexed by traffic class
187 * @pg_bw: bandwidth percentage for each priority group
523 * @DCB_PG_ATTR_BW_ID_0: Percent of link bandwidth for Priority Group 0 (NLA_U8)
524 * @DCB_PG_ATTR_BW_ID_1: Percent of link bandwidth for Priority Group 1 (NLA_U8)
525 * @DCB_PG_ATTR_BW_ID_2: Percent of link bandwidth for Priority Group 2 (NLA_U8)
[all …]
/kernel/linux/linux-5.10/drivers/media/usb/gspca/
Dgspca.c528 /* compute the minimum bandwidth for the current transfer */
531 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()
[all …]
/kernel/linux/linux-5.10/arch/m68k/include/asm/
Dmcfdma.h37 #define MCFDMA_DCR_BWC_MASK 0x0E00 /* Bandwidth ctl mask */
38 #define MCFDMA_DCR_BWC_512 0x0200 /* Bandwidth: 512 Bytes */
39 #define MCFDMA_DCR_BWC_1024 0x0400 /* Bandwidth: 1024 Bytes */
40 #define MCFDMA_DCR_BWC_2048 0x0600 /* Bandwidth: 2048 Bytes */
41 #define MCFDMA_DCR_BWC_4096 0x0800 /* Bandwidth: 4096 Bytes */
42 #define MCFDMA_DCR_BWC_8192 0x0a00 /* Bandwidth: 8192 Bytes */
43 #define MCFDMA_DCR_BWC_16384 0x0c00 /* Bandwidth: 16384 Bytes */
44 #define MCFDMA_DCR_BWC_32768 0x0e00 /* Bandwidth: 32768 Bytes */

12345678910>>...43