Searched refs:tdc_const (Results 1 – 9 of 9) sorted by relevance
/Linux-v6.1/drivers/net/can/dev/ |
D | netlink.c | 113 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 …]
|
D | calc_bittiming.c | 178 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/ |
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
|
D | dev.h | 51 const struct can_tdc_const *tdc_const; member
|
/Linux-v6.1/drivers/net/can/usb/etas_es58x/ |
D | es58x_core.h | 313 const struct can_tdc_const *tdc_const; member
|
D | es581_4.c | 472 .tdc_const = NULL,
|
D | es58x_fd.c | 520 .tdc_const = &es58x_tdc_const,
|
D | es58x_core.c | 2056 can->tdc_const = param->tdc_const; in es58x_init_priv()
|
/Linux-v6.1/drivers/net/can/ |
D | xilinx_can.c | 1796 priv->can.tdc_const = &xcan_tdc_const_canfd; in xcan_probe() 1802 priv->can.tdc_const = &xcan_tdc_const_canfd2; in xcan_probe()
|