Searched refs:psd (Results 1 – 8 of 8) sorted by relevance
/drivers/base/power/ |
D | clock_ops.c | 52 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 …]
|
D | common.c | 27 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/ |
D | processor_perflib.c | 534 union acpi_object *psd = NULL; in acpi_processor_get_psd() local 541 psd = buffer.pointer; in acpi_processor_get_psd() 542 if (!psd || (psd->type != ACPI_TYPE_PACKAGE)) { in acpi_processor_get_psd() 548 if (psd->package.count != 1) { in acpi_processor_get_psd() 557 status = acpi_extract_package(&(psd->package.elements[0]), in acpi_processor_get_psd()
|
D | cppc_acpi.c | 368 union acpi_object *psd = NULL; in acpi_get_psd() local 378 psd = buffer.pointer; in acpi_get_psd() 379 if (!psd || psd->package.count != 1) { in acpi_get_psd() 389 status = acpi_extract_package(&(psd->package.elements[0]), in acpi_get_psd()
|
/drivers/block/ |
D | pktcdvd.c | 2295 struct packet_stacked_data *psd = bio->bi_private; in pkt_end_io_read_cloned() local 2296 struct pktcdvd_device *pd = psd->pd; in pkt_end_io_read_cloned() 2298 psd->bio->bi_status = bio->bi_status; in pkt_end_io_read_cloned() 2300 bio_endio(psd->bio); in pkt_end_io_read_cloned() 2301 mempool_free(psd, &psd_pool); in pkt_end_io_read_cloned() 2308 struct packet_stacked_data *psd = mempool_alloc(&psd_pool, GFP_NOIO); in pkt_make_request_read() local 2310 psd->pd = pd; in pkt_make_request_read() 2311 psd->bio = bio; in pkt_make_request_read() 2313 cloned_bio->bi_private = psd; in pkt_make_request_read()
|
/drivers/nvme/target/ |
D | admin-cmd.c | 474 id->psd[0].max_power = cpu_to_le16(0x9c4); in nvmet_execute_identify_ctrl() 475 id->psd[0].entry_lat = cpu_to_le32(0x10); in nvmet_execute_identify_ctrl() 476 id->psd[0].exit_lat = cpu_to_le32(0x4); in nvmet_execute_identify_ctrl()
|
/drivers/nvme/host/ |
D | core.c | 2434 if (!(ctrl->psd[state].flags & NVME_PS_FLAGS_NON_OP_STATE)) in nvme_configure_apst() 2437 exit_latency_us = (u64)le32_to_cpu(ctrl->psd[state].exit_lat); in nvme_configure_apst() 2442 le32_to_cpu(ctrl->psd[state].entry_lat); in nvme_configure_apst() 3049 memcpy(ctrl->psd, id->psd, sizeof(ctrl->psd)); in nvme_init_identify()
|
D | nvme.h | 318 struct nvme_id_power_state psd[32]; member
|