Searched refs:resource_mask (Results 1 – 1 of 1) sorted by relevance
1407 static inline u64 resource_mask(u32 hfi1_id, u32 resource) in resource_mask() function1435 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()