Searched refs:throttle_state (Results 1 – 13 of 13) sorted by relevance
/openbmc/linux/drivers/net/wireless/ath/ath11k/ |
H A D | thermal.c | 31 *state = ar->thermal.throttle_state; in ath11k_thermal_get_cur_throttle_state() 39 unsigned long throttle_state) in ath11k_thermal_set_cur_throttle_state() argument 44 if (throttle_state > ATH11K_THERMAL_THROTTLE_MAX) { in ath11k_thermal_set_cur_throttle_state() 46 throttle_state, ATH11K_THERMAL_THROTTLE_MAX); in ath11k_thermal_set_cur_throttle_state() 50 ret = ath11k_thermal_set_throttling(ar, throttle_state); in ath11k_thermal_set_cur_throttle_state() 52 ar->thermal.throttle_state = throttle_state; in ath11k_thermal_set_cur_throttle_state() 127 int ath11k_thermal_set_throttling(struct ath11k *ar, u32 throttle_state) in ath11k_thermal_set_throttling() argument 140 param.enable = throttle_state ? 1 : 0; in ath11k_thermal_set_throttling() 146 param.levelconf[0].dcoffpercent = throttle_state; in ath11k_thermal_set_throttling() 152 throttle_state, ret); in ath11k_thermal_set_throttling()
|
H A D | thermal.h | 22 u32 throttle_state; member 32 int ath11k_thermal_set_throttling(struct ath11k *ar, u32 throttle_state); 44 static inline int ath11k_thermal_set_throttling(struct ath11k *ar, u32 throttle_state) in ath11k_thermal_set_throttling() argument
|
/openbmc/linux/drivers/net/wireless/ath/ath10k/ |
H A D | thermal.c | 32 *state = ar->thermal.throttle_state; in ath10k_thermal_get_cur_throttle_state() 40 unsigned long throttle_state) in ath10k_thermal_set_cur_throttle_state() argument 44 if (throttle_state > ATH10K_THERMAL_THROTTLE_MAX) { in ath10k_thermal_set_cur_throttle_state() 46 throttle_state, ATH10K_THERMAL_THROTTLE_MAX); in ath10k_thermal_set_cur_throttle_state() 50 ar->thermal.throttle_state = throttle_state; in ath10k_thermal_set_cur_throttle_state() 143 duration = (period * ar->thermal.throttle_state) / 100; in ath10k_thermal_set_throttling()
|
H A D | thermal.h | 20 u32 throttle_state; member
|
/openbmc/qemu/block/ |
H A D | throttle-groups.c | 169 ThrottleGroup *tg = container_of(tgm->throttle_state, ThrottleGroup, ts); in throttle_group_get_name() 183 ThrottleState *ts = tgm->throttle_state; in throttle_group_next_tgm() 222 ThrottleState *ts = tgm->throttle_state; in next_throttle_token() 270 ThrottleState *ts = tgm->throttle_state; in throttle_group_schedule_timer() 323 ThrottleState *ts = tgm->throttle_state; in schedule_next_request() 367 ThrottleGroup *tg = container_of(tgm->throttle_state, ThrottleGroup, ts); in throttle_group_co_io_limits_intercept() 391 throttle_account(tgm->throttle_state, direction, bytes); in throttle_group_co_io_limits_intercept() 408 ThrottleState *ts = tgm->throttle_state; in throttle_group_restart_queue_entry() 453 if (tgm->throttle_state) { in throttle_group_restart_tgm() 477 ThrottleState *ts = tgm->throttle_state; in throttle_group_config() [all …]
|
H A D | block-backend.c | 483 if (blk->public.throttle_group_member.throttle_state) { in blk_delete() 867 if (tgm->throttle_state) { in blk_remove_bs() 917 if (tgm->throttle_state) { in blk_insert_bs() 1339 if (blk->public.throttle_group_member.throttle_state) { in blk_co_do_preadv_part() 1413 if (blk->public.throttle_group_member.throttle_state) { in blk_co_do_pwritev_part() 2417 if (tgm->throttle_state) { in blk_root_set_aio_ctx_commit() 2683 assert(tgm->throttle_state); in blk_io_limits_disable() 2699 assert(!blk->public.throttle_group_member.throttle_state); in blk_io_limits_enable() 2709 if (!blk->public.throttle_group_member.throttle_state) { in blk_io_limits_update_group()
|
H A D | qapi-sysemu.c | 496 if (!blk_get_public(blk)->throttle_group_member.throttle_state) { in qmp_block_set_io_throttle() 503 } else if (blk_get_public(blk)->throttle_group_member.throttle_state) { in qmp_block_set_io_throttle()
|
H A D | qapi.c | 91 if (blk && blk_get_public(blk)->throttle_group_member.throttle_state) { in bdrv_block_device_info()
|
/openbmc/qemu/tests/unit/ |
H A D | test-throttle.c | 757 g_assert(tgm1->throttle_state == NULL); in test_groups() 758 g_assert(tgm2->throttle_state == NULL); in test_groups() 759 g_assert(tgm3->throttle_state == NULL); in test_groups() 765 g_assert(tgm1->throttle_state != NULL); in test_groups() 766 g_assert(tgm2->throttle_state != NULL); in test_groups() 767 g_assert(tgm3->throttle_state != NULL); in test_groups() 771 g_assert(tgm1->throttle_state == tgm3->throttle_state); in test_groups() 799 g_assert(tgm1->throttle_state == NULL); in test_groups() 800 g_assert(tgm2->throttle_state == NULL); in test_groups() 801 g_assert(tgm3->throttle_state == NULL); in test_groups()
|
/openbmc/qemu/include/block/ |
H A D | throttle-groups.h | 55 ThrottleState *throttle_state; member
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7915/ |
H A D | mt7915.h | 207 u8 throttle_state; member
|
H A D | init.c | 66 return sprintf(buf, "%hhu\n", phy->throttle_state); in mt7915_thermal_temp_show()
|
H A D | mcu.c | 271 phy->throttle_state = t->ctrl.duty.duty_cycle; in mt7915_mcu_rx_thermal_notify()
|