Home
last modified time | relevance | path

Searched refs:fan_mask (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/drivers/sbus/char/
Denvctrl.c161 unsigned char fan_mask; /* Byte mask for fan status channels. */ member
434 tmp = data & pchild->fan_mask; in envctrl_i2c_fan_status()
436 if (tmp == pchild->fan_mask) { in envctrl_i2c_fan_status()
450 if (pchild->fan_mask & chnls_mask[i]) { in envctrl_i2c_fan_status()
801 pchild->fan_mask |= chnls_mask[(pchild->chnl_array[i]).chnl_no]; in envctrl_init_fanstat()
/linux-6.6.21/security/keys/
Dkeyring.c166 const unsigned long fan_mask = ASSOC_ARRAY_FAN_MASK; in hash_key_type_and_desc() local
203 if (index_key->type != &key_type_keyring && (hash & fan_mask) == 0) in hash_key_type_and_desc()
205 else if (index_key->type == &key_type_keyring && (hash & fan_mask) != 0) in hash_key_type_and_desc()
206 hash = (hash + (hash << level_shift)) & ~fan_mask; in hash_key_type_and_desc()