/linux/include/linux/can/ |
A D | bittiming.h | 128 u32 *ctrlmode, u32 ctrlmode_supported); 141 u32 *ctrlmode, u32 ctrlmode_supported) in can_calc_tdco() argument
|
A D | dev.h | 71 u32 ctrlmode_supported; /* options that can be modified by netlink */ member
|
/linux/drivers/net/can/usb/peak_usb/ |
A D | pcan_usb_fd.c | 246 if (dev->can.ctrlmode_supported & CAN_CTRLMODE_FD_NON_ISO) { in pcan_usb_fd_build_restart_cmd() 910 dev->can.ctrlmode_supported |= CAN_CTRLMODE_FD_NON_ISO; in pcan_usb_fd_init() 935 dev->can.ctrlmode_supported = ppdev->dev.can.ctrlmode_supported; in pcan_usb_fd_init() 1069 .ctrlmode_supported = CAN_CTRLMODE_FD | 1143 .ctrlmode_supported = CAN_CTRLMODE_FD | 1217 .ctrlmode_supported = CAN_CTRLMODE_FD | 1291 .ctrlmode_supported = CAN_CTRLMODE_FD |
|
A D | pcan_usb_core.h | 43 u32 ctrlmode_supported; member
|
A D | pcan_usb.c | 897 priv->ctrlmode_supported |= CAN_CTRLMODE_ONE_SHOT | in pcan_usb_init() 988 .ctrlmode_supported = CAN_CTRLMODE_3_SAMPLES | CAN_CTRLMODE_LISTENONLY |
|
A D | pcan_usb_core.c | 836 dev->can.ctrlmode_supported = peak_usb_adapter->ctrlmode_supported; in peak_usb_create_dev()
|
/linux/drivers/net/can/usb/kvaser_usb/ |
A D | kvaser_usb_core.c | 680 priv->can.ctrlmode_supported = 0; in kvaser_usb_init_one() 698 priv->can.ctrlmode_supported |= CAN_CTRLMODE_LISTENONLY; in kvaser_usb_init_one() 700 priv->can.ctrlmode_supported |= dev->card_data.ctrlmode_supported; in kvaser_usb_init_one() 702 if (priv->can.ctrlmode_supported & CAN_CTRLMODE_FD) { in kvaser_usb_init_one() 770 dev->card_data.ctrlmode_supported = 0; in kvaser_usb_probe()
|
A D | kvaser_usb.h | 66 u32 ctrlmode_supported; member
|
A D | kvaser_usb_hydra.c | 778 card_data->ctrlmode_supported |= in kvaser_usb_hydra_get_single_capability() 786 card_data->ctrlmode_supported |= in kvaser_usb_hydra_get_single_capability() 1749 card_data->ctrlmode_supported |= CAN_CTRLMODE_FD; in kvaser_usb_hydra_get_software_details() 1752 card_data->ctrlmode_supported |= CAN_CTRLMODE_FD_NON_ISO; in kvaser_usb_hydra_get_software_details()
|
/linux/drivers/net/can/dev/ |
A D | netlink.c | 218 if (maskedflags & ~(priv->ctrlmode_supported | ctrlstatic)) in can_changelink() 312 &priv->ctrlmode, priv->ctrlmode_supported); in can_changelink() 363 if (priv->ctrlmode_supported & CAN_CTRLMODE_TDC_MANUAL) { in can_tdc_get_size() 436 if (priv->ctrlmode_supported & CAN_CTRLMODE_TDC_MANUAL && in can_tdc_fill_info()
|
A D | bittiming.c | 180 u32 *ctrlmode, u32 ctrlmode_supported) in can_calc_tdco() argument 183 if (!tdc_const || !(ctrlmode_supported & CAN_CTRLMODE_TDC_AUTO)) in can_calc_tdco()
|
A D | dev.c | 320 if (!(priv->ctrlmode_supported & CAN_CTRLMODE_FD) && in can_change_mtu()
|
/linux/drivers/net/can/usb/ |
A D | gs_usb.c | 871 dev->can.ctrlmode_supported = CAN_CTRLMODE_CC_LEN8_DLC; in gs_make_candev() 875 dev->can.ctrlmode_supported |= CAN_CTRLMODE_LISTENONLY; in gs_make_candev() 878 dev->can.ctrlmode_supported |= CAN_CTRLMODE_LOOPBACK; in gs_make_candev() 881 dev->can.ctrlmode_supported |= CAN_CTRLMODE_3_SAMPLES; in gs_make_candev() 884 dev->can.ctrlmode_supported |= CAN_CTRLMODE_ONE_SHOT; in gs_make_candev()
|
A D | ucan.c | 466 up->can.ctrlmode_supported = 0; in ucan_parse_device_info() 469 up->can.ctrlmode_supported |= CAN_CTRLMODE_LOOPBACK; in ucan_parse_device_info() 471 up->can.ctrlmode_supported |= CAN_CTRLMODE_LISTENONLY; in ucan_parse_device_info() 473 up->can.ctrlmode_supported |= CAN_CTRLMODE_3_SAMPLES; in ucan_parse_device_info() 475 up->can.ctrlmode_supported |= CAN_CTRLMODE_ONE_SHOT; in ucan_parse_device_info() 477 up->can.ctrlmode_supported |= CAN_CTRLMODE_BERR_REPORTING; in ucan_parse_device_info()
|
A D | esd_usb2.c | 1006 priv->can.ctrlmode_supported = CAN_CTRLMODE_LISTENONLY | in esd_usb2_probe_one_net() 1014 priv->can.ctrlmode_supported |= CAN_CTRLMODE_3_SAMPLES; in esd_usb2_probe_one_net()
|
/linux/drivers/net/can/usb/etas_es58x/ |
A D | es58x_core.h | 316 u32 ctrlmode_supported; member
|
A D | es58x_core.c | 2061 if (param->ctrlmode_supported & CAN_CTRLMODE_FD) { in es58x_init_priv() 2068 can->ctrlmode_supported = param->ctrlmode_supported; in es58x_init_priv()
|
A D | es581_4.c | 474 .ctrlmode_supported = CAN_CTRLMODE_CC_LEN8_DLC,
|
A D | es58x_fd.c | 527 .ctrlmode_supported = CAN_CTRLMODE_LOOPBACK | CAN_CTRLMODE_LISTENONLY |
|
/linux/drivers/net/can/ |
A D | flexcan.c | 1383 if (priv->can.ctrlmode_supported & CAN_CTRLMODE_FD) in flexcan_set_bittiming() 1608 if (priv->can.ctrlmode_supported & CAN_CTRLMODE_FD) { in flexcan_chip_start() 2198 priv->can.ctrlmode_supported = CAN_CTRLMODE_LOOPBACK | in flexcan_probe() 2222 priv->can.ctrlmode_supported |= CAN_CTRLMODE_FD | in flexcan_probe()
|
A D | xilinx_can.c | 1743 priv->can.ctrlmode_supported = CAN_CTRLMODE_LOOPBACK | in xcan_probe() 1756 priv->can.ctrlmode_supported |= CAN_CTRLMODE_FD; in xcan_probe()
|
A D | grcan.c | 1609 priv->can.ctrlmode_supported = in grcan_setup_netdev() 1618 priv->can.ctrlmode_supported |= CAN_CTRLMODE_3_SAMPLES; in grcan_setup_netdev()
|
/linux/drivers/net/can/sja1000/ |
A D | sja1000.c | 634 priv->can.ctrlmode_supported = CAN_CTRLMODE_LOOPBACK | in alloc_sja1000dev()
|
/linux/drivers/net/can/mscan/ |
A D | mscan.c | 685 priv->can.ctrlmode_supported = CAN_CTRLMODE_3_SAMPLES | in alloc_mscandev()
|
/linux/drivers/net/can/peak_canfd/ |
A D | peak_canfd.c | 782 priv->can.ctrlmode_supported = CAN_CTRLMODE_LOOPBACK | in alloc_peak_canfd_dev()
|