Home
last modified time | relevance | path

Searched refs:event_data (Results 1 – 25 of 45) sorted by relevance

12

/drivers/gpu/drm/amd/powerplay/eventmgr/
Deventtasks.c38 …_update_allowed_performance_levels(struct pp_eventmgr *eventmgr, struct pem_event_data *event_data) in pem_task_update_allowed_performance_levels() argument
50 int pem_task_adjust_power_state(struct pp_eventmgr *eventmgr, struct pem_event_data *event_data) in pem_task_adjust_power_state() argument
58 if (event_data->pnew_power_state != NULL) in pem_task_adjust_power_state()
59 hwmgr->request_ps = event_data->pnew_power_state; in pem_task_adjust_power_state()
62 psm_adjust_power_state_dynamic(eventmgr, event_data->skip_state_adjust_rules); in pem_task_adjust_power_state()
64 psm_adjust_power_state_static(eventmgr, event_data->skip_state_adjust_rules); in pem_task_adjust_power_state()
69 int pem_task_power_down_asic(struct pp_eventmgr *eventmgr, struct pem_event_data *event_data) in pem_task_power_down_asic() argument
74 int pem_task_set_boot_state(struct pp_eventmgr *eventmgr, struct pem_event_data *event_data) in pem_task_set_boot_state() argument
76 if (pem_is_event_data_valid(event_data->valid_fields, PEM_EventDataValid_RequestedStateID)) in pem_task_set_boot_state()
77 return psm_set_states(eventmgr, &(event_data->requested_state_id)); in pem_task_set_boot_state()
[all …]
Deventtasks.h31 int pem_task_adjust_power_state(struct pp_eventmgr *eventmgr, struct pem_event_data *event_data);
32 int pem_task_power_down_asic(struct pp_eventmgr *eventmgr, struct pem_event_data *event_data);
33 int pem_task_get_boot_state_id(struct pp_eventmgr *eventmgr, struct pem_event_data *event_data);
34 int pem_task_set_boot_state(struct pp_eventmgr *eventmgr, struct pem_event_data *event_data);
35 int pem_task_reset_boot_state(struct pp_eventmgr *eventmgr, struct pem_event_data *event_data);
36 …ask_update_new_power_state_clocks(struct pp_eventmgr *eventmgr, struct pem_event_data *event_data);
37 int pem_task_system_shutdown(struct pp_eventmgr *eventmgr, struct pem_event_data *event_data);
38 int pem_task_register_interrupts(struct pp_eventmgr *eventmgr, struct pem_event_data *event_data);
39 int pem_task_unregister_interrupts(struct pp_eventmgr *eventmgr, struct pem_event_data *event_data);
40 …k_enable_dynamic_state_management(struct pp_eventmgr *eventmgr, struct pem_event_data *event_data);
[all …]
Deventmgr.c34 struct pem_event_data event_data = { {0} }; in pem_init() local
43 result = pem_handle_event(eventmgr, AMD_PP_EVENT_INITIALIZE, &event_data); in pem_init()
55 struct pem_event_data event_data = { {0} }; in pem_fini() local
60 pem_handle_event(eventmgr, AMD_PP_EVENT_UNINITIALIZE, &event_data); in pem_fini()
99 …dle_event(struct pp_eventmgr *eventmgr, enum amd_pp_event event, struct pem_event_data *event_data) in pem_handle_event() argument
103 r = pem_handle_event_unlocked(eventmgr, event, event_data); in pem_handle_event()
Deventmanagement.c63 …t pp_eventmgr *eventmgr, const struct action_chain *event_chain, struct pem_event_data *event_data) in pem_excute_event_chain() argument
70 if (eventmgr == NULL || event_chain == NULL || event_data == NULL) in pem_excute_event_chain()
78 tmp_result = (*psub_chain)(eventmgr, event_data); in pem_excute_event_chain()
Deventmanagement.h29 … pp_eventmgr *eventmgr, const struct action_chain *event_chain, struct pem_event_data *event_data);
/drivers/connector/
Dcn_proc.c88 memset(&ev->event_data, 0, sizeof(ev->event_data)); in proc_fork_connector()
93 ev->event_data.fork.parent_pid = parent->pid; in proc_fork_connector()
94 ev->event_data.fork.parent_tgid = parent->tgid; in proc_fork_connector()
96 ev->event_data.fork.child_pid = task->pid; in proc_fork_connector()
97 ev->event_data.fork.child_tgid = task->tgid; in proc_fork_connector()
117 memset(&ev->event_data, 0, sizeof(ev->event_data)); in proc_exec_connector()
120 ev->event_data.exec.process_pid = task->pid; in proc_exec_connector()
121 ev->event_data.exec.process_tgid = task->tgid; in proc_exec_connector()
142 memset(&ev->event_data, 0, sizeof(ev->event_data)); in proc_id_connector()
144 ev->event_data.id.process_pid = task->pid; in proc_id_connector()
[all …]
/drivers/hwtracing/coresight/
Dcoresight-etm-perf.c121 struct etm_event_data *event_data; in free_event_data() local
124 event_data = container_of(work, struct etm_event_data, work); in free_event_data()
125 mask = &event_data->mask; in free_event_data()
130 if (event_data->snk_config) { in free_event_data()
132 sink = coresight_get_sink(event_data->path[cpu]); in free_event_data()
134 sink_ops(sink)->free_buffer(event_data->snk_config); in free_event_data()
138 if (!(IS_ERR_OR_NULL(event_data->path[cpu]))) in free_event_data()
139 coresight_release_path(event_data->path[cpu]); in free_event_data()
142 kfree(event_data->path); in free_event_data()
143 kfree(event_data); in free_event_data()
[all …]
/drivers/scsi/mpt3sas/
Dmpt3sas_trigger_diag.c69 struct SL_WH_TRIGGERS_EVENT_DATA_T *event_data) in _mpt3sas_raise_sigio() argument
86 memcpy(&mpi_reply->EventData, event_data, in _mpt3sas_raise_sigio()
114 struct SL_WH_TRIGGERS_EVENT_DATA_T *event_data) in mpt3sas_process_trigger_data() argument
130 _mpt3sas_raise_sigio(ioc, event_data); in mpt3sas_process_trigger_data()
145 struct SL_WH_TRIGGERS_EVENT_DATA_T event_data; in mpt3sas_trigger_master() local
194 memset(&event_data, 0, sizeof(struct SL_WH_TRIGGERS_EVENT_DATA_T)); in mpt3sas_trigger_master()
195 event_data.trigger_type = MPT3SAS_TRIGGER_MASTER; in mpt3sas_trigger_master()
196 event_data.u.master.MasterData = trigger_bitmask; in mpt3sas_trigger_master()
200 _mpt3sas_raise_sigio(ioc, &event_data); in mpt3sas_trigger_master()
202 mpt3sas_send_trigger_data_event(ioc, &event_data); in mpt3sas_trigger_master()
[all …]
Dmpt3sas_scsih.c200 char event_data[0] __aligned(4); member
2709 struct SL_WH_TRIGGERS_EVENT_DATA_T *event_data) in mpt3sas_send_trigger_data_event() argument
2716 sz = sizeof(*event_data); in mpt3sas_send_trigger_data_event()
2722 memcpy(fw_event->event_data, event_data, sizeof(*event_data)); in mpt3sas_send_trigger_data_event()
3073 Mpi2EventDataSasTopologyChangeList_t *event_data) in _scsih_block_io_to_children_attached_directly() argument
3079 for (i = 0; i < event_data->NumEntries; i++) { in _scsih_block_io_to_children_attached_directly()
3080 handle = le16_to_cpu(event_data->PHY[i].AttachedDevHandle); in _scsih_block_io_to_children_attached_directly()
3083 reason_code = event_data->PHY[i].PhyStatus & in _scsih_block_io_to_children_attached_directly()
3632 Mpi2EventDataSasTopologyChangeList_t *event_data) in _scsih_check_topo_delete_events() argument
3642 for (i = 0 ; i < event_data->NumEntries; i++) { in _scsih_check_topo_delete_events()
[all …]
/drivers/misc/ibmasm/
Dibmasmfs.c344 struct ibmasmfs_event_data *event_data; in event_file_open() local
352 event_data = kmalloc(sizeof(struct ibmasmfs_event_data), GFP_KERNEL); in event_file_open()
353 if (!event_data) in event_file_open()
356 ibmasm_event_reader_register(sp, &event_data->reader); in event_file_open()
358 event_data->sp = sp; in event_file_open()
359 event_data->active = 0; in event_file_open()
360 file->private_data = event_data; in event_file_open()
366 struct ibmasmfs_event_data *event_data = file->private_data; in event_file_close() local
368 ibmasm_event_reader_unregister(event_data->sp, &event_data->reader); in event_file_close()
369 kfree(event_data); in event_file_close()
[all …]
/drivers/platform/chrome/
Dcros_ec_proto.c448 u8 buffer[sizeof(struct cros_ec_command) + sizeof(ec_dev->event_data)]; in get_next_event()
454 msg->insize = sizeof(ec_dev->event_data); in get_next_event()
460 memcpy(&ec_dev->event_data, msg->data, in get_next_event()
461 sizeof(ec_dev->event_data)); in get_next_event()
470 sizeof(ec_dev->event_data.data)]; in get_keyboard_state_event()
475 msg->insize = sizeof(ec_dev->event_data.data); in get_keyboard_state_event()
479 ec_dev->event_data.event_type = EC_MKBP_EVENT_KEY_MATRIX; in get_keyboard_state_event()
480 memcpy(&ec_dev->event_data.data, msg->data, in get_keyboard_state_event()
481 sizeof(ec_dev->event_data.data)); in get_keyboard_state_event()
/drivers/misc/vmw_vmci/
Dvmci_event.c98 subscriber_list = &subscriber_array[event_msg->event_data.event]; in event_deliver()
100 cur->callback(cur->id, &event_msg->event_data, in event_deliver()
118 if (!VMCI_EVENT_VALID(event_msg->event_data.event)) in vmci_event_dispatch()
Dvmci_guest.c139 const struct vmci_event_data *event_data, in vmci_guest_cid_update() argument
143 vmci_event_data_const_payload(event_data); in vmci_guest_cid_update()
150 if (!event_data || ev_payload->context_id == VMCI_INVALID_ID) { in vmci_guest_cid_update()
156 vm_context_id, ev_payload->context_id, event_data->event); in vmci_guest_cid_update()
/drivers/char/tpm/
Dtpm_eventlog.h30 u8 event_data[0]; member
57 u8 event_data[0]; member
/drivers/devfreq/
Dexynos-bus.c71 struct devfreq_event_data event_data; in exynos_bus_get_event() local
79 ret = devfreq_event_get_event(bus->edev[i], &event_data); in exynos_bus_get_event()
83 if (i == 0 || event_data.load_count > load_count) { in exynos_bus_get_event()
84 load_count = event_data.load_count; in exynos_bus_get_event()
85 total_count = event_data.total_count; in exynos_bus_get_event()
/drivers/gpu/drm/amd/powerplay/
Damd_powerplay.c239 struct pem_event_data event_data = { {0} }; in pp_suspend() local
246 pem_handle_event(eventmgr, AMD_PP_EVENT_SUSPEND, &event_data); in pp_suspend()
254 struct pem_event_data event_data = { {0} }; in pp_resume() local
276 pem_handle_event(eventmgr, AMD_PP_EVENT_RESUME, &event_data); in pp_resume()
934 struct pem_event_data event_data = { {0} }; in amd_powerplay_reset() local
965 return pem_handle_event(eventmgr, AMD_PP_EVENT_COMPLETE_INIT, &event_data); in amd_powerplay_reset()
/drivers/gpu/drm/amd/amdkfd/
Dkfd_events.c739 struct kfd_event_data event_data; in kfd_wait_on_events() local
741 if (copy_from_user(&event_data, &events[i], in kfd_wait_on_events()
748 event_data.event_id, i); in kfd_wait_on_events()
859 int type, void *event_data) in lookup_events_by_type_and_signal() argument
866 ev_data = (struct kfd_hsa_memory_exception_data *) event_data; in lookup_events_by_type_and_signal()
/drivers/input/keyboard/
Dcros_ec_keyb.c174 if (ckdev->ec->event_data.event_type != EC_MKBP_EVENT_KEY_MATRIX) in cros_ec_keyb_work()
187 cros_ec_keyb_process(ckdev, ckdev->ec->event_data.data.key_matrix, in cros_ec_keyb_work()
/drivers/gpu/drm/amd/powerplay/inc/
Deventmanager.h105 struct pem_event_data *event_data);
Deventmgr.h36 struct pem_event_data *event_data);
/drivers/platform/x86/
Dhp-wmi.c534 u32 event_id, event_data; in hp_wmi_notify() local
562 event_data = *(location + 1); in hp_wmi_notify()
565 event_data = *(location + 2); in hp_wmi_notify()
640 pr_info("Unknown event_id - %d - 0x%x\n", event_id, event_data); in hp_wmi_notify()
/drivers/message/fusion/
Dmptsas.h113 char event_data[0] __aligned(4); member
/drivers/net/ethernet/intel/i40e/
Di40e_virtchnl_pf.c82 pfe.event_data.link_event.link_status = vf->link_up; in i40e_vc_notify_vf_link_state()
83 pfe.event_data.link_event.link_speed = in i40e_vc_notify_vf_link_state()
86 pfe.event_data.link_event.link_status = in i40e_vc_notify_vf_link_state()
88 pfe.event_data.link_event.link_speed = ls->link_speed; in i40e_vc_notify_vf_link_state()
3060 pfe.event_data.link_event.link_status = in i40e_ndo_set_vf_link_state()
3062 pfe.event_data.link_event.link_speed = in i40e_ndo_set_vf_link_state()
3068 pfe.event_data.link_event.link_status = true; in i40e_ndo_set_vf_link_state()
3069 pfe.event_data.link_event.link_speed = I40E_LINK_SPEED_40GB; in i40e_ndo_set_vf_link_state()
3074 pfe.event_data.link_event.link_status = false; in i40e_ndo_set_vf_link_state()
3075 pfe.event_data.link_event.link_speed = 0; in i40e_ndo_set_vf_link_state()
Di40e_virtchnl.h389 } event_data; member
/drivers/net/ethernet/intel/i40evf/
Di40e_virtchnl.h386 } event_data; member

12