| /OK3568_Linux_fs/kernel/drivers/firewire/ |
| H A D | core-iso.c | 5 * - 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 …]
|
| /OK3568_Linux_fs/kernel/sound/firewire/ |
| H A D | iso-resources.c | 55 /* 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 …]
|
| /OK3568_Linux_fs/kernel/Documentation/scheduler/ |
| H A D | sched-bwc.rst | 2 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 …]
|
| H A D | sched-deadline.rst | 11 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 …]
|
| H A D | sched-rt-group.rst | 43 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
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/ixgbe/ |
| H A D | ixgbe_dcb.h | 26 /* 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 */
|
| /OK3568_Linux_fs/kernel/drivers/usb/host/ |
| H A D | xhci-mtk.h | 18 * bandwidth to it. 23 * @fs_bus_bw: array to keep track of bandwidth already used for FS 32 * struct mu3h_sch_bw_info: schedule information for bandwidth domain 34 * @bus_bw: array to keep track of bandwidth already used at each uframes 35 * @bw_ep_list: eps in the bandwidth domain 37 * treat a HS root port as a bandwidth domain, but treat a SS root port as 38 * two bandwidth domains, one for IN eps and another for OUT eps. 51 * @bw_cost_per_microframe: bandwidth cost per microframe 52 * @endpoint: linked into bandwidth domain which it belongs to 58 * @allocated: the bandwidth is aready allocated from bus_bw [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/x86/ |
| H A D | resctrl_ui.rst | 25 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/thunderbolt/ |
| H A D | tunnel.h | 31 * @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)
|
| H A D | tunnel.c | 462 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 …]
|
| /OK3568_Linux_fs/kernel/net/wireless/ |
| H A D | chan.c | 399 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 …]
|
| /OK3568_Linux_fs/kernel/arch/x86/kernel/cpu/resctrl/ |
| H A D | monitor.c | 267 * 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/media/tuners/ |
| H A D | si2157.c | 402 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/include/ |
| H A D | bcmwifi_monitor.h | 80 /* channel bandwidth */ 81 #define WLC_20_MHZ 20 /**< 20Mhz channel bandwidth */ 82 #define WLC_40_MHZ 40 /**< 40Mhz channel bandwidth */ 83 #define WLC_80_MHZ 80 /**< 80Mhz channel bandwidth */ 84 #define WLC_160_MHZ 160 /**< 160Mhz channel bandwidth */ 85 #define WLC_240_MHZ 240 /**< 240Mhz channel bandwidth */ 86 #define WLC_320_MHZ 320 /**< 320Mhz channel bandwidth */
|
| /OK3568_Linux_fs/kernel/tools/perf/pmu-events/arch/powerpc/power9/ |
| H A D | nest_metrics.json | 31 "MetricGroup" : "memory-bandwidth", 37 "MetricGroup" : "memory-bandwidth", 43 "MetricGroup" : "memory-bandwidth", 49 "MetricGroup" : "memory-bandwidth", 59 "MetricName" : "Memory-bandwidth-MCS", 60 "MetricGroup" : "memory-bandwidth",
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822be/hal/ |
| H A D | hal_com_phycfg.c | 1197 IN CHANNEL_WIDTH BandWidth, in PHY_GetTxPowerIndexBase() argument 1234 if (BandWidth == CHANNEL_WIDTH_20) { in PHY_GetTxPowerIndexBase() 1249 else if (BandWidth == CHANNEL_WIDTH_40) { in PHY_GetTxPowerIndexBase() 1264 else if (BandWidth == CHANNEL_WIDTH_80) { in PHY_GetTxPowerIndexBase() 1294 if (BandWidth == CHANNEL_WIDTH_20) { in PHY_GetTxPowerIndexBase() 1309 else if (BandWidth == CHANNEL_WIDTH_40) { in PHY_GetTxPowerIndexBase() 1324 else if (BandWidth == CHANNEL_WIDTH_80) { in PHY_GetTxPowerIndexBase() 1810 IN CHANNEL_WIDTH BandWidth, in PHY_SetTxPowerIndexByRateArray() argument 1820 powerIndex = PHY_GetTxPowerIndex(pAdapter, RFPath, Rates[i], BandWidth, Channel); in PHY_SetTxPowerIndexByRateArray() 1942 IN CHANNEL_WIDTH Bandwidth, in PHY_GetTxPowerLimit() argument [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/devfreq/ |
| H A D | rockchip_dmc.txt | 35 each item consists of bandwidth and frequency like 36 <min-bandwidth max-bandwidth frequency>. 37 min-bandwidth: minimum ddr bandwidth in Mbyte/sec. 38 max-bandwidth: maximum ddr bandwidth in Mbyte/sec.
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/msm/disp/dpu1/ |
| H A D | dpu_core_perf.c | 164 /* 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/media/usb/gspca/ |
| H A D | gspca.c | 528 /* 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 …]
|
| /OK3568_Linux_fs/kernel/arch/x86/include/asm/ |
| H A D | vmware.h | 12 * 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
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/ |
| H A D | dcbnl.h | 39 * @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 …]
|
| /OK3568_Linux_fs/kernel/include/uapi/linux/ |
| H A D | dcbnl.h | 39 * @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 …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/ |
| H A D | dcbnl.h | 39 * @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 …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/amdgpu/ |
| H A D | dce_v8_0.c | 600 * Used for display watermark bandwidth calculations 632 u32 yclk; /* bandwidth per dram data pin in kHz */ 647 * dce_v8_0_dram_bandwidth - get the dram bandwidth 651 * Calculate the raw dram bandwidth (CIK). 652 * Used for display watermark bandwidth calculations 653 * Returns the dram bandwidth in MBytes/s 657 /* Calculate raw DRAM Bandwidth */ in dce_v8_0_dram_bandwidth() 659 fixed20_12 yclk, dram_channels, bandwidth; in dce_v8_0_dram_bandwidth() local 669 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce_v8_0_dram_bandwidth() 670 bandwidth.full = dfixed_mul(bandwidth, dram_efficiency); in dce_v8_0_dram_bandwidth() [all …]
|
| H A D | dce_v6_0.c | 463 * Used for display watermark bandwidth calculations 495 u32 yclk; /* bandwidth per dram data pin in kHz */ 510 * dce_v6_0_dram_bandwidth - get the dram bandwidth 514 * Calculate the raw dram bandwidth (CIK). 515 * Used for display watermark bandwidth calculations 516 * Returns the dram bandwidth in MBytes/s 520 /* Calculate raw DRAM Bandwidth */ in dce_v6_0_dram_bandwidth() 522 fixed20_12 yclk, dram_channels, bandwidth; in dce_v6_0_dram_bandwidth() local 532 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce_v6_0_dram_bandwidth() 533 bandwidth.full = dfixed_mul(bandwidth, dram_efficiency); in dce_v6_0_dram_bandwidth() [all …]
|