Searched refs:ctrl_idx (Results 1 – 4 of 4) sorted by relevance
| /linux/drivers/net/can/usb/peak_usb/ |
| A D | pcan_usb_pro.c | 365 pcan_msg_add_rec(&um, PCAN_USBPRO_SETBTR, dev->ctrl_idx, ccbt); in pcan_usb_pro_set_bitrate() 386 pcan_msg_add_rec(&um, PCAN_USBPRO_SETBUSACT, dev->ctrl_idx, onoff); in pcan_usb_pro_set_bus() 431 pcan_msg_add_rec(&um, PCAN_USBPRO_GETDEVID, dev->ctrl_idx); in pcan_usb_pro_get_device_id() 481 pcan_msg_add_rec(&um, PCAN_USBPRO_SETBUSACT, dev->ctrl_idx, 1); in pcan_usb_pro_restart_async() 522 const unsigned int ctrl_idx = (rx->len >> 4) & 0x0f; in pcan_usb_pro_handle_canmsg() local 523 struct peak_usb_device *dev = usb_if->dev[ctrl_idx]; in pcan_usb_pro_handle_canmsg() 559 const unsigned int ctrl_idx = (er->channel >> 4) & 0x0f; in pcan_usb_pro_handle_error() local 560 struct peak_usb_device *dev = usb_if->dev[ctrl_idx]; in pcan_usb_pro_handle_error() 776 len = (dev->ctrl_idx << 4) | (cf->len & 0x0f); in pcan_usb_pro_encode_msg() 911 usb_if->dev[dev->ctrl_idx] = dev; in pcan_usb_pro_init() [all …]
|
| A D | pcan_usb_fd.c | 232 prc->opcode_channel = pucan_cmd_opcode_channel(dev->ctrl_idx, in pcan_usb_fd_build_restart_cmd() 251 pucan_cmd_opcode_channel(dev->ctrl_idx, in pcan_usb_fd_build_restart_cmd() 253 pucan_cmd_opcode_channel(dev->ctrl_idx, in pcan_usb_fd_build_restart_cmd() 269 cmd->opcode_channel = pucan_cmd_opcode_channel(dev->ctrl_idx, in pcan_usb_fd_build_restart_cmd() 347 cmd->opcode_channel = pucan_cmd_opcode_channel(dev->ctrl_idx, in pcan_usb_fd_set_options() 363 cmd->opcode_channel = pucan_cmd_opcode_channel(dev->ctrl_idx, in pcan_usb_fd_set_can_led() 377 cmd->opcode_channel = pucan_cmd_opcode_channel(dev->ctrl_idx, in pcan_usb_fd_set_clock_domain() 391 cmd->opcode_channel = pucan_cmd_opcode_channel(dev->ctrl_idx, in pcan_usb_fd_set_bittiming_slow() 938 pdev->usb_if->dev[dev->ctrl_idx] = dev; in pcan_usb_fd_init() 940 le32_to_cpu(pdev->usb_if->fw_info.dev_id[dev->ctrl_idx]); in pcan_usb_fd_init() [all …]
|
| A D | pcan_usb_core.c | 792 struct usb_interface *intf, int ctrl_idx) in peak_usb_create_dev() argument 823 dev->ctrl_idx = ctrl_idx; in peak_usb_create_dev() 827 dev->ep_msg_out = peak_usb_adapter->ep_msg_out[ctrl_idx]; in peak_usb_create_dev() 857 netdev->dev_id = ctrl_idx; in peak_usb_create_dev() 890 peak_usb_adapter->name, ctrl_idx, dev->device_number); in peak_usb_create_dev()
|
| A D | pcan_usb_core.h | 113 unsigned int ctrl_idx; member
|
Completed in 13 milliseconds