Searched refs:CAN_CTRLMODE_LOOPBACK (Results 1 – 19 of 19) sorted by relevance
95 #define CAN_CTRLMODE_LOOPBACK 0x01 /* Loopback mode */ macro
360 if (priv->can.ctrlmode & CAN_CTRLMODE_LOOPBACK) in sun4i_can_start()468 if (priv->can.ctrlmode & CAN_CTRLMODE_LOOPBACK) in sun4ican_start_xmit()886 CAN_CTRLMODE_LOOPBACK | in sun4ican_probe()
678 if (priv->can.ctrlmode & CAN_CTRLMODE_LOOPBACK) in bxcan_chip_start()1008 priv->can.ctrlmode_supported = CAN_CTRLMODE_LOOPBACK | in bxcan_probe()
532 if (priv->can.ctrlmode & CAN_CTRLMODE_LOOPBACK) in xcan_chip_start()1803 priv->can.ctrlmode_supported = CAN_CTRLMODE_LOOPBACK | in xcan_probe()
800 if (dev->can.ctrlmode & CAN_CTRLMODE_LOOPBACK) in pcan_usb_encode_msg()813 if (dev->can.ctrlmode & CAN_CTRLMODE_LOOPBACK) in pcan_usb_encode_msg()919 CAN_CTRLMODE_LOOPBACK; in pcan_usb_init()
328 if (priv->can.ctrlmode & CAN_CTRLMODE_LOOPBACK) in sja1000_start_xmit()673 priv->can.ctrlmode_supported = CAN_CTRLMODE_LOOPBACK | in alloc_sja1000dev()
703 if (priv->can.ctrlmode & CAN_CTRLMODE_LOOPBACK) in peak_canfd_start_xmit()825 priv->can.ctrlmode_supported = CAN_CTRLMODE_LOOPBACK | in alloc_peak_canfd_dev()
603 (priv->can.ctrlmode & CAN_CTRLMODE_LOOPBACK)) { in c_can_chip_config()607 } else if (priv->can.ctrlmode & CAN_CTRLMODE_LOOPBACK) { in c_can_chip_config()1258 priv->can.ctrlmode_supported = CAN_CTRLMODE_LOOPBACK | in alloc_c_can_dev()
261 if (ctrlmode & CAN_CTRLMODE_LOOPBACK) in usb_8dev_cmd_open()929 priv->can.ctrlmode_supported = CAN_CTRLMODE_LOOPBACK | in usb_8dev_probe()
469 up->can.ctrlmode_supported |= CAN_CTRLMODE_LOOPBACK; in ucan_parse_device_info()982 if (up->can.ctrlmode & CAN_CTRLMODE_LOOPBACK) in ucan_open()
956 if (ctrlmode & CAN_CTRLMODE_LOOPBACK) in gs_can_open()1287 dev->can.ctrlmode_supported |= CAN_CTRLMODE_LOOPBACK; in gs_make_candev()
432 if (priv->can.ctrlmode & CAN_CTRLMODE_LOOPBACK) in hi3110_set_normal_mode()885 CAN_CTRLMODE_LOOPBACK | in hi3110_can_probe()
834 if (priv->can.ctrlmode & CAN_CTRLMODE_LOOPBACK) { in mcp251x_set_normal_mode()1341 CAN_CTRLMODE_LOOPBACK | CAN_CTRLMODE_LISTENONLY; in mcp251x_can_probe()
770 if (priv->can.ctrlmode & CAN_CTRLMODE_LOOPBACK) in ifi_canfd_start()1012 priv->can.ctrlmode_supported = CAN_CTRLMODE_LOOPBACK | in ifi_canfd_plat_probe()
1275 if (priv->can.ctrlmode & CAN_CTRLMODE_LOOPBACK) { in flexcan_set_bittiming_cbt()1307 if (priv->can.ctrlmode & CAN_CTRLMODE_LOOPBACK) in flexcan_set_bittiming()1489 if (priv->can.ctrlmode & CAN_CTRLMODE_LOOPBACK) in flexcan_chip_start()2153 priv->can.ctrlmode_supported = CAN_CTRLMODE_LOOPBACK | in flexcan_probe()
330 mode_reg = (mode->flags & CAN_CTRLMODE_LOOPBACK) ? in ctucan_set_mode()1367 priv->can.ctrlmode_supported = CAN_CTRLMODE_LOOPBACK in ctucan_probe_common()
528 .ctrlmode_supported = CAN_CTRLMODE_LOOPBACK | CAN_CTRLMODE_LISTENONLY |
656 if (priv->can.ctrlmode & CAN_CTRLMODE_LOOPBACK) in mcp251xfd_get_normal_mode()2086 priv->can.ctrlmode_supported = CAN_CTRLMODE_LOOPBACK | in mcp251xfd_probe()
1384 if (cdev->can.ctrlmode & CAN_CTRLMODE_LOOPBACK) { in m_can_chip_config()1549 cdev->can.ctrlmode_supported = CAN_CTRLMODE_LOOPBACK | in m_can_dev_setup()