Searched refs:slcan (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/drivers/net/can/
H A Dslcan.c2 * slcan.c - serial line CAN interface driver (using tty line discipline)
8 * slcan.c Author : Oliver Hartkopp <socketcan@hartkopp.net>
68 insmod slcan.ko maxdev=nnn */
70 MODULE_PARM_DESC(maxdev, "Maximum number of slcan interfaces");
79 struct slcan { struct
142 static void slc_bump(struct slcan *sl) slc_bump()
228 static void slcan_unesc(struct slcan *sl, unsigned char s) slcan_unesc()
254 static void slc_encaps(struct slcan *sl, struct can_frame *cf) slc_encaps()
315 struct slcan *sl = container_of(work, struct slcan, tx_work); slcan_transmit()
347 struct slcan *sl = tty->disc_data; slcan_write_wakeup()
355 struct slcan *sl = netdev_priv(dev); slc_xmit()
388 struct slcan *sl = netdev_priv(dev); slc_close()
406 struct slcan *sl = netdev_priv(dev); slc_open()
416 /* Hook the destructor so we can free slcan devs at the right point in time */ slc_free_netdev()
469 struct slcan *sl = (struct slcan *) tty->disc_data; slcan_receive_buf()
495 struct slcan *sl; slc_sync()
511 static struct slcan *slc_alloc(dev_t line) slc_alloc()
516 struct slcan *sl; slc_alloc()
529 sprintf(name, "slcan%d", i); slc_alloc()
559 struct slcan *sl; slcan_open()
569 opens of slcan channels. There are better ways, but it is slcan_open()
634 struct slcan *sl = (struct slcan *) tty->disc_data; slcan_close()
662 struct slcan *sl = (struct slcan *) tty->disc_data; slcan_ioctl()
687 .name = "slcan",
703 pr_info("slcan: serial line CAN interface driver\n"); slcan_init()
704 pr_info("slcan: %d dynamic interface channels.\n", maxdev); slcan_init()
713 printk(KERN_ERR "slcan: can't register line discipline\n"); slcan_init()
723 struct slcan *sl; slcan_exit()
776 printk(KERN_ERR "slcan: can't unregister ldisc (err %d)\n", i); slcan_exit()
H A DMakefile6 obj-$(CONFIG_CAN_SLCAN) += slcan.o

Completed in 100 milliseconds