/drivers/base/power/ |
D | generic_ops.c | 22 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; in pm_generic_runtime_suspend() local 41 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; in pm_generic_runtime_resume() local 75 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; in pm_generic_suspend_noirq() local 87 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; in pm_generic_suspend_late() local 99 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; in pm_generic_suspend() local 111 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; in pm_generic_freeze_noirq() local 123 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; in pm_generic_freeze_late() local 135 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; in pm_generic_freeze() local 147 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; in pm_generic_poweroff_noirq() local 159 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; in pm_generic_poweroff_late() local [all …]
|
/drivers/input/touchscreen/ |
D | penmount.c | 50 struct pm { struct 59 void (*parse_packet)(struct pm *); argument 66 static void pm_mtevent(struct pm *pm, struct input_dev *input) in pm_mtevent() 99 static void pm_parse_9000(struct pm *pm) in pm_parse_9000() 112 static void pm_parse_6000(struct pm *pm) in pm_parse_6000() 129 static void pm_parse_3000(struct pm *pm) in pm_parse_3000() 145 static void pm_parse_6250(struct pm *pm) in pm_parse_6250() 164 struct pm *pm = serio_get_drvdata(serio); in pm_interrupt() local 179 struct pm *pm = serio_get_drvdata(serio); in pm_disconnect() local 197 struct pm *pm; in pm_connect() local
|
/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_packet_manager.c | 41 static void pm_calc_rlib_size(struct packet_manager *pm, in pm_calc_rlib_size() 87 static int pm_allocate_runlist_ib(struct packet_manager *pm, in pm_allocate_runlist_ib() 121 static int pm_create_runlist_ib(struct packet_manager *pm, in pm_create_runlist_ib() 225 int pm_init(struct packet_manager *pm, struct device_queue_manager *dqm) in pm_init() 264 void pm_uninit(struct packet_manager *pm, bool hanging) in pm_uninit() 271 int pm_send_set_resources(struct packet_manager *pm, in pm_send_set_resources() 300 int pm_send_runlist(struct packet_manager *pm, struct list_head *dqm_queues) in pm_send_runlist() 342 int pm_send_query_status(struct packet_manager *pm, uint64_t fence_address, in pm_send_query_status() 372 int pm_send_unmap_queue(struct packet_manager *pm, in pm_send_unmap_queue() 400 void pm_release_ib(struct packet_manager *pm) in pm_release_ib() [all …]
|
D | kfd_packet_manager_v9.c | 32 static int pm_map_process_v9(struct packet_manager *pm, in pm_map_process_v9() 77 static int pm_map_process_aldebaran(struct packet_manager *pm, in pm_map_process_aldebaran() 116 static int pm_runlist_v9(struct packet_manager *pm, uint32_t *buffer, in pm_runlist_v9() 154 static int pm_set_resources_v9(struct packet_manager *pm, uint32_t *buffer, in pm_set_resources_v9() 187 static int pm_map_queues_v9(struct packet_manager *pm, uint32_t *buffer, in pm_map_queues_v9() 254 static int pm_unmap_queues_v9(struct packet_manager *pm, uint32_t *buffer, in pm_unmap_queues_v9() 304 static int pm_query_status_v9(struct packet_manager *pm, uint32_t *buffer, in pm_query_status_v9()
|
D | kfd_packet_manager_vi.c | 42 static int pm_map_process_vi(struct packet_manager *pm, uint32_t *buffer, in pm_map_process_vi() 75 static int pm_runlist_vi(struct packet_manager *pm, uint32_t *buffer, in pm_runlist_vi() 114 static int pm_set_resources_vi(struct packet_manager *pm, uint32_t *buffer, in pm_set_resources_vi() 142 static int pm_map_queues_vi(struct packet_manager *pm, uint32_t *buffer, in pm_map_queues_vi() 200 static int pm_unmap_queues_vi(struct packet_manager *pm, uint32_t *buffer, in pm_unmap_queues_vi() 246 static int pm_query_status_vi(struct packet_manager *pm, uint32_t *buffer, in pm_query_status_vi()
|
/drivers/gpu/drm/nouveau/nvkm/engine/pm/ |
D | base.c | 36 nvkm_pm_count_perfdom(struct nvkm_pm *pm) in nvkm_pm_count_perfdom() 62 nvkm_perfdom_find(struct nvkm_pm *pm, int di) in nvkm_perfdom_find() 75 nvkm_perfsig_find(struct nvkm_pm *pm, u8 di, u8 si, struct nvkm_perfdom **pdom) in nvkm_perfsig_find() 104 nvkm_perfsrc_find(struct nvkm_pm *pm, struct nvkm_perfsig *sig, int si) in nvkm_perfsrc_find() 129 nvkm_perfsrc_enable(struct nvkm_pm *pm, struct nvkm_perfctr *ctr) in nvkm_perfsrc_enable() 168 nvkm_perfsrc_disable(struct nvkm_pm *pm, struct nvkm_perfctr *ctr) in nvkm_perfsrc_disable() 214 struct nvkm_pm *pm = dom->perfmon->pm; in nvkm_perfdom_init() local 244 struct nvkm_pm *pm = dom->perfmon->pm; in nvkm_perfdom_sample() local 268 struct nvkm_pm *pm = dom->perfmon->pm; in nvkm_perfdom_read() local 313 struct nvkm_pm *pm = dom->perfmon->pm; in nvkm_perfdom_dtor() local [all …]
|
D | gf100.c | 128 gf100_perfctr_init(struct nvkm_pm *pm, struct nvkm_perfdom *dom, in gf100_perfctr_init() 146 gf100_perfctr_read(struct nvkm_pm *pm, struct nvkm_perfdom *dom, in gf100_perfctr_read() 161 gf100_perfctr_next(struct nvkm_pm *pm, struct nvkm_perfdom *dom) in gf100_perfctr_next() 176 gf100_pm_fini(struct nvkm_pm *pm) in gf100_pm_fini() 192 struct nvkm_pm *pm; in gf100_pm_new_() local
|
D | nv40.c | 27 nv40_perfctr_init(struct nvkm_pm *pm, struct nvkm_perfdom *dom, in nv40_perfctr_init() 44 nv40_perfctr_read(struct nvkm_pm *pm, struct nvkm_perfdom *dom, in nv40_perfctr_read() 59 nv40_perfctr_next(struct nvkm_pm *pm, struct nvkm_perfdom *dom) in nv40_perfctr_next() 85 struct nv40_pm *pm; in nv40_pm_new_() local
|
/drivers/hid/ |
D | hid-prodikeys.c | 39 struct pcmidi_snd *pm; /* pcmidi device context */ member 44 struct pcmidi_snd *pm; member 213 static void pcmidi_send_note(struct pcmidi_snd *pm, in pcmidi_send_note() 246 static void init_sustain_timers(struct pcmidi_snd *pm) in init_sustain_timers() 259 static void stop_sustain_timers(struct pcmidi_snd *pm) in stop_sustain_timers() 271 static int pcmidi_get_output_report(struct pcmidi_snd *pm) in pcmidi_get_output_report() 296 static void pcmidi_submit_output_report(struct pcmidi_snd *pm, int state) in pcmidi_submit_output_report() 306 static int pcmidi_handle_report1(struct pcmidi_snd *pm, u8 *data) in pcmidi_handle_report1() 336 static int pcmidi_handle_report3(struct pcmidi_snd *pm, u8 *data, int size) in pcmidi_handle_report3() 381 static int pcmidi_handle_report4(struct pcmidi_snd *pm, u8 *data) in pcmidi_handle_report4() [all …]
|
/drivers/scsi/ |
D | scsi_pm.c | 22 static int do_scsi_suspend(struct device *dev, const struct dev_pm_ops *pm) in do_scsi_suspend() 27 static int do_scsi_freeze(struct device *dev, const struct dev_pm_ops *pm) in do_scsi_freeze() 32 static int do_scsi_poweroff(struct device *dev, const struct dev_pm_ops *pm) in do_scsi_poweroff() 37 static int do_scsi_resume(struct device *dev, const struct dev_pm_ops *pm) in do_scsi_resume() 42 static int do_scsi_thaw(struct device *dev, const struct dev_pm_ops *pm) in do_scsi_thaw() 47 static int do_scsi_restore(struct device *dev, const struct dev_pm_ops *pm) in do_scsi_restore() 55 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; in scsi_dev_type_suspend() local 81 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; in scsi_bus_resume_common() local 147 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; in sdev_runtime_suspend() local 177 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; in sdev_runtime_resume() local
|
/drivers/media/platform/mediatek/vcodec/ |
D | mtk_vcodec_dec_pm.c | 17 int mtk_vcodec_init_dec_clk(struct platform_device *pdev, struct mtk_vcodec_pm *pm) in mtk_vcodec_init_dec_clk() 60 static int mtk_vcodec_dec_pw_on(struct mtk_vcodec_pm *pm) in mtk_vcodec_dec_pw_on() 71 static void mtk_vcodec_dec_pw_off(struct mtk_vcodec_pm *pm) in mtk_vcodec_dec_pw_off() 80 static void mtk_vcodec_dec_clock_on(struct mtk_vcodec_pm *pm) in mtk_vcodec_dec_clock_on() 101 static void mtk_vcodec_dec_clock_off(struct mtk_vcodec_pm *pm) in mtk_vcodec_dec_clock_off() 198 struct mtk_vcodec_pm *pm; in mtk_vcodec_dec_child_dev_on() local 218 struct mtk_vcodec_pm *pm; in mtk_vcodec_dec_child_dev_off() local
|
D | mtk_vcodec_enc_pm.c | 18 struct mtk_vcodec_pm *pm; in mtk_vcodec_init_enc_clk() local 62 void mtk_vcodec_enc_clock_on(struct mtk_vcodec_pm *pm) in mtk_vcodec_enc_clock_on() 83 void mtk_vcodec_enc_clock_off(struct mtk_vcodec_pm *pm) in mtk_vcodec_enc_clock_off()
|
/drivers/input/misc/ |
D | powermate.c | 88 struct powermate_device *pm = urb->context; in powermate_irq() local 122 static void powermate_sync_state(struct powermate_device *pm) in powermate_sync_state() 196 struct powermate_device *pm = urb->context; in powermate_config_complete() local 208 static void powermate_pulse_led(struct powermate_device *pm, int static_brightness, int pulse_speed, in powermate_pulse_led() 256 struct powermate_device *pm = input_get_drvdata(dev); in powermate_input_event() local 278 static int powermate_alloc_buffers(struct usb_device *udev, struct powermate_device *pm) in powermate_alloc_buffers() 292 static void powermate_free_buffers(struct usb_device *udev, struct powermate_device *pm) in powermate_free_buffers() 305 struct powermate_device *pm; in powermate_probe() local 421 struct powermate_device *pm = usb_get_intfdata (intf); in powermate_disconnect() local
|
/drivers/pci/ |
D | pci-driver.c | 704 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; in pci_pm_prepare() local 773 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; in pci_pm_suspend() local 845 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; in pci_pm_suspend_noirq() local 940 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; in pci_pm_resume_noirq() local 982 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; in pci_pm_resume() local 1024 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; in pci_pm_freeze() local 1060 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; in pci_pm_freeze_noirq() local 1085 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; in pci_pm_thaw_noirq() local 1111 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; in pci_pm_thaw() local 1132 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; in pci_pm_poweroff() local [all …]
|
/drivers/net/wireless/mediatek/mt76/mt7921/ |
D | sdio.c | 42 struct mt76_connac_pm *pm = &dev->pm; in mt7921s_unregister_device() local 202 struct mt76_connac_pm *pm = &dev->pm; in mt7921s_suspend() local 276 struct mt76_connac_pm *pm = &dev->pm; in mt7921s_resume() local
|
D | pci.c | 106 struct mt76_connac_pm *pm = &dev->pm; in mt7921e_unregister_device() local 380 struct mt76_connac_pm *pm = &dev->pm; in mt7921_pci_suspend() local 454 struct mt76_connac_pm *pm = &dev->pm; in mt7921_pci_resume() local
|
D | pci_mcu.c | 88 struct mt76_connac_pm *pm = &dev->pm; in mt7921e_mcu_drv_pmctrl() local 108 struct mt76_connac_pm *pm = &dev->pm; in mt7921e_mcu_fw_pmctrl() local
|
D | sdio_mcu.c | 104 struct mt76_connac_pm *pm = &dev->pm; in mt7921s_mcu_drv_pmctrl() local 140 struct mt76_connac_pm *pm = &dev->pm; in mt7921s_mcu_fw_pmctrl() local
|
D | debugfs.c | 268 struct mt76_connac_pm *pm = &dev->pm; in mt7921_pm_set() local 313 struct mt76_connac_pm *pm = &dev->pm; in mt7921_deep_sleep_set() local 350 struct mt76_connac_pm *pm = &dev->pm; in mt7921_pm_stats() local
|
/drivers/mfd/ |
D | bcm2835-pm.c | 29 struct bcm2835_pm *pm) in bcm2835_pm_get_pdata() 75 struct bcm2835_pm *pm; in bcm2835_pm_probe() local
|
/drivers/net/wireless/st/cw1200/ |
D | pm.c | 96 int cw1200_pm_init(struct cw1200_pm_state *pm, in cw1200_pm_init() 106 void cw1200_pm_deinit(struct cw1200_pm_state *pm) in cw1200_pm_deinit() 111 void cw1200_pm_stay_awake(struct cw1200_pm_state *pm, in cw1200_pm_stay_awake()
|
/drivers/net/wireless/mediatek/mt76/ |
D | mt76_connac.h | 277 mt76_connac_pm_ref(struct mt76_phy *phy, struct mt76_connac_pm *pm) in mt76_connac_pm_ref() 294 mt76_connac_pm_unref(struct mt76_phy *phy, struct mt76_connac_pm *pm) in mt76_connac_pm_unref() 307 mt76_connac_skip_fw_pmctrl(struct mt76_phy *phy, struct mt76_connac_pm *pm) in mt76_connac_skip_fw_pmctrl() 323 mt76_connac_mutex_acquire(struct mt76_dev *dev, struct mt76_connac_pm *pm) in mt76_connac_mutex_acquire() 331 mt76_connac_mutex_release(struct mt76_dev *dev, struct mt76_connac_pm *pm) in mt76_connac_mutex_release()
|
D | mt76_connac_mac.c | 12 int mt76_connac_pm_wake(struct mt76_phy *phy, struct mt76_connac_pm *pm) in mt76_connac_pm_wake() 39 struct mt76_connac_pm *pm) in mt76_connac_power_save_sched() 61 void mt76_connac_free_pending_tx_skbs(struct mt76_connac_pm *pm, in mt76_connac_free_pending_tx_skbs() 79 struct mt76_connac_pm *pm, in mt76_connac_pm_queue_skb() 100 struct mt76_connac_pm *pm) in mt76_connac_pm_dequeue_skbs()
|
/drivers/net/wireless/mediatek/mt76/mt7615/ |
D | sdio_mcu.c | 59 struct mt76_connac_pm *pm = &dev->pm; in __mt7663s_mcu_drv_pmctrl() local 102 struct mt76_connac_pm *pm = &dev->pm; in mt7663s_mcu_fw_pmctrl() local
|
/drivers/media/platform/renesas/ |
D | rcar-isp.c | 31 #define ISPPROCMODE_DT_PROC_MODE_VC3(pm) (((pm) & 0x3f) << 24) argument 32 #define ISPPROCMODE_DT_PROC_MODE_VC2(pm) (((pm) & 0x3f) << 16) argument 33 #define ISPPROCMODE_DT_PROC_MODE_VC1(pm) (((pm) & 0x3f) << 8) argument 34 #define ISPPROCMODE_DT_PROC_MODE_VC0(pm) ((pm) & 0x3f) argument
|