Home
last modified time | relevance | path

Searched refs:can_bittiming (Results 1 – 25 of 46) sorted by relevance

12

/linux/include/linux/can/
H A Dbittiming.h118 int can_calc_bittiming(const struct net_device *dev, struct can_bittiming *bt,
122 const struct can_bittiming *dbt,
126 can_calc_bittiming(const struct net_device *dev, struct can_bittiming *bt, in can_calc_bittiming()
135 const struct can_bittiming *dbt, in can_calc_tdco()
141 void can_sjw_set_default(struct can_bittiming *bt);
143 int can_sjw_check(const struct net_device *dev, const struct can_bittiming *bt,
146 int can_get_bittiming(const struct net_device *dev, struct can_bittiming *bt,
160 static inline unsigned int can_bit_time(const struct can_bittiming *bt) in can_bit_time()
H A Ddev.h50 struct can_bittiming bittiming, data_bittiming;
117 const struct can_bittiming *dbt = &priv->data_bittiming; in can_get_relative_tdco()
/linux/drivers/net/can/dev/
H A Dbittiming.c9 void can_sjw_set_default(struct can_bittiming *bt) in can_sjw_set_default()
18 int can_sjw_check(const struct net_device *dev, const struct can_bittiming *bt, in can_sjw_check()
49 static int can_fixup_bittiming(const struct net_device *dev, struct can_bittiming *bt, in can_fixup_bittiming()
115 can_validate_bitrate(const struct net_device *dev, const struct can_bittiming *bt, in can_validate_bitrate()
133 int can_get_bittiming(const struct net_device *dev, struct can_bittiming *bt, in can_get_bittiming()
H A Dnetlink.c16 [IFLA_CAN_BITTIMING] = { .len = sizeof(struct can_bittiming) },
20 [IFLA_CAN_DATA_BITTIMING] = { .len = sizeof(struct can_bittiming) },
39 static int can_validate_bittiming(const struct can_bittiming *bt, in can_validate_bittiming()
109 struct can_bittiming bt; in can_validate()
128 struct can_bittiming bt; in can_validate()
246 struct can_bittiming bt; in can_changelink()
304 struct can_bittiming dbt; in can_changelink()
436 size += nla_total_size(sizeof(struct can_bittiming)); in can_get_size()
446 size += nla_total_size(sizeof(struct can_bittiming)); in can_get_size()
H A Dcalc_bittiming.c65 int can_calc_bittiming(const struct net_device *dev, struct can_bittiming *bt, in can_calc_bittiming()
175 const struct can_bittiming *dbt, in can_calc_tdco()
/linux/drivers/net/can/rockchip/
H A Drockchip_canfd-timestamp.c42 const struct can_bittiming *dbt = &priv->can.data_bittiming; in rkcanfd_timestamp_init()
43 const struct can_bittiming *bt = &priv->can.bittiming; in rkcanfd_timestamp_init()
H A Drockchip_canfd-core.c121 const struct can_bittiming *dbt = &priv->can.data_bittiming; in rkcanfd_set_bittiming()
122 const struct can_bittiming *bt = &priv->can.bittiming; in rkcanfd_set_bittiming()
/linux/drivers/net/can/usb/peak_usb/
H A Dpcan_usb_core.h59 struct can_bittiming *bt);
61 struct can_bittiming *bt);
H A Dpcan_usb_core.c752 struct can_bittiming *bt = &dev->can.bittiming; in peak_usb_set_bittiming()
773 struct can_bittiming *bt = &dev->can.data_bittiming; in peak_usb_set_data_bittiming()
H A Dpcan_usb_fd.c419 struct can_bittiming *bt) in pcan_usb_fd_set_bittiming_slow()
440 struct can_bittiming *bt) in pcan_usb_fd_set_bittiming_fast()
/linux/include/uapi/linux/can/
H A Dnetlink.h31 struct can_bittiming { struct
/linux/drivers/net/can/ctucanfd/
H A Dctucanfd_base.c205 static int ctucan_set_btr(struct net_device *ndev, struct can_bittiming *bt, bool nominal) in ctucan_set_btr()
263 struct can_bittiming *bt = &priv->can.bittiming; in ctucan_set_bittiming()
278 struct can_bittiming *dbt = &priv->can.data_bittiming; in ctucan_set_data_bittiming()
293 struct can_bittiming *dbt = &priv->can.data_bittiming; in ctucan_set_secondary_sample_point()
/linux/drivers/net/can/peak_canfd/
H A Dpeak_canfd.c118 const struct can_bittiming *pbt) in pucan_set_timing_slow()
141 const struct can_bittiming *pbt) in pucan_set_timing_fast()
/linux/drivers/net/can/usb/
H A Desd_usb.c1017 struct can_bittiming *bt = &priv->can.bittiming; in esd_usb_2_set_bittiming()
1100 struct can_bittiming *nom_bt = &priv->can.bittiming; in esd_usb_3_set_bittiming()
1101 struct can_bittiming *data_bt = &priv->can.data_bittiming; in esd_usb_3_set_bittiming()
H A Dgs_usb.c709 struct can_bittiming *bt = &dev->can.bittiming; in gs_usb_set_bittiming()
728 struct can_bittiming *bt = &dev->can.data_bittiming; in gs_usb_set_data_bittiming()
/linux/drivers/net/can/ifi_canfd/
H A Difi_canfd.c671 const struct can_bittiming *bt = &priv->can.bittiming; in ifi_canfd_set_bittiming()
672 const struct can_bittiming *dbt = &priv->can.data_bittiming; in ifi_canfd_set_bittiming()
/linux/drivers/net/can/usb/kvaser_usb/
H A Dkvaser_usb_core.c551 struct can_bittiming *bt = &priv->can.bittiming; in kvaser_usb_set_bittiming()
595 struct can_bittiming *dbt = &priv->can.data_bittiming; in kvaser_usb_set_data_bittiming()
/linux/drivers/net/can/spi/mcp251xfd/
H A Dmcp251xfd-core.c230 const struct can_bittiming *bt = &priv->can.bittiming; in __mcp251xfd_chip_set_mode()
511 const struct can_bittiming *bt = &priv->can.bittiming; in mcp251xfd_set_bittiming()
512 const struct can_bittiming *dbt = &priv->can.data_bittiming; in mcp251xfd_set_bittiming()
/linux/drivers/net/can/usb/etas_es58x/
H A Des581_4.c397 struct can_bittiming *bt = &priv->can.bittiming; in es581_4_set_bittiming()
H A Des58x_fd.c381 struct can_bittiming *bt) in es58x_fd_convert_bittiming()
/linux/Documentation/networking/
H A Dcan_ucan_protocol.rst126 ``can_bittiming fields``.
/linux/drivers/net/can/sja1000/
H A Dsja1000.c249 struct can_bittiming *bt = &priv->can.bittiming; in sja1000_set_bittiming()
/linux/drivers/net/can/flexcan/
H A Dflexcan-core.c1185 const struct can_bittiming *bt = &priv->can.bittiming; in flexcan_set_bittiming_ctrl()
1213 struct can_bittiming *bt = &priv->can.bittiming; in flexcan_set_bittiming_cbt()
1214 struct can_bittiming *dbt = &priv->can.data_bittiming; in flexcan_set_bittiming_cbt()
/linux/drivers/net/can/
H A Dxilinx_can.c483 struct can_bittiming *bt = &priv->can.bittiming; in xcan_set_bittiming()
484 struct can_bittiming *dbt = &priv->can.data_bittiming; in xcan_set_bittiming()
/linux/drivers/net/can/softing/
H A Dsofting_fw.c426 const struct can_bittiming *bt; in softing_startstop()

12