Searched refs:resource_mask (Results 1 – 4 of 4) sorted by relevance
/linux-6.6.21/sound/soc/intel/avs/ |
D | debugfs.c | 254 unsigned long resource_mask; in strace_release() local 258 resource_mask = adev->logged_resources; in strace_release() 264 for_each_set_bit(i, &resource_mask, num_cores) { in strace_release() 285 static int enable_logs(struct avs_dev *adev, u32 resource_mask, u32 *priorities) in enable_logs() argument 305 adev->fifo_full_timer_period, resource_mask, priorities); in enable_logs() 309 adev->logged_resources |= resource_mask; in enable_logs() 323 static int disable_logs(struct avs_dev *adev, u32 resource_mask) in disable_logs() argument 332 resource_mask, NULL); in disable_logs() 338 adev->logged_resources &= ~resource_mask; in disable_logs() 366 u32 resource_mask; in trace_control_write() local [all …]
|
D | skl.c | 17 u32 fifo_full_period, unsigned long resource_mask, u32 *priorities) in skl_enable_logs() argument 23 if (fls_long(resource_mask) > num_cores) in skl_enable_logs() 30 info->core_mask = resource_mask; in skl_enable_logs() 32 for_each_set_bit(i, &resource_mask, num_cores) { in skl_enable_logs() 37 for_each_set_bit(i, &resource_mask, num_cores) in skl_enable_logs()
|
D | apl.c | 18 u32 fifo_full_period, unsigned long resource_mask, u32 *priorities) in apl_enable_logs() argument 24 if (fls_long(resource_mask) > num_cores) in apl_enable_logs() 33 info->core_mask = resource_mask; in apl_enable_logs() 35 for_each_set_bit(i, &resource_mask, num_cores) { in apl_enable_logs() 40 for_each_set_bit(i, &resource_mask, num_cores) in apl_enable_logs()
|
/linux-6.6.21/drivers/infiniband/hw/hfi1/ |
D | firmware.c | 1407 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()
|