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()
984 int channel; in kvaser_usbcan_conditionally_rx_error() local
987 channel = es->channel; in kvaser_usbcan_conditionally_rx_error()
988 if (channel >= dev->nchannels) { in kvaser_usbcan_conditionally_rx_error()
990 "Invalid channel number (%d)\n", channel); in kvaser_usbcan_conditionally_rx_error()
994 priv = dev->nets[channel]; in kvaser_usbcan_conditionally_rx_error()
1023 es.channel = msg->u.usbcan.chip_state_event.channel; in kvaser_usbcan_rx_error()
1031 es.channel = 0; in kvaser_usbcan_rx_error()
1043 es.channel = 1; in kvaser_usbcan_rx_error()
1066 es.channel = msg->u.leaf.error_event.channel; in kvaser_leaf_rx_error()
1073 es.channel = msg->u.leaf.log_message.channel; in kvaser_leaf_rx_error()
1080 es.channel = msg->u.leaf.chip_state_event.channel; in kvaser_leaf_rx_error()
1137 u8 channel = msg->u.rx_can_header.channel; in kvaser_usb_rx_can_msg() local
1140 if (channel >= dev->nchannels) { in kvaser_usb_rx_can_msg()
1142 "Invalid channel number (%d)\n", channel); in kvaser_usb_rx_can_msg()
1146 priv = dev->nets[channel]; in kvaser_usb_rx_can_msg()
1223 u8 channel = msg->u.simple.channel; in kvaser_usb_start_chip_reply() local
1225 if (channel >= dev->nchannels) { in kvaser_usb_start_chip_reply()
1227 "Invalid channel number (%d)\n", channel); in kvaser_usb_start_chip_reply()
1231 priv = dev->nets[channel]; in kvaser_usb_start_chip_reply()
1246 u8 channel = msg->u.simple.channel; in kvaser_usb_stop_chip_reply() local
1248 if (channel >= dev->nchannels) { in kvaser_usb_stop_chip_reply()
1250 "Invalid channel number (%d)\n", channel); in kvaser_usb_stop_chip_reply()
1254 priv = dev->nets[channel]; in kvaser_usb_stop_chip_reply()
1457 msg->u.ctrl_mode.channel = priv->channel; in kvaser_usb_set_opt_mode()
1477 priv->channel); in kvaser_usb_start_chip()
1567 priv->channel); in kvaser_usb_stop_chip()
1589 msg->u.flush_queue.channel = priv->channel; in kvaser_usb_flush_queue()
1610 if (kvaser_usb_send_simple_msg(dev, CMD_RESET_CHIP, priv->channel)) in kvaser_usb_close()
1682 msg->u.tx_can.channel = priv->channel; in kvaser_usb_start_xmit()
1814 msg->u.busparams.channel = priv->channel; in kvaser_usb_set_bittiming()
1883 const struct usb_device_id *id, int channel) in kvaser_usb_init_one() argument
1890 err = kvaser_usb_send_simple_msg(dev, CMD_RESET_CHIP, channel); in kvaser_usb_init_one()
1910 priv->channel = channel; in kvaser_usb_init_one()
1931 netdev->dev_id = channel; in kvaser_usb_init_one()
1933 dev->nets[channel] = priv; in kvaser_usb_init_one()
1939 dev->nets[channel] = NULL; in kvaser_usb_init_one()