/drivers/thermal/ |
D | step_wise.c | 38 enum thermal_trend trend, bool throttle) in get_target_state() argument 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() 141 trip, trip_type, trip_temp, trend, throttle); in thermal_zone_trip_update() [all …]
|
D | user_space.c | 45 .throttle = notify_user_space,
|
D | gov_bang_bang.c | 117 .throttle = bang_bang_control,
|
D | fair_share.c | 118 .throttle = fair_share_throttle,
|
D | Kconfig | 182 This will throttle the device by limiting the maximum allowed DVFS 221 thermal framework. cpufreq is used as the cooling device to throttle 233 cpufreq is used as the cooling device to throttle CPUs when the 253 cpufreq is used as the cooling device to throttle CPUs when the 273 trip point. Cpufreq is used as the cooling device and will throttle
|
/drivers/md/ |
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 924 kc->throttle = throttle; in dm_kcopyd_client_create()
|
D | dm-thin.c | 145 struct throttle { struct 151 static void throttle_init(struct throttle *t) in throttle_init() argument 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() 251 struct throttle throttle; member 2223 throttle_work_update(&pool->throttle); in process_thin_deferred_bios() 2412 throttle_work_start(&pool->throttle); in do_worker() [all …]
|
D | dm-zoned-reclaim.c | 478 zrc->kc_throttle.throttle = 100; in dmz_reclaim_work() 481 zrc->kc_throttle.throttle = min(75U, 100U - p_unmap_rnd / 2); in dmz_reclaim_work() 486 zrc->kc_throttle.throttle, in dmz_reclaim_work()
|
/drivers/tty/serial/8250/ |
D | 8250_aspeed_vuart.c | 198 bool throttle) in __aspeed_vuart_set_throttle() argument 203 if (!throttle) in __aspeed_vuart_set_throttle() 207 static void aspeed_vuart_set_throttle(struct uart_port *port, bool throttle) in aspeed_vuart_set_throttle() argument 213 __aspeed_vuart_set_throttle(up, throttle); in aspeed_vuart_set_throttle() 335 port.port.throttle = aspeed_vuart_throttle; in aspeed_vuart_probe()
|
/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | tt.c | 81 tt->throttle = false; in iwl_mvm_enter_ctkill() 448 if (!tt->throttle && throttle_enable) { in iwl_mvm_tt_handler() 451 tt->throttle = true; in iwl_mvm_tt_handler() 452 } else if (tt->throttle && !tt->dynamic_smps && in iwl_mvm_tt_handler() 457 tt->throttle = false; in iwl_mvm_tt_handler() 874 tt->throttle = false; in iwl_mvm_thermal_initialize()
|
/drivers/cpufreq/ |
D | powernv-cpufreq.c | 135 struct work_struct throttle; member 904 struct chip *chip = container_of(work, struct chip, throttle); in powernv_cpufreq_work_fn() 973 schedule_work(&chips[i].throttle); in powernv_cpufreq_occ_msg() 992 schedule_work(&chips[i].throttle); in powernv_cpufreq_occ_msg() 1071 INIT_WORK(&chips[i].throttle, powernv_cpufreq_work_fn); in init_chip_info()
|
/drivers/usb/serial/ |
D | visor.c | 173 .throttle = usb_serial_generic_throttle, 193 .throttle = usb_serial_generic_throttle, 212 .throttle = usb_serial_generic_throttle,
|
D | empeg.c | 52 .throttle = usb_serial_generic_throttle,
|
D | aircable.c | 149 .throttle = usb_serial_generic_throttle,
|
D | symbolserial.c | 184 .throttle = symbol_throttle,
|
D | cypress_m8.c | 158 .throttle = cypress_throttle, 184 .throttle = cypress_throttle, 210 .throttle = cypress_throttle,
|
D | metro-usb.c | 358 .throttle = metrousb_throttle,
|
D | opticon.c | 386 .throttle = usb_serial_generic_throttle,
|
/drivers/tty/ |
D | tty_ioctl.c | 114 tty->ops->throttle) in tty_throttle() 115 tty->ops->throttle(tty); in tty_throttle() 167 if (tty->ops->throttle) in tty_throttle_safe() 168 tty->ops->throttle(tty); in tty_throttle_safe()
|
/drivers/net/ethernet/aquantia/atlantic/hw_atl/ |
D | hw_atl_llh_internal.h | 439 #define HW_ATL_INTR_THR_ADR(throttle) (0x00002800u + (throttle) * 0x4) argument
|
/drivers/staging/wlan-ng/ |
D | prism2usb.c | 167 del_singleshot_timer_sync(&hw->throttle); in prism2sta_disconnect_usb()
|
D | hfa384x_usb.c | 556 timer_setup(&hw->throttle, hfa384x_usb_throttlefn, 0); in hfa384x_create() 2970 !timer_pending(&hw->throttle)) { in hfa384x_usbin_callback() 2971 mod_timer(&hw->throttle, jiffies + THROTTLE_JIFFIES); in hfa384x_usbin_callback() 3507 !timer_pending(&hw->throttle)) { in hfa384x_usbout_callback() 3508 mod_timer(&hw->throttle, in hfa384x_usbout_callback() 3780 struct hfa384x *hw = from_timer(hw, t, throttle); in hfa384x_usb_throttlefn()
|
/drivers/s390/char/ |
D | tty3270.c | 94 int throttle, attn; /* tty throttle/unthrottle. */ member 687 if (!tp->throttle) in tty3270_irq() 1810 tp->throttle = 1; in tty3270_throttle() 1824 tp->throttle = 0; in tty3270_unthrottle() 1897 .throttle = tty3270_throttle,
|
/drivers/scsi/bfa/ |
D | bfa_fcpim.c | 3887 struct bfa_defs_fcpim_throttle_s throttle; in bfa_fcpim_throttle_get() local 3893 memset(&throttle, 0, sizeof(struct bfa_defs_fcpim_throttle_s)); in bfa_fcpim_throttle_get() 3895 throttle.cur_value = (u16)(fcpim->fcp->num_ioim_reqs); in bfa_fcpim_throttle_get() 3896 throttle.cfg_value = bfa_fcpim_read_throttle(bfa); in bfa_fcpim_throttle_get() 3897 if (!throttle.cfg_value) in bfa_fcpim_throttle_get() 3898 throttle.cfg_value = throttle.cur_value; in bfa_fcpim_throttle_get() 3899 throttle.max_value = (u16)(fcpim->fcp->max_ioim_reqs); in bfa_fcpim_throttle_get() 3900 memcpy(buf, &throttle, sizeof(struct bfa_defs_fcpim_throttle_s)); in bfa_fcpim_throttle_get()
|
/drivers/block/drbd/ |
D | drbd_actlog.c | 1019 bool throttle = drbd_rs_should_slow_down(device, sector, true); in drbd_try_rs_begin_io() local 1026 if (throttle && device->resync_wenr != enr) in drbd_try_rs_begin_io() 1117 if (throttle) { in drbd_try_rs_begin_io()
|