Searched refs:unit_count (Results 1 – 2 of 2) sorted by relevance
212 u32 unit_count; in ipa_interrupt_suspend_clear_all() local215 unit_count = DIV_ROUND_UP(ipa->endpoint_count, 32); in ipa_interrupt_suspend_clear_all()216 for (unit = 0; unit < unit_count; unit++) { in ipa_interrupt_suspend_clear_all()
2582 static int gaudi2_coresight_set_disabled_components(struct hl_device *hdev, u32 unit_count, in gaudi2_coresight_set_disabled_components() argument2591 if (!unit_count) in gaudi2_coresight_set_disabled_components()2594 full_mask = GENMASK(unit_count - 1, 0); in gaudi2_coresight_set_disabled_components()2602 if (component_idx >= unit_count) { in gaudi2_coresight_set_disabled_components()2604 component_idx, unit_count); in gaudi2_coresight_set_disabled_components()