Home
last modified time | relevance | path

Searched refs:evt_id (Results 1 – 25 of 32) sorted by relevance

12

/linux/drivers/firmware/arm_scmi/
H A Dnotify.h42 * @set_notify_enabled: Enable/disable the required evt_id/src_id notifications
56 u8 evt_id, u32 src_id);
59 u8 evt_id, u32 src_id, bool enabled);
61 u8 evt_id, ktime_t timestamp,
91 int scmi_notify(const struct scmi_handle *handle, u8 proto_id, u8 evt_id,
H A Dsystem.c43 u8 evt_id, u32 src_id) in scmi_system_notify_supported() argument
47 if (evt_id != SCMI_EVENT_SYSTEM_POWER_STATE_NOTIFIER) in scmi_system_notify_supported()
75 u8 evt_id, u32 src_id, bool enable) in scmi_system_set_notify_enabled() argument
81 pr_debug("FAIL_ENABLE - evt[%X] - ret:%d\n", evt_id, ret); in scmi_system_set_notify_enabled()
88 u8 evt_id, ktime_t timestamp, in scmi_system_fill_custom_report() argument
99 if (evt_id != SCMI_EVENT_SYSTEM_POWER_STATE_NOTIFIER || in scmi_system_fill_custom_report()
H A Dnotify.c41 * An event is identified univocally by the tuple (proto_id, evt_id, src_id)
46 * Here proto_id and evt_id are simply the protocol_id and message_id numbers
253 * @evt_id: Event ID (corresponds to the Event MsgID for this Protocol)
262 unsigned char evt_id; member
360 * event identified by the tuple (proto_id, evt_id, src_id).
446 r_evt = SCMI_GET_REVT_FROM_PD(pd, pd->eh->evt_id); in scmi_process_event_header()
491 pd->id, pd->eh->evt_id); in scmi_process_event_payload()
495 report = REVT_FILL_REPORT(r_evt, pd->eh->evt_id, pd->eh->timestamp, in scmi_process_event_payload()
501 pd->id, pd->eh->evt_id); in scmi_process_event_payload()
506 key = MAKE_ALL_SRCS_KEY(pd->id, pd->eh->evt_id); in scmi_process_event_payload()
583 scmi_notify(const struct scmi_handle * handle,u8 proto_id,u8 evt_id,const void * buf,size_t len,ktime_t ts) scmi_notify() argument
1379 scmi_notifier_register(const struct scmi_handle * handle,u8 proto_id,u8 evt_id,const u32 * src_id,struct notifier_block * nb) scmi_notifier_register() argument
1426 scmi_notifier_unregister(const struct scmi_handle * handle,u8 proto_id,u8 evt_id,const u32 * src_id,struct notifier_block * nb) scmi_notifier_unregister() argument
1469 u8 evt_id; global() member
1500 scmi_devm_notifier_register(struct scmi_device * sdev,u8 proto_id,u8 evt_id,const u32 * src_id,struct notifier_block * nb) scmi_devm_notifier_register() argument
[all...]
H A Dpower.c243 u8 evt_id, u32 src_id) in scmi_power_notify_supported() argument
248 if (evt_id != SCMI_EVENT_POWER_STATE_CHANGED || in scmi_power_notify_supported()
257 u8 evt_id, u32 src_id, bool enable) in scmi_power_set_notify_enabled() argument
264 evt_id, src_id, ret); in scmi_power_set_notify_enabled()
271 u8 evt_id, ktime_t timestamp, in scmi_power_fill_custom_report() argument
278 if (evt_id != SCMI_EVENT_POWER_STATE_CHANGED || sizeof(*p) != payld_sz) in scmi_power_fill_custom_report()
H A Dpowercap.c813 u8 evt_id, u32 src_id) in scmi_powercap_notify_supported() argument
819 if (evt_id >= ARRAY_SIZE(evt_2_cmd) || src_id >= pi->num_domains) in scmi_powercap_notify_supported()
823 if (evt_id == SCMI_EVENT_POWERCAP_CAP_CHANGED) in scmi_powercap_notify_supported()
825 else if (evt_id == SCMI_EVENT_POWERCAP_MEASUREMENTS_CHANGED) in scmi_powercap_notify_supported()
833 u8 evt_id, u32 src_id, bool enable) in scmi_powercap_set_notify_enabled() argument
838 if (evt_id >= ARRAY_SIZE(evt_2_cmd) || src_id >= pi->num_domains) in scmi_powercap_set_notify_enabled()
841 cmd_id = evt_2_cmd[evt_id]; in scmi_powercap_set_notify_enabled()
845 evt_id, src_id, ret); in scmi_powercap_set_notify_enabled()
871 u8 evt_id, ktime_t timestamp, in scmi_powercap_fill_custom_report() argument
877 switch (evt_id) { in scmi_powercap_fill_custom_report()
[all...]
H A Dbase.c311 u8 evt_id, u32 src_id, bool enable) in scmi_base_set_notify_enabled() argument
317 pr_debug("FAIL_ENABLED - evt[%X] ret:%d\n", evt_id, ret); in scmi_base_set_notify_enabled()
323 u8 evt_id, ktime_t timestamp, in scmi_base_fill_custom_report() argument
338 if (evt_id != SCMI_EVENT_BASE_ERROR_EVENT || sizeof(*p) < payld_sz) in scmi_base_fill_custom_report()
H A Dclock.c951 u8 evt_id, u32 src_id) in scmi_clk_notify_supported() argument
957 if (evt_id >= ARRAY_SIZE(evt_2_cmd)) in scmi_clk_notify_supported()
964 if (evt_id == SCMI_EVENT_CLOCK_RATE_CHANGED) in scmi_clk_notify_supported()
994 u8 evt_id, u32 src_id, bool enable) in scmi_clk_set_notify_enabled() argument
998 if (evt_id >= ARRAY_SIZE(evt_2_cmd)) in scmi_clk_set_notify_enabled()
1001 cmd_id = evt_2_cmd[evt_id]; in scmi_clk_set_notify_enabled()
1005 evt_id, src_id, ret); in scmi_clk_set_notify_enabled()
1011 u8 evt_id, ktime_t timestamp, in scmi_clk_fill_custom_report() argument
1019 (evt_id != SCMI_EVENT_CLOCK_RATE_CHANGED && in scmi_clk_fill_custom_report()
1020 evt_id ! in scmi_clk_fill_custom_report()
[all...]
H A Dperf.c1090 u8 evt_id, u32 src_id) in scmi_perf_notify_supported() argument
1095 if (evt_id >= ARRAY_SIZE(evt_2_cmd)) in scmi_perf_notify_supported()
1102 if (evt_id == SCMI_EVENT_PERFORMANCE_LIMITS_CHANGED) in scmi_perf_notify_supported()
1111 u8 evt_id, u32 src_id, bool enable) in scmi_perf_set_notify_enabled() argument
1115 if (evt_id >= ARRAY_SIZE(evt_2_cmd)) in scmi_perf_set_notify_enabled()
1118 cmd_id = evt_2_cmd[evt_id]; in scmi_perf_set_notify_enabled()
1122 evt_id, src_id, ret); in scmi_perf_set_notify_enabled()
1154 u8 evt_id, ktime_t timestamp, in scmi_perf_fill_custom_report() argument
1162 switch (evt_id) { in scmi_perf_fill_custom_report()
H A Dsensors.c1007 u8 evt_id, u32 src_id) in scmi_sensor_notify_supported() argument
1017 if (evt_id == SCMI_EVENT_SENSOR_TRIP_POINT_EVENT) in scmi_sensor_notify_supported()
1019 else if (evt_id == SCMI_EVENT_SENSOR_UPDATE) in scmi_sensor_notify_supported()
1026 u8 evt_id, u32 src_id, bool enable) in scmi_sensor_set_notify_enabled() argument
1030 switch (evt_id) { in scmi_sensor_set_notify_enabled()
1044 evt_id, src_id, ret); in scmi_sensor_set_notify_enabled()
1051 u8 evt_id, ktime_t timestamp, in scmi_sensor_fill_custom_report() argument
1057 switch (evt_id) { in scmi_sensor_fill_custom_report()
/linux/drivers/platform/x86/intel/telemetry/
H A Dpltdrv.c247 static inline int telemetry_plt_config_ioss_event(u32 evt_id, int index) in telemetry_plt_config_ioss_event() argument
251 write_buf = evt_id | TELEM_EVENT_ENABLE; in telemetry_plt_config_ioss_event()
260 static inline int telemetry_plt_config_pss_event(u32 evt_id, int index) in telemetry_plt_config_pss_event() argument
265 write_buf = evt_id | TELEM_EVENT_ENABLE; in telemetry_plt_config_pss_event()
324 telm_conf->ioss_config.telem_evts[idx].evt_id, in telemetry_setup_iossevtconfig()
327 telm_conf->ioss_config.telem_evts[idx].evt_id); in telemetry_setup_iossevtconfig()
351 telm_conf->ioss_config.telem_evts[index].evt_id = in telemetry_setup_iossevtconfig()
355 telm_conf->ioss_config.telem_evts[index].evt_id, in telemetry_setup_iossevtconfig()
370 telm_conf->ioss_config.telem_evts[index].evt_id = in telemetry_setup_iossevtconfig()
374 telm_conf->ioss_config.telem_evts[index].evt_id, in telemetry_setup_iossevtconfig()
[all...]
/linux/drivers/firmware/arm_scmi/vendors/imx/
H A Dimx-sm-bbm.c160 u8 evt_id, u32 src_id, bool enable) in scmi_imx_bbm_set_notify_enabled() argument
164 if (evt_id >= ARRAY_SIZE(evt_2_cmd)) in scmi_imx_bbm_set_notify_enabled()
167 cmd_id = evt_2_cmd[evt_id]; in scmi_imx_bbm_set_notify_enabled()
171 evt_id, src_id, ret); in scmi_imx_bbm_set_notify_enabled()
177 u8 evt_id, ktime_t timestamp, in scmi_imx_bbm_fill_custom_report() argument
187 if (evt_id == SCMI_EVENT_IMX_BBM_RTC) { in scmi_imx_bbm_fill_custom_report()
195 } else if (evt_id == SCMI_EVENT_IMX_BBM_BUTTON) { in scmi_imx_bbm_fill_custom_report()
H A Dimx-sm-misc.c114 u32 ctrl_id, u32 evt_id, u32 flags) in scmi_imx_misc_ctrl_notify() argument
142 u8 evt_id, u32 src_id, bool enable) in scmi_imx_misc_ctrl_set_notify_enabled() argument
150 ret = scmi_imx_misc_ctrl_notify(ph, src_id, evt_id, 0); in scmi_imx_misc_ctrl_set_notify_enabled()
153 evt_id, src_id, ret); in scmi_imx_misc_ctrl_set_notify_enabled()
160 u8 evt_id, ktime_t timestamp, in scmi_imx_misc_ctrl_fill_custom_report() argument
/linux/drivers/staging/media/atomisp/pci/runtime/bufq/src/
H A Dbufq.c374 u8 evt_id, in ia_css_bufq_enqueue_psys_event() argument
382 IA_CSS_ENTER_PRIVATE("evt_id=%d", evt_id); in ia_css_bufq_enqueue_psys_event()
390 evt_id, evt_payload_0, evt_payload_1, evt_payload_2); in ia_css_bufq_enqueue_psys_event()
439 int ia_css_bufq_enqueue_isys_event(uint8_t evt_id) in ia_css_bufq_enqueue_isys_event() argument
444 IA_CSS_ENTER_PRIVATE("event_id=%d", evt_id); in ia_css_bufq_enqueue_isys_event()
451 error = ia_css_eventq_send(q, evt_id, 0, 0, 0); in ia_css_bufq_enqueue_isys_event()
/linux/drivers/staging/media/atomisp/pci/runtime/bufq/interface/
H A Dia_css_bufq.h96 * @param[in] evt_id The event ID.
104 u8 evt_id,
125 * @param[in] evt_id The event ID.
130 uint8_t evt_id);
/linux/drivers/staging/media/atomisp/pci/runtime/eventq/src/
H A Deventq.c36 u8 evt_id, in ia_css_eventq_send() argument
49 tmp[0] = evt_id; in ia_css_eventq_send()
/linux/drivers/staging/media/atomisp/pci/runtime/eventq/interface/
H A Dia_css_eventq.h31 * @param[in] evt_id The event ID.
41 u8 evt_id,
/linux/drivers/gpu/drm/xen/
H A Dxen_drm_front_evtchnl.h47 u16 evt_id; member
H A Dxen_drm_front_evtchnl.c43 if (unlikely(resp->id != evtchnl->evt_id)) in evtchnl_interrupt_ctrl()
104 if (unlikely(event->id != evtchnl->evt_id++)) in evtchnl_interrupt_evt()
/linux/sound/xen/
H A Dxen_snd_front_evtchnl.h41 u16 evt_id; member
/linux/drivers/net/wwan/t7xx/
H A Dt7xx_modem_ops.h88 void t7xx_md_event_notify(struct t7xx_modem *md, enum md_event_id evt_id);
/linux/tools/perf/util/bpf_skel/
H A Dsample-filter.h67 __u64 evt_id; member
/linux/fs/resctrl/
H A Dmonitor.c543 enum resctrl_event_id evt_id; in update_mba_bw() local
550 evt_id = rgrp->mba_mbps_event; in update_mba_bw()
554 pmbm_data = get_mbm_state(dom_mbm, closid, rmid, evt_id); in update_mba_bw()
575 cmbm_data = get_mbm_state(dom_mbm, entry->closid, entry->mon.rmid, evt_id); in update_mba_bw()
/linux/arch/x86/include/asm/
H A Dintel_telemetry.h39 u32 evt_id; member
/linux/include/linux/
H A Dscmi_imx_protocol.h61 u32 ctrl_id, u32 evt_id, u32 flags);
H A Dscmi_protocol.h836 * tuple: (proto_id, evt_id, src_id) using the provided register/unregister
843 * @evt_id: The message ID of the desired event as in SCMI Specification
850 * specified proto_id / evt_id.
855 * int user_cb(nb, evt_id, report)
860 * @evt_id: The message ID of the delivered event
865 u8 proto_id, u8 evt_id,
871 u8 proto_id, u8 evt_id,
875 u8 proto_id, u8 evt_id,

12