Home
last modified time | relevance | path

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

/linux/include/linux/
H A Dirq.h254 #define __irqd_to_state(d) ACCESS_PRIVATE((d)->common, state_use_accessors) macro
258 return __irqd_to_state(d) & IRQD_SETAFFINITY_PENDING; in irqd_is_setaffinity_pending()
263 return __irqd_to_state(d) & IRQD_PER_CPU; in irqd_is_per_cpu()
268 return !(__irqd_to_state(d) & (IRQD_PER_CPU | IRQD_NO_BALANCING)); in irqd_can_balance()
273 return __irqd_to_state(d) & IRQD_AFFINITY_SET; in irqd_affinity_was_set()
278 __irqd_to_state(d) |= IRQD_AFFINITY_SET; in irqd_mark_affinity_was_set()
283 return __irqd_to_state(d) & IRQD_DEFAULT_TRIGGER_SET; in irqd_trigger_type_was_set()
288 return __irqd_to_state(d) & IRQD_TRIGGER_MASK; in irqd_get_trigger_type()
297 __irqd_to_state(d) &= ~IRQD_TRIGGER_MASK; in irqd_set_trigger_type()
298 __irqd_to_state(d) |= type & IRQD_TRIGGER_MASK; in irqd_set_trigger_type()
[all …]
/linux/kernel/irq/
H A Dinternals.h204 #define __irqd_to_state(d) ACCESS_PRIVATE((d)->common, state_use_accessors) macro
208 return __irqd_to_state(d); in irqd_get()
216 __irqd_to_state(d) |= IRQD_SETAFFINITY_PENDING; in irqd_set_move_pending()
221 __irqd_to_state(d) &= ~IRQD_SETAFFINITY_PENDING; in irqd_clr_move_pending()
226 __irqd_to_state(d) |= IRQD_MANAGED_SHUTDOWN; in irqd_set_managed_shutdown()
231 __irqd_to_state(d) &= ~IRQD_MANAGED_SHUTDOWN; in irqd_clr_managed_shutdown()
236 __irqd_to_state(d) &= ~mask; in irqd_clear()
241 __irqd_to_state(d) |= mask; in irqd_set()
246 return __irqd_to_state(d) & mask; in irqd_has_set()
259 #undef __irqd_to_state