Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/base/power/
Dclock_ops.c52 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()
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->clock_mutex); in pm_clk_list_unlock()
86 static int pm_clk_op_lock(struct pm_subsys_data *psd, unsigned long *flags, in pm_clk_op_lock() argument
93 spin_lock_irqsave(&psd->lock, *flags); in pm_clk_op_lock()
[all …]
Dcommon.c27 struct pm_subsys_data *psd; in dev_pm_get_subsys_data() local
29 psd = kzalloc(sizeof(*psd), GFP_KERNEL); in dev_pm_get_subsys_data()
30 if (!psd) in dev_pm_get_subsys_data()
38 spin_lock_init(&psd->lock); in dev_pm_get_subsys_data()
39 psd->refcount = 1; in dev_pm_get_subsys_data()
40 dev->power.subsys_data = psd; in dev_pm_get_subsys_data()
42 psd = NULL; in dev_pm_get_subsys_data()
48 kfree(psd); in dev_pm_get_subsys_data()
63 struct pm_subsys_data *psd; in dev_pm_put_subsys_data() local
67 psd = dev_to_psd(dev); in dev_pm_put_subsys_data()
[all …]
/linux-6.12.1/net/mac80211/tests/
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.valid = true,
[all …]
/linux-6.12.1/drivers/acpi/
Dprocessor_perflib.c530 union acpi_object *psd = NULL; in acpi_processor_get_psd() local
537 psd = buffer.pointer; in acpi_processor_get_psd()
538 if (!psd || psd->type != ACPI_TYPE_PACKAGE) { in acpi_processor_get_psd()
544 if (psd->package.count != 1) { in acpi_processor_get_psd()
553 status = acpi_extract_package(&(psd->package.elements[0]), &format, &state); in acpi_processor_get_psd()
Dcppc_acpi.c391 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.12.1/arch/sparc/kernel/
Dpci.c879 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.12.1/drivers/net/wireless/ath/ath11k/
Dreg.c427 new_rule->psd = min_t(s8, rule1->psd, rule2->psd); in ath11k_reg_intersect_rules()
533 s8 psd, u32 reg_flags) in ath11k_reg_update_rule() argument
540 reg_rule->psd = psd; in ath11k_reg_update_rule()
Dmac.c7715 psd_power = temp_chan->psd; in ath11k_mac_fill_reg_tpc_info()
7730 psd_power = temp_chan->psd; in ath11k_mac_fill_reg_tpc_info()
7782 psd_power = temp_chan->psd; in ath11k_mac_fill_reg_tpc_info()
7856 struct ieee80211_parsed_tpe_psd *psd = NULL; in ath11k_mac_parse_tx_pwr_env() local
7885 psd = &bss_conf->tpe.psd_local[client_type]; in ath11k_mac_parse_tx_pwr_env()
7886 if (!psd->valid) in ath11k_mac_parse_tx_pwr_env()
7887 psd = NULL; in ath11k_mac_parse_tx_pwr_env()
7892 psd = &bss_conf->tpe.psd_reg_client[client_type]; in ath11k_mac_parse_tx_pwr_env()
7893 if (!psd->valid) in ath11k_mac_parse_tx_pwr_env()
7894 psd = NULL; in ath11k_mac_parse_tx_pwr_env()
[all …]
/linux-6.12.1/drivers/net/wireless/realtek/rtw89/
Dregd.c756 static s8 tpe_convert_psd_to_eirp(s8 psd) in tpe_convert_psd_to_eirp() argument
760 return psd + 10 * mlog20 / 1000; in tpe_convert_psd_to_eirp()
764 const struct ieee80211_parsed_tpe_psd *psd) in tpe_deal_with_psd() argument
770 if (!psd->valid) in tpe_deal_with_psd()
773 for (i = 0; i < psd->count; i++) { in tpe_deal_with_psd()
774 cstr_psd = tpe_get_constraint(psd->power[i]); in tpe_deal_with_psd()
/linux-6.12.1/include/net/
Dregulatory.h214 s8 psd; member
Dcfg80211.h208 s8 psd; member
/linux-6.12.1/drivers/block/
Dpktcdvd.c2312 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.12.1/net/wireless/
Dreg.c1812 chan->psd = reg_rule->psd; in handle_channel_single_rule()
1835 chan->psd = reg_rule->psd; in handle_channel_single_rule()
1908 chan->psd = min_t(s8, rrule1->psd, rrule2->psd); in handle_channel_adjacent_rules()
2599 chan->psd = reg_rule->psd; in handle_channel_custom()
Dnl80211.c1119 nla_put_s8(msg, NL80211_FREQUENCY_ATTR_PSD, chan->psd)) in nl80211_msg_put_channel()
8742 reg_rule->psd)) in nl80211_put_regdom()
/linux-6.12.1/drivers/nvme/target/
Dadmin-cmd.c479 id->psd[0].max_power = cpu_to_le16(0x9c4); in nvmet_execute_identify_ctrl()
480 id->psd[0].entry_lat = cpu_to_le32(0x10); in nvmet_execute_identify_ctrl()
481 id->psd[0].exit_lat = cpu_to_le32(0x4); in nvmet_execute_identify_ctrl()
/linux-6.12.1/net/mac80211/
Dmlme.c687 ieee80211_rearrange_tpe_psd(struct ieee80211_parsed_tpe_psd *psd, in ieee80211_rearrange_tpe_psd() argument
696 if (!psd->valid) in ieee80211_rearrange_tpe_psd()
700 if (!psd->n) in ieee80211_rearrange_tpe_psd()
703 BUILD_BUG_ON(sizeof(tmp) != sizeof(psd->power)); in ieee80211_rearrange_tpe_psd()
740 offset = ieee80211_calc_chandef_subchan_offset(ap, psd->n); in ieee80211_rearrange_tpe_psd()
743 tmp[i] = psd->power[i + psd->n]; in ieee80211_rearrange_tpe_psd()
744 else if (i < offset + psd->n) in ieee80211_rearrange_tpe_psd()
745 tmp[i] = psd->power[i - offset]; in ieee80211_rearrange_tpe_psd()
747 tmp[i] = psd->power[i]; in ieee80211_rearrange_tpe_psd()
754 memset(psd->power, IEEE80211_TPE_PSD_NO_LIMIT, sizeof(psd->power)); in ieee80211_rearrange_tpe_psd()
[all …]
Dieee80211_i.h2744 void ieee80211_rearrange_tpe_psd(struct ieee80211_parsed_tpe_psd *psd,
/linux-6.12.1/drivers/nvme/host/
Dcore.c2689 if (!(ctrl->psd[state].flags & NVME_PS_FLAGS_NON_OP_STATE)) in nvme_configure_apst()
2692 exit_latency_us = (u64)le32_to_cpu(ctrl->psd[state].exit_lat); in nvme_configure_apst()
2697 le32_to_cpu(ctrl->psd[state].entry_lat); in nvme_configure_apst()
3370 memcpy(ctrl->psd, id->psd, sizeof(ctrl->psd)); in nvme_init_identify()
Dnvme.h346 struct nvme_id_power_state psd[32]; member
/linux-6.12.1/Documentation/ABI/testing/
Dsysfs-class-typec198 psd Power Bank
/linux-6.12.1/include/linux/
Dnvme.h363 struct nvme_id_power_state psd[32]; member