Lines Matching refs:this
136 struct intctrl_status *this = &nhw_intctrl_st[inst]; in hw_irq_ctrl_get_highest_prio_irq() local
138 if (this->irqs_locked) { in hw_irq_ctrl_get_highest_prio_irq()
146 uint64_t irq_status = this->irq_status[i]; in hw_irq_ctrl_get_highest_prio_irq()
152 if ((winner_prio > (int)this->irq_prio[irq_nbr]) in hw_irq_ctrl_get_highest_prio_irq()
153 && (this->currently_running_prio > (int)this->irq_prio[irq_nbr])) { in hw_irq_ctrl_get_highest_prio_irq()
155 winner_prio = this->irq_prio[irq_nbr]; in hw_irq_ctrl_get_highest_prio_irq()
174 struct intctrl_status *this = &nhw_intctrl_st[inst]; in hw_irq_ctrl_change_lock() local
175 uint32_t previous_lock = this->irqs_locked; in hw_irq_ctrl_change_lock()
177 this->irqs_locked = new_lock; in hw_irq_ctrl_change_lock()
189 struct intctrl_status *this = &nhw_intctrl_st[inst]; in hw_irq_ctrl_clear_all_enabled_irqs() local
192 this->irq_status[i] = 0U; in hw_irq_ctrl_clear_all_enabled_irqs()
193 this->irq_premask[i] &= ~this->irq_mask[i]; in hw_irq_ctrl_clear_all_enabled_irqs()
206 struct intctrl_status *this = &nhw_intctrl_st[inst]; in hw_irq_ctrl_clear_all_irqs() local
209 this->irq_status[i] = 0U; in hw_irq_ctrl_clear_all_irqs()
210 this->irq_premask[i] = 0U; in hw_irq_ctrl_clear_all_irqs()
246 struct intctrl_status *this = &nhw_intctrl_st[inst]; in hw_irq_ctrl_clear_irq() local
250 this->irq_status[irq_idx] &= ~irq_bit; in hw_irq_ctrl_clear_irq()
251 this->irq_premask[irq_idx] &= ~irq_bit; in hw_irq_ctrl_clear_irq()
265 struct intctrl_status *this = &nhw_intctrl_st[inst]; in hw_irq_ctrl_reeval_level_irq() local
269 if ((this->irq_lines[irq_idx] & irq_bit) != 0) { in hw_irq_ctrl_reeval_level_irq()
270 this->irq_premask[irq_idx] |= irq_bit; in hw_irq_ctrl_reeval_level_irq()
272 if (this->irq_mask[irq_idx] & irq_bit) { in hw_irq_ctrl_reeval_level_irq()
273 this->irq_status[irq_idx] |= irq_bit; in hw_irq_ctrl_reeval_level_irq()
291 struct intctrl_status *this = &nhw_intctrl_st[inst]; in hw_irq_ctrl_enable_irq() local
295 this->irq_mask[irq_idx] |= irq_bit; in hw_irq_ctrl_enable_irq()
296 if (this->irq_premask[irq_idx] & irq_bit) { /*if the interrupt is pending*/ in hw_irq_ctrl_enable_irq()
303 struct intctrl_status *this = &nhw_intctrl_st[inst]; in hw_irq_ctrl_irq_raise_prefix() local
309 this->irq_premask[irq_idx] |= irq_bit; in hw_irq_ctrl_irq_raise_prefix()
311 if (this->irq_mask[irq_idx] & irq_bit) { in hw_irq_ctrl_irq_raise_prefix()
312 this->irq_status[irq_idx] |= irq_bit; in hw_irq_ctrl_irq_raise_prefix()
315 this->lock_ignore = true; in hw_irq_ctrl_irq_raise_prefix()
332 struct intctrl_status *this = &nhw_intctrl_st[inst]; in hw_irq_ctrl_set_irq() local
335 if ((this->irqs_locked == false) || (this->lock_ignore)) { in hw_irq_ctrl_set_irq()
343 this->awaking_CPU = true; in hw_irq_ctrl_set_irq()
365 struct intctrl_status *this = &nhw_intctrl_st[inst]; in hw_irq_ctrl_raise_level_irq_line() local
374 if ((this->irq_lines[irq_idx] & irq_bit) == 0) { in hw_irq_ctrl_raise_level_irq_line()
375 this->irq_lines[irq_idx] |= irq_bit; in hw_irq_ctrl_raise_level_irq_line()
402 struct intctrl_status *this = &nhw_intctrl_st[inst]; in irq_raising_from_hw_now() local
408 if ((this->irqs_locked == false) || (this->lock_ignore)) { in irq_raising_from_hw_now()
409 this->lock_ignore = false; in irq_raising_from_hw_now()