Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/sbus/char/
Denvctrl.c175 static unsigned char chnls_mask[] = { 0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x80 }; variable
451 if (pchild->fan_mask & chnls_mask[i]) { in envctrl_i2c_fan_status()
452 if (!(chnls_mask[i] & tmp)) in envctrl_i2c_fan_status()
453 ret |= chnls_mask[j]; in envctrl_i2c_fan_status()
511 if (pchild->voltage_mask & chnls_mask[i]) { in envctrl_i2c_voltage_status()
515 if (!(chnls_mask[i] & tmp)) in envctrl_i2c_voltage_status()
804 pchild->fan_mask |= chnls_mask[(pchild->chnl_array[i]).chnl_no]; in envctrl_init_fanstat()
834 pchild->voltage_mask |= chnls_mask[i]; in envctrl_init_globaladdr()
852 pchild->voltage_mask |= chnls_mask[(pchild->chnl_array[i]).chnl_no]; in envctrl_init_voltage_status()