Searched refs:chip (Results 1 – 8 of 8) sorted by relevance
/DragonOS/kernel/src/exception/ |
H A D | handle.rs | 63 let chip = irq_desc.irq_data().chip_info_read_irqsave().chip(); in handle() localVariable 67 if !chip.flags().contains(IrqChipFlags::IRQCHIP_EOI_IF_HANDLED) { in handle() 68 chip.irq_eoi(din.irq_data()); in handle() 90 cond_unmask_eoi_irq(&desc_inner, &chip); in handle() 123 irq_data.chip_info_read_irqsave().chip().irq_ack(&irq_data); in handle() 175 let chip = irq_data.chip_info_read_irqsave().chip(); in mask_ack_irq() localVariable 176 if chip.can_mask_ack() { in mask_ack_irq() 177 chip.irq_mask_ack(irq_data); in mask_ack_irq() 181 chip.irq_ack(irq_data); in mask_ack_irq() 190 let chip = irq_data.chip_info_read_irqsave().chip(); in mask_irq() localVariable [all …]
|
H A D | manage.rs | 233 &desc.irq_data().chip_info_read_irqsave().chip(), in inner_setup_irq() 282 .chip() in inner_setup_irq() 308 desc.irq_data().chip_info_read_irqsave().chip().name(), in inner_setup_irq() 340 .chip() in inner_setup_irq() 421 .chip() in inner_setup_irq() 680 .chip() in irq_startup() 691 .chip() in irq_startup() 732 let chip = desc_inner_guard.irq_data().chip_info_read_irqsave().chip(); in irq_enable() localVariable 734 if let Err(e) = chip.irq_enable(desc_inner_guard.irq_data()) { in irq_enable() 804 let chip = irq_data.chip_info_read_irqsave().chip(); in irq_do_set_affinity() localVariable [all …]
|
H A D | irqdata.rs | 40 chip: Arc<dyn IrqChip>, in new() 52 chip: Some(chip), in new() 176 chip: Option<Arc<dyn IrqChip>>, field 182 pub fn set_chip(&mut self, chip: Option<Arc<dyn IrqChip>>) { in set_chip() 183 self.chip = chip; in set_chip() 190 pub fn chip(&self) -> Arc<dyn IrqChip> { in chip() method 191 self.chip.clone().unwrap() in chip()
|
H A D | irqchip.rs | 361 let parent_chip = parent_data.chip_info_read_irqsave().chip(); in irq_chip_ack_parent() 372 if let Err(e) = d.chip_info_read_irqsave().chip().retrigger(&d) { in irq_chip_retrigger_hierarchy() 431 if !Arc::ptr_eq(&chip_info.chip(), &no_irq_chip()) { in __irq_do_set_handler() 456 &irq_data.as_ref().unwrap().chip_info_read_irqsave().chip(), in __irq_do_set_handler() 467 &desc_inner.irq_data().chip_info_read_irqsave().chip(), in __irq_do_set_handler() 481 let chip = desc_inner.irq_data().chip_info_read_irqsave().chip(); in __irq_do_set_handler() localVariable 482 desc.set_handler_no_lock_inner(handler, desc_inner.irq_data(), &chip); in __irq_do_set_handler()
|
H A D | irqdomain.rs | 217 let chip = irq_data.chip_info_read_irqsave().chip(); in domain_associate() localVariable 218 domain.set_name(chip.name().to_string()); in domain_associate() 328 chip: Arc<dyn IrqChip>, in domain_set_info() 334 let r = self.domain_set_hwirq_and_chip(domain, virq, hwirq, Some(chip), chip_data); in domain_set_info() 356 chip: Option<Arc<dyn IrqChip>>, in domain_set_hwirq_and_chip() 366 if let Some(chip) = chip { in domain_set_hwirq_and_chip() 367 chip_info.set_chip(Some(chip)); in domain_set_hwirq_and_chip()
|
H A D | sysfs.rs | 157 let chip = irq_desc.irq_data().chip_info_read_irqsave().chip(); in show() localVariable 158 let name = chip.name(); in show()
|
H A D | resend.rs | 77 .chip() in try_retrigger()
|
H A D | irqdesc.rs | 166 chip: &Arc<dyn IrqChip>, in set_handler_no_lock_inner() 168 chip.irq_bus_lock(irq_data).ok(); in set_handler_no_lock_inner() 171 chip.irq_bus_sync_unlock(irq_data).ok(); in set_handler_no_lock_inner() 258 .chip() in chip_bus_lock() 273 .chip() in chip_bus_sync_unlock() 472 .chip() in can_set_affinity()
|