Lines Matching refs:IrqLineStatus

39     irqdata::{IrqCommonData, IrqData, IrqHandlerData, IrqLineStatus, IrqStatus},
108 line_status: IrqLineStatus::empty(), in new()
251 .contains(IrqLineStatus::IRQ_NOTHREAD) in can_thread()
280 IrqLineStatus::empty(), in set_percpu_devid_flags()
281 IrqLineStatus::IRQ_NOAUTOEN in set_percpu_devid_flags()
282 | IrqLineStatus::IRQ_PER_CPU in set_percpu_devid_flags()
283 | IrqLineStatus::IRQ_NOTHREAD in set_percpu_devid_flags()
284 | IrqLineStatus::IRQ_NOPROBE in set_percpu_devid_flags()
285 | IrqLineStatus::IRQ_PER_CPU_DEVID, in set_percpu_devid_flags()
290 self.modify_status(IrqLineStatus::IRQ_NOPROBE, IrqLineStatus::empty()); in set_probe()
294 self.modify_status(IrqLineStatus::empty(), IrqLineStatus::IRQ_NOPROBE); in set_noprobe()
297 pub fn modify_status(&self, clear: IrqLineStatus, set: IrqLineStatus) { in modify_status() argument
314 .contains(IrqLineStatus::IRQ_NO_BALANCING) in modify_status()
321 if desc_guard.line_status.contains(IrqLineStatus::IRQ_PER_CPU) { in modify_status()
329 .contains(IrqLineStatus::IRQ_MOVE_PCNTXT) in modify_status()
344 if tmp != IrqLineStatus::IRQ_TYPE_NONE { in modify_status()
367 line_status: IrqLineStatus,
392 !self.line_status.contains(IrqLineStatus::IRQ_NOREQUEST) in can_request()
397 self.line_status.insert(IrqLineStatus::IRQ_NOREQUEST); in set_norequest()
402 self.line_status.remove(IrqLineStatus::IRQ_NOREQUEST); in clear_norequest()
407 self.line_status.insert(IrqLineStatus::IRQ_NOPROBE); in set_noprobe()
412 self.line_status.remove(IrqLineStatus::IRQ_NOPROBE); in clear_noprobe()
416 self.line_status.insert(IrqLineStatus::IRQ_NOTHREAD); in set_nothread()
420 self.line_status.remove(IrqLineStatus::IRQ_NOTHREAD); in clear_nothread()
424 self.line_status.contains(IrqLineStatus::IRQ_NESTED_THREAD) in nested_thread()
428 self.line_status.insert(IrqLineStatus::IRQ_PER_CPU); in line_status_set_per_cpu()
433 self.line_status.remove(IrqLineStatus::IRQ_PER_CPU); in line_status_clear_per_cpu()
437 pub fn line_status(&self) -> &IrqLineStatus { in line_status() argument
442 self.line_status.insert(IrqLineStatus::IRQ_NO_BALANCING); in line_status_set_no_debug()
447 self.line_status.remove(IrqLineStatus::IRQ_NO_BALANCING); in line_status_clear_no_debug()
451 !self.line_status.contains(IrqLineStatus::IRQ_NOAUTOEN) in can_autoenable()
455 !self.line_status.contains(IrqLineStatus::IRQ_NOTHREAD) in can_thread()
521 pub fn set_trigger_type(&mut self, trigger: IrqLineStatus) { in set_trigger_type() argument
522 self.line_status.remove(IrqLineStatus::IRQ_TYPE_SENSE_MASK); in set_trigger_type()
524 .insert(trigger & IrqLineStatus::IRQ_TYPE_SENSE_MASK); in set_trigger_type()
528 self.line_status.remove(IrqLineStatus::IRQ_LEVEL); in clear_level()
532 self.line_status.insert(IrqLineStatus::IRQ_LEVEL); in set_level()
817 const IRQF_TRIGGER_NONE = IrqLineStatus::IRQ_TYPE_NONE.bits();
818 const IRQF_TRIGGER_RISING = IrqLineStatus::IRQ_TYPE_EDGE_RISING.bits();
819 const IRQF_TRIGGER_FALLING = IrqLineStatus::IRQ_TYPE_EDGE_FALLING.bits();
820 const IRQF_TRIGGER_HIGH = IrqLineStatus::IRQ_TYPE_LEVEL_HIGH.bits();
821 const IRQF_TRIGGER_LOW = IrqLineStatus::IRQ_TYPE_LEVEL_LOW.bits();
863 pub fn insert_trigger_type(&mut self, trigger: IrqLineStatus) { in insert_trigger_type() argument
868 pub fn remove_trigger_type(&mut self, trigger: IrqLineStatus) { in remove_trigger_type() argument
872 pub fn trigger_type(&self) -> IrqLineStatus { in trigger_type() argument
873 IrqLineStatus::from_bits_truncate(self.bits & IrqHandleFlags::IRQF_TRIGGER_MASK.bits) in trigger_type()