Searched refs:ctrl_idx (Results 1 – 4 of 4) sorted by relevance
/Linux-v4.19/drivers/net/can/usb/peak_usb/ |
D | pcan_usb_pro.c | 373 pcan_msg_add_rec(&um, PCAN_USBPRO_SETBTR, dev->ctrl_idx, ccbt); in pcan_usb_pro_set_bitrate() 394 pcan_msg_add_rec(&um, PCAN_USBPRO_SETBUSACT, dev->ctrl_idx, onoff); in pcan_usb_pro_set_bus() 404 pcan_msg_add_rec(&um, PCAN_USBPRO_SETSILENT, dev->ctrl_idx, onoff); in pcan_usb_pro_set_silent() 414 pcan_msg_add_rec(&um, PCAN_USBPRO_SETFILTR, dev->ctrl_idx, filter_mode); in pcan_usb_pro_set_filter() 425 pcan_msg_add_rec(&um, PCAN_USBPRO_SETLED, dev->ctrl_idx, mode, timeout); in pcan_usb_pro_set_led() 439 pcan_msg_add_rec(&um, PCAN_USBPRO_GETDEVID, dev->ctrl_idx); in pcan_usb_pro_get_device_id() 490 pcan_msg_add_rec(&um, PCAN_USBPRO_SETBUSACT, dev->ctrl_idx, 1); in pcan_usb_pro_restart_async() 531 const unsigned int ctrl_idx = (rx->len >> 4) & 0x0f; in pcan_usb_pro_handle_canmsg() local 532 struct peak_usb_device *dev = usb_if->dev[ctrl_idx]; in pcan_usb_pro_handle_canmsg() 568 const unsigned int ctrl_idx = (er->channel >> 4) & 0x0f; in pcan_usb_pro_handle_error() local [all …]
|
D | pcan_usb_fd.c | 242 prc->opcode_channel = pucan_cmd_opcode_channel(dev->ctrl_idx, in pcan_usb_fd_build_restart_cmd() 261 pucan_cmd_opcode_channel(dev->ctrl_idx, in pcan_usb_fd_build_restart_cmd() 263 pucan_cmd_opcode_channel(dev->ctrl_idx, in pcan_usb_fd_build_restart_cmd() 279 cmd->opcode_channel = pucan_cmd_opcode_channel(dev->ctrl_idx, in pcan_usb_fd_build_restart_cmd() 301 cmd->opcode_channel = pucan_cmd_opcode_channel(dev->ctrl_idx, in pcan_usb_fd_set_bus() 337 cmd->opcode_channel = pucan_cmd_opcode_channel(dev->ctrl_idx, in pcan_usb_fd_set_filter_std() 357 cmd->opcode_channel = pucan_cmd_opcode_channel(dev->ctrl_idx, in pcan_usb_fd_set_options() 373 cmd->opcode_channel = pucan_cmd_opcode_channel(dev->ctrl_idx, in pcan_usb_fd_set_can_led() 387 cmd->opcode_channel = pucan_cmd_opcode_channel(dev->ctrl_idx, in pcan_usb_fd_set_clock_domain() 401 cmd->opcode_channel = pucan_cmd_opcode_channel(dev->ctrl_idx, in pcan_usb_fd_set_bittiming_slow() [all …]
|
D | pcan_usb_core.c | 739 struct usb_interface *intf, int ctrl_idx) in peak_usb_create_dev() argument 770 dev->ctrl_idx = ctrl_idx; in peak_usb_create_dev() 774 dev->ep_msg_out = peak_usb_adapter->ep_msg_out[ctrl_idx]; in peak_usb_create_dev() 801 netdev->dev_id = ctrl_idx; in peak_usb_create_dev() 834 peak_usb_adapter->name, ctrl_idx, dev->device_number); in peak_usb_create_dev()
|
D | pcan_usb_core.h | 120 unsigned int ctrl_idx; member
|