Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/can/usb/peak_usb/
H A Dpcan_usb.c141 u16 ts16; member
429 mc->ts16 = get_unaligned_le16(mc->ptr); in pcan_usb_update_ts()
432 peak_usb_update_ts_now(&mc->pdev->time_ref, mc->ts16); in pcan_usb_update_ts()
434 peak_usb_set_ts_now(&mc->pdev->time_ref, mc->ts16); in pcan_usb_update_ts()
449 mc->ts16 = get_unaligned_le16(mc->ptr); in pcan_usb_decode_ts()
450 mc->prev_ts8 = mc->ts16 & 0x00ff; in pcan_usb_decode_ts()
462 mc->ts16 += 0x100; in pcan_usb_decode_ts()
464 mc->ts16 &= 0xff00; in pcan_usb_decode_ts()
465 mc->ts16 |= ts8; in pcan_usb_decode_ts()
541 peak_usb_get_ts_time(&mc->pdev->time_ref, mc->ts16, in pcan_usb_decode_error()
[all …]