Searched refs:ctrl_idx (Results 1 – 6 of 6) sorted by relevance
/linux-4.1.27/drivers/net/can/usb/peak_usb/ |
D | pcan_usb_pro.c | 371 pcan_msg_add_rec(&um, PCAN_USBPRO_SETBTR, dev->ctrl_idx, ccbt); in pcan_usb_pro_set_bitrate() 392 pcan_msg_add_rec(&um, PCAN_USBPRO_SETBUSACT, dev->ctrl_idx, onoff); in pcan_usb_pro_set_bus() 402 pcan_msg_add_rec(&um, PCAN_USBPRO_SETSILENT, dev->ctrl_idx, onoff); in pcan_usb_pro_set_silent() 412 pcan_msg_add_rec(&um, PCAN_USBPRO_SETFILTR, dev->ctrl_idx, filter_mode); in pcan_usb_pro_set_filter() 423 pcan_msg_add_rec(&um, PCAN_USBPRO_SETLED, dev->ctrl_idx, mode, timeout); in pcan_usb_pro_set_led() 437 pcan_msg_add_rec(&um, PCAN_USBPRO_GETDEVID, dev->ctrl_idx); in pcan_usb_pro_get_device_id() 488 pcan_msg_add_rec(&um, PCAN_USBPRO_SETBUSACT, dev->ctrl_idx, 1); in pcan_usb_pro_restart_async() 529 const unsigned int ctrl_idx = (rx->len >> 4) & 0x0f; in pcan_usb_pro_handle_canmsg() local 530 struct peak_usb_device *dev = usb_if->dev[ctrl_idx]; in pcan_usb_pro_handle_canmsg() 567 const unsigned int ctrl_idx = (er->channel >> 4) & 0x0f; in pcan_usb_pro_handle_error() local [all …]
|
D | pcan_usb_core.c | 757 struct usb_interface *intf, int ctrl_idx) in peak_usb_create_dev() argument 788 dev->ctrl_idx = ctrl_idx; in peak_usb_create_dev() 792 dev->ep_msg_out = peak_usb_adapter->ep_msg_out[ctrl_idx]; in peak_usb_create_dev() 819 netdev->dev_id = ctrl_idx; in peak_usb_create_dev() 852 peak_usb_adapter->name, ctrl_idx, dev->device_number); in peak_usb_create_dev()
|
D | pcan_usb_core.h | 116 unsigned int ctrl_idx; member
|
D | pcan_usb_fd.c | 760 tx_msg->channel_dlc = PUCAN_MSG_CHANNEL_DLC(dev->ctrl_idx, can_dlc); in pcan_usb_fd_encode_msg() 915 pdev->usb_if->dev[dev->ctrl_idx] = dev; in pcan_usb_fd_init() 917 le32_to_cpu(pdev->usb_if->fw_info.dev_id[dev->ctrl_idx]); in pcan_usb_fd_init() 964 if (dev->ctrl_idx == 0) { in pcan_usb_fd_exit()
|
D | pcan_ucan.h | 198 return cpu_to_le16(((dev->ctrl_idx) << 12) | ((opcode) & 0x3ff)); in pucan_cmd_opcode_channel()
|
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_debugfs.c | 1693 int ctrl_idx = ciq_idx - ciq_entries; in sge_qinfo_show() local 1694 int fq_idx = ctrl_idx - ctrl_entries; in sge_qinfo_show() 1809 } else if (ctrl_idx < ctrl_entries) { in sge_qinfo_show() 1810 const struct sge_ctrl_txq *tx = &adap->sge.ctrlq[ctrl_idx * 4]; in sge_qinfo_show() 1811 int n = min(4, adap->params.nports - 4 * ctrl_idx); in sge_qinfo_show()
|