Searched refs:eclass (Results 1 – 9 of 9) sorted by relevance
57 if (timeout < eclass->sched_props.job_timeout_min) in job_timeout_max_store()93 if (timeout > eclass->sched_props.job_timeout_max) in job_timeout_min_store()122 u32 min = eclass->sched_props.job_timeout_min; in job_timeout_store()123 u32 max = eclass->sched_props.job_timeout_max; in job_timeout_store()188 u32 min = eclass->sched_props.timeslice_min; in timeslice_duration_store()189 u32 max = eclass->sched_props.timeslice_max; in timeslice_duration_store()217 if (duration < eclass->sched_props.timeslice_min) in timeslice_duration_max_store()255 if (duration > eclass->sched_props.timeslice_max) in timeslice_duration_min_store()331 u32 min = eclass->sched_props.preempt_timeout_min; in preempt_timeout_store()332 u32 max = eclass->sched_props.preempt_timeout_max; in preempt_timeout_store()[all …]
28 struct xe_hw_engine_class_intf *eclass; member35 return container_of(kobj, struct kobj_eclass, base)->eclass; in kobj_to_eclass()
488 hwe->eclass = >->eclass[hwe->class]; in hw_engine_init_early()489 if (!hwe->eclass->sched_props.job_timeout_ms) { in hw_engine_init_early()490 hwe->eclass->sched_props.job_timeout_ms = 5 * 1000; in hw_engine_init_early()491 hwe->eclass->sched_props.job_timeout_min = XE_HW_ENGINE_JOB_TIMEOUT_MIN; in hw_engine_init_early()492 hwe->eclass->sched_props.job_timeout_max = XE_HW_ENGINE_JOB_TIMEOUT_MAX; in hw_engine_init_early()493 hwe->eclass->sched_props.timeslice_us = 1 * 1000; in hw_engine_init_early()494 hwe->eclass->sched_props.timeslice_min = XE_HW_ENGINE_TIMESLICE_MIN; in hw_engine_init_early()495 hwe->eclass->sched_props.timeslice_max = XE_HW_ENGINE_TIMESLICE_MAX; in hw_engine_init_early()519 if (hwe->eclass->sched_props.preempt_timeout_us < min_preempt_timeout) { in hw_engine_init_early()520 hwe->eclass->sched_props.preempt_timeout_us = min_preempt_timeout; in hw_engine_init_early()[all …]
79 q->sched_props.timeslice_us = hwe->eclass->sched_props.timeslice_us; in __xe_exec_queue_alloc()81 hwe->eclass->sched_props.preempt_timeout_us; in __xe_exec_queue_alloc()83 hwe->eclass->sched_props.job_timeout_ms; in __xe_exec_queue_alloc()343 xe_exec_queue_get_prop_minmax(struct xe_hw_engine_class_intf *eclass, in xe_exec_queue_get_prop_minmax() argument349 *min = eclass->sched_props.job_timeout_min; in xe_exec_queue_get_prop_minmax()350 *max = eclass->sched_props.job_timeout_max; in xe_exec_queue_get_prop_minmax()353 *min = eclass->sched_props.timeslice_min; in xe_exec_queue_get_prop_minmax()354 *max = eclass->sched_props.timeslice_max; in xe_exec_queue_get_prop_minmax()357 *min = eclass->sched_props.preempt_timeout_min; in xe_exec_queue_get_prop_minmax()358 *max = eclass->sched_props.preempt_timeout_max; in xe_exec_queue_get_prop_minmax()[all …]
148 struct xe_hw_engine_class_intf *eclass; member
330 struct xe_hw_engine_class_intf eclass[XE_ENGINE_CLASS_MAX]; member
1026 ret1 = q->ops->set_timeslice(q, stream->hwe->eclass->sched_props.timeslice_us); in xe_oa_enable_preempt_timeslice()1027 ret2 = q->ops->set_preempt_timeout(q, stream->hwe->eclass->sched_props.preempt_timeout_us); in xe_oa_enable_preempt_timeslice()
790 ntstatus_to_dos(__u32 ntstatus, __u8 *eclass, __u16 *ecode) in ntstatus_to_dos() argument794 *eclass = 0; in ntstatus_to_dos()800 *eclass = ntstatus_to_dos_map[i].dos_class; in ntstatus_to_dos()805 *eclass = ERRHRD; in ntstatus_to_dos()
4766 eclass = ord(header[4])4770 eclass = header[4]4773 …if magic == chr(127) + "ELF" and eclass > 0 and eclass < 3 and encoding > 0 and encoding < 3 and v…4774 result = True if eclass == 2 else False
Completed in 34 milliseconds