/linux/include/uapi/linux/can/ |
H A D | netlink.h | 95 #define CAN_CTRLMODE_LOOPBACK 0x01 /* Loopback mode */ macro
|
/linux/drivers/net/can/ |
H A D | sun4i_can.c | 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()
|
H A D | bxcan.c | 678 if (priv->can.ctrlmode & CAN_CTRLMODE_LOOPBACK) in bxcan_chip_start() 1008 priv->can.ctrlmode_supported = CAN_CTRLMODE_LOOPBACK | in bxcan_probe()
|
H A D | xilinx_can.c | 594 if (priv->can.ctrlmode & CAN_CTRLMODE_LOOPBACK) in xcan_chip_start() 1956 priv->can.ctrlmode_supported = CAN_CTRLMODE_LOOPBACK | in xcan_probe()
|
/linux/drivers/net/can/usb/peak_usb/ |
H A D | pcan_usb.c | 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()
|
/linux/drivers/net/can/sja1000/ |
H A D | sja1000.c | 328 if (priv->can.ctrlmode & CAN_CTRLMODE_LOOPBACK) in sja1000_start_xmit() 673 priv->can.ctrlmode_supported = CAN_CTRLMODE_LOOPBACK | in alloc_sja1000dev()
|
/linux/drivers/net/can/rockchip/ |
H A D | rockchip_canfd-rx.c | 246 if (tx_done && !(priv->can.ctrlmode & CAN_CTRLMODE_LOOPBACK)) in rkcanfd_handle_rx_int_one()
|
H A D | rockchip_canfd-core.c | 279 if (priv->can.ctrlmode & CAN_CTRLMODE_LOOPBACK) in rkcanfd_chip_start() 908 priv->can.ctrlmode_supported = CAN_CTRLMODE_LOOPBACK | in rkcanfd_probe()
|
/linux/drivers/net/can/peak_canfd/ |
H A D | peak_canfd.c | 703 if (priv->can.ctrlmode & CAN_CTRLMODE_LOOPBACK) in peak_canfd_start_xmit() 822 priv->can.ctrlmode_supported = CAN_CTRLMODE_LOOPBACK | in alloc_peak_canfd_dev()
|
/linux/drivers/net/can/c_can/ |
H A D | c_can_main.c | 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()
|
/linux/drivers/net/can/usb/ |
H A D | usb_8dev.c | 261 if (ctrlmode & CAN_CTRLMODE_LOOPBACK) in usb_8dev_cmd_open() 929 priv->can.ctrlmode_supported = CAN_CTRLMODE_LOOPBACK | in usb_8dev_probe()
|
H A D | ucan.c | 469 up->can.ctrlmode_supported |= CAN_CTRLMODE_LOOPBACK; in ucan_parse_device_info() 982 if (up->can.ctrlmode & CAN_CTRLMODE_LOOPBACK) in ucan_open()
|
H A D | gs_usb.c | 956 if (ctrlmode & CAN_CTRLMODE_LOOPBACK) in gs_can_open() 1287 dev->can.ctrlmode_supported |= CAN_CTRLMODE_LOOPBACK; in gs_make_candev()
|
/linux/drivers/net/can/spi/ |
H A D | hi311x.c | 432 if (priv->can.ctrlmode & CAN_CTRLMODE_LOOPBACK) in hi3110_set_normal_mode() 883 CAN_CTRLMODE_LOOPBACK | in hi3110_can_probe()
|
H A D | mcp251x.c | 833 if (priv->can.ctrlmode & CAN_CTRLMODE_LOOPBACK) { in mcp251x_set_normal_mode() 1339 CAN_CTRLMODE_LOOPBACK | CAN_CTRLMODE_LISTENONLY; in mcp251x_can_probe()
|
/linux/drivers/net/can/ifi_canfd/ |
H A D | ifi_canfd.c | 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()
|
/linux/drivers/net/can/esd/ |
H A D | esd_402_pci-core.c | 373 priv->can.ctrlmode_supported = CAN_CTRLMODE_LOOPBACK | in pci402_init_cores()
|
/linux/drivers/net/can/flexcan/ |
H A D | flexcan-core.c | 1294 if (priv->can.ctrlmode & CAN_CTRLMODE_LOOPBACK) { in flexcan_set_bittiming_cbt() 1326 if (priv->can.ctrlmode & CAN_CTRLMODE_LOOPBACK) in flexcan_set_bittiming() 1508 if (priv->can.ctrlmode & CAN_CTRLMODE_LOOPBACK) in flexcan_chip_start() 2168 priv->can.ctrlmode_supported = CAN_CTRLMODE_LOOPBACK | in flexcan_probe()
|
/linux/drivers/net/can/ctucanfd/ |
H A D | ctucanfd_base.c | 330 mode_reg = (mode->flags & CAN_CTRLMODE_LOOPBACK) ? in ctucan_set_mode() 1367 priv->can.ctrlmode_supported = CAN_CTRLMODE_LOOPBACK in ctucan_probe_common()
|
/linux/drivers/net/can/usb/etas_es58x/ |
H A D | es58x_fd.c | 528 .ctrlmode_supported = CAN_CTRLMODE_LOOPBACK | CAN_CTRLMODE_LISTENONLY |
|
/linux/drivers/net/can/spi/mcp251xfd/ |
H A D | mcp251xfd-core.c | 656 if (priv->can.ctrlmode & CAN_CTRLMODE_LOOPBACK) in mcp251xfd_get_normal_mode() 2086 priv->can.ctrlmode_supported = CAN_CTRLMODE_LOOPBACK | in mcp251xfd_probe()
|
/linux/drivers/net/can/m_can/ |
H A D | m_can.c | 1546 if (cdev->can.ctrlmode & CAN_CTRLMODE_LOOPBACK) { in m_can_chip_config() 1727 cdev->can.ctrlmode_supported = CAN_CTRLMODE_LOOPBACK | in m_can_dev_setup()
|