Lines Matching +full:0 +full:b
28 } b; member
41 } b; member
54 } b; member
63 } b; member
69 /** 0: non-vectored 1:vectored */
71 /** 0: level 1: rising edge 2: falling edge */
75 } b; member
87 #define CLIC_INTATTR_TRIG_Msk 0x3U
89 #define ECLIC_CFG (*((volatile union CLICCFG *)(DT_REG_ADDR_BY_IDX(DT_NODELABEL(eclic), 0))))
108 return ((1 << len) - 1) & 0xFFFFU; in mask8()
116 ECLIC_CTRL[irq].INTIE.b.IE = 1; in riscv_clic_irq_enable()
124 ECLIC_CTRL[irq].INTIE.b.IE = 0; in riscv_clic_irq_disable()
132 return ECLIC_CTRL[irq].INTIE.b.IE; in riscv_clic_irq_is_enabled()
146 union CLICINTATTR intattr = {.w = 0}; in riscv_clic_irq_priority_set()
149 intattr.b.shv = 0; in riscv_clic_irq_priority_set()
150 intattr.b.trg = (uint8_t)(flags & CLIC_INTATTR_TRIG_Msk); in riscv_clic_irq_priority_set()
162 intattr.b.shv = 1; in riscv_clic_irq_vector_set()
171 ECLIC_CTRL[irq].INTIP.b.IP = 1; in riscv_clic_irq_set_pending()
176 ECLIC_MTH.w = 0; in nuclei_eclic_init()
177 ECLIC_CFG.w = 0; in nuclei_eclic_init()
178 ECLIC_CFG.b.nlbits = 0; in nuclei_eclic_init()
179 for (int i = 0; i < ECLIC_CTRL_SIZE; i++) { in nuclei_eclic_init()
180 ECLIC_CTRL[i] = (struct CLICCTRL) { 0 }; in nuclei_eclic_init()
183 nlbits = ECLIC_CFG.b.nlbits; in nuclei_eclic_init()
184 intctlbits = ECLIC_INFO.b.intctlbits; in nuclei_eclic_init()
189 return 0; in nuclei_eclic_init()
192 DEVICE_DT_INST_DEFINE(0, nuclei_eclic_init, NULL, NULL, NULL,