Home
last modified time | relevance | path

Searched refs:ctrl_idx (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/net/can/usb/peak_usb/
H A Dpcan_usb_pro.c367 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()
[all …]
H A Dpcan_usb_fd.c265 prc->opcode_channel = pucan_cmd_opcode_channel(dev->ctrl_idx, in pcan_usb_fd_build_restart_cmd()
284 pucan_cmd_opcode_channel(dev->ctrl_idx, in pcan_usb_fd_build_restart_cmd()
286 pucan_cmd_opcode_channel(dev->ctrl_idx, in pcan_usb_fd_build_restart_cmd()
302 cmd->opcode_channel = pucan_cmd_opcode_channel(dev->ctrl_idx, in pcan_usb_fd_build_restart_cmd()
324 cmd->opcode_channel = pucan_cmd_opcode_channel(dev->ctrl_idx, in pcan_usb_fd_set_bus()
360 cmd->opcode_channel = pucan_cmd_opcode_channel(dev->ctrl_idx, in pcan_usb_fd_set_filter_std()
380 cmd->opcode_channel = pucan_cmd_opcode_channel(dev->ctrl_idx, in pcan_usb_fd_set_options()
396 cmd->opcode_channel = pucan_cmd_opcode_channel(dev->ctrl_idx, in pcan_usb_fd_set_can_led()
410 cmd->opcode_channel = pucan_cmd_opcode_channel(dev->ctrl_idx, in pcan_usb_fd_set_clock_domain()
424 cmd->opcode_channel = pucan_cmd_opcode_channel(dev->ctrl_idx, in pcan_usb_fd_set_bittiming_slow()
[all …]
H A Dpcan_usb_core.c913 struct usb_interface *intf, int ctrl_idx) in peak_usb_create_dev() argument
944 dev->ctrl_idx = ctrl_idx; in peak_usb_create_dev()
948 dev->ep_msg_out = peak_usb_adapter->ep_msg_out[ctrl_idx]; in peak_usb_create_dev()
981 netdev->dev_id = ctrl_idx; in peak_usb_create_dev()
1013 peak_usb_adapter->name, ctrl_idx, dev->can_channel_id); in peak_usb_create_dev()
H A Dpcan_usb_core.h113 unsigned int ctrl_idx; member
/linux/Documentation/ABI/testing/
H A Dsysfs-bus-coresight-devices-tpdm61 What: /sys/bus/coresight/devices/<tpdm-name>/dsb_edge/ctrl_idx
77 "ctrl_idx" should be written first to configure the index
92 number. Before writing data to this sysfs file, "ctrl_idx" should
/linux/drivers/hwtracing/coresight/
H A Dcoresight-tpdm.c759 static DEVICE_ATTR_RW(ctrl_idx);