Home
last modified time | relevance | path

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

/drivers/base/power/
Dclock_ops.c83 struct pm_subsys_data *psd = dev_to_psd(dev); in __pm_clk_add() local
86 if (!psd) in __pm_clk_add()
109 spin_lock_irq(&psd->lock); in __pm_clk_add()
110 list_add_tail(&ce->node, &psd->clock_list); in __pm_clk_add()
111 spin_unlock_irq(&psd->lock); in __pm_clk_add()
266 struct pm_subsys_data *psd = dev_to_psd(dev); in pm_clk_remove() local
269 if (!psd) in pm_clk_remove()
272 spin_lock_irq(&psd->lock); in pm_clk_remove()
274 list_for_each_entry(ce, &psd->clock_list, node) { in pm_clk_remove()
283 spin_unlock_irq(&psd->lock); in pm_clk_remove()
[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 …]
/drivers/acpi/
Dprocessor_perflib.c517 union acpi_object *psd = NULL; in acpi_processor_get_psd() local
524 psd = buffer.pointer; in acpi_processor_get_psd()
525 if (!psd || (psd->type != ACPI_TYPE_PACKAGE)) { in acpi_processor_get_psd()
531 if (psd->package.count != 1) { in acpi_processor_get_psd()
540 status = acpi_extract_package(&(psd->package.elements[0]), in acpi_processor_get_psd()
Dcppc_acpi.c365 union acpi_object *psd = NULL; in acpi_get_psd() local
375 psd = buffer.pointer; in acpi_get_psd()
376 if (!psd || psd->package.count != 1) { in acpi_get_psd()
386 status = acpi_extract_package(&(psd->package.elements[0]), in acpi_get_psd()
/drivers/block/
Dpktcdvd.c2323 struct packet_stacked_data *psd = bio->bi_private; in pkt_end_io_read_cloned() local
2324 struct pktcdvd_device *pd = psd->pd; in pkt_end_io_read_cloned()
2326 psd->bio->bi_status = bio->bi_status; in pkt_end_io_read_cloned()
2328 bio_endio(psd->bio); in pkt_end_io_read_cloned()
2329 mempool_free(psd, &psd_pool); in pkt_end_io_read_cloned()
2336 struct packet_stacked_data *psd = mempool_alloc(&psd_pool, GFP_NOIO); in pkt_make_request_read() local
2338 psd->pd = pd; in pkt_make_request_read()
2339 psd->bio = bio; in pkt_make_request_read()
2341 cloned_bio->bi_private = psd; in pkt_make_request_read()
/drivers/nvme/target/
Dadmin-cmd.c395 id->psd[0].max_power = cpu_to_le16(0x9c4); in nvmet_execute_identify_ctrl()
396 id->psd[0].entry_lat = cpu_to_le32(0x10); in nvmet_execute_identify_ctrl()
397 id->psd[0].exit_lat = cpu_to_le32(0x4); in nvmet_execute_identify_ctrl()
/drivers/nvme/host/
Dnvme.h241 struct nvme_id_power_state psd[32]; member
Dcore.c2312 if (!(ctrl->psd[state].flags & in nvme_configure_apst()
2317 (u64)le32_to_cpu(ctrl->psd[state].exit_lat); in nvme_configure_apst()
2323 le32_to_cpu(ctrl->psd[state].entry_lat); in nvme_configure_apst()
2839 memcpy(ctrl->psd, id->psd, sizeof(ctrl->psd)); in nvme_init_identify()