/linux/drivers/base/power/ |
H A D | clock_ops.c | 42 * @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 D | common.c | 28 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 D | tpe.c | 140 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 D | processor_perflib.c | 538 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 D | reg.c | 419 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 D | regd.c | 941 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 D | reg.c | 529 s8 psd, u32 reg_flags) in ath12k_reg_update_rule() argument 536 reg_rule->psd = psd; in ath12k_reg_update_rule()
|
H A D | mac.c | 11253 /* 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 D | reg.c | 1815 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 D | nl80211.c | 1161 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 D | admin-cmd.c | 788 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 D | mlme.c | 860 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 D | ieee80211_i.h | 1822 /* 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 D | core.c | 2906 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 D | sysfs-class-typec | 211 psd Power Bank
|
/linux/include/linux/ |
H A D | nvme.h | 393 struct nvme_id_power_state psd[32]; member
|
/linux/include/net/ |
H A D | cfg80211.h | 194 * @psd: power spectral density (in dBm) 211 s8 psd; member
|