Home
last modified time | relevance | path

Searched refs:tdc_const (Results 1 – 9 of 9) sorted by relevance

/Linux-v6.1/drivers/net/can/dev/
Dnetlink.c113 const struct can_tdc_const *tdc_const = priv->tdc_const; in can_tdc_changelink() local
116 if (!tdc_const || !can_tdc_is_enabled(priv)) in can_tdc_changelink()
127 if (tdcv < tdc_const->tdcv_min || tdcv > tdc_const->tdcv_max) in can_tdc_changelink()
136 if (tdco < tdc_const->tdco_min || tdco > tdc_const->tdco_max) in can_tdc_changelink()
145 if (tdcf < tdc_const->tdcf_min || tdcf > tdc_const->tdcf_max) in can_tdc_changelink()
314 can_calc_tdco(&priv->tdc, priv->tdc_const, &priv->data_bittiming, in can_changelink()
362 if (!priv->tdc_const) in can_tdc_get_size()
372 if (priv->tdc_const->tdcf_max) { in can_tdc_get_size()
382 if (priv->tdc_const->tdcf_max) in can_tdc_get_size()
437 const struct can_tdc_const *tdc_const = priv->tdc_const; in can_tdc_fill_info() local
[all …]
Dcalc_bittiming.c178 void can_calc_tdco(struct can_tdc *tdc, const struct can_tdc_const *tdc_const, in can_calc_tdco() argument
183 if (!tdc_const || !(ctrlmode_supported & CAN_CTRLMODE_TDC_AUTO)) in can_calc_tdco()
197 if (sample_point_in_tc < tdc_const->tdco_min) in can_calc_tdco()
199 tdc->tdco = min(sample_point_in_tc, tdc_const->tdco_max); in can_calc_tdco()
/Linux-v6.1/include/linux/can/
Dbittiming.h121 void can_calc_tdco(struct can_tdc *tdc, const struct can_tdc_const *tdc_const,
134 can_calc_tdco(struct can_tdc *tdc, const struct can_tdc_const *tdc_const, in can_calc_tdco() argument
Ddev.h51 const struct can_tdc_const *tdc_const; member
/Linux-v6.1/drivers/net/can/usb/etas_es58x/
Des58x_core.h313 const struct can_tdc_const *tdc_const; member
Des581_4.c472 .tdc_const = NULL,
Des58x_fd.c520 .tdc_const = &es58x_tdc_const,
Des58x_core.c2056 can->tdc_const = param->tdc_const; in es58x_init_priv()
/Linux-v6.1/drivers/net/can/
Dxilinx_can.c1796 priv->can.tdc_const = &xcan_tdc_const_canfd; in xcan_probe()
1802 priv->can.tdc_const = &xcan_tdc_const_canfd2; in xcan_probe()