/kernel/linux/linux-6.6/drivers/net/can/usb/peak_usb/ |
H A D | pcan_usb_pro.c | 367 pcan_msg_add_rec(&um, PCAN_USBPRO_SETBTR, dev->ctrl_idx, ccbt); in pcan_usb_pro_set_bitrate() 388 pcan_msg_add_rec(&um, PCAN_USBPRO_SETBUSACT, dev->ctrl_idx, onoff); in pcan_usb_pro_set_bus() 398 pcan_msg_add_rec(&um, PCAN_USBPRO_SETSILENT, dev->ctrl_idx, onoff); in pcan_usb_pro_set_silent() 408 pcan_msg_add_rec(&um, PCAN_USBPRO_SETFILTR, dev->ctrl_idx, filter_mode); in pcan_usb_pro_set_filter() 419 pcan_msg_add_rec(&um, PCAN_USBPRO_SETLED, dev->ctrl_idx, mode, timeout); in pcan_usb_pro_set_led() 433 pcan_msg_add_rec(&um, PCAN_USBPRO_GETDEVID, dev->ctrl_idx); in pcan_usb_pro_get_can_channel_id() 455 pcan_msg_add_rec(&um, PCAN_USBPRO_SETDEVID, dev->ctrl_idx, in pcan_usb_pro_set_can_channel_id() 495 pcan_msg_add_rec(&um, PCAN_USBPRO_SETBUSACT, dev->ctrl_idx, 1); in pcan_usb_pro_restart_async() 536 const unsigned int ctrl_idx = (rx->len >> 4) & 0x0f; in pcan_usb_pro_handle_canmsg() local 537 struct peak_usb_device *dev = usb_if->dev[ctrl_idx]; in pcan_usb_pro_handle_canmsg() 575 const unsigned int ctrl_idx = (er->channel >> 4) & 0x0f; pcan_usb_pro_handle_error() local [all...] |
H A D | pcan_usb_fd.c | 264 prc->opcode_channel = pucan_cmd_opcode_channel(dev->ctrl_idx, in pcan_usb_fd_build_restart_cmd() 283 pucan_cmd_opcode_channel(dev->ctrl_idx, in pcan_usb_fd_build_restart_cmd() 285 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_build_restart_cmd() 323 cmd->opcode_channel = pucan_cmd_opcode_channel(dev->ctrl_idx, in pcan_usb_fd_set_bus() 359 cmd->opcode_channel = pucan_cmd_opcode_channel(dev->ctrl_idx, in pcan_usb_fd_set_filter_std() 379 cmd->opcode_channel = pucan_cmd_opcode_channel(dev->ctrl_idx, in pcan_usb_fd_set_options() 395 cmd->opcode_channel = pucan_cmd_opcode_channel(dev->ctrl_idx, in pcan_usb_fd_set_can_led() 409 cmd->opcode_channel = pucan_cmd_opcode_channel(dev->ctrl_idx, in pcan_usb_fd_set_clock_domain() 423 cmd->opcode_channel = pucan_cmd_opcode_channel(dev->ctrl_idx, in pcan_usb_fd_set_bittiming_slow() [all...] |
H A D | pcan_usb_core.c | 916 * create one device which is attached to CAN controller #ctrl_idx of the 920 struct usb_interface *intf, int ctrl_idx) in peak_usb_create_dev() 951 dev->ctrl_idx = ctrl_idx; in peak_usb_create_dev() 955 dev->ep_msg_out = peak_usb_adapter->ep_msg_out[ctrl_idx]; in peak_usb_create_dev() 988 netdev->dev_id = ctrl_idx; in peak_usb_create_dev() 1020 peak_usb_adapter->name, ctrl_idx, dev->can_channel_id); in peak_usb_create_dev() 919 peak_usb_create_dev(const struct peak_usb_adapter *peak_usb_adapter, struct usb_interface *intf, int ctrl_idx) peak_usb_create_dev() argument
|
H A D | pcan_usb_core.h | 113 unsigned int ctrl_idx; member
|
/kernel/linux/linux-5.10/drivers/net/can/usb/peak_usb/ |
H 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() 396 pcan_msg_add_rec(&um, PCAN_USBPRO_SETSILENT, dev->ctrl_idx, onoff); in pcan_usb_pro_set_silent() 406 pcan_msg_add_rec(&um, PCAN_USBPRO_SETFILTR, dev->ctrl_idx, filter_mode); in pcan_usb_pro_set_filter() 417 pcan_msg_add_rec(&um, PCAN_USBPRO_SETLED, dev->ctrl_idx, mode, timeout); in pcan_usb_pro_set_led() 431 pcan_msg_add_rec(&um, PCAN_USBPRO_GETDEVID, dev->ctrl_idx); in pcan_usb_pro_get_device_id() 482 pcan_msg_add_rec(&um, PCAN_USBPRO_SETBUSACT, dev->ctrl_idx, 1); in pcan_usb_pro_restart_async() 523 const unsigned int ctrl_idx = (rx->len >> 4) & 0x0f; in pcan_usb_pro_handle_canmsg() local 524 struct peak_usb_device *dev = usb_if->dev[ctrl_idx]; in pcan_usb_pro_handle_canmsg() 560 const unsigned int ctrl_idx in pcan_usb_pro_handle_error() local [all...] |
H A D | pcan_usb_fd.c | 234 prc->opcode_channel = 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() 255 pucan_cmd_opcode_channel(dev->ctrl_idx, in pcan_usb_fd_build_restart_cmd() 271 cmd->opcode_channel = pucan_cmd_opcode_channel(dev->ctrl_idx, in pcan_usb_fd_build_restart_cmd() 293 cmd->opcode_channel = pucan_cmd_opcode_channel(dev->ctrl_idx, in pcan_usb_fd_set_bus() 329 cmd->opcode_channel = pucan_cmd_opcode_channel(dev->ctrl_idx, in pcan_usb_fd_set_filter_std() 349 cmd->opcode_channel = pucan_cmd_opcode_channel(dev->ctrl_idx, in pcan_usb_fd_set_options() 365 cmd->opcode_channel = pucan_cmd_opcode_channel(dev->ctrl_idx, in pcan_usb_fd_set_can_led() 379 cmd->opcode_channel = pucan_cmd_opcode_channel(dev->ctrl_idx, in pcan_usb_fd_set_clock_domain() 393 cmd->opcode_channel = pucan_cmd_opcode_channel(dev->ctrl_idx, in pcan_usb_fd_set_bittiming_slow() [all...] |
H A D | pcan_usb_core.c | 768 * create one device which is attached to CAN controller #ctrl_idx of the 772 struct usb_interface *intf, int ctrl_idx) in peak_usb_create_dev() 803 dev->ctrl_idx = ctrl_idx; in peak_usb_create_dev() 807 dev->ep_msg_out = peak_usb_adapter->ep_msg_out[ctrl_idx]; in peak_usb_create_dev() 834 netdev->dev_id = ctrl_idx; in peak_usb_create_dev() 867 peak_usb_adapter->name, ctrl_idx, dev->device_number); in peak_usb_create_dev() 771 peak_usb_create_dev(const struct peak_usb_adapter *peak_usb_adapter, struct usb_interface *intf, int ctrl_idx) peak_usb_create_dev() argument
|
H A D | pcan_usb_core.h | 112 unsigned int ctrl_idx; member
|