Home
last modified time | relevance | path

Searched refs:CAN_CTRLMODE_LOOPBACK (Results 1 – 22 of 22) sorted by relevance

/linux/include/uapi/linux/can/
H A Dnetlink.h95 #define CAN_CTRLMODE_LOOPBACK 0x01 /* Loopback mode */ macro
/linux/drivers/net/can/
H A Dsun4i_can.c360 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 Dbxcan.c678 if (priv->can.ctrlmode & CAN_CTRLMODE_LOOPBACK) in bxcan_chip_start()
1008 priv->can.ctrlmode_supported = CAN_CTRLMODE_LOOPBACK | in bxcan_probe()
H A Dxilinx_can.c594 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 Dpcan_usb.c800 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 Dsja1000.c328 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 Drockchip_canfd-rx.c246 if (tx_done && !(priv->can.ctrlmode & CAN_CTRLMODE_LOOPBACK)) in rkcanfd_handle_rx_int_one()
H A Drockchip_canfd-core.c279 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 Dpeak_canfd.c703 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 Dc_can_main.c603 (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 Dusb_8dev.c261 if (ctrlmode & CAN_CTRLMODE_LOOPBACK) in usb_8dev_cmd_open()
929 priv->can.ctrlmode_supported = CAN_CTRLMODE_LOOPBACK | in usb_8dev_probe()
H A Ducan.c469 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 Dgs_usb.c956 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 Dhi311x.c432 if (priv->can.ctrlmode & CAN_CTRLMODE_LOOPBACK) in hi3110_set_normal_mode()
883 CAN_CTRLMODE_LOOPBACK | in hi3110_can_probe()
H A Dmcp251x.c833 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 Difi_canfd.c770 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 Desd_402_pci-core.c373 priv->can.ctrlmode_supported = CAN_CTRLMODE_LOOPBACK | in pci402_init_cores()
/linux/drivers/net/can/flexcan/
H A Dflexcan-core.c1294 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 Dctucanfd_base.c330 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 Des58x_fd.c528 .ctrlmode_supported = CAN_CTRLMODE_LOOPBACK | CAN_CTRLMODE_LISTENONLY |
/linux/drivers/net/can/spi/mcp251xfd/
H A Dmcp251xfd-core.c656 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 Dm_can.c1546 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()