Lines Matching refs:Arc

5     sync::{Arc, Weak},
42 fn irq_startup(&self, _irq_data: &Arc<IrqData>) -> Result<(), SystemError> { in irq_startup()
47 fn irq_shutdown(&self, _irq_data: &Arc<IrqData>) -> Result<(), SystemError> { in irq_shutdown()
54 fn irq_enable(&self, _irq_data: &Arc<IrqData>) -> Result<(), SystemError> { in irq_enable()
59 fn irq_disable(&self, irq_data: &Arc<IrqData>); in irq_disable()
62 fn irq_ack(&self, irq_data: &Arc<IrqData>); in irq_ack()
71 fn irq_mask(&self, _irq_data: &Arc<IrqData>) -> Result<(), SystemError> { in irq_mask()
79 fn irq_mask_ack(&self, _irq_data: &Arc<IrqData>) {} in irq_mask_ack()
86 fn irq_unmask(&self, _irq_data: &Arc<IrqData>) -> Result<(), SystemError> { in irq_unmask()
90 fn irq_eoi(&self, _irq_data: &Arc<IrqData>) {} in irq_eoi()
101 _irq_data: &Arc<IrqData>, in irq_set_affinity()
109 fn retrigger(&self, _irq_data: &Arc<IrqData>) -> Result<(), SystemError> { in retrigger()
124 _irq_data: &Arc<IrqData>, in irq_set_type()
132 fn irq_set_wake(&self, _irq_data: &Arc<IrqData>, _on: bool) -> Result<(), SystemError> { in irq_set_wake()
137 fn irq_bus_lock(&self, _irq_data: &Arc<IrqData>) -> Result<(), SystemError> { in irq_bus_lock()
142 fn irq_bus_sync_unlock(&self, _irq_data: &Arc<IrqData>) -> Result<(), SystemError> { in irq_bus_sync_unlock()
148 fn irq_suspend(&self, _irq_data: &Arc<IrqData>) {} in irq_suspend()
152 fn irq_resume(&self, _irq_data: &Arc<IrqData>) {} in irq_resume()
155 fn irq_pm_shutdown(&self, _irq_data: &Arc<IrqData>) {} in irq_pm_shutdown()
158 fn irq_calc_mask(&self, _irq_data: &Arc<IrqData>) {} in irq_calc_mask()
164 fn irq_request_resources(&self, _irq_data: &Arc<IrqData>) -> Result<(), SystemError> { in irq_request_resources()
170 fn irq_release_resources(&self, _irq_data: &Arc<IrqData>) {} in irq_release_resources()
175 fn irq_compose_msi_msg(&self, _irq_data: &Arc<IrqData>, _msg: &mut MsiMsg) {} in irq_compose_msi_msg()
178 fn irq_write_msi_msg(&self, _irq_data: &Arc<IrqData>, _msg: &MsiMsg) {} in irq_write_msi_msg()
183 _irq_data: &Arc<IrqData>, in irqchip_state()
192 _irq_data: &Arc<IrqData>, in set_irqchip_state()
202 fn send_single_ipi(&self, _irq_data: &Arc<IrqData>, _cpu: u32) {} in send_single_ipi()
207 fn irq_nmi_setup(&self, _irq_data: &Arc<IrqData>) -> Result<(), SystemError> { in irq_nmi_setup()
212 fn irq_nmi_teardown(&self, _irq_data: &Arc<IrqData>) {} in irq_nmi_teardown()
279 private_data: Option<Arc<dyn IrqChipGenericPrivateData>>,
297 fn suspend(&self, gc: &Arc<IrqChipGeneric>); in suspend()
301 fn resume(&self, gc: &Arc<IrqChipGeneric>); in resume()
357 pub fn irq_chip_ack_parent(&self, irq_data: &Arc<IrqData>) { in irq_chip_ack_parent()
369 pub fn irq_chip_retrigger_hierarchy(&self, irq_data: &Arc<IrqData>) -> Result<(), SystemError> { in irq_chip_retrigger_hierarchy()
370 let mut data: Option<Arc<IrqData>> = Some(irq_data.clone()); in irq_chip_retrigger_hierarchy()
409 desc: &Arc<IrqDesc>, in __irq_do_set_handler()
431 if !Arc::ptr_eq(&chip_info.chip(), &no_irq_chip()) { in __irq_do_set_handler()
455 || Arc::ptr_eq( in __irq_do_set_handler()
466 && Arc::ptr_eq( in __irq_do_set_handler()
522 data: Option<Arc<dyn IrqHandlerData>>, in irq_set_handler_data()
532 desc: &Arc<IrqDesc>, in irq_percpu_disable()
533 irq_data: &Arc<IrqData>, in irq_percpu_disable()
534 irq_chip: &Arc<dyn IrqChip>, in irq_percpu_disable()
552 pub(super) static ref CHAINED_ACTION: Arc<IrqAction> = IrqAction::new(
561 pub(super) fn chained_action() -> Arc<IrqAction> { in chained_action()
575 _dynamic_data: Option<Arc<dyn IrqHandlerData>>, in handle()