Searched refs:slice_masks (Results 1 – 5 of 5) sorted by relevance
1029 memset(&devinfo->slice_masks, 0, sizeof(devinfo->slice_masks)); in reset_masks()1050 assert(sizeof(devinfo->slice_masks) >= DIV_ROUND_UP(topology->max_slices, 8)); in update_from_topology()1051 memcpy(&devinfo->slice_masks, topology->data, DIV_ROUND_UP(topology->max_slices, 8)); in update_from_topology()1052 devinfo->num_slices = __builtin_popcount(devinfo->slice_masks); in update_from_topology()1065 if ((devinfo->slice_masks & (1 << s)) == 0) in update_from_topology()1078 assert(devinfo->slice_masks == 1); in update_from_topology()
43 assert(__builtin_popcount(devinfo.slice_masks) <= devinfo.max_slices); in main()
83 n_s += (devinfo.slice_masks & (1u << s)) ? 1 : 0; in main()
182 uint8_t slice_masks; member
353 perf->sys_vars.slice_mask = devinfo->slice_masks; in compute_topology_builtins()377 for (int s = 0; s < util_last_bit(devinfo->slice_masks); s++) { in compute_topology_builtins()