Home
last modified time | relevance | path

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

/openbmc/linux/drivers/comedi/drivers/
H A Dvmk80xx.c522 unsigned long debtime; in vmk80xx_cnt_insn_write() local
537 debtime = data[n]; in vmk80xx_cnt_insn_write()
538 if (debtime == 0) in vmk80xx_cnt_insn_write()
539 debtime = 1; in vmk80xx_cnt_insn_write()
542 if (debtime > 7450) in vmk80xx_cnt_insn_write()
543 debtime = 7450; in vmk80xx_cnt_insn_write()
545 val = int_sqrt(debtime * 1000 / 115); in vmk80xx_cnt_insn_write()
546 if (((val + 1) * val) < debtime * 1000 / 115) in vmk80xx_cnt_insn_write()