Lines Matching defs:dev
133 struct peak_usb_device dev; member
155 static int pcan_usb_send_cmd(struct peak_usb_device *dev, u8 f, u8 n, u8 *p) in pcan_usb_send_cmd()
185 static int pcan_usb_wait_rsp(struct peak_usb_device *dev, u8 f, u8 n, u8 *p) in pcan_usb_wait_rsp()
213 static int pcan_usb_set_sja1000(struct peak_usb_device *dev, u8 mode) in pcan_usb_set_sja1000()
223 static int pcan_usb_set_bus(struct peak_usb_device *dev, u8 onoff) in pcan_usb_set_bus()
233 static int pcan_usb_set_silent(struct peak_usb_device *dev, u8 onoff) in pcan_usb_set_silent()
244 static int pcan_usb_set_err_frame(struct peak_usb_device *dev, u8 err_mask) in pcan_usb_set_err_frame()
253 static int pcan_usb_set_ext_vcc(struct peak_usb_device *dev, u8 onoff) in pcan_usb_set_ext_vcc()
262 static int pcan_usb_set_led(struct peak_usb_device *dev, u8 onoff) in pcan_usb_set_led()
274 static int pcan_usb_set_bittiming(struct peak_usb_device *dev, in pcan_usb_set_bittiming()
298 static int pcan_usb_write_mode(struct peak_usb_device *dev, u8 onoff) in pcan_usb_write_mode()
323 struct peak_usb_device *dev = &pdev->dev; in pcan_usb_restart() local
347 static int pcan_usb_restart_async(struct peak_usb_device *dev, struct urb *urb, in pcan_usb_restart_async()
371 static int pcan_usb_get_serial(struct peak_usb_device *dev, u32 *serial_number) in pcan_usb_get_serial()
387 static int pcan_usb_get_can_channel_id(struct peak_usb_device *dev, u32 *can_ch_id) in pcan_usb_get_can_channel_id()
403 static int pcan_usb_set_can_channel_id(struct peak_usb_device *dev, u32 can_ch_id) in pcan_usb_set_can_channel_id()
724 static int pcan_usb_decode_msg(struct peak_usb_device *dev, u8 *ibuf, u32 lbuf) in pcan_usb_decode_msg()
753 static int pcan_usb_decode_buf(struct peak_usb_device *dev, struct urb *urb) in pcan_usb_decode_buf()
773 static int pcan_usb_encode_msg(struct peak_usb_device *dev, struct sk_buff *skb, in pcan_usb_encode_msg()
842 struct peak_usb_device *dev = netdev_priv(netdev); in pcan_usb_get_berr_counter() local
854 static int pcan_usb_start(struct peak_usb_device *dev) in pcan_usb_start()
885 static int pcan_usb_init(struct peak_usb_device *dev) in pcan_usb_init()
959 struct peak_usb_device *dev = netdev_priv(netdev); in pcan_usb_set_phys_id() local