Home
last modified time | relevance | path

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

1234567

/linux-6.6.21/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-6.6.21/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-6.6.21/drivers/gpu/drm/amd/amdkfd/
Dkfd_packet_manager.c41 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()
265 void pm_uninit(struct packet_manager *pm, bool hanging) in pm_uninit()
272 int pm_send_set_resources(struct packet_manager *pm, in pm_send_set_resources()
301 int pm_send_runlist(struct packet_manager *pm, struct list_head *dqm_queues) in pm_send_runlist()
343 int pm_send_query_status(struct packet_manager *pm, uint64_t fence_address, in pm_send_query_status()
373 int pm_update_grace_period(struct packet_manager *pm, uint32_t grace_period) in pm_update_grace_period()
405 int pm_send_unmap_queue(struct packet_manager *pm, in pm_send_unmap_queue()
[all …]
Dkfd_packet_manager_v9.c32 static int pm_map_process_v9(struct packet_manager *pm, in pm_map_process_v9()
86 static int pm_map_process_aldebaran(struct packet_manager *pm, in pm_map_process_aldebaran()
140 static int pm_runlist_v9(struct packet_manager *pm, uint32_t *buffer, in pm_runlist_v9()
178 static int pm_set_resources_v9(struct packet_manager *pm, uint32_t *buffer, in pm_set_resources_v9()
211 static int pm_map_queues_v9(struct packet_manager *pm, uint32_t *buffer, in pm_map_queues_v9()
289 static int pm_set_grace_period_v9(struct packet_manager *pm, in pm_set_grace_period_v9()
324 static int pm_unmap_queues_v9(struct packet_manager *pm, uint32_t *buffer, in pm_unmap_queues_v9()
375 static int pm_query_status_v9(struct packet_manager *pm, uint32_t *buffer, in pm_query_status_v9()
Dkfd_packet_manager_vi.c42 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()
/linux-6.6.21/sound/drivers/
Dportman2x4.c77 static int portman_free(struct portman *pm) in portman_free()
87 struct portman *pm; in portman_create() local
180 static inline void portman_write_command(struct portman *pm, u8 value) in portman_write_command()
185 static inline u8 portman_read_status(struct portman *pm) in portman_read_status()
190 static inline void portman_write_data(struct portman *pm, u8 value) in portman_write_data()
195 static void portman_write_midi(struct portman *pm, in portman_write_midi()
267 static int portman_read_midi(struct portman *pm, int port) in portman_read_midi()
349 static int portman_data_avail(struct portman *pm, int channel) in portman_data_avail()
374 static void portman_flush_input(struct portman *pm, unsigned char port) in portman_flush_input()
475 static int portman_device_init(struct portman *pm) in portman_device_init()
[all …]
/linux-6.6.21/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-6.6.21/drivers/scsi/
Dscsi_pm.c22 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
/linux-6.6.21/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-6.6.21/drivers/media/platform/mediatek/vcodec/decoder/
Dmtk_vcodec_dec_pm.c15 int mtk_vcodec_init_dec_clk(struct platform_device *pdev, struct mtk_vcodec_pm *pm) in mtk_vcodec_init_dec_clk()
57 static int mtk_vcodec_dec_pw_on(struct mtk_vcodec_pm *pm) in mtk_vcodec_dec_pw_on()
68 static void mtk_vcodec_dec_pw_off(struct mtk_vcodec_pm *pm) in mtk_vcodec_dec_pw_off()
77 static void mtk_vcodec_dec_clock_on(struct mtk_vcodec_pm *pm) in mtk_vcodec_dec_clock_on()
98 static void mtk_vcodec_dec_clock_off(struct mtk_vcodec_pm *pm) in mtk_vcodec_dec_clock_off()
195 struct mtk_vcodec_pm *pm; in mtk_vcodec_dec_child_dev_on() local
215 struct mtk_vcodec_pm *pm; in mtk_vcodec_dec_child_dev_off() local
/linux-6.6.21/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-6.6.21/net/mptcp/
Dpm.c78 struct mptcp_pm_data *pm = &msk->pm; in mptcp_pm_new_connection() local
88 struct mptcp_pm_data *pm = &msk->pm; in mptcp_pm_allow_new_subflow() local
140 struct mptcp_pm_data *pm = &msk->pm; in mptcp_pm_fully_established() local
172 struct mptcp_pm_data *pm = &msk->pm; in mptcp_pm_subflow_established() local
190 struct mptcp_pm_data *pm = &msk->pm; in mptcp_pm_subflow_check_next() local
224 struct mptcp_pm_data *pm = &msk->pm; in mptcp_pm_add_addr_received() local
255 struct mptcp_pm_data *pm = &msk->pm; in mptcp_pm_add_addr_echoed() local
278 struct mptcp_pm_data *pm = &msk->pm; in mptcp_pm_rm_addr_received() local
500 struct mptcp_pm_data *pm = &msk->pm; in mptcp_pm_data_reset() local
/linux-6.6.21/drivers/pci/
Dpci-driver.c717 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; in pci_pm_prepare() local
786 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; in pci_pm_suspend() local
858 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; in pci_pm_suspend_noirq() local
953 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; in pci_pm_resume_noirq() local
995 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; in pci_pm_resume() local
1037 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; in pci_pm_freeze() local
1073 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; in pci_pm_freeze_noirq() local
1098 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; in pci_pm_thaw_noirq() local
1124 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; in pci_pm_thaw() local
1145 const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; in pci_pm_poweroff() local
[all …]
/linux-6.6.21/drivers/media/platform/mediatek/vcodec/encoder/
Dmtk_vcodec_enc_pm.c17 struct mtk_vcodec_pm *pm; in mtk_vcodec_init_enc_clk() local
61 void mtk_vcodec_enc_clock_on(struct mtk_vcodec_pm *pm) in mtk_vcodec_enc_clock_on()
82 void mtk_vcodec_enc_clock_off(struct mtk_vcodec_pm *pm) in mtk_vcodec_enc_clock_off()
/linux-6.6.21/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 verify_by_json(procout, res, tidx, args, pm): argument
353 def run_one_test(pm, args, index, tidx): argument
443 def test_runner(pm, args, filtered_tests): argument
637 def check_default_settings(args, remaining, pm): argument
807 def set_operation_mode(pm, parser, args, remaining): argument
/linux-6.6.21/net/mac80211/
Dmesh_ps.c153 enum nl80211_mesh_power_mode pm) in ieee80211_mps_set_sta_local_pm()
191 enum nl80211_mesh_power_mode pm; in ieee80211_mps_set_frame_flags() local
234 enum nl80211_mesh_power_mode pm; in ieee80211_mps_sta_status_update() local
278 enum nl80211_mesh_power_mode pm; in mps_set_sta_peer_pm() local
314 enum nl80211_mesh_power_mode pm; in mps_set_sta_nonpeer_pm() local
/linux-6.6.21/tools/perf/util/
Dmetricgroup.c179 static bool metric__group_events(const struct pmu_metric *pm) in metric__group_events()
209 static struct metric *metric__new(const struct pmu_metric *pm, in metric__new()
374 static bool match_pm_metric(const struct pmu_metric *pm, const char *pmu, const char *metric) in match_pm_metric()
452 static int metricgroup__add_to_mep_groups(const struct pmu_metric *pm, in metricgroup__add_to_mep_groups()
489 static int metricgroup__sys_event_iter(const struct pmu_metric *pm, in metricgroup__sys_event_iter()
509 static int metricgroup__add_to_mep_groups_callback(const struct pmu_metric *pm, in metricgroup__add_to_mep_groups_callback()
854 struct pmu_metric pm; in resolve_metric() member
868 struct pmu_metric pm; in resolve_metric() local
923 const struct pmu_metric *pm, in __add_metric()
1041 struct pmu_metric *pm; member
[all …]
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/mt7921/
Dsdio.c43 struct mt76_connac_pm *pm = &dev->pm; in mt7921s_unregister_device() local
208 struct mt76_connac_pm *pm = &dev->pm; in mt7921s_suspend() local
282 struct mt76_connac_pm *pm = &dev->pm; in mt7921s_resume() local
Dpci.c41 struct mt76_connac_pm *pm = &dev->pm; in mt7921e_unregister_device() local
400 struct mt76_connac_pm *pm = &dev->pm; in mt7921_pci_suspend() local
474 struct mt76_connac_pm *pm = &dev->pm; in mt7921_pci_resume() local
/linux-6.6.21/block/
Dblk-pm.h9 static inline int blk_pm_resume_queue(const bool pm, struct request_queue *q) in blk_pm_resume_queue()
25 static inline int blk_pm_resume_queue(const bool pm, struct request_queue *q) in blk_pm_resume_queue()
/linux-6.6.21/drivers/mfd/
Dbcm2835-pm.c29 struct bcm2835_pm *pm) in bcm2835_pm_get_pdata()
75 struct bcm2835_pm *pm; in bcm2835_pm_probe() local
/linux-6.6.21/drivers/accel/ivpu/
Divpu_pm.c100 struct ivpu_pm_info *pm = container_of(work, struct ivpu_pm_info, recovery_work); in ivpu_pm_recovery_work() local
120 struct ivpu_pm_info *pm = vdev->pm; in ivpu_pm_schedule_recovery() local
289 struct ivpu_pm_info *pm = vdev->pm; in ivpu_pm_init() local
/linux-6.6.21/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()

1234567