Home
last modified time | relevance | path

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

/drivers/usb/misc/
A Dusbsevseg.c41 u8 decimals[MAXLEN]; member
111 u8 decimals = 0; in update_display_visual() local
130 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 …]
/drivers/gpu/drm/
A Ddrm_panic_qr.rs380 decimals: [u8; MAX_FIFO_SIZE], field
388 self.decimals[i + len] = self.decimals[i]; in push()
391 self.decimals[i] = (chunk % 10) as u8; in push()
407 out += u16::from(self.decimals[self.len + i]) * exp; in pop3()
/drivers/md/
A Dmd.c3843 long decimals = -1; in strict_strtoul_scaled() local
3844 while (isdigit(*cp) || (*cp == '.' && decimals < 0)) { in strict_strtoul_scaled()
3846 decimals = 0; in strict_strtoul_scaled()
3847 else if (decimals < scale) { in strict_strtoul_scaled()
3851 if (decimals >= 0) in strict_strtoul_scaled()
3852 decimals++; in strict_strtoul_scaled()
3860 if (decimals < 0) in strict_strtoul_scaled()
3861 decimals = 0; in strict_strtoul_scaled()
3862 *res = result * int_pow(10, scale - decimals); in strict_strtoul_scaled()

Completed in 20 milliseconds