Home
last modified time | relevance | path

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

/openbmc/linux/drivers/watchdog/
H A Dpcwd_usb.c167 struct usb_pcwd_private *usb_pcwd = in usb_pcwd_intr_done() local
169 unsigned char *data = usb_pcwd->intr_buffer; in usb_pcwd_intr_done()
170 struct device *dev = &usb_pcwd->interface->dev; in usb_pcwd_intr_done()
193 usb_pcwd->cmd_command = data[0]; in usb_pcwd_intr_done()
194 usb_pcwd->cmd_data_msb = data[1]; in usb_pcwd_intr_done()
195 usb_pcwd->cmd_data_lsb = data[2]; in usb_pcwd_intr_done()
198 atomic_set(&usb_pcwd->cmd_received, 1); in usb_pcwd_intr_done()
207 static int usb_pcwd_send_command(struct usb_pcwd_private *usb_pcwd, in usb_pcwd_send_command() argument
215 if ((!usb_pcwd) || (!usb_pcwd->exists)) in usb_pcwd_send_command()
229 dev_dbg(&usb_pcwd->interface->dev, in usb_pcwd_send_command()
[all …]