Lines Matching defs:mask
324 uint64_t mask;
328 mask = cvmx_read_csr(CVMX_CIU_INTX_EN0(cvmx_get_core_num()*2));
329 mask &= ~(1ull << (irq - CIU_IRQ_EN0_BEGIN));
330 cvmx_write_csr(CVMX_CIU_INTX_EN0(cvmx_get_core_num()*2), mask);
336 uint64_t mask;
340 mask = cvmx_read_csr(CVMX_CIU_INTX_EN0(cvmx_get_core_num()*2));
341 mask |= 1ull << (irq - CIU_IRQ_EN0_BEGIN);
342 cvmx_write_csr(CVMX_CIU_INTX_EN0(cvmx_get_core_num()*2), mask);
349 uint64_t mask;
355 mask = cvmx_read_csr(CVMX_CIU_INTX_EN0(core*2));
357 mask |= 1ull << (irq - CIU_IRQ_EN0_BEGIN);
359 mask &= ~(1ull << (irq - CIU_IRQ_EN0_BEGIN));
360 cvmx_write_csr(CVMX_CIU_INTX_EN0(core*2), mask);
370 uint64_t mask;
374 mask = cvmx_read_csr(CVMX_CIU_INTX_EN1(cvmx_get_core_num()*2));
375 mask &= ~(1ull << (irq - CIU_IRQ_EN1_BEGIN));
376 cvmx_write_csr(CVMX_CIU_INTX_EN1(cvmx_get_core_num()*2), mask);
382 uint64_t mask;
386 mask = cvmx_read_csr(CVMX_CIU_INTX_EN1(cvmx_get_core_num()*2));
387 mask |= 1ull << (irq - CIU_IRQ_EN1_BEGIN);
388 cvmx_write_csr(CVMX_CIU_INTX_EN1(cvmx_get_core_num()*2), mask);
395 uint64_t mask;
401 mask = cvmx_read_csr(CVMX_CIU_INTX_EN1(core*2));
403 mask |= 1ull << (irq - CIU_IRQ_EN1_BEGIN);
405 mask &= ~(1ull << (irq - CIU_IRQ_EN1_BEGIN));
406 cvmx_write_csr(CVMX_CIU_INTX_EN1(core*2), mask);