Lines Matching refs:lsb
208 unsigned char cmd, unsigned char *msb, unsigned char *lsb) in usb_pcwd_send_command() argument
226 buf[2] = *lsb; /* Byte 2 = Data LSB */ in usb_pcwd_send_command()
241 cmd, *msb, *lsb); in usb_pcwd_send_command()
256 *lsb = usb_pcwd->cmd_data_lsb; in usb_pcwd_send_command()
267 unsigned char lsb = 0x00; in usb_pcwd_start() local
272 &msb, &lsb); in usb_pcwd_start()
274 if ((retval == 0) || (lsb == 0)) { in usb_pcwd_start()
285 unsigned char lsb = 0xC3; in usb_pcwd_stop() local
290 &msb, &lsb); in usb_pcwd_stop()
292 if ((retval == 0) || (lsb != 0)) { in usb_pcwd_stop()
313 unsigned char lsb = t % 256; in usb_pcwd_set_heartbeat() local
319 usb_pcwd_send_command(usb_pcwd, CMD_WRITE_WATCHDOG_TIMEOUT, &msb, &lsb); in usb_pcwd_set_heartbeat()
329 unsigned char lsb = 0x00; in usb_pcwd_get_temperature() local
331 usb_pcwd_send_command(usb_pcwd, CMD_READ_TEMP, &msb, &lsb); in usb_pcwd_get_temperature()
337 *temperature = (lsb * 9 / 5) + 32; in usb_pcwd_get_temperature()
346 unsigned char lsb = 0x00; in usb_pcwd_get_timeleft() local
350 usb_pcwd_send_command(usb_pcwd, CMD_READ_WATCHDOG_TIMEOUT, &msb, &lsb); in usb_pcwd_get_timeleft()
352 *time_left = (msb << 8) + lsb; in usb_pcwd_get_timeleft()