/linux/drivers/net/can/dev/ |
H A D | dev.c | 322 if (ctrlmode_static & CAN_CTRLMODE_FD) in can_change_mtu() 325 priv->ctrlmode &= ~CAN_CTRLMODE_FD; in can_change_mtu() 330 if (!(priv->ctrlmode_supported & CAN_CTRLMODE_FD) && in can_change_mtu() 331 !(ctrlmode_static & CAN_CTRLMODE_FD)) in can_change_mtu() 334 priv->ctrlmode |= CAN_CTRLMODE_FD; in can_change_mtu() 408 if ((priv->ctrlmode & CAN_CTRLMODE_FD) && in open_candev()
|
H A D | netlink.c | 72 is_can_fd = cm->flags & cm->mask & CAN_CTRLMODE_FD; in can_validate() 215 if (!(maskedflags & CAN_CTRLMODE_FD)) in can_changelink() 227 if (priv->ctrlmode & CAN_CTRLMODE_FD) { in can_changelink()
|
/linux/drivers/net/can/ifi_canfd/ |
H A D | ifi_canfd.c | 773 if ((priv->can.ctrlmode & CAN_CTRLMODE_FD) && in ifi_canfd_start() 777 if (!(priv->can.ctrlmode & CAN_CTRLMODE_FD)) in ifi_canfd_start() 914 if ((priv->can.ctrlmode & CAN_CTRLMODE_FD) && can_is_canfd_skb(skb)) { in ifi_canfd_start_xmit() 1009 priv->can.ctrlmode = CAN_CTRLMODE_FD; in ifi_canfd_plat_probe() 1014 CAN_CTRLMODE_FD | in ifi_canfd_plat_probe()
|
/linux/drivers/net/can/usb/etas_es58x/ |
H A D | es58x_fd.c | 50 if (ctrlmode & (CAN_CTRLMODE_FD | CAN_CTRLMODE_FD_NON_ISO)) in es58x_fd_cmd_type() 423 } else if (ctrlmode & CAN_CTRLMODE_FD) { in es58x_fd_enable_channel() 529 CAN_CTRLMODE_3_SAMPLES | CAN_CTRLMODE_FD | CAN_CTRLMODE_FD_NON_ISO |
|
H A D | es58x_core.c | 2061 if (param->ctrlmode_supported & CAN_CTRLMODE_FD) { in es58x_init_priv()
|
/linux/include/uapi/linux/can/ |
H A D | netlink.h | 100 #define CAN_CTRLMODE_FD 0x20 /* CAN FD mode */ macro
|
/linux/drivers/net/can/flexcan/ |
H A D | flexcan-core.c | 1240 if (priv->can.ctrlmode & CAN_CTRLMODE_FD) { in flexcan_set_bittiming_cbt() 1291 if (priv->can.ctrlmode & CAN_CTRLMODE_FD) { in flexcan_set_bittiming_cbt() 1336 if (priv->can.ctrlmode_supported & CAN_CTRLMODE_FD) in flexcan_set_bittiming() 1362 if (priv->can.ctrlmode & CAN_CTRLMODE_FD) in flexcan_ram_init() 1374 if (priv->can.ctrlmode & CAN_CTRLMODE_FD) in flexcan_rx_offload_setup() 1514 if (priv->can.ctrlmode & CAN_CTRLMODE_FD) in flexcan_chip_start() 1561 if (priv->can.ctrlmode_supported & CAN_CTRLMODE_FD) { in flexcan_chip_start() 1568 if (priv->can.ctrlmode & CAN_CTRLMODE_FD) { in flexcan_chip_start() 1722 (priv->can.ctrlmode & CAN_CTRLMODE_FD)) { in flexcan_open() 2191 priv->can.ctrlmode_supported |= CAN_CTRLMODE_FD | in flexcan_probe()
|
/linux/drivers/net/can/peak_canfd/ |
H A D | peak_canfd.c | 582 if (priv->can.ctrlmode & CAN_CTRLMODE_FD) { in peak_canfd_open() 728 if (priv->can.ctrlmode & CAN_CTRLMODE_FD) in peak_canfd_start_xmit() 825 CAN_CTRLMODE_FD | in alloc_peak_canfd_dev()
|
/linux/include/linux/can/ |
H A D | dev.h | 139 if (static_mode & CAN_CTRLMODE_FD) in can_set_static_ctrlmode()
|
/linux/drivers/net/can/usb/peak_usb/ |
H A D | pcan_usb_fd.c | 1161 .ctrlmode_supported = CAN_CTRLMODE_FD | 1237 .ctrlmode_supported = CAN_CTRLMODE_FD | 1313 .ctrlmode_supported = CAN_CTRLMODE_FD | 1389 .ctrlmode_supported = CAN_CTRLMODE_FD |
|
/linux/drivers/net/can/rcar/ |
H A D | rcar_canfd.c | 1326 if (priv->can.ctrlmode & CAN_CTRLMODE_FD) { in rcar_canfd_set_bittiming() 1514 if ((priv->can.ctrlmode & CAN_CTRLMODE_FD) || is_gen4(gpriv)) { in rcar_canfd_start_xmit() 1573 if ((priv->can.ctrlmode & CAN_CTRLMODE_FD) || is_gen4(gpriv)) { in rcar_canfd_rx_pkt() 1579 if ((priv->can.ctrlmode & CAN_CTRLMODE_FD) && in rcar_canfd_rx_pkt() 1601 if (priv->can.ctrlmode & CAN_CTRLMODE_FD) { in rcar_canfd_rx_pkt() 1798 err = can_set_static_ctrlmode(ndev, CAN_CTRLMODE_FD); in rcar_canfd_channel_probe()
|
/linux/drivers/net/can/usb/ |
H A D | gs_usb.c | 889 if (ctrlmode & CAN_CTRLMODE_FD) { in gs_can_open() 971 if (ctrlmode & CAN_CTRLMODE_FD) in gs_can_open() 1296 dev->can.ctrlmode_supported |= CAN_CTRLMODE_FD; in gs_make_candev() 1502 if (parent->canch[i]->can.ctrlmode_supported & CAN_CTRLMODE_FD) { in gs_usb_probe()
|
H A D | esd_usb.c | 1125 if (priv->can.ctrlmode & CAN_CTRLMODE_FD) { in esd_usb_3_set_bittiming() 1219 priv->can.ctrlmode_supported |= CAN_CTRLMODE_FD; in esd_usb_probe_one_net()
|
/linux/drivers/net/can/rockchip/ |
H A D | rockchip_canfd-rx.c | 234 !(priv->can.ctrlmode & CAN_CTRLMODE_FD)) { in rkcanfd_handle_rx_int_one()
|
H A D | rockchip_canfd-core.c | 137 if (!(priv->can.ctrlmode & CAN_CTRLMODE_FD)) in rkcanfd_set_bittiming() 911 priv->can.ctrlmode_supported |= CAN_CTRLMODE_FD; in rkcanfd_probe()
|
/linux/drivers/net/can/m_can/ |
H A D | m_can.c | 1389 if (cdev->can.ctrlmode & CAN_CTRLMODE_FD) { in m_can_set_bittiming() 1529 if (cdev->can.ctrlmode & CAN_CTRLMODE_FD) in m_can_chip_config() 1541 if (cdev->can.ctrlmode & CAN_CTRLMODE_FD) in m_can_chip_config() 1730 CAN_CTRLMODE_FD | in m_can_dev_setup() 1857 if (cdev->can.ctrlmode & CAN_CTRLMODE_FD) { in m_can_tx_handler()
|
/linux/drivers/net/can/spi/mcp251xfd/ |
H A D | mcp251xfd-core.c | 562 if (!(priv->can.ctrlmode & CAN_CTRLMODE_FD)) in mcp251xfd_set_bittiming() 660 else if (priv->can.ctrlmode & CAN_CTRLMODE_FD) in mcp251xfd_get_normal_mode() 2088 CAN_CTRLMODE_FD | CAN_CTRLMODE_FD_NON_ISO | in mcp251xfd_probe()
|
H A D | mcp251xfd.h | 690 return priv->can.ctrlmode & (CAN_CTRLMODE_LISTENONLY | CAN_CTRLMODE_FD); in mcp251xfd_is_fd_mode()
|
/linux/drivers/net/can/ctucanfd/ |
H A D | ctucanfd_base.c | 338 mode_reg = (mode->flags & CAN_CTRLMODE_FD) ? in ctucan_set_mode() 1369 | CAN_CTRLMODE_FD in ctucan_probe_common()
|
/linux/drivers/net/can/usb/kvaser_usb/ |
H A D | kvaser_usb_hydra.c | 1696 if (priv->can.ctrlmode & CAN_CTRLMODE_FD) { in kvaser_usb_hydra_set_data_bittiming() 1885 card_data->ctrlmode_supported |= CAN_CTRLMODE_FD; in kvaser_usb_hydra_get_software_details() 1978 (CAN_CTRLMODE_FD | CAN_CTRLMODE_FD_NON_ISO)) == in kvaser_usb_hydra_set_opt_mode()
|
H A D | kvaser_usb_core.c | 843 if (priv->can.ctrlmode_supported & CAN_CTRLMODE_FD) { in kvaser_usb_init_one()
|
/linux/drivers/net/can/ |
H A D | kvaser_pciefd.c | 580 if (can->can.ctrlmode & CAN_CTRLMODE_FD) { in kvaser_pciefd_setup_controller() 1000 CAN_CTRLMODE_FD | in kvaser_pciefd_setup_can_ctrls()
|
H A D | xilinx_can.c | 1983 priv->can.ctrlmode_supported |= CAN_CTRLMODE_FD | in xcan_probe()
|