Home
last modified time | relevance | path

Searched refs:cs_type_flags (Results 1 – 1 of 1) sorted by relevance

/linux-6.1.9/drivers/misc/habanalabs/common/
Dcommand_submission.c1235 static enum hl_cs_type hl_cs_get_cs_type(u32 cs_type_flags) in hl_cs_get_cs_type() argument
1237 if (cs_type_flags & HL_CS_FLAGS_SIGNAL) in hl_cs_get_cs_type()
1239 else if (cs_type_flags & HL_CS_FLAGS_WAIT) in hl_cs_get_cs_type()
1241 else if (cs_type_flags & HL_CS_FLAGS_COLLECTIVE_WAIT) in hl_cs_get_cs_type()
1243 else if (cs_type_flags & HL_CS_FLAGS_RESERVE_SIGNALS_ONLY) in hl_cs_get_cs_type()
1245 else if (cs_type_flags & HL_CS_FLAGS_UNRESERVE_SIGNALS_ONLY) in hl_cs_get_cs_type()
1247 else if (cs_type_flags & HL_CS_FLAGS_ENGINE_CORE_COMMAND) in hl_cs_get_cs_type()
1257 u32 cs_type_flags, num_chunks; in hl_cs_sanity_checks() local
1272 cs_type_flags = args->in.cs_flags & HL_CS_FLAGS_TYPE_MASK; in hl_cs_sanity_checks()
1274 if (unlikely(cs_type_flags && !is_power_of_2(cs_type_flags))) { in hl_cs_sanity_checks()
[all …]