Home
last modified time | relevance | path

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

/linux/drivers/misc/habanalabs/common/
A Dcommand_submission.c1109 static enum hl_cs_type hl_cs_get_cs_type(u32 cs_type_flags) in hl_cs_get_cs_type() argument
1111 if (cs_type_flags & HL_CS_FLAGS_SIGNAL) in hl_cs_get_cs_type()
1113 else if (cs_type_flags & HL_CS_FLAGS_WAIT) in hl_cs_get_cs_type()
1115 else if (cs_type_flags & HL_CS_FLAGS_COLLECTIVE_WAIT) in hl_cs_get_cs_type()
1117 else if (cs_type_flags & HL_CS_FLAGS_RESERVE_SIGNALS_ONLY) in hl_cs_get_cs_type()
1119 else if (cs_type_flags & HL_CS_FLAGS_UNRESERVE_SIGNALS_ONLY) in hl_cs_get_cs_type()
1129 u32 cs_type_flags, num_chunks; in hl_cs_sanity_checks() local
1146 cs_type_flags = args->in.cs_flags & HL_CS_FLAGS_TYPE_MASK; in hl_cs_sanity_checks()
1148 if (unlikely(cs_type_flags && !is_power_of_2(cs_type_flags))) { in hl_cs_sanity_checks()
1155 cs_type = hl_cs_get_cs_type(cs_type_flags); in hl_cs_sanity_checks()

Completed in 7 milliseconds