Lines Matching refs:channel
189 u8 channel; member
248 u8 channel; member
257 u8 channel; member
273 u8 channel; member
278 u8 channel; member
286 u8 channel; member
295 u8 channel; member
307 u8 channel; member
318 u8 channel; member
323 u8 channel; member
332 u8 channel; member
343 u8 channel; member
365 u8 channel; member
372 u8 channel; member
378 u8 channel; member
433 u8 channel, status, txerr, rxerr; member
479 int channel; member
628 u8 msg_id, int channel) in kvaser_usb_send_simple_msg() argument
639 msg->u.simple.channel = channel; in kvaser_usb_send_simple_msg()
708 u8 channel, tid; in kvaser_usb_tx_acknowledge() local
710 channel = msg->u.tx_acknowledge_header.channel; in kvaser_usb_tx_acknowledge()
713 if (channel >= dev->nchannels) { in kvaser_usb_tx_acknowledge()
715 "Invalid channel number (%d)\n", channel); in kvaser_usb_tx_acknowledge()
719 priv = dev->nets[channel]; in kvaser_usb_tx_acknowledge()
798 msg->u.simple.channel = priv->channel; in kvaser_usb_simple_msg_async()
895 if (es->channel >= dev->nchannels) { in kvaser_usb_rx_error()
897 "Invalid channel number (%d)\n", es->channel); in kvaser_usb_rx_error()
901 priv = dev->nets[es->channel]; in kvaser_usb_rx_error()
985 int channel; in kvaser_usbcan_conditionally_rx_error() local
988 channel = es->channel; in kvaser_usbcan_conditionally_rx_error()
989 if (channel >= dev->nchannels) { in kvaser_usbcan_conditionally_rx_error()
991 "Invalid channel number (%d)\n", channel); in kvaser_usbcan_conditionally_rx_error()
995 priv = dev->nets[channel]; in kvaser_usbcan_conditionally_rx_error()
1024 es.channel = msg->u.usbcan.chip_state_event.channel; in kvaser_usbcan_rx_error()
1032 es.channel = 0; in kvaser_usbcan_rx_error()
1044 es.channel = 1; in kvaser_usbcan_rx_error()
1067 es.channel = msg->u.leaf.error_event.channel; in kvaser_leaf_rx_error()
1074 es.channel = msg->u.leaf.log_message.channel; in kvaser_leaf_rx_error()
1081 es.channel = msg->u.leaf.chip_state_event.channel; in kvaser_leaf_rx_error()
1138 u8 channel = msg->u.rx_can_header.channel; in kvaser_usb_rx_can_msg() local
1141 if (channel >= dev->nchannels) { in kvaser_usb_rx_can_msg()
1143 "Invalid channel number (%d)\n", channel); in kvaser_usb_rx_can_msg()
1147 priv = dev->nets[channel]; in kvaser_usb_rx_can_msg()
1224 u8 channel = msg->u.simple.channel; in kvaser_usb_start_chip_reply() local
1226 if (channel >= dev->nchannels) { in kvaser_usb_start_chip_reply()
1228 "Invalid channel number (%d)\n", channel); in kvaser_usb_start_chip_reply()
1232 priv = dev->nets[channel]; in kvaser_usb_start_chip_reply()
1247 u8 channel = msg->u.simple.channel; in kvaser_usb_stop_chip_reply() local
1249 if (channel >= dev->nchannels) { in kvaser_usb_stop_chip_reply()
1251 "Invalid channel number (%d)\n", channel); in kvaser_usb_stop_chip_reply()
1255 priv = dev->nets[channel]; in kvaser_usb_stop_chip_reply()
1458 msg->u.ctrl_mode.channel = priv->channel; in kvaser_usb_set_opt_mode()
1478 priv->channel); in kvaser_usb_start_chip()
1568 priv->channel); in kvaser_usb_stop_chip()
1590 msg->u.flush_queue.channel = priv->channel; in kvaser_usb_flush_queue()
1611 if (kvaser_usb_send_simple_msg(dev, CMD_RESET_CHIP, priv->channel)) in kvaser_usb_close()
1683 msg->u.tx_can.channel = priv->channel; in kvaser_usb_start_xmit()
1815 msg->u.busparams.channel = priv->channel; in kvaser_usb_set_bittiming()
1884 const struct usb_device_id *id, int channel) in kvaser_usb_init_one() argument
1891 err = kvaser_usb_send_simple_msg(dev, CMD_RESET_CHIP, channel); in kvaser_usb_init_one()
1911 priv->channel = channel; in kvaser_usb_init_one()
1932 netdev->dev_id = channel; in kvaser_usb_init_one()
1934 dev->nets[channel] = priv; in kvaser_usb_init_one()
1940 dev->nets[channel] = NULL; in kvaser_usb_init_one()