Home
last modified time | relevance | path

Searched refs:resource_mask (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/sound/soc/intel/avs/
Dskl.c16 u32 fifo_full_period, unsigned long resource_mask, u32 *priorities) in skl_enable_logs() argument
22 if (fls_long(resource_mask) > num_cores) in skl_enable_logs()
29 info->core_mask = resource_mask; in skl_enable_logs()
31 for_each_set_bit(i, &resource_mask, GENMASK(num_cores, 0)) { in skl_enable_logs()
36 for_each_set_bit(i, &resource_mask, GENMASK(num_cores, 0)) in skl_enable_logs()
Dapl.c17 u32 fifo_full_period, unsigned long resource_mask, u32 *priorities) in apl_enable_logs() argument
23 if (fls_long(resource_mask) > num_cores) in apl_enable_logs()
32 info->core_mask = resource_mask; in apl_enable_logs()
34 for_each_set_bit(i, &resource_mask, num_cores) { in apl_enable_logs()
39 for_each_set_bit(i, &resource_mask, num_cores) in apl_enable_logs()
/linux-6.1.9/drivers/infiniband/hw/hfi1/
Dfirmware.c1407 static inline u64 resource_mask(u32 hfi1_id, u32 resource) in resource_mask() function
1435 all_bits = resource_mask(0, CR_I2C1 | CR_I2C2) | in __acquire_chip_resource()
1436 resource_mask(1, CR_I2C1 | CR_I2C2); in __acquire_chip_resource()
1438 all_bits = resource_mask(0, resource) | in __acquire_chip_resource()
1439 resource_mask(1, resource); in __acquire_chip_resource()
1441 my_bit = resource_mask(dd->hfi1_id, resource); in __acquire_chip_resource()
1511 bit = resource_mask(dd->hfi1_id, resource); in release_chip_resource()
1548 bit = resource_mask(dd->hfi1_id, resource); in check_chip_resource()
1577 scratch0 &= ~resource_mask(dd->hfi1_id, CR_DYN_MASK); in clear_chip_resources()