Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ipa/
H A Dipa_interrupt.c212 u32 unit_count; in ipa_interrupt_suspend_clear_all() local
215 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()
/openbmc/linux/drivers/accel/habanalabs/gaudi2/
H A Dgaudi2_coresight.c2582 static int gaudi2_coresight_set_disabled_components(struct hl_device *hdev, u32 unit_count, in gaudi2_coresight_set_disabled_components() argument
2591 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()