Lines Matching full:can
2 * lib/route/link/can.c CAN Link Info
4 * This library is free software; you can redistribute it and/or
14 * @defgroup can CAN
18 * \b Link Type Name: "can"
20 * @route_doc{link_can, CAN Documentation}
32 #include <netlink/route/link/can.h>
34 #include <linux/can/netlink.h>
96 NL_DBG(3, "Parsing CAN link info\n"); in can_parse()
282 ret = rtnl_link_set_type(dst, "can"); in can_clone()
336 .io_name = "can",
351 APPBUG("Link is not a CAN link. set type \"can\" first."); \
357 * @name CAN Object
362 * Check if link is a CAN link
365 * @return True if link is a CAN link, otherwise false is returned.
369 return link->l_info_ops && !strcmp(link->l_info_ops->io_name, "can"); in rtnl_link_is_can()
373 * Restart CAN device
391 * Get CAN base frequency
414 * Get CAN state
416 * @arg state CAN bus state
433 * Get CAN RX bus error count
451 * Get CAN TX bus error count
469 * Get CAN bus error count
492 * Get CAN harware-dependent bit-timing constant
516 * Get CAN device bit-timing
518 * @arg bit_timing CAN bit-timing
540 * Set CAN device bit-timing
542 * @arg bit_timing CAN bit-timing
562 * Get CAN device bit-timing
564 * @arg bitrate CAN bitrate
585 * Set CAN device bit-rate
587 * @arg bitrate CAN bitrate
604 * Get CAN device sample point
606 * @arg sp CAN sample point
627 * Set CAN device sample point
629 * @arg sp CAN sample point
646 * Get CAN device restart intervall
669 * Set CAN device restart intervall
688 * Get CAN control mode
690 * @arg ctrlmode CAN control mode
711 * Set a CAN Control Mode
713 * @arg ctrlmode CAN control mode
731 * Unset a CAN Control Mode
733 * @arg ctrlmode CAN control mode