Home
last modified time | relevance | path

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

/linux/drivers/net/can/dev/
H A Dnetlink.c144 const struct can_tdc_const *tdc_const = priv->tdc_const; in can_tdc_changelink() local
147 if (!tdc_const || !can_tdc_is_enabled(priv)) in can_tdc_changelink()
158 if (tdcv < tdc_const->tdcv_min || tdcv > tdc_const->tdcv_max) in can_tdc_changelink()
167 if (tdco < tdc_const->tdco_min || tdco > tdc_const->tdco_max) in can_tdc_changelink()
176 if (tdcf < tdc_const->tdcf_min || tdcf > tdc_const->tdcf_max) in can_tdc_changelink()
349 can_calc_tdco(&priv->tdc, priv->tdc_const, &dbt, in can_changelink()
397 if (!priv->tdc_const) in can_tdc_get_size()
407 if (priv->tdc_const->tdcf_max) { in can_tdc_get_size()
417 if (priv->tdc_const->tdcf_max) in can_tdc_get_size()
472 const struct can_tdc_const *tdc_const = priv->tdc_const; in can_tdc_fill_info() local
[all …]
H A Dcalc_bittiming.c174 void can_calc_tdco(struct can_tdc *tdc, const struct can_tdc_const *tdc_const, in can_calc_tdco() argument
179 if (!tdc_const || !(ctrlmode_supported & CAN_CTRLMODE_TDC_AUTO)) in can_calc_tdco()
193 if (sample_point_in_tc < tdc_const->tdco_min) in can_calc_tdco()
195 tdc->tdco = min(sample_point_in_tc, tdc_const->tdco_max); in can_calc_tdco()
/linux/include/linux/can/
H A 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
H A Ddev.h51 const struct can_tdc_const *tdc_const; member
/linux/drivers/net/can/usb/etas_es58x/
H A Des58x_core.h316 const struct can_tdc_const *tdc_const; member
H A Des581_4.c472 .tdc_const = NULL,
H A Des58x_fd.c520 .tdc_const = &es58x_tdc_const,
H A Des58x_core.c2063 can->tdc_const = param->tdc_const; in es58x_init_priv()
/linux/drivers/net/can/
H A Dxilinx_can.c1972 priv->can.tdc_const = &xcan_tdc_const_canfd; in xcan_probe()
1978 priv->can.tdc_const = &xcan_tdc_const_canfd2; in xcan_probe()