Home
last modified time | relevance | path

Searched refs:CAN_CTRLMODE_FD (Results 1 – 20 of 20) sorted by relevance

/linux-6.1.9/drivers/net/can/dev/
Ddev.c301 if (ctrlmode_static & CAN_CTRLMODE_FD) in can_change_mtu()
304 priv->ctrlmode &= ~CAN_CTRLMODE_FD; in can_change_mtu()
309 if (!(priv->ctrlmode_supported & CAN_CTRLMODE_FD) && in can_change_mtu()
310 !(ctrlmode_static & CAN_CTRLMODE_FD)) in can_change_mtu()
313 priv->ctrlmode |= CAN_CTRLMODE_FD; in can_change_mtu()
390 if ((priv->ctrlmode & CAN_CTRLMODE_FD) && in open_candev()
Dnetlink.c58 is_can_fd = cm->flags & cm->mask & CAN_CTRLMODE_FD; in can_validate()
224 if (!(maskedflags & CAN_CTRLMODE_FD)) in can_changelink()
236 if (priv->ctrlmode & CAN_CTRLMODE_FD) { in can_changelink()
/linux-6.1.9/include/uapi/linux/can/
Dnetlink.h100 #define CAN_CTRLMODE_FD 0x20 /* CAN FD mode */ macro
/linux-6.1.9/drivers/net/can/ifi_canfd/
Difi_canfd.c752 if ((priv->can.ctrlmode & CAN_CTRLMODE_FD) && in ifi_canfd_start()
756 if (!(priv->can.ctrlmode & CAN_CTRLMODE_FD)) in ifi_canfd_start()
893 if ((priv->can.ctrlmode & CAN_CTRLMODE_FD) && can_is_canfd_skb(skb)) { in ifi_canfd_start_xmit()
988 priv->can.ctrlmode = CAN_CTRLMODE_FD; in ifi_canfd_plat_probe()
993 CAN_CTRLMODE_FD | in ifi_canfd_plat_probe()
/linux-6.1.9/drivers/net/can/usb/etas_es58x/
Des58x_fd.c50 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 |
Des58x_core.c2054 if (param->ctrlmode_supported & CAN_CTRLMODE_FD) { in es58x_init_priv()
/linux-6.1.9/drivers/net/can/flexcan/
Dflexcan-core.c1212 if (priv->can.ctrlmode & CAN_CTRLMODE_FD) { in flexcan_set_bittiming_cbt()
1263 if (priv->can.ctrlmode & CAN_CTRLMODE_FD) { in flexcan_set_bittiming_cbt()
1308 if (priv->can.ctrlmode_supported & CAN_CTRLMODE_FD) in flexcan_set_bittiming()
1334 if (priv->can.ctrlmode & CAN_CTRLMODE_FD) in flexcan_ram_init()
1346 if (priv->can.ctrlmode & CAN_CTRLMODE_FD) in flexcan_rx_offload_setup()
1486 if (priv->can.ctrlmode & CAN_CTRLMODE_FD) in flexcan_chip_start()
1533 if (priv->can.ctrlmode_supported & CAN_CTRLMODE_FD) { in flexcan_chip_start()
1540 if (priv->can.ctrlmode & CAN_CTRLMODE_FD) { in flexcan_chip_start()
1694 (priv->can.ctrlmode & CAN_CTRLMODE_FD)) { in flexcan_open()
2159 priv->can.ctrlmode_supported |= CAN_CTRLMODE_FD | in flexcan_probe()
/linux-6.1.9/drivers/net/can/peak_canfd/
Dpeak_canfd.c582 if (priv->can.ctrlmode & CAN_CTRLMODE_FD) { in peak_canfd_open()
728 if (priv->can.ctrlmode & CAN_CTRLMODE_FD) in peak_canfd_start_xmit()
828 CAN_CTRLMODE_FD | in alloc_peak_canfd_dev()
/linux-6.1.9/include/linux/can/
Ddev.h139 if (static_mode & CAN_CTRLMODE_FD) in can_set_static_ctrlmode()
/linux-6.1.9/drivers/net/can/usb/peak_usb/
Dpcan_usb_fd.c1115 .ctrlmode_supported = CAN_CTRLMODE_FD |
1189 .ctrlmode_supported = CAN_CTRLMODE_FD |
1263 .ctrlmode_supported = CAN_CTRLMODE_FD |
1337 .ctrlmode_supported = CAN_CTRLMODE_FD |
/linux-6.1.9/drivers/net/can/rcar/
Drcar_canfd.c1311 if (priv->can.ctrlmode & CAN_CTRLMODE_FD) { in rcar_canfd_set_bittiming()
1494 if ((priv->can.ctrlmode & CAN_CTRLMODE_FD) || is_v3u(gpriv)) { in rcar_canfd_start_xmit()
1553 if ((priv->can.ctrlmode & CAN_CTRLMODE_FD) || is_v3u(gpriv)) { in rcar_canfd_rx_pkt()
1559 if ((priv->can.ctrlmode & CAN_CTRLMODE_FD) && in rcar_canfd_rx_pkt()
1581 if (priv->can.ctrlmode & CAN_CTRLMODE_FD) { in rcar_canfd_rx_pkt()
1774 err = can_set_static_ctrlmode(ndev, CAN_CTRLMODE_FD); in rcar_canfd_channel_probe()
/linux-6.1.9/drivers/net/can/m_can/
Dm_can.c1178 if (cdev->can.ctrlmode & CAN_CTRLMODE_FD) { in m_can_set_bittiming()
1307 if (cdev->can.ctrlmode & CAN_CTRLMODE_FD) in m_can_chip_config()
1319 if (cdev->can.ctrlmode & CAN_CTRLMODE_FD) in m_can_chip_config()
1495 CAN_CTRLMODE_FD | in m_can_dev_setup()
1634 if (cdev->can.ctrlmode & CAN_CTRLMODE_FD) { in m_can_tx_handler()
/linux-6.1.9/drivers/net/can/usb/
Dgs_usb.c845 if (ctrlmode & CAN_CTRLMODE_FD) { in gs_can_open()
1204 dev->can.ctrlmode_supported |= CAN_CTRLMODE_FD; in gs_make_candev()
1389 if (dev->canch[i]->can.ctrlmode_supported & CAN_CTRLMODE_FD) { in gs_usb_probe()
/linux-6.1.9/drivers/net/can/spi/mcp251xfd/
Dmcp251xfd-core.c556 if (!(priv->can.ctrlmode & CAN_CTRLMODE_FD)) in mcp251xfd_set_bittiming()
654 else if (priv->can.ctrlmode & CAN_CTRLMODE_FD) in mcp251xfd_get_normal_mode()
2068 CAN_CTRLMODE_FD | CAN_CTRLMODE_FD_NON_ISO | in mcp251xfd_probe()
Dmcp251xfd.h674 return priv->can.ctrlmode & (CAN_CTRLMODE_LISTENONLY | CAN_CTRLMODE_FD); in mcp251xfd_is_fd_mode()
/linux-6.1.9/drivers/net/can/ctucanfd/
Dctucanfd_base.c338 mode_reg = (mode->flags & CAN_CTRLMODE_FD) ? in ctucan_set_mode()
1369 | CAN_CTRLMODE_FD in ctucan_probe_common()
/linux-6.1.9/drivers/net/can/usb/kvaser_usb/
Dkvaser_usb_hydra.c1665 if (priv->can.ctrlmode & CAN_CTRLMODE_FD) { in kvaser_usb_hydra_set_data_bittiming()
1852 card_data->ctrlmode_supported |= CAN_CTRLMODE_FD; in kvaser_usb_hydra_get_software_details()
1944 (CAN_CTRLMODE_FD | CAN_CTRLMODE_FD_NON_ISO)) == in kvaser_usb_hydra_set_opt_mode()
Dkvaser_usb_core.c843 if (priv->can.ctrlmode_supported & CAN_CTRLMODE_FD) { in kvaser_usb_init_one()
/linux-6.1.9/drivers/net/can/
Dkvaser_pciefd.c544 if (can->can.ctrlmode & CAN_CTRLMODE_FD) { in kvaser_pciefd_setup_controller()
990 CAN_CTRLMODE_FD | in kvaser_pciefd_setup_can_ctrls()
Dxilinx_can.c1807 priv->can.ctrlmode_supported |= CAN_CTRLMODE_FD | in xcan_probe()