Home
last modified time | relevance | path

Searched refs:psd (Results 1 – 12 of 12) sorted by relevance

/drivers/base/power/
A Dclock_ops.c53 __acquires(&psd->lock) in pm_clk_list_lock()
65 __releases(&psd->lock) in pm_clk_list_unlock()
96 __release(&psd->lock); in pm_clk_op_lock()
137 __acquire(&psd->lock); in pm_clk_op_unlock()
201 if (!psd) in __pm_clk_add()
224 pm_clk_list_lock(psd); in __pm_clk_add()
359 if (!psd || !clk) in pm_clk_remove_clk()
392 if (psd) { in pm_clk_init()
427 if (!psd) in pm_clk_destroy()
479 if (!psd) in pm_clk_suspend()
[all …]
A Dcommon.c28 struct pm_subsys_data *psd; in dev_pm_get_subsys_data() local
30 psd = kzalloc(sizeof(*psd), GFP_KERNEL); in dev_pm_get_subsys_data()
31 if (!psd) in dev_pm_get_subsys_data()
40 psd->refcount = 1; in dev_pm_get_subsys_data()
43 psd = NULL; in dev_pm_get_subsys_data()
49 kfree(psd); in dev_pm_get_subsys_data()
68 psd = dev_to_psd(dev); in dev_pm_put_subsys_data()
69 if (!psd) in dev_pm_put_subsys_data()
72 if (--psd->refcount == 0) in dev_pm_put_subsys_data()
75 psd = NULL; in dev_pm_put_subsys_data()
[all …]
/drivers/acpi/
A Dprocessor_perflib.c538 union acpi_object *psd = NULL; in acpi_processor_get_psd() local
545 psd = buffer.pointer; in acpi_processor_get_psd()
546 if (!psd || psd->type != ACPI_TYPE_PACKAGE) { in acpi_processor_get_psd()
552 if (psd->package.count != 1) { in acpi_processor_get_psd()
561 status = acpi_extract_package(&(psd->package.elements[0]), &format, &state); in acpi_processor_get_psd()
A Dcppc_acpi.c404 union acpi_object *psd = NULL; in acpi_get_psd() local
414 psd = buffer.pointer; in acpi_get_psd()
415 if (!psd || psd->package.count != 1) { in acpi_get_psd()
425 status = acpi_extract_package(&(psd->package.elements[0]), in acpi_get_psd()
/drivers/net/wireless/ath/ath11k/
A Dreg.c419 new_rule->psd = min_t(s8, rule1->psd, rule2->psd); in ath11k_reg_intersect_rules()
525 s8 psd, u32 reg_flags) in ath11k_reg_update_rule() argument
532 reg_rule->psd = psd; in ath11k_reg_update_rule()
A Dmac.c7776 psd_power = temp_chan->psd; in ath11k_mac_fill_reg_tpc_info()
7791 psd_power = temp_chan->psd; in ath11k_mac_fill_reg_tpc_info()
7843 psd_power = temp_chan->psd; in ath11k_mac_fill_reg_tpc_info()
7917 struct ieee80211_parsed_tpe_psd *psd = NULL; in ath11k_mac_parse_tx_pwr_env() local
7947 if (!psd->valid) in ath11k_mac_parse_tx_pwr_env()
7948 psd = NULL; in ath11k_mac_parse_tx_pwr_env()
7954 if (!psd->valid) in ath11k_mac_parse_tx_pwr_env()
7955 psd = NULL; in ath11k_mac_parse_tx_pwr_env()
7961 if (non_psd && !psd) { in ath11k_mac_parse_tx_pwr_env()
7975 if (psd) { in ath11k_mac_parse_tx_pwr_env()
[all …]
/drivers/net/wireless/realtek/rtw89/
A Dregd.c941 static s8 tpe_convert_psd_to_eirp(s8 psd) in tpe_convert_psd_to_eirp() argument
945 return psd + 10 * mlog20 / 1000; in tpe_convert_psd_to_eirp()
949 const struct ieee80211_parsed_tpe_psd *psd) in tpe_deal_with_psd() argument
955 if (!psd->valid) in tpe_deal_with_psd()
958 for (i = 0; i < psd->count; i++) { in tpe_deal_with_psd()
959 cstr_psd = tpe_get_constraint(psd->power[i]); in tpe_deal_with_psd()
/drivers/net/wireless/ath/ath12k/
A Dreg.c529 s8 psd, u32 reg_flags) in ath12k_reg_update_rule() argument
536 reg_rule->psd = psd; in ath12k_reg_update_rule()
A Dmac.c11262 psd_power = temp_chan->psd; in ath12k_mac_fill_reg_tpc_info()
11277 psd_power = temp_chan->psd; in ath12k_mac_fill_reg_tpc_info()
11329 psd_power = temp_chan->psd; in ath12k_mac_fill_reg_tpc_info()
/drivers/nvme/target/
A Dadmin-cmd.c788 id->psd[0].max_power = cpu_to_le16(0x9c4); in nvmet_execute_identify_ctrl()
789 id->psd[0].entry_lat = cpu_to_le32(0x10); in nvmet_execute_identify_ctrl()
790 id->psd[0].exit_lat = cpu_to_le32(0x4); in nvmet_execute_identify_ctrl()
/drivers/nvme/host/
A Dcore.c2906 if (!(ctrl->psd[state].flags & NVME_PS_FLAGS_NON_OP_STATE)) in nvme_configure_apst()
2909 exit_latency_us = (u64)le32_to_cpu(ctrl->psd[state].exit_lat); in nvme_configure_apst()
2914 le32_to_cpu(ctrl->psd[state].entry_lat); in nvme_configure_apst()
3623 memcpy(ctrl->psd, id->psd, sizeof(ctrl->psd)); in nvme_init_identify()
A Dnvme.h351 struct nvme_id_power_state psd[32]; member

Completed in 78 milliseconds