Home
last modified time | relevance | path

Searched refs:CAN_CTRLMODE_LISTENONLY (Results 1 – 25 of 35) sorted by relevance

12

/linux/drivers/net/can/
H A Dgrcan.c563 !(priv->can.ctrlmode & CAN_CTRLMODE_LISTENONLY)) { in grcan_lost_one_shot_frame()
865 !(priv->can.ctrlmode & CAN_CTRLMODE_LISTENONLY)) in grcan_running_reset()
1000 | (priv->can.ctrlmode & CAN_CTRLMODE_LISTENONLY ? in grcan_start()
1033 if (!(priv->can.ctrlmode & CAN_CTRLMODE_LISTENONLY)) in grcan_set_mode()
1080 if (!(priv->can.ctrlmode & CAN_CTRLMODE_LISTENONLY)) in grcan_open()
1142 !(priv->can.ctrlmode & CAN_CTRLMODE_LISTENONLY)) in grcan_transmit_catch_up()
1355 if (priv->can.ctrlmode & CAN_CTRLMODE_LISTENONLY) in grcan_start_xmit()
1601 CAN_CTRLMODE_LISTENONLY | CAN_CTRLMODE_ONE_SHOT; in grcan_setup_netdev()
H A Dcan327.c586 !!(elm->can.ctrlmode & CAN_CTRLMODE_LISTENONLY)); in can327_handle_prompt()
591 !(elm->can.ctrlmode & CAN_CTRLMODE_LISTENONLY)); in can327_handle_prompt()
1031 elm->can.ctrlmode_supported = CAN_CTRLMODE_LISTENONLY; in can327_ldisc_open()
H A Dsun4i_can.c362 else if (priv->can.ctrlmode & CAN_CTRLMODE_LISTENONLY) in sun4i_can_start()
885 CAN_CTRLMODE_LISTENONLY | in sun4ican_probe()
H A Dat91_can.c412 if (priv->can.ctrlmode & CAN_CTRLMODE_LISTENONLY) in at91_chip_start()
1117 CAN_CTRLMODE_LISTENONLY; in at91_can_probe()
H A Dbxcan.c681 if (priv->can.ctrlmode & CAN_CTRLMODE_LISTENONLY) in bxcan_chip_start()
1009 CAN_CTRLMODE_LISTENONLY | CAN_CTRLMODE_BERR_REPORTING; in bxcan_probe()
/linux/include/uapi/linux/can/
H A Dnetlink.h96 #define CAN_CTRLMODE_LISTENONLY 0x02 /* Listen-only mode */ macro
/linux/drivers/net/can/usb/peak_usb/
H A Dpcan_usb_fd.c302 (dev->can.ctrlmode & CAN_CTRLMODE_LISTENONLY) ? in pcan_usb_fd_build_restart_cmd()
1162 CAN_CTRLMODE_3_SAMPLES | CAN_CTRLMODE_LISTENONLY |
1238 CAN_CTRLMODE_3_SAMPLES | CAN_CTRLMODE_LISTENONLY |
1314 CAN_CTRLMODE_3_SAMPLES | CAN_CTRLMODE_LISTENONLY |
1390 CAN_CTRLMODE_3_SAMPLES | CAN_CTRLMODE_LISTENONLY |
H A Dpcan_usb.c877 dev->can.ctrlmode & CAN_CTRLMODE_LISTENONLY); in pcan_usb_start()
1019 .ctrlmode_supported = CAN_CTRLMODE_3_SAMPLES | CAN_CTRLMODE_LISTENONLY |
H A Dpcan_usb_pro.c817 dev->can.ctrlmode & CAN_CTRLMODE_LISTENONLY); in pcan_usb_pro_start()
1064 .ctrlmode_supported = CAN_CTRLMODE_3_SAMPLES | CAN_CTRLMODE_LISTENONLY |
/linux/include/linux/can/
H A Ddev.h160 if (priv->ctrlmode & CAN_CTRLMODE_LISTENONLY) { in can_dev_dropped_skb()
/linux/drivers/net/can/usb/etas_es58x/
H A Des58x_fd.c415 if (ctrlmode & CAN_CTRLMODE_LISTENONLY) in es58x_fd_enable_channel()
528 .ctrlmode_supported = CAN_CTRLMODE_LOOPBACK | CAN_CTRLMODE_LISTENONLY |
/linux/drivers/net/can/slcan/
H A Dslcan-core.c733 if (sl->can.ctrlmode & CAN_CTRLMODE_LISTENONLY) { in slcan_netdev_open()
832 sl->can.ctrlmode_supported = CAN_CTRLMODE_LISTENONLY; in slcan_open()
/linux/drivers/net/can/sja1000/
H A Dsja1000.c161 if (priv->can.ctrlmode & CAN_CTRLMODE_LISTENONLY) in set_normal_mode()
674 CAN_CTRLMODE_LISTENONLY | in alloc_sja1000dev()
/linux/drivers/net/can/peak_canfd/
H A Dpeak_canfd.c518 if (priv->can.ctrlmode & CAN_CTRLMODE_LISTENONLY) in peak_canfd_start()
823 CAN_CTRLMODE_LISTENONLY | in alloc_peak_canfd_dev()
/linux/drivers/net/can/mscan/
H A Dmscan.c560 if (priv->can.ctrlmode & CAN_CTRLMODE_LISTENONLY) in mscan_open()
687 CAN_CTRLMODE_LISTENONLY; in alloc_mscandev()
/linux/drivers/net/can/usb/
H A Desd_usb.c1024 if (priv->can.ctrlmode & CAN_CTRLMODE_LISTENONLY) in esd_usb_2_set_bittiming()
1116 if (priv->can.ctrlmode & CAN_CTRLMODE_LISTENONLY) in esd_usb_3_set_bittiming()
1212 priv->can.ctrlmode_supported = CAN_CTRLMODE_LISTENONLY | in esd_usb_probe_one_net()
H A Dusb_8dev.c263 if (ctrlmode & CAN_CTRLMODE_LISTENONLY) in usb_8dev_cmd_open()
930 CAN_CTRLMODE_LISTENONLY | in usb_8dev_probe()
H A Dgs_usb.c959 if (ctrlmode & CAN_CTRLMODE_LISTENONLY) in gs_can_open()
993 if (!(dev->can.ctrlmode & CAN_CTRLMODE_LISTENONLY)) in gs_can_open()
1284 dev->can.ctrlmode_supported |= CAN_CTRLMODE_LISTENONLY; in gs_make_candev()
H A Df81604.c328 if (priv->can.ctrlmode & CAN_CTRLMODE_LISTENONLY) in f81604_set_normal_mode()
1164 CAN_CTRLMODE_LISTENONLY | CAN_CTRLMODE_3_SAMPLES | in f81604_probe()
H A Ducan.c471 up->can.ctrlmode_supported |= CAN_CTRLMODE_LISTENONLY; in ucan_parse_device_info()
984 if (up->can.ctrlmode & CAN_CTRLMODE_LISTENONLY) in ucan_open()
/linux/drivers/net/can/c_can/
H A Dc_can_main.c602 if ((priv->can.ctrlmode & CAN_CTRLMODE_LISTENONLY) && in c_can_chip_config()
611 } else if (priv->can.ctrlmode & CAN_CTRLMODE_LISTENONLY) { in c_can_chip_config()
1259 CAN_CTRLMODE_LISTENONLY | in alloc_c_can_dev()
/linux/drivers/net/can/spi/
H A Dhi311x.c434 else if (priv->can.ctrlmode & CAN_CTRLMODE_LISTENONLY) in hi3110_set_normal_mode()
884 CAN_CTRLMODE_LISTENONLY | in hi3110_can_probe()
/linux/drivers/net/can/ifi_canfd/
H A Difi_canfd.c767 if (priv->can.ctrlmode & CAN_CTRLMODE_LISTENONLY) in ifi_canfd_start()
1013 CAN_CTRLMODE_LISTENONLY | in ifi_canfd_plat_probe()
/linux/drivers/net/can/esd/
H A Desd_402_pci-core.c374 CAN_CTRLMODE_LISTENONLY | in pci402_init_cores()
/linux/drivers/net/can/ctucanfd/
H A Dctucanfd_base.c334 mode_reg = (mode->flags & CAN_CTRLMODE_LISTENONLY) ? in ctucan_set_mode()
1368 | CAN_CTRLMODE_LISTENONLY in ctucan_probe_common()

12