/kernel/linux/linux-5.10/drivers/thermal/ |
H A D | gov_step_wise.c | 38 enum thermal_trend trend, bool throttle) in get_target_state() 54 if (throttle) { in get_target_state() 68 if (throttle) { in get_target_state() 76 if (throttle) in get_target_state() 81 if (!throttle) in get_target_state() 84 if (!throttle) { in get_target_state() 93 if (!throttle) in get_target_state() 122 bool throttle = false; in thermal_zone_trip_update() local 136 throttle = true; in thermal_zone_trip_update() 140 dev_dbg(&tz->device, "Trip%d[type=%d,temp=%d]:trend=%d,throttle in thermal_zone_trip_update() 37 get_target_state(struct thermal_instance *instance, enum thermal_trend trend, bool throttle) get_target_state() argument [all...] |
H A D | gov_user_space.c | 45 .throttle = notify_user_space,
|
H A D | gov_fair_share.c | 65 * throttle state of the cooling devices associated with the given zone. 68 * P1. max_state: Maximum throttle state exposed by the cooling device. 73 * We do not want to throttle too much when we trip a lower temperature, 122 .throttle = fair_share_throttle,
|
H A D | gov_bang_bang.c | 117 .throttle = bang_bang_control,
|
/kernel/linux/linux-6.6/drivers/thermal/ |
H A D | gov_step_wise.c | 31 enum thermal_trend trend, bool throttle) in get_target_state() 47 if (throttle) { in get_target_state() 56 if (throttle) { in get_target_state() 87 bool throttle = false; in thermal_zone_trip_update() local 93 throttle = true; in thermal_zone_trip_update() 97 dev_dbg(&tz->device, "Trip%d[type=%d,temp=%d]:trend=%d,throttle=%d\n", in thermal_zone_trip_update() 98 trip_id, trip->type, trip->temperature, trend, throttle); in thermal_zone_trip_update() 105 instance->target = get_target_state(instance, trend, throttle); in thermal_zone_trip_update() 133 * Throttling Logic: This uses the trend of the thermal zone to throttle. 155 .throttle 30 get_target_state(struct thermal_instance *instance, enum thermal_trend trend, bool throttle) get_target_state() argument [all...] |
H A D | gov_user_space.c | 53 .throttle = notify_user_space,
|
H A D | gov_fair_share.c | 55 * throttle state of the cooling devices associated with the given zone. 58 * P1. max_state: Maximum throttle state exposed by the cooling device. 63 * We do not want to throttle too much when we trip a lower temperature, 111 .throttle = fair_share_throttle,
|
H A D | gov_bang_bang.c | 111 .throttle = bang_bang_control,
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | dm-kcopyd.h | 26 unsigned throttle; member 44 module_param_named(name, dm_kcopyd_throttle.throttle, uint, 0644); \ 49 * throttle can be NULL if you don't want any throttling. 52 struct dm_kcopyd_client *dm_kcopyd_client_create(struct dm_kcopyd_throttle *throttle);
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | dm-kcopyd.h | 27 unsigned int throttle; member 45 module_param_named(name, dm_kcopyd_throttle.throttle, uint, 0644); \ 50 * throttle can be NULL if you don't want any throttling. 53 struct dm_kcopyd_client *dm_kcopyd_client_create(struct dm_kcopyd_throttle *throttle);
|
/kernel/linux/linux-5.10/drivers/md/ |
H A D | dm-kcopyd.c | 72 struct dm_kcopyd_throttle *throttle; member 122 unsigned throttle, now, difference; in io_job_start() local 131 throttle = READ_ONCE(t->throttle); in io_job_start() 133 if (likely(throttle >= 100)) in io_job_start() 155 skew = t->io_period - throttle * t->total_period / 100; in io_job_start() 181 if (likely(READ_ONCE(t->throttle) >= 100)) in io_job_finish() 520 io_job_finish(kc->throttle); in complete_io() 574 io_job_start(job->kc->throttle); in run_io_job() 909 struct dm_kcopyd_client *dm_kcopyd_client_create(struct dm_kcopyd_throttle *throttle) in dm_kcopyd_client_create() argument [all...] |
H A D | dm-thin.c | 145 struct throttle { struct 151 static void throttle_init(struct throttle *t) in throttle_init() 157 static void throttle_work_start(struct throttle *t) in throttle_work_start() 162 static void throttle_work_update(struct throttle *t) in throttle_work_update() 170 static void throttle_work_complete(struct throttle *t) in throttle_work_complete() 178 static void throttle_lock(struct throttle *t) in throttle_lock() 183 static void throttle_unlock(struct throttle *t) in throttle_unlock() 252 struct throttle throttle; member 2217 throttle_work_update(&pool->throttle); in process_thin_deferred_bios() [all...] |
/kernel/linux/linux-6.6/drivers/md/ |
H A D | dm-kcopyd.c | 75 struct dm_kcopyd_throttle *throttle; member 125 unsigned int throttle, now, difference; in io_job_start() local 134 throttle = READ_ONCE(t->throttle); in io_job_start() 136 if (likely(throttle >= 100)) in io_job_start() 159 skew = t->io_period - throttle * t->total_period / 100; in io_job_start() 185 if (likely(READ_ONCE(t->throttle) >= 100)) in io_job_finish() 525 io_job_finish(kc->throttle); in complete_io() 578 io_job_start(job->kc->throttle); in run_io_job() 915 struct dm_kcopyd_client *dm_kcopyd_client_create(struct dm_kcopyd_throttle *throttle) in dm_kcopyd_client_create() argument [all...] |
H A D | dm-thin.c | 148 struct throttle { struct 154 static void throttle_init(struct throttle *t) in throttle_init() 160 static void throttle_work_start(struct throttle *t) in throttle_work_start() 165 static void throttle_work_update(struct throttle *t) in throttle_work_update() 173 static void throttle_work_complete(struct throttle *t) in throttle_work_complete() 181 static void throttle_lock(struct throttle *t) in throttle_lock() 186 static void throttle_unlock(struct throttle *t) in throttle_unlock() 255 struct throttle throttle; member 2234 throttle_work_update(&pool->throttle); in process_thin_deferred_bios() [all...] |
/kernel/linux/linux-5.10/drivers/tty/serial/8250/ |
H A D | 8250_aspeed_vuart.c | 41 * If we fill the tty flip buffers, we throttle the data ready interrupt 242 bool throttle) in __aspeed_vuart_set_throttle() 247 if (!throttle) in __aspeed_vuart_set_throttle() 251 static void aspeed_vuart_set_throttle(struct uart_port *port, bool throttle) in aspeed_vuart_set_throttle() argument 257 __aspeed_vuart_set_throttle(up, throttle); in aspeed_vuart_set_throttle() 287 * have throttle/unthrottle callbacks, we've seen that the VUART device can 289 * against the throttle threshold. This results in dropped characters before 290 * the throttle. 293 * throttle now and schedule an unthrottle for later, once the ldisc has had 316 /* throttle an in aspeed_vuart_handle_irq() 241 __aspeed_vuart_set_throttle(struct uart_8250_port *up, bool throttle) __aspeed_vuart_set_throttle() argument [all...] |
/kernel/linux/linux-6.6/drivers/tty/serial/8250/ |
H A D | 8250_aspeed_vuart.c | 44 * If we fill the tty flip buffers, we throttle the data ready interrupt 274 bool throttle) in __aspeed_vuart_set_throttle() 282 if (!throttle) in __aspeed_vuart_set_throttle() 286 static void aspeed_vuart_set_throttle(struct uart_port *port, bool throttle) in aspeed_vuart_set_throttle() argument 292 __aspeed_vuart_set_throttle(up, throttle); in aspeed_vuart_set_throttle() 322 * have throttle/unthrottle callbacks, we've seen that the VUART device can 324 * against the throttle threshold. This results in dropped characters before 325 * the throttle. 328 * throttle now and schedule an unthrottle for later, once the ldisc has had 351 /* throttle an in aspeed_vuart_handle_irq() 273 __aspeed_vuart_set_throttle(struct uart_8250_port *up, bool throttle) __aspeed_vuart_set_throttle() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | tt.c | 83 tt->throttle = false; in iwl_mvm_enter_ctkill() 506 if (!tt->throttle && throttle_enable) { in iwl_mvm_tt_handler() 509 tt->throttle = true; in iwl_mvm_tt_handler() 510 } else if (tt->throttle && !tt->dynamic_smps && in iwl_mvm_tt_handler() 515 tt->throttle = false; in iwl_mvm_tt_handler() 942 tt->throttle = false; in iwl_mvm_thermal_initialize()
|
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | tt.c | 25 tt->throttle = false; in iwl_mvm_enter_ctkill() 447 if (!tt->throttle && throttle_enable) { in iwl_mvm_tt_handler() 450 tt->throttle = true; in iwl_mvm_tt_handler() 451 } else if (tt->throttle && !tt->dynamic_smps && in iwl_mvm_tt_handler() 456 tt->throttle = false; in iwl_mvm_tt_handler() 836 tt->throttle = false; in iwl_mvm_thermal_initialize()
|
/kernel/linux/linux-5.10/drivers/cpufreq/ |
H A D | powernv-cpufreq.c | 137 struct work_struct throttle; member 845 pr_info("Failed to create throttle stats directory for cpu %d\n", in powernv_cpufreq_cpu_init() 909 struct chip *chip = container_of(work, struct chip, throttle); in powernv_cpufreq_work_fn() 956 * target() callback which can detect the throttle state in powernv_cpufreq_occ_msg() 981 schedule_work(&chips[i].throttle); in powernv_cpufreq_occ_msg() 1000 schedule_work(&chips[i].throttle); in powernv_cpufreq_occ_msg() 1088 INIT_WORK(&chips[i].throttle, powernv_cpufreq_work_fn); in init_chip_info() 1107 cancel_work_sync(&chips[i].throttle); in clean_chip_info()
|
/kernel/linux/linux-6.6/drivers/cpufreq/ |
H A D | powernv-cpufreq.c | 137 struct work_struct throttle; member 845 pr_info("Failed to create throttle stats directory for cpu %d\n", in powernv_cpufreq_cpu_init() 917 struct chip *chip = container_of(work, struct chip, throttle); in powernv_cpufreq_work_fn() 964 * target() callback which can detect the throttle state in powernv_cpufreq_occ_msg() 989 schedule_work(&chips[i].throttle); in powernv_cpufreq_occ_msg() 1008 schedule_work(&chips[i].throttle); in powernv_cpufreq_occ_msg() 1083 INIT_WORK(&chips[i].throttle, powernv_cpufreq_work_fn); in init_chip_info() 1102 cancel_work_sync(&chips[i].throttle); in clean_chip_info()
|
/kernel/linux/linux-5.10/block/ |
H A D | blk-rq-qos.c | 71 if (rqos->ops->throttle) in __rq_qos_throttle() 72 rqos->ops->throttle(rqos, bio); in __rq_qos_throttle() 234 * rq_qos_wait - throttle on a rqw if we need to 235 * @rqw: rqw to throttle on
|
/kernel/linux/linux-5.10/drivers/usb/serial/ |
H A D | empeg.c | 52 .throttle = usb_serial_generic_throttle,
|
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | tool.h | 57 throttle, member
|
/kernel/linux/linux-6.6/drivers/usb/serial/ |
H A D | empeg.c | 52 .throttle = usb_serial_generic_throttle,
|
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | tool.h | 59 throttle, member
|