Searched refs:psd (Results 1 – 6 of 6) sorted by relevance
78 struct pm_subsys_data *psd = dev_to_psd(dev); in __pm_clk_add() local81 if (!psd) in __pm_clk_add()106 spin_lock_irq(&psd->lock); in __pm_clk_add()107 list_add_tail(&ce->node, &psd->clock_list); in __pm_clk_add()108 spin_unlock_irq(&psd->lock); in __pm_clk_add()264 struct pm_subsys_data *psd = dev_to_psd(dev); in pm_clk_remove() local267 if (!psd) in pm_clk_remove()270 spin_lock_irq(&psd->lock); in pm_clk_remove()272 list_for_each_entry(ce, &psd->clock_list, node) { in pm_clk_remove()281 spin_unlock_irq(&psd->lock); in pm_clk_remove()[all …]
29 struct pm_subsys_data *psd; in dev_pm_get_subsys_data() local31 psd = kzalloc(sizeof(*psd), GFP_KERNEL); in dev_pm_get_subsys_data()32 if (!psd) in dev_pm_get_subsys_data()40 spin_lock_init(&psd->lock); in dev_pm_get_subsys_data()41 psd->refcount = 1; in dev_pm_get_subsys_data()42 dev->power.subsys_data = psd; in dev_pm_get_subsys_data()44 psd = NULL; in dev_pm_get_subsys_data()50 kfree(psd); in dev_pm_get_subsys_data()65 struct pm_subsys_data *psd; in dev_pm_put_subsys_data() local69 psd = dev_to_psd(dev); in dev_pm_put_subsys_data()[all …]
536 union acpi_object *psd = NULL; in acpi_processor_get_psd() local544 psd = buffer.pointer; in acpi_processor_get_psd()545 if (!psd || (psd->type != ACPI_TYPE_PACKAGE)) { in acpi_processor_get_psd()551 if (psd->package.count != 1) { in acpi_processor_get_psd()562 status = acpi_extract_package(&(psd->package.elements[0]), in acpi_processor_get_psd()
360 union acpi_object *psd = NULL; in acpi_get_psd() local368 psd = buffer.pointer; in acpi_get_psd()369 if (!psd || psd->package.count != 1) { in acpi_get_psd()379 status = acpi_extract_package(&(psd->package.elements[0]), in acpi_get_psd()
272 id->psd[0].max_power = cpu_to_le16(0x9c4); in nvmet_execute_identify_ctrl()273 id->psd[0].entry_lat = cpu_to_le32(0x10); in nvmet_execute_identify_ctrl()274 id->psd[0].exit_lat = cpu_to_le32(0x4); in nvmet_execute_identify_ctrl()
2336 struct packet_stacked_data *psd = bio->bi_private; in pkt_end_io_read_cloned() local2337 struct pktcdvd_device *pd = psd->pd; in pkt_end_io_read_cloned()2339 psd->bio->bi_error = bio->bi_error; in pkt_end_io_read_cloned()2341 bio_endio(psd->bio); in pkt_end_io_read_cloned()2342 mempool_free(psd, psd_pool); in pkt_end_io_read_cloned()2349 struct packet_stacked_data *psd = mempool_alloc(psd_pool, GFP_NOIO); in pkt_make_request_read() local2351 psd->pd = pd; in pkt_make_request_read()2352 psd->bio = bio; in pkt_make_request_read()2354 cloned_bio->bi_private = psd; in pkt_make_request_read()