Searched refs:decimals (Results 1 – 5 of 5) sorted by relevance
41 u8 decimals[MAXLEN]; member111 u8 decimals = 0; in update_display_visual() local129 for (i = 0; i < sizeof(mydev->decimals); i++) in update_display_visual()130 decimals |= mydev->decimals[i] << i; in update_display_visual()134 (0 * 0x100) + decimals, /* decimals */ in update_display_visual()203 for (i = 0; i < sizeof(mydev->decimals); i++) { in decimals_show()204 pos = sizeof(mydev->decimals) - 1 - i; in decimals_show()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()[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()