Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/can/usb/kvaser_usb/
Dkvaser_usb_leaf.c184 } __packed usbcan; member
358 } __packed usbcan; member
392 [CMD_GET_SOFTWARE_INFO_REPLY] = kvaser_fsize(u.usbcan.softinfo),
393 [CMD_RX_STD_MESSAGE] = kvaser_fsize(u.usbcan.rx_can),
394 [CMD_RX_EXT_MESSAGE] = kvaser_fsize(u.usbcan.rx_can),
395 [CMD_CHIP_STATE_EVENT] = kvaser_fsize(u.usbcan.chip_state_event),
396 [CMD_CAN_ERROR_EVENT] = kvaser_fsize(u.usbcan.can_error_event),
397 [CMD_ERROR_EVENT] = kvaser_fsize(u.usbcan.error_event),
421 } usbcan; member
554 cmd_tx_can_flags = &cmd->u.tx_can.usbcan.flags; in kvaser_usb_leaf_frame_to_cmd()
[all …]
/linux-6.1.9/drivers/net/can/usb/
Dgs_usb.c525 struct gs_usb *usbcan = urb->context; in gs_usb_receive_bulk_callback() local
536 BUG_ON(!usbcan); in gs_usb_receive_bulk_callback()
553 dev = usbcan->canch[hf->channel]; in gs_usb_receive_bulk_callback()
642 usb_fill_bulk_urb(urb, usbcan->udev, in gs_usb_receive_bulk_callback()
643 usb_rcvbulkpipe(usbcan->udev, GS_USB_ENDPOINT_IN), in gs_usb_receive_bulk_callback()
645 gs_usb_receive_bulk_callback, usbcan); in gs_usb_receive_bulk_callback()
653 if (usbcan->canch[rc]) in gs_usb_receive_bulk_callback()
654 netif_device_detach(usbcan->canch[rc]->netdev); in gs_usb_receive_bulk_callback()