| /linux-6.15/drivers/base/power/ |
| H A D | clock_ops.c | 53 __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 …]
|
| 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() 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 …]
|
| /linux-6.15/net/mac80211/tests/ |
| H A D | tpe.c | 153 .psd.valid = true, 154 .psd.count = 16, 155 .psd.n = 8, 175 .psd.count = 16, 176 .psd.n = 0, 196 .psd.count = 16, 197 .psd.n = 4, 222 .psd.count = 16, 223 .psd.n = 4, 248 .psd.count = 16, [all …]
|
| /linux-6.15/drivers/acpi/ |
| H A D | processor_perflib.c | 526 union acpi_object *psd = NULL; in acpi_processor_get_psd() local 533 psd = buffer.pointer; in acpi_processor_get_psd() 534 if (!psd || psd->type != ACPI_TYPE_PACKAGE) { in acpi_processor_get_psd() 540 if (psd->package.count != 1) { in acpi_processor_get_psd() 549 status = acpi_extract_package(&(psd->package.elements[0]), &format, &state); in acpi_processor_get_psd()
|
| H A D | cppc_acpi.c | 391 union acpi_object *psd = NULL; in acpi_get_psd() local 401 psd = buffer.pointer; in acpi_get_psd() 402 if (!psd || psd->package.count != 1) { in acpi_get_psd() 412 status = acpi_extract_package(&(psd->package.elements[0]), in acpi_get_psd()
|
| /linux-6.15/arch/sparc/kernel/ |
| H A D | pci.c | 879 struct dev_archdata *psd; in pcibios_device_add() local 882 psd = &pdev->dev.archdata; in pcibios_device_add() 883 pci_init_dev_archdata(&dev->dev.archdata, psd->iommu, in pcibios_device_add() 884 psd->stc, psd->host_controller, NULL, in pcibios_device_add() 885 psd->numa_node); in pcibios_device_add()
|
| /linux-6.15/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()
|
| H A D | mac.c | 7768 psd_power = temp_chan->psd; in ath11k_mac_fill_reg_tpc_info() 7783 psd_power = temp_chan->psd; in ath11k_mac_fill_reg_tpc_info() 7835 psd_power = temp_chan->psd; in ath11k_mac_fill_reg_tpc_info() 7909 struct ieee80211_parsed_tpe_psd *psd = NULL; in ath11k_mac_parse_tx_pwr_env() local 7939 if (!psd->valid) in ath11k_mac_parse_tx_pwr_env() 7940 psd = NULL; in ath11k_mac_parse_tx_pwr_env() 7946 if (!psd->valid) in ath11k_mac_parse_tx_pwr_env() 7947 psd = NULL; in ath11k_mac_parse_tx_pwr_env() 7953 if (non_psd && !psd) { in ath11k_mac_parse_tx_pwr_env() 7967 if (psd) { in ath11k_mac_parse_tx_pwr_env() [all …]
|
| /linux-6.15/include/net/ |
| H A D | regulatory.h | 214 s8 psd; member
|
| H A D | cfg80211.h | 211 s8 psd; member
|
| /linux-6.15/drivers/net/wireless/realtek/rtw89/ |
| H A D | regd.c | 834 static s8 tpe_convert_psd_to_eirp(s8 psd) in tpe_convert_psd_to_eirp() argument 838 return psd + 10 * mlog20 / 1000; in tpe_convert_psd_to_eirp() 842 const struct ieee80211_parsed_tpe_psd *psd) in tpe_deal_with_psd() argument 848 if (!psd->valid) in tpe_deal_with_psd() 851 for (i = 0; i < psd->count; i++) { in tpe_deal_with_psd() 852 cstr_psd = tpe_get_constraint(psd->power[i]); in tpe_deal_with_psd()
|
| /linux-6.15/drivers/block/ |
| H A D | pktcdvd.c | 2312 struct packet_stacked_data *psd = bio->bi_private; in pkt_end_io_read_cloned() local 2313 struct pktcdvd_device *pd = psd->pd; in pkt_end_io_read_cloned() 2315 psd->bio->bi_status = bio->bi_status; in pkt_end_io_read_cloned() 2317 bio_endio(psd->bio); in pkt_end_io_read_cloned() 2318 mempool_free(psd, &psd_pool); in pkt_end_io_read_cloned() 2326 struct packet_stacked_data *psd = mempool_alloc(&psd_pool, GFP_NOIO); in pkt_make_request_read() local 2328 psd->pd = pd; in pkt_make_request_read() 2329 psd->bio = bio; in pkt_make_request_read() 2330 cloned_bio->bi_private = psd; in pkt_make_request_read()
|
| /linux-6.15/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 | 1141 nla_put_s8(msg, NL80211_FREQUENCY_ATTR_PSD, chan->psd)) in nl80211_msg_put_channel() 8768 reg_rule->psd)) in nl80211_put_regdom()
|
| /linux-6.15/drivers/nvme/target/ |
| H A D | admin-cmd.c | 797 id->psd[0].max_power = cpu_to_le16(0x9c4); in nvmet_execute_identify_ctrl() 798 id->psd[0].entry_lat = cpu_to_le32(0x10); in nvmet_execute_identify_ctrl() 799 id->psd[0].exit_lat = cpu_to_le32(0x4); in nvmet_execute_identify_ctrl()
|
| /linux-6.15/net/mac80211/ |
| H A D | mlme.c | 873 if (!psd->valid) in ieee80211_rearrange_tpe_psd() 877 if (!psd->n) in ieee80211_rearrange_tpe_psd() 880 BUILD_BUG_ON(sizeof(tmp) != sizeof(psd->power)); in ieee80211_rearrange_tpe_psd() 920 tmp[i] = psd->power[i + psd->n]; in ieee80211_rearrange_tpe_psd() 921 else if (i < offset + psd->n) in ieee80211_rearrange_tpe_psd() 922 tmp[i] = psd->power[i - offset]; in ieee80211_rearrange_tpe_psd() 924 tmp[i] = psd->power[i]; in ieee80211_rearrange_tpe_psd() 931 memset(psd->power, IEEE80211_TPE_PSD_NO_LIMIT, sizeof(psd->power)); in ieee80211_rearrange_tpe_psd() 934 psd->power[i] = tmp[offset + i]; in ieee80211_rearrange_tpe_psd() 938 if (needed < psd->count) in ieee80211_rearrange_tpe_psd() [all …]
|
| H A D | ieee80211_i.h | 2805 void ieee80211_rearrange_tpe_psd(struct ieee80211_parsed_tpe_psd *psd,
|
| /linux-6.15/drivers/nvme/host/ |
| H A D | core.c | 2739 if (!(ctrl->psd[state].flags & NVME_PS_FLAGS_NON_OP_STATE)) in nvme_configure_apst() 2742 exit_latency_us = (u64)le32_to_cpu(ctrl->psd[state].exit_lat); in nvme_configure_apst() 2747 le32_to_cpu(ctrl->psd[state].entry_lat); in nvme_configure_apst() 3442 memcpy(ctrl->psd, id->psd, sizeof(ctrl->psd)); in nvme_init_identify()
|
| H A D | nvme.h | 351 struct nvme_id_power_state psd[32]; member
|
| /linux-6.15/Documentation/ABI/testing/ |
| H A D | sysfs-class-typec | 211 psd Power Bank
|
| /linux-6.15/include/linux/ |
| H A D | nvme.h | 392 struct nvme_id_power_state psd[32]; member
|
| /linux-6.15/Documentation/netlink/specs/ |
| H A D | nl80211.yaml | 1518 name: psd
|