Searched refs:tmpf (Results 1 – 1 of 1) sorted by relevance
91 uint64_t tmpf; in xbr818_attr_set() local125 tmpf = (uint64_t)val->val1 * 1000000 + (uint64_t)val->val2; in xbr818_attr_set()126 tmpf = (tmpf * SENSOR_XBR818_CLOCKRATE) / 1000000; in xbr818_attr_set()127 if (tmpf > 0xFFFFFF) { in xbr818_attr_set()130 tmp[0] = tmpf & 0xFF; in xbr818_attr_set()131 tmp[1] = (tmpf & 0xFF00) >> 8; in xbr818_attr_set()132 tmp[2] = (tmpf & 0xFF0000) >> 16; in xbr818_attr_set()138 tmpf = (uint64_t)val->val1 * 1000000 + (uint64_t)val->val2; in xbr818_attr_set()139 tmpf = (tmpf * SENSOR_XBR818_CLOCKRATE) / 1000000; in xbr818_attr_set()140 if (tmpf > 0xFFFFFF) { in xbr818_attr_set()[all …]