Searched refs:decimals (Results 1 - 2 of 2) sorted by relevance

/linux-master/drivers/usb/misc/
H A Dusbsevseg.c41 u8 decimals[MAXLEN]; member in struct:usb_sevsegdev
111 u8 decimals = 0; local
129 for (i = 0; i < sizeof(mydev->decimals); i++)
130 decimals |= mydev->decimals[i] << i;
134 (0 * 0x100) + decimals, /* decimals */
203 for (i = 0; i < sizeof(mydev->decimals); i++) {
204 pos = sizeof(mydev->decimals) - 1 - i;
205 if (mydev->decimals[
[all...]
/linux-master/drivers/md/
H A Dmd.c3905 long decimals = -1; local
3906 while (isdigit(*cp) || (*cp == '.' && decimals < 0)) {
3908 decimals = 0;
3909 else if (decimals < scale) {
3913 if (decimals >= 0)
3914 decimals++;
3922 if (decimals < 0)
3923 decimals = 0;
3924 *res = result * int_pow(10, scale - decimals);

Completed in 204 milliseconds