Home
last modified time | relevance | path

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

/linux/drivers/net/can/dev/
A Ddev.c312 if (priv->ctrlmode_static & CAN_CTRLMODE_FD) in can_change_mtu()
315 priv->ctrlmode &= ~CAN_CTRLMODE_FD; in can_change_mtu()
320 if (!(priv->ctrlmode_supported & CAN_CTRLMODE_FD) && in can_change_mtu()
321 !(priv->ctrlmode_static & CAN_CTRLMODE_FD)) in can_change_mtu()
324 priv->ctrlmode |= CAN_CTRLMODE_FD; in can_change_mtu()
351 if ((priv->ctrlmode & CAN_CTRLMODE_FD) && in open_candev()
A Dnetlink.c57 is_can_fd = cm->flags & cm->mask & CAN_CTRLMODE_FD; in can_validate()
222 if (!(maskedflags & CAN_CTRLMODE_FD)) in can_changelink()
234 if (priv->ctrlmode & CAN_CTRLMODE_FD) { in can_changelink()
/linux/drivers/net/can/ifi_canfd/
A Difi_canfd.c760 if ((priv->can.ctrlmode & CAN_CTRLMODE_FD) && in ifi_canfd_start()
764 if (!(priv->can.ctrlmode & CAN_CTRLMODE_FD)) in ifi_canfd_start()
904 if ((priv->can.ctrlmode & CAN_CTRLMODE_FD) && can_is_canfd_skb(skb)) { in ifi_canfd_start_xmit()
994 priv->can.ctrlmode = CAN_CTRLMODE_FD; in ifi_canfd_plat_probe()
999 CAN_CTRLMODE_FD | in ifi_canfd_plat_probe()
/linux/drivers/net/can/usb/etas_es58x/
A Des58x_fd.c49 if (ctrlmode & (CAN_CTRLMODE_FD | CAN_CTRLMODE_FD_NON_ISO)) in es58x_fd_cmd_type()
422 } else if (ctrlmode & CAN_CTRLMODE_FD) { in es58x_fd_enable_channel()
528 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/include/uapi/linux/can/
A Dnetlink.h100 #define CAN_CTRLMODE_FD 0x20 /* CAN FD mode */ macro
/linux/drivers/net/can/
A Dflexcan.c1287 if (priv->can.ctrlmode & CAN_CTRLMODE_FD) { in flexcan_set_bittiming_cbt()
1338 if (priv->can.ctrlmode & CAN_CTRLMODE_FD) { in flexcan_set_bittiming_cbt()
1383 if (priv->can.ctrlmode_supported & CAN_CTRLMODE_FD) in flexcan_set_bittiming()
1409 if (priv->can.ctrlmode & CAN_CTRLMODE_FD) in flexcan_ram_init()
1421 if (priv->can.ctrlmode & CAN_CTRLMODE_FD) in flexcan_rx_offload_setup()
1561 if (priv->can.ctrlmode & CAN_CTRLMODE_FD) in flexcan_chip_start()
1608 if (priv->can.ctrlmode_supported & CAN_CTRLMODE_FD) { in flexcan_chip_start()
1615 if (priv->can.ctrlmode & CAN_CTRLMODE_FD) { in flexcan_chip_start()
1769 (priv->can.ctrlmode & CAN_CTRLMODE_FD)) { in flexcan_open()
2222 priv->can.ctrlmode_supported |= CAN_CTRLMODE_FD | in flexcan_probe()
A Dkvaser_pciefd.c546 if (can->can.ctrlmode & CAN_CTRLMODE_FD) { in kvaser_pciefd_setup_controller()
986 CAN_CTRLMODE_FD | in kvaser_pciefd_setup_can_ctrls()
A Dxilinx_can.c1756 priv->can.ctrlmode_supported |= CAN_CTRLMODE_FD; in xcan_probe()
/linux/drivers/net/can/peak_canfd/
A Dpeak_canfd.c585 if (priv->can.ctrlmode & CAN_CTRLMODE_FD) { in peak_canfd_open()
731 if (priv->can.ctrlmode & CAN_CTRLMODE_FD) in peak_canfd_start_xmit()
785 CAN_CTRLMODE_FD | in alloc_peak_canfd_dev()
/linux/include/linux/can/
A Ddev.h145 if (static_mode & CAN_CTRLMODE_FD) in can_set_static_ctrlmode()
/linux/drivers/net/can/usb/peak_usb/
A Dpcan_usb_fd.c1069 .ctrlmode_supported = CAN_CTRLMODE_FD |
1143 .ctrlmode_supported = CAN_CTRLMODE_FD |
1217 .ctrlmode_supported = CAN_CTRLMODE_FD |
1291 .ctrlmode_supported = CAN_CTRLMODE_FD |
/linux/drivers/net/can/m_can/
A Dm_can.c1187 if (cdev->can.ctrlmode & CAN_CTRLMODE_FD) { in m_can_set_bittiming()
1309 if (cdev->can.ctrlmode & CAN_CTRLMODE_FD) in m_can_chip_config()
1321 if (cdev->can.ctrlmode & CAN_CTRLMODE_FD) in m_can_chip_config()
1489 CAN_CTRLMODE_FD | in m_can_dev_setup()
1639 if (cdev->can.ctrlmode & CAN_CTRLMODE_FD) { in m_can_tx_handler()
/linux/drivers/net/can/rcar/
A Drcar_canfd.c1268 if (priv->can.ctrlmode & CAN_CTRLMODE_FD) { in rcar_canfd_set_bittiming()
1438 if (priv->can.ctrlmode & CAN_CTRLMODE_FD) { in rcar_canfd_start_xmit()
1497 if (priv->can.ctrlmode & CAN_CTRLMODE_FD) { in rcar_canfd_rx_pkt()
1523 if (priv->can.ctrlmode & CAN_CTRLMODE_FD) { in rcar_canfd_rx_pkt()
1709 can_set_static_ctrlmode(ndev, CAN_CTRLMODE_FD); in rcar_canfd_channel_probe()
/linux/drivers/net/can/spi/mcp251xfd/
A Dmcp251xfd-core.c448 if (priv->can.ctrlmode & (CAN_CTRLMODE_LISTENONLY | CAN_CTRLMODE_FD)) { in mcp251xfd_ring_alloc()
779 if (!(priv->can.ctrlmode & CAN_CTRLMODE_FD)) in mcp251xfd_set_bittiming()
859 if (priv->can.ctrlmode & (CAN_CTRLMODE_LISTENONLY | CAN_CTRLMODE_FD)) in mcp251xfd_chip_rx_fifo_init_one()
909 if (priv->can.ctrlmode & (CAN_CTRLMODE_LISTENONLY | CAN_CTRLMODE_FD)) in mcp251xfd_chip_fifo_init()
987 else if (priv->can.ctrlmode & CAN_CTRLMODE_FD) in mcp251xfd_get_normal_mode()
2943 CAN_CTRLMODE_FD | CAN_CTRLMODE_FD_NON_ISO | in mcp251xfd_probe()
/linux/drivers/net/can/usb/kvaser_usb/
A Dkvaser_usb_hydra.c1575 if (priv->can.ctrlmode & CAN_CTRLMODE_FD) { in kvaser_usb_hydra_set_data_bittiming()
1749 card_data->ctrlmode_supported |= CAN_CTRLMODE_FD; in kvaser_usb_hydra_get_software_details()
1841 (CAN_CTRLMODE_FD | CAN_CTRLMODE_FD_NON_ISO)) == in kvaser_usb_hydra_set_opt_mode()
A Dkvaser_usb_core.c702 if (priv->can.ctrlmode_supported & CAN_CTRLMODE_FD) { in kvaser_usb_init_one()

Completed in 54 milliseconds