Home
last modified time | relevance | path

Searched refs:bittiming (Results 1 – 25 of 32) sorted by relevance

12

/Linux-v4.19/drivers/net/can/usb/
Ducan.c451 struct can_bittiming_const *bittiming = in ucan_parse_device_info() local
458 strcpy(bittiming->name, "ucan"); in ucan_parse_device_info()
459 bittiming->tseg1_min = device_info->tseg1_min; in ucan_parse_device_info()
460 bittiming->tseg1_max = device_info->tseg1_max; in ucan_parse_device_info()
461 bittiming->tseg2_min = device_info->tseg2_min; in ucan_parse_device_info()
462 bittiming->tseg2_max = device_info->tseg2_max; in ucan_parse_device_info()
463 bittiming->sjw_max = device_info->sjw_max; in ucan_parse_device_info()
464 bittiming->brp_min = le32_to_cpu(device_info->brp_min); in ucan_parse_device_info()
465 bittiming->brp_max = le32_to_cpu(device_info->brp_max); in ucan_parse_device_info()
466 bittiming->brp_inc = le16_to_cpu(device_info->brp_inc); in ucan_parse_device_info()
[all …]
Dmcba_usb.c517 if (bitrate != priv->can.bittiming.bitrate) in mcba_usb_process_ka_can()
521 bitrate, priv->can.bittiming.bitrate); in mcba_usb_process_ka_can()
778 const u16 bitrate_kbps = priv->can.bittiming.bitrate / 1000; in mcba_net_set_bittiming()
Dusb_8dev.c254 struct can_bittiming *bt = &priv->can.bittiming; in usb_8dev_cmd_open()
Dems_usb.c922 struct can_bittiming *bt = &dev->can.bittiming; in ems_usb_set_bittiming()
Dgs_usb.c420 struct can_bittiming *bt = &dev->can.bittiming; in gs_usb_set_bittiming()
Desd_usb2.c904 struct can_bittiming *bt = &priv->can.bittiming; in esd_usb2_set_bittiming()
/Linux-v4.19/drivers/net/can/
Ddev.c797 if (!priv->bittiming.bitrate) { in open_candev()
805 (priv->data_bittiming.bitrate < priv->bittiming.bitrate))) { in open_candev()
947 memcpy(&priv->bittiming, &bt, sizeof(bt)); in can_changelink()
1080 if (priv->bittiming.bitrate) /* IFLA_CAN_BITTIMING */ in can_get_size()
1120 if ((priv->bittiming.bitrate && in can_fill_info()
1122 sizeof(priv->bittiming), &priv->bittiming)) || in can_fill_info()
Dgrcan.c411 struct can_bittiming *bt = &priv->can.bittiming; in grcan_set_bittiming()
920 grcan_reset_timer(&priv->rr_timer, priv->can.bittiming.bitrate); in grcan_initiate_running_reset()
1316 priv->can.bittiming.bitrate); in grcan_txbug_workaround()
Dflexcan.c429 unsigned int timeout = 1000 * 1000 * 10 / priv->can.bittiming.bitrate; in flexcan_chip_freeze()
859 const struct can_bittiming *bt = &priv->can.bittiming; in flexcan_set_bittiming()
Dsun4i_can.c277 struct can_bittiming *bt = &priv->can.bittiming; in sun4ican_set_bittiming()
Dti_hecc.c270 struct can_bittiming *bit_timing = &priv->can.bittiming; in ti_hecc_set_btc()
Dxilinx_can.c337 struct can_bittiming *bt = &priv->can.bittiming; in xcan_set_bittiming()
Dat91_can.c359 const struct can_bittiming *bt = &priv->can.bittiming; in at91_set_bittiming()
/Linux-v4.19/include/linux/can/
Ddev.h39 struct can_bittiming bittiming, data_bittiming; member
/Linux-v4.19/Documentation/networking/
Dcan_ucan_protocol.rst147 Setup bittiming by sending the the structure
148 ``ucan_ctl_payload_t.cmd_set_bittiming`` (see ``struct bittiming`` for
/Linux-v4.19/drivers/net/can/softing/
Dsofting_fw.c504 bt = &priv->can.bittiming; in softing_startstop()
544 bt = &priv->can.bittiming; in softing_startstop()
/Linux-v4.19/drivers/net/can/sja1000/
Dsja1000.c247 struct can_bittiming *bt = &priv->can.bittiming; in sja1000_set_bittiming()
/Linux-v4.19/drivers/net/can/peak_canfd/
Dpeak_canfd.c613 return pucan_set_timing_slow(priv, &priv->can.bittiming); in peak_canfd_set_bittiming()
/Linux-v4.19/drivers/net/can/mscan/
Dmscan.c521 struct can_bittiming *bt = &priv->can.bittiming; in mscan_do_set_bittiming()
/Linux-v4.19/drivers/net/can/usb/peak_usb/
Dpcan_usb_core.c692 struct can_bittiming *bt = &dev->can.bittiming; in peak_usb_set_bittiming()
/Linux-v4.19/drivers/net/can/cc770/
Dcc770.c365 struct can_bittiming *bt = &priv->can.bittiming; in cc770_set_bittiming()
/Linux-v4.19/drivers/net/can/rcar/
Drcar_can.c425 struct can_bittiming *bt = &priv->can.bittiming; in rcar_can_set_bittiming()
/Linux-v4.19/drivers/net/can/spi/
Dhi311x.c472 struct can_bittiming *bt = &priv->can.bittiming; in hi3110_do_set_bittiming()
Dmcp251x.c595 struct can_bittiming *bt = &priv->can.bittiming; in mcp251x_do_set_bittiming()
/Linux-v4.19/drivers/net/can/ifi_canfd/
Difi_canfd.c658 const struct can_bittiming *bt = &priv->can.bittiming; in ifi_canfd_set_bittiming()

12