Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/net/can/dev/
A 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()
A Dnetlink.c81 is_can_fd = cm->flags & cm->mask & CAN_CTRLMODE_FD; in can_validate()
257 if (!(maskedflags & CAN_CTRLMODE_FD)) in can_changelink()
269 if (priv->ctrlmode & CAN_CTRLMODE_FD) { in can_changelink()
/linux-6.3-rc2/include/uapi/linux/can/
A Dnetlink.h100 #define CAN_CTRLMODE_FD 0x20 /* CAN FD mode */ macro
/linux-6.3-rc2/drivers/net/can/ifi_canfd/
A 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.3-rc2/drivers/net/can/usb/etas_es58x/
A 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 |
A Des58x_core.c2061 if (param->ctrlmode_supported & CAN_CTRLMODE_FD) { in es58x_init_priv()
/linux-6.3-rc2/drivers/net/can/flexcan/
A Dflexcan-core.c1232 if (priv->can.ctrlmode & CAN_CTRLMODE_FD) { in flexcan_set_bittiming_cbt()
1283 if (priv->can.ctrlmode & CAN_CTRLMODE_FD) { in flexcan_set_bittiming_cbt()
1328 if (priv->can.ctrlmode_supported & CAN_CTRLMODE_FD) in flexcan_set_bittiming()
1354 if (priv->can.ctrlmode & CAN_CTRLMODE_FD) in flexcan_ram_init()
1366 if (priv->can.ctrlmode & CAN_CTRLMODE_FD) in flexcan_rx_offload_setup()
1506 if (priv->can.ctrlmode & CAN_CTRLMODE_FD) in flexcan_chip_start()
1553 if (priv->can.ctrlmode_supported & CAN_CTRLMODE_FD) { in flexcan_chip_start()
1560 if (priv->can.ctrlmode & CAN_CTRLMODE_FD) { in flexcan_chip_start()
1714 (priv->can.ctrlmode & CAN_CTRLMODE_FD)) { in flexcan_open()
2182 priv->can.ctrlmode_supported |= CAN_CTRLMODE_FD | in flexcan_probe()
/linux-6.3-rc2/drivers/net/can/peak_canfd/
A 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.3-rc2/include/linux/can/
A Ddev.h139 if (static_mode & CAN_CTRLMODE_FD) in can_set_static_ctrlmode()
/linux-6.3-rc2/drivers/net/can/usb/peak_usb/
A Dpcan_usb_fd.c1161 .ctrlmode_supported = CAN_CTRLMODE_FD |
1237 .ctrlmode_supported = CAN_CTRLMODE_FD |
1313 .ctrlmode_supported = CAN_CTRLMODE_FD |
1389 .ctrlmode_supported = CAN_CTRLMODE_FD |
/linux-6.3-rc2/drivers/net/can/usb/
A Dgs_usb.c845 if (ctrlmode & CAN_CTRLMODE_FD) { in gs_can_open()
925 if (ctrlmode & CAN_CTRLMODE_FD) in gs_can_open()
1237 dev->can.ctrlmode_supported |= CAN_CTRLMODE_FD; in gs_make_candev()
1428 if (dev->canch[i]->can.ctrlmode_supported & CAN_CTRLMODE_FD) { in gs_usb_probe()
/linux-6.3-rc2/drivers/net/can/rcar/
A Drcar_canfd.c1331 if (priv->can.ctrlmode & CAN_CTRLMODE_FD) { in rcar_canfd_set_bittiming()
1511 if ((priv->can.ctrlmode & CAN_CTRLMODE_FD) || is_gen4(gpriv)) { in rcar_canfd_start_xmit()
1570 if ((priv->can.ctrlmode & CAN_CTRLMODE_FD) || is_gen4(gpriv)) { in rcar_canfd_rx_pkt()
1576 if ((priv->can.ctrlmode & CAN_CTRLMODE_FD) && in rcar_canfd_rx_pkt()
1598 if (priv->can.ctrlmode & CAN_CTRLMODE_FD) { in rcar_canfd_rx_pkt()
1793 err = can_set_static_ctrlmode(ndev, CAN_CTRLMODE_FD); in rcar_canfd_channel_probe()
/linux-6.3-rc2/drivers/net/can/m_can/
A Dm_can.c1204 if (cdev->can.ctrlmode & CAN_CTRLMODE_FD) { in m_can_set_bittiming()
1333 if (cdev->can.ctrlmode & CAN_CTRLMODE_FD) in m_can_chip_config()
1345 if (cdev->can.ctrlmode & CAN_CTRLMODE_FD) in m_can_chip_config()
1521 CAN_CTRLMODE_FD | in m_can_dev_setup()
1661 if (cdev->can.ctrlmode & CAN_CTRLMODE_FD) { in m_can_tx_handler()
/linux-6.3-rc2/drivers/net/can/spi/mcp251xfd/
A 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()
A Dmcp251xfd.h679 return priv->can.ctrlmode & (CAN_CTRLMODE_LISTENONLY | CAN_CTRLMODE_FD); in mcp251xfd_is_fd_mode()
/linux-6.3-rc2/drivers/net/can/ctucanfd/
A Dctucanfd_base.c338 mode_reg = (mode->flags & CAN_CTRLMODE_FD) ? in ctucan_set_mode()
1369 | CAN_CTRLMODE_FD in ctucan_probe_common()
/linux-6.3-rc2/drivers/net/can/usb/kvaser_usb/
A Dkvaser_usb_hydra.c1676 if (priv->can.ctrlmode & CAN_CTRLMODE_FD) { in kvaser_usb_hydra_set_data_bittiming()
1865 card_data->ctrlmode_supported |= CAN_CTRLMODE_FD; in kvaser_usb_hydra_get_software_details()
1958 (CAN_CTRLMODE_FD | CAN_CTRLMODE_FD_NON_ISO)) == in kvaser_usb_hydra_set_opt_mode()
A Dkvaser_usb_core.c841 if (priv->can.ctrlmode_supported & CAN_CTRLMODE_FD) { in kvaser_usb_init_one()
/linux-6.3-rc2/drivers/net/can/
A 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()
A Dxilinx_can.c1807 priv->can.ctrlmode_supported |= CAN_CTRLMODE_FD | in xcan_probe()

Completed in 61 milliseconds