Home
last modified time | relevance | path

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

/drivers/isdn/mISDN/
Dl1oip_core.c277 u16 timebase, u8 *buf, int len) in l1oip_socket_send() argument
320 *p++ = timebase >> 8; /* time base */ in l1oip_socket_send()
321 *p++ = timebase; in l1oip_socket_send()
364 l1oip_socket_recv(struct l1oip *hc, u8 remotecodec, u8 channel, u16 timebase, in l1oip_socket_recv() argument
422 if (((s16)(timebase - rx_counter)) >= 0) { in l1oip_socket_recv()
424 if (timebase >= (rx_counter & 0xffff)) in l1oip_socket_recv()
426 (rx_counter & 0xffff0000) | timebase; in l1oip_socket_recv()
429 | timebase; in l1oip_socket_recv()
432 if (timebase < (rx_counter & 0xffff)) in l1oip_socket_recv()
434 (rx_counter & 0xffff0000) | timebase; in l1oip_socket_recv()
[all …]
/drivers/leds/
Dleds-asic3.c46 u32 timebase; in brightness_set() local
49 timebase = (value == LED_OFF) ? 0 : (LED_EN|0x4); in brightness_set()
55 asic3_write_register(asic, (base + ASIC3_LED_TimeBase), timebase); in brightness_set()
/drivers/staging/comedi/drivers/
Dii_pci20kc.c144 int timebase; member
391 sdp->pci20341.timebase = pci20341_timebase[opt0]; in pci20341_init()
404 option = sdp->pci20341.timebase | PCI20341_REPMODE; in pci20341_init()
Damplc_pci230.c722 static unsigned int divide_ns(uint64_t ns, unsigned int timebase, in divide_ns() argument
729 rem = do_div(div, timebase); in divide_ns()
734 div += (rem + (timebase / 2)) / timebase; in divide_ns()
739 div += (rem + timebase - 1) / timebase; in divide_ns()
/drivers/scsi/
DNCR5380.h280 unsigned timebase; /* Base for time calcs */ member
DNCR5380.c855 hostdata->timebase = 0; in NCR5380_init()
969 hostdata->time_write[cmd->device->id] -= (jiffies - hostdata->timebase); in NCR5380_queue_command_lck()
976 hostdata->time_read[cmd->device->id] -= (jiffies - hostdata->timebase); in NCR5380_queue_command_lck()
1242 hostdata->time_write[scmd_id(cmd)] += (jiffies - hostdata->timebase); in collect_stats()
1248 hostdata->time_read[scmd_id(cmd)] += (jiffies - hostdata->timebase); in collect_stats()
Dsun3_NCR5380.c861 hostdata->timebase = jiffies; in NCR5380_queue_command_lck()
872 hostdata->time_write[cmd->device->id] -= (jiffies - hostdata->timebase); in NCR5380_queue_command_lck()
879 hostdata->time_read[cmd->device->id] -= (jiffies - hostdata->timebase); in NCR5380_queue_command_lck()
1284 hostdata->time_write[cmd->device->id] += (jiffies - hostdata->timebase); in collect_stats()
1291 hostdata->time_read[cmd->device->id] += (jiffies - hostdata->timebase); in collect_stats()
Datari_NCR5380.c915 hostdata->timebase = jiffies; in NCR5380_queue_command_lck()
925 hostdata->time_write[cmd->device->id] -= (jiffies - hostdata->timebase); in NCR5380_queue_command_lck()
932 hostdata->time_read[cmd->device->id] -= (jiffies - hostdata->timebase); in NCR5380_queue_command_lck()
1343 hostdata->time_write[cmd->device->id] += (jiffies - hostdata->timebase); in collect_stats()
1350 hostdata->time_read[cmd->device->id] += (jiffies - hostdata->timebase); in collect_stats()
/drivers/staging/comedi/drivers/addi-data/
Daddi_eeprom.c242 unsigned short timebase; in addi_eeprom_read_timer_info()