Searched refs:usb_if (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/net/can/usb/peak_usb/ |
H A D | pcan_usb_fd.c | 73 struct pcan_usb_fd_if *usb_if; member 180 return pdev->usb_if; in pcan_usb_fd_dev_if() 196 struct pcan_ufd_fw_info *fw_info = &pdev->usb_if->fw_info; in pcan_usb_fd_send_cmd() 460 struct pcan_usb_fd_if *usb_if = pcan_usb_fd_dev_if(dev); in pcan_usb_fd_get_can_channel_id() local 462 err = pcan_usb_fd_read_fwinfo(dev, &usb_if->fw_info); in pcan_usb_fd_get_can_channel_id() 466 *can_ch_id = le32_to_cpu(usb_if->fw_info.dev_id[dev->ctrl_idx]); in pcan_usb_fd_get_can_channel_id() 491 struct pcan_ufd_fw_info *fw_info = &pdev->usb_if->fw_info; in pcan_usb_fd_restart_async() 528 static int pcan_usb_fd_decode_canmsg(struct pcan_usb_fd_if *usb_if, in pcan_usb_fd_decode_canmsg() argument 538 if (pucan_msg_get_channel(rm) >= ARRAY_SIZE(usb_if->dev)) in pcan_usb_fd_decode_canmsg() 541 dev = usb_if->dev[pucan_msg_get_channel(rm)]; in pcan_usb_fd_decode_canmsg() [all …]
|
H A D | pcan_usb_pro.c | 55 struct pcan_usb_pro_interface *usb_if; member 530 return pdev->usb_if; in pcan_usb_pro_dev_if() 533 static int pcan_usb_pro_handle_canmsg(struct pcan_usb_pro_interface *usb_if, in pcan_usb_pro_handle_canmsg() argument 537 struct peak_usb_device *dev = usb_if->dev[ctrl_idx]; in pcan_usb_pro_handle_canmsg() 563 peak_usb_get_ts_time(&usb_if->time_ref, le32_to_cpu(rx->ts32), in pcan_usb_pro_handle_canmsg() 571 static int pcan_usb_pro_handle_error(struct pcan_usb_pro_interface *usb_if, in pcan_usb_pro_handle_error() argument 576 struct peak_usb_device *dev = usb_if->dev[ctrl_idx]; in pcan_usb_pro_handle_error() 678 peak_usb_get_ts_time(&usb_if->time_ref, le32_to_cpu(er->ts32), &hwts->hwtstamp); in pcan_usb_pro_handle_error() 684 static void pcan_usb_pro_handle_ts(struct pcan_usb_pro_interface *usb_if, in pcan_usb_pro_handle_ts() argument 688 if (usb_if->cm_ignore_count > 0) in pcan_usb_pro_handle_ts() [all …]
|
/linux/drivers/usb/misc/ |
H A D | chaoskey.c | 30 #define usb_dbg(usb_if, format, arg...) \ argument 31 dev_dbg(&(usb_if)->dev, format, ## arg) 33 #define usb_err(usb_if, format, arg...) \ argument 34 dev_err(&(usb_if)->dev, format, ## arg)
|