Lines Matching refs:proc_num
294 void gicv2_set_pe_target_mask(unsigned int proc_num) in gicv2_set_pe_target_mask() argument
299 assert(proc_num < GICV2_MAX_TARGET_PE); in gicv2_set_pe_target_mask()
300 assert(proc_num < driver_data->target_masks_num); in gicv2_set_pe_target_mask()
303 if (driver_data->target_masks[proc_num] != 0U) in gicv2_set_pe_target_mask()
310 if (driver_data->target_masks[proc_num] == 0U) { in gicv2_set_pe_target_mask()
311 driver_data->target_masks[proc_num] = in gicv2_set_pe_target_mask()
322 &driver_data->target_masks[proc_num], in gicv2_set_pe_target_mask()
323 sizeof(driver_data->target_masks[proc_num])); in gicv2_set_pe_target_mask()
420 void gicv2_raise_sgi(int sgi_num, int proc_num) in gicv2_raise_sgi() argument
425 assert(proc_num >= 0); in gicv2_raise_sgi()
426 assert(proc_num < (int)GICV2_MAX_TARGET_PE); in gicv2_raise_sgi()
434 assert(proc_num < (int)driver_data->target_masks_num); in gicv2_raise_sgi()
437 target = driver_data->target_masks[proc_num]; in gicv2_raise_sgi()
456 void gicv2_set_spi_routing(unsigned int id, int proc_num) in gicv2_set_spi_routing() argument
470 assert(proc_num < (int)GICV2_MAX_TARGET_PE); in gicv2_set_spi_routing()
472 assert(proc_num < (int)driver_data->target_masks_num); in gicv2_set_spi_routing()
474 if (proc_num < 0) { in gicv2_set_spi_routing()
479 target = driver_data->target_masks[proc_num]; in gicv2_set_spi_routing()