Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/usb/misc/
Dusbsevseg.c41 u8 decimals[MAXLEN]; member
111 u8 decimals = 0; in update_display_visual() local
129 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 …]
/linux-6.6.21/Documentation/usb/
Dmisc_usbsevseg.rst48 and echo it in to /sys/bus/usb/.../decimals
49 To set multiple decimals points sum up each power.
51 echo 1001 > /sys/bus/usb/.../decimals
/linux-6.6.21/Documentation/ABI/testing/
Dsysfs-bus-usb-devices-usbsevseg37 What: /sys/bus/usb/.../decimals
/linux-6.6.21/Documentation/trace/
Dmmiotrace.rst162 Timestamp is in seconds with decimals. Physical is a PCI bus address, virtual
/linux-6.6.21/drivers/md/
Dmd.c3834 long decimals = -1; in strict_strtoul_scaled() local
3835 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()