Searched refs:unit_count (Results 1 – 2 of 2) sorted by relevance
53 u32 unit_count; in ipa_interrupt_suspend_clear_all() local56 unit_count = DIV_ROUND_UP(ipa->endpoint_count, 32); in ipa_interrupt_suspend_clear_all()57 for (unit = 0; unit < unit_count; unit++) { in ipa_interrupt_suspend_clear_all()
2600 static int gaudi2_coresight_set_disabled_components(struct hl_device *hdev, u32 unit_count, in gaudi2_coresight_set_disabled_components() argument2609 if (!unit_count) in gaudi2_coresight_set_disabled_components()2612 full_mask = GENMASK(unit_count - 1, 0); in gaudi2_coresight_set_disabled_components()2620 if (component_idx >= unit_count) { in gaudi2_coresight_set_disabled_components()2622 component_idx, unit_count); in gaudi2_coresight_set_disabled_components()