Home
last modified time | relevance | path

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

/linux/drivers/base/power/
H A Dclock_ops.c42 * @psd: pm_subsys_data instance corresponding to the PM clock entry list
52 static void pm_clk_list_lock(struct pm_subsys_data *psd) in pm_clk_list_lock() argument
53 __acquires(&psd->lock) in pm_clk_list_lock()
55 mutex_lock(&psd->clock_mutex); in pm_clk_list_lock()
56 spin_lock_irq(&psd->lock); in pm_clk_list_lock()
61 * @psd: the same pm_subsys_data instance previously passed to
64 static void pm_clk_list_unlock(struct pm_subsys_data *psd) in pm_clk_list_unlock() argument
65 __releases(&psd->lock) in pm_clk_list_unlock()
67 spin_unlock_irq(&psd->lock); in pm_clk_list_unlock()
68 mutex_unlock(&psd in pm_clk_list_unlock()
86 pm_clk_op_lock(struct pm_subsys_data * psd,unsigned long * flags,const char * fn) pm_clk_op_lock() argument
130 pm_clk_op_unlock(struct pm_subsys_data * psd,unsigned long * flags) pm_clk_op_unlock() argument
198 struct pm_subsys_data *psd = dev_to_psd(dev); __pm_clk_add() local
356 struct pm_subsys_data *psd = dev_to_psd(dev); pm_clk_remove_clk() local
391 struct pm_subsys_data *psd = dev_to_psd(dev); pm_clk_init() local
423 struct pm_subsys_data *psd = dev_to_psd(dev); pm_clk_destroy() local
472 struct pm_subsys_data *psd = dev_to_psd(dev); pm_clk_suspend() local
510 struct pm_subsys_data *psd = dev_to_psd(dev); pm_clk_resume() local
[all...]
H 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()
39 spin_lock_init(&psd->lock); in dev_pm_get_subsys_data()
40 psd->refcount = 1; in dev_pm_get_subsys_data()
41 dev->power.subsys_data = psd; in dev_pm_get_subsys_data()
43 psd = NULL; in dev_pm_get_subsys_data()
49 kfree(psd); in dev_pm_get_subsys_data()
64 struct pm_subsys_data *psd; in dev_pm_put_subsys_data() local
[all...]
/linux/net/mac80211/tests/
H A Dtpe.c140 struct ieee80211_parsed_tpe_psd psd, out; member
153 .psd.valid = true,
154 .psd.count = 16,
155 .psd.n = 8,
156 .psd.power = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 },
174 .psd.valid = true,
175 .psd.count = 16,
176 .psd.n = 0,
177 .psd.power = { 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, },
195 .psd
[all...]
/linux/drivers/acpi/
H 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()
/linux/drivers/net/wireless/ath/ath11k/
H 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()
/linux/drivers/net/wireless/realtek/rtw89/
H 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()
/linux/drivers/net/wireless/ath/ath12k/
H A Dreg.c529 s8 psd, u32 reg_flags) in ath12k_reg_update_rule() argument
536 reg_rule->psd = psd; in ath12k_reg_update_rule()
H A Dmac.c11253 /* Connecting AP is psd power */ in ath12k_mac_fill_reg_tpc_info()
11262 psd_power = temp_chan->psd; in ath12k_mac_fill_reg_tpc_info()
11268 /* Connecting AP is not psd power */ in ath12k_mac_fill_reg_tpc_info()
11277 psd_power = temp_chan->psd; in ath12k_mac_fill_reg_tpc_info()
11278 /* convert psd power to EIRP power based in ath12k_mac_fill_reg_tpc_info()
11291 /* Connecting AP is psd power */ in ath12k_mac_fill_reg_tpc_info()
11303 /* Connecting AP is not psd power */ in ath12k_mac_fill_reg_tpc_info()
11329 psd_power = temp_chan->psd; in ath12k_mac_fill_reg_tpc_info()
/linux/net/wireless/
H A Dreg.c1815 chan->psd = reg_rule->psd; in handle_channel_single_rule()
1838 chan->psd = reg_rule->psd; in handle_channel_single_rule()
1911 chan->psd = min_t(s8, rrule1->psd, rrule2->psd); in handle_channel_adjacent_rules()
2602 chan->psd = reg_rule->psd; in handle_channel_custom()
H A Dnl80211.c1161 nla_put_s8(msg, NL80211_FREQUENCY_ATTR_PSD, chan->psd)) in nl80211_msg_put_channel()
9406 reg_rule->psd)) in nl80211_put_regdom()
/linux/drivers/nvme/target/
H 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()
/linux/net/mac80211/
H A Dmlme.c860 ieee80211_rearrange_tpe_psd(struct ieee80211_parsed_tpe_psd *psd, in ieee80211_rearrange_tpe_psd() argument
869 if (!psd->valid) in ieee80211_rearrange_tpe_psd()
873 if (!psd->n) in ieee80211_rearrange_tpe_psd()
876 BUILD_BUG_ON(sizeof(tmp) != sizeof(psd->power)); in ieee80211_rearrange_tpe_psd()
882 * In psd->power we have values in the order 0..N, 0..K, where in ieee80211_rearrange_tpe_psd()
913 offset = ieee80211_calc_chandef_subchan_offset(ap, psd->n); in ieee80211_rearrange_tpe_psd()
916 tmp[i] = psd->power[i + psd->n]; in ieee80211_rearrange_tpe_psd()
917 else if (i < offset + psd->n) in ieee80211_rearrange_tpe_psd()
918 tmp[i] = psd in ieee80211_rearrange_tpe_psd()
[all...]
H A Dieee80211_i.h1822 /* not the order in the psd values is per element, not per chandef */
2872 void ieee80211_rearrange_tpe_psd(struct ieee80211_parsed_tpe_psd *psd,
/linux/drivers/nvme/host/
H 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()
/linux/Documentation/ABI/testing/
H A Dsysfs-class-typec211 psd Power Bank
/linux/include/linux/
H A Dnvme.h393 struct nvme_id_power_state psd[32]; member
/linux/include/net/
H A Dcfg80211.h194 * @psd: power spectral density (in dBm)
211 s8 psd; member