Home
last modified time | relevance | path

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

/linux/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()
201 if (!psd) in __pm_clk_add()
224 pm_clk_list_lock(psd); in __pm_clk_add()
392 if (!psd) in pm_clk_remove()
432 if (!psd || !clk) in pm_clk_remove_clk()
465 if (psd) { in pm_clk_init()
500 if (!psd) in pm_clk_destroy()
552 if (!psd) in pm_clk_suspend()
[all …]
A 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()
39 psd->refcount = 1; in dev_pm_get_subsys_data()
42 psd = NULL; in dev_pm_get_subsys_data()
48 kfree(psd); in dev_pm_get_subsys_data()
67 psd = dev_to_psd(dev); in dev_pm_put_subsys_data()
68 if (!psd) in dev_pm_put_subsys_data()
71 if (--psd->refcount == 0) in dev_pm_put_subsys_data()
74 psd = NULL; in dev_pm_put_subsys_data()
[all …]
/linux/net/mac80211/tests/
A Dtpe.c153 .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/drivers/acpi/
A 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()
A 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/arch/sparc/kernel/
A 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/drivers/net/wireless/ath/ath11k/
A 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()
A 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
7886 if (!psd->valid) in ath11k_mac_parse_tx_pwr_env()
7887 psd = NULL; 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()
7900 if (non_psd && !psd) { in ath11k_mac_parse_tx_pwr_env()
7914 if (psd) { in ath11k_mac_parse_tx_pwr_env()
[all …]
/linux/drivers/net/wireless/realtek/rtw89/
A 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/include/net/
A Dregulatory.h214 s8 psd; member
A Dcfg80211.h208 s8 psd; member
/linux/drivers/block/
A 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/net/wireless/
A 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()
A 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/drivers/nvme/target/
A 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/net/mac80211/
A Dmlme.c696 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()
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()
757 psd->power[i] = tmp[offset + i]; in ieee80211_rearrange_tpe_psd()
761 if (needed < psd->count) in ieee80211_rearrange_tpe_psd()
[all …]
A Dieee80211_i.h2744 void ieee80211_rearrange_tpe_psd(struct ieee80211_parsed_tpe_psd *psd,
/linux/drivers/nvme/host/
A 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()
A Dnvme.h346 struct nvme_id_power_state psd[32]; member
/linux/Documentation/ABI/testing/
A Dsysfs-class-typec198 psd Power Bank
/linux/include/linux/
A Dnvme.h363 struct nvme_id_power_state psd[32]; member

Completed in 160 milliseconds