Home
last modified time | relevance | path

Searched defs:pm (Results 1 – 25 of 138) sorted by relevance

123456

/Linux-v5.10/drivers/base/power/
Dgeneric_ops.c22 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 …]
/Linux-v5.10/drivers/input/touchscreen/
Dpenmount.c50 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
/Linux-v5.10/drivers/gpu/drm/amd/amdkfd/
Dkfd_packet_manager.c40 static void pm_calc_rlib_size(struct packet_manager *pm, in pm_calc_rlib_size()
86 static int pm_allocate_runlist_ib(struct packet_manager *pm, in pm_allocate_runlist_ib()
120 static int pm_create_runlist_ib(struct packet_manager *pm, in pm_create_runlist_ib()
224 int pm_init(struct packet_manager *pm, struct device_queue_manager *dqm) in pm_init()
270 void pm_uninit(struct packet_manager *pm, bool hanging) in pm_uninit()
276 int pm_send_set_resources(struct packet_manager *pm, in pm_send_set_resources()
305 int pm_send_runlist(struct packet_manager *pm, struct list_head *dqm_queues) in pm_send_runlist()
347 int pm_send_query_status(struct packet_manager *pm, uint64_t fence_address, in pm_send_query_status()
377 int pm_send_unmap_queue(struct packet_manager *pm, enum kfd_queue_type type, in pm_send_unmap_queue()
407 void pm_release_ib(struct packet_manager *pm) in pm_release_ib()
[all …]
Dkfd_packet_manager_v9.c30 static int pm_map_process_v9(struct packet_manager *pm, in pm_map_process_v9()
76 static int pm_runlist_v9(struct packet_manager *pm, uint32_t *buffer, in pm_runlist_v9()
114 static int pm_set_resources_v9(struct packet_manager *pm, uint32_t *buffer, in pm_set_resources_v9()
142 static int pm_map_queues_v9(struct packet_manager *pm, uint32_t *buffer, in pm_map_queues_v9()
209 static int pm_unmap_queues_v9(struct packet_manager *pm, uint32_t *buffer, in pm_unmap_queues_v9()
285 static int pm_query_status_v9(struct packet_manager *pm, uint32_t *buffer, in pm_query_status_v9()
Dkfd_packet_manager_vi.c41 static int pm_map_process_vi(struct packet_manager *pm, uint32_t *buffer, in pm_map_process_vi()
74 static int pm_runlist_vi(struct packet_manager *pm, uint32_t *buffer, in pm_runlist_vi()
113 int pm_set_resources_vi(struct packet_manager *pm, uint32_t *buffer, in pm_set_resources_vi()
141 static int pm_map_queues_vi(struct packet_manager *pm, uint32_t *buffer, in pm_map_queues_vi()
199 static int pm_unmap_queues_vi(struct packet_manager *pm, uint32_t *buffer, in pm_unmap_queues_vi()
265 static int pm_query_status_vi(struct packet_manager *pm, uint32_t *buffer, in pm_query_status_vi()
/Linux-v5.10/sound/drivers/
Dportman2x4.c78 static int portman_free(struct portman *pm) in portman_free()
88 struct portman *pm; in portman_create() local
181 static inline void portman_write_command(struct portman *pm, u8 value) in portman_write_command()
186 static inline u8 portman_read_command(struct portman *pm) in portman_read_command()
191 static inline u8 portman_read_status(struct portman *pm) in portman_read_status()
196 static inline u8 portman_read_data(struct portman *pm) in portman_read_data()
201 static inline void portman_write_data(struct portman *pm, u8 value) in portman_write_data()
206 static void portman_write_midi(struct portman *pm, in portman_write_midi()
278 static int portman_read_midi(struct portman *pm, int port) in portman_read_midi()
360 static int portman_data_avail(struct portman *pm, int channel) in portman_data_avail()
[all …]
/Linux-v5.10/drivers/gpu/drm/nouveau/nvkm/engine/pm/
Dbase.c36 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 …]
Dgf100.c128 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
Dnv40.c27 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
/Linux-v5.10/drivers/hid/
Dhid-prodikeys.c39 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 …]
/Linux-v5.10/drivers/media/platform/mtk-vcodec/
Dmtk_vcodec_dec_pm.c20 struct mtk_vcodec_pm *pm; in mtk_vcodec_init_dec_pm() local
84 void mtk_vcodec_dec_pw_on(struct mtk_vcodec_pm *pm) in mtk_vcodec_dec_pw_on()
93 void mtk_vcodec_dec_pw_off(struct mtk_vcodec_pm *pm) in mtk_vcodec_dec_pw_off()
102 void mtk_vcodec_dec_clock_on(struct mtk_vcodec_pm *pm) in mtk_vcodec_dec_clock_on()
128 void mtk_vcodec_dec_clock_off(struct mtk_vcodec_pm *pm) in mtk_vcodec_dec_clock_off()
Dmtk_vcodec_enc_pm.c20 struct mtk_vcodec_pm *pm; in mtk_vcodec_init_enc_pm() local
102 void mtk_vcodec_enc_clock_on(struct mtk_vcodec_pm *pm) in mtk_vcodec_enc_clock_on()
136 void mtk_vcodec_enc_clock_off(struct mtk_vcodec_pm *pm) in mtk_vcodec_enc_clock_off()
/Linux-v5.10/drivers/scsi/
Dscsi_pm.c23 static int do_scsi_suspend(struct device *dev, const struct dev_pm_ops *pm) in do_scsi_suspend()
28 static int do_scsi_freeze(struct device *dev, const struct dev_pm_ops *pm) in do_scsi_freeze()
33 static int do_scsi_poweroff(struct device *dev, const struct dev_pm_ops *pm) in do_scsi_poweroff()
38 static int do_scsi_resume(struct device *dev, const struct dev_pm_ops *pm) in do_scsi_resume()
43 static int do_scsi_thaw(struct device *dev, const struct dev_pm_ops *pm) in do_scsi_thaw()
48 static int do_scsi_restore(struct device *dev, const struct dev_pm_ops *pm) in do_scsi_restore()
56 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; in scsi_dev_type_suspend() local
75 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; in scsi_dev_type_resume() local
229 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; in sdev_runtime_suspend() local
259 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; in sdev_runtime_resume() local
/Linux-v5.10/drivers/input/misc/
Dpowermate.c88 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
/Linux-v5.10/net/mptcp/
Dpm.c50 struct mptcp_pm_data *pm = &msk->pm; in mptcp_pm_new_connection() local
59 struct mptcp_pm_data *pm = &msk->pm; in mptcp_pm_allow_new_subflow() local
99 struct mptcp_pm_data *pm = &msk->pm; in mptcp_pm_fully_established() local
123 struct mptcp_pm_data *pm = &msk->pm; in mptcp_pm_subflow_established() local
146 struct mptcp_pm_data *pm = &msk->pm; in mptcp_pm_add_addr_received() local
163 struct mptcp_pm_data *pm = &msk->pm; in mptcp_pm_rm_addr_received() local
/Linux-v5.10/drivers/pci/
Dpci-driver.c659 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; in pci_pm_prepare() local
728 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; in pci_pm_suspend() local
794 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; in pci_pm_suspend_noirq() local
894 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; in pci_pm_resume_noirq() local
936 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; in pci_pm_resume() local
976 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; in pci_pm_freeze() local
1012 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; in pci_pm_freeze_noirq() local
1037 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; in pci_pm_thaw_noirq() local
1063 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; in pci_pm_thaw() local
1084 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; in pci_pm_poweroff() local
[all …]
/Linux-v5.10/drivers/ide/
Dide-pm.c101 struct ide_pm_state *pm = ide_req(rq)->special; in ide_complete_power_step() local
131 struct ide_pm_state *pm = ide_req(rq)->special; in ide_start_power_step() local
203 struct ide_pm_state *pm = ide_req(rq)->special; in ide_complete_pm_rq() local
225 struct ide_pm_state *pm = ide_req(rq)->special; in ide_check_pm_state() local
/Linux-v5.10/tools/testing/selftests/tc-testing/
Dtdc.py180 def exec_cmd(args, pm, stage, command): argument
214 def prepare_env(args, pm, stage, prefix, cmdlist, output = None): argument
249 def run_one_test(pm, args, index, tidx): argument
320 def test_runner(pm, args, filtered_tests): argument
513 def check_default_settings(args, remaining, pm): argument
683 def set_operation_mode(pm, parser, args, remaining): argument
/Linux-v5.10/net/mac80211/
Dmesh_ps.c151 enum nl80211_mesh_power_mode pm) in ieee80211_mps_set_sta_local_pm()
189 enum nl80211_mesh_power_mode pm; in ieee80211_mps_set_frame_flags() local
232 enum nl80211_mesh_power_mode pm; in ieee80211_mps_sta_status_update() local
276 enum nl80211_mesh_power_mode pm; in mps_set_sta_peer_pm() local
312 enum nl80211_mesh_power_mode pm; in mps_set_sta_nonpeer_pm() local
/Linux-v5.10/drivers/net/wireless/st/cw1200/
Dpm.c96 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()
/Linux-v5.10/fs/hfs/
Dpart_tbl.c73 struct old_pmap *pm; in hfs_part_find() local
92 struct new_pmap *pm; in hfs_part_find() local
/Linux-v5.10/drivers/greybus/
Dbundle.c111 const struct dev_pm_ops *pm = dev->driver->pm; in gb_bundle_suspend() local
138 const struct dev_pm_ops *pm = dev->driver->pm; in gb_bundle_resume() local
/Linux-v5.10/fs/hfsplus/
Dpart_tbl.c70 static int hfs_parse_old_pmap(struct super_block *sb, struct old_pmap *pm, in hfs_parse_old_pmap()
92 struct new_pmap *pm, sector_t *part_start, sector_t *part_size) in hfs_parse_new_pmap()
/Linux-v5.10/sound/soc/codecs/
Duda1380.c540 u16 pm = uda1380_read_reg_cache(component, UDA1380_PM); in uda1380_pcm_hw_params() local
576 u16 pm = uda1380_read_reg_cache(component, UDA1380_PM); in uda1380_pcm_shutdown() local
591 int pm = uda1380_read_reg_cache(component, UDA1380_PM); in uda1380_set_bias_level() local
/Linux-v5.10/drivers/mfd/
Dbcm2835-pm.c32 struct bcm2835_pm *pm; in bcm2835_pm_probe() local

123456