Searched refs:resource_mask (Results 1 – 1 of 1) sorted by relevance
1450 static inline u64 resource_mask(u32 hfi1_id, u32 resource) in resource_mask() function1478 all_bits = resource_mask(0, CR_I2C1 | CR_I2C2) | in __acquire_chip_resource()1479 resource_mask(1, CR_I2C1 | CR_I2C2); in __acquire_chip_resource()1481 all_bits = resource_mask(0, resource) | in __acquire_chip_resource()1482 resource_mask(1, resource); in __acquire_chip_resource()1484 my_bit = resource_mask(dd->hfi1_id, resource); in __acquire_chip_resource()1554 bit = resource_mask(dd->hfi1_id, resource); in release_chip_resource()1591 bit = resource_mask(dd->hfi1_id, resource); in check_chip_resource()1620 scratch0 &= ~resource_mask(dd->hfi1_id, CR_DYN_MASK); in clear_chip_resources()