Searched refs:tdc_const (Results 1 – 9 of 9) sorted by relevance
/linux/drivers/net/can/dev/ |
H A D | netlink.c | 144 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 D | calc_bittiming.c | 174 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 D | bittiming.h | 121 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 D | dev.h | 51 const struct can_tdc_const *tdc_const; member
|
/linux/drivers/net/can/usb/etas_es58x/ |
H A D | es58x_core.h | 316 const struct can_tdc_const *tdc_const; member
|
H A D | es581_4.c | 472 .tdc_const = NULL,
|
H A D | es58x_fd.c | 520 .tdc_const = &es58x_tdc_const,
|
H A D | es58x_core.c | 2063 can->tdc_const = param->tdc_const; in es58x_init_priv()
|
/linux/drivers/net/can/ |
H A D | xilinx_can.c | 1972 priv->can.tdc_const = &xcan_tdc_const_canfd; in xcan_probe() 1978 priv->can.tdc_const = &xcan_tdc_const_canfd2; in xcan_probe()
|