Home
last modified time | relevance | path

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

/drivers/base/power/
Dclock_ops.c76 struct pm_subsys_data *psd = dev_to_psd(dev); in pm_clk_add() local
79 if (!psd) in pm_clk_add()
100 spin_lock_irq(&psd->lock); in pm_clk_add()
101 list_add_tail(&ce->node, &psd->clock_list); in pm_clk_add()
102 spin_unlock_irq(&psd->lock); in pm_clk_add()
139 struct pm_subsys_data *psd = dev_to_psd(dev); in pm_clk_remove() local
142 if (!psd) in pm_clk_remove()
145 spin_lock_irq(&psd->lock); in pm_clk_remove()
147 list_for_each_entry(ce, &psd->clock_list, node) { in pm_clk_remove()
156 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()
64 struct pm_subsys_data *psd; in dev_pm_put_subsys_data() local
69 psd = dev_to_psd(dev); in dev_pm_put_subsys_data()
[all …]
Ddomain.c1568 struct pm_subsys_data *psd; in pm_genpd_dev_need_restore() local
1573 psd = dev_to_psd(dev); in pm_genpd_dev_need_restore()
1574 if (psd && psd->domain_data) in pm_genpd_dev_need_restore()
1575 to_gpd_data(psd->domain_data)->need_restore = val ? 1 : 0; in pm_genpd_dev_need_restore()
/drivers/acpi/
Dprocessor_perflib.c540 union acpi_object *psd = NULL; in acpi_processor_get_psd() local
548 psd = buffer.pointer; in acpi_processor_get_psd()
549 if (!psd || (psd->type != ACPI_TYPE_PACKAGE)) { in acpi_processor_get_psd()
555 if (psd->package.count != 1) { in acpi_processor_get_psd()
566 status = acpi_extract_package(&(psd->package.elements[0]), in acpi_processor_get_psd()
/drivers/block/
Dpktcdvd.c2336 struct packet_stacked_data *psd = bio->bi_private; in pkt_end_io_read_cloned() local
2337 struct pktcdvd_device *pd = psd->pd; in pkt_end_io_read_cloned()
2340 bio_endio(psd->bio, err); in pkt_end_io_read_cloned()
2341 mempool_free(psd, psd_pool); in pkt_end_io_read_cloned()
2348 struct packet_stacked_data *psd = mempool_alloc(psd_pool, GFP_NOIO); in pkt_make_request_read() local
2350 psd->pd = pd; in pkt_make_request_read()
2351 psd->bio = bio; in pkt_make_request_read()
2353 cloned_bio->bi_private = psd; in pkt_make_request_read()