Searched refs:decimals (Results 1 – 5 of 5) sorted by relevance
41 u8 decimals[MAXLEN]; member111 u8 decimals = 0; in update_display_visual() local130 decimals |= mydev->decimals[i] << i; in update_display_visual()205 if (mydev->decimals[i] == 0) in decimals_show()207 else if (mydev->decimals[i] == 1) in decimals_show()213 buf[sizeof(mydev->decimals)] = '\n'; in decimals_show()214 return sizeof(mydev->decimals) + 1; in decimals_show()225 if (end > sizeof(mydev->decimals)) in decimals_store()232 memset(mydev->decimals, 0, sizeof(mydev->decimals)); in decimals_store()235 mydev->decimals[end-1-i] = 1; in decimals_store()[all …]
48 and echo it in to /sys/bus/usb/.../decimals49 To set multiple decimals points sum up each power.51 echo 1001 > /sys/bus/usb/.../decimals
37 What: /sys/bus/usb/.../decimals
162 Timestamp is in seconds with decimals. Physical is a PCI bus address, virtual
3834 long decimals = -1; in strict_strtoul_scaled() local3835 while (isdigit(*cp) || (*cp == '.' && decimals < 0)) { in strict_strtoul_scaled()3837 decimals = 0; in strict_strtoul_scaled()3838 else if (decimals < scale) { in strict_strtoul_scaled()3842 if (decimals >= 0) in strict_strtoul_scaled()3843 decimals++; in strict_strtoul_scaled()3851 if (decimals < 0) in strict_strtoul_scaled()3852 decimals = 0; in strict_strtoul_scaled()3853 *res = result * int_pow(10, scale - decimals); in strict_strtoul_scaled()
Completed in 20 milliseconds