Home
last modified time | relevance | path

Searched refs:tdcv (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-6.6/drivers/net/can/dev/
H A Dnetlink.c156 u32 tdcv = nla_get_u32(tb_tdc[IFLA_CAN_TDC_TDCV]); in can_tdc_changelink() local
158 if (tdcv < tdc_const->tdcv_min || tdcv > tdc_const->tdcv_max) in can_tdc_changelink()
161 tdc.tdcv = tdcv; in can_tdc_changelink()
494 u32 tdcv; in can_tdc_fill_info() local
498 tdcv = tdc->tdcv; in can_tdc_fill_info()
501 err = priv->do_get_auto_tdcv(dev, &tdcv); in can_tdc_fill_info()
503 if (!err && nla_put_u32(skb, IFLA_CAN_TDC_TDCV, tdcv)) in can_tdc_fill_info()
[all...]
/kernel/linux/linux-6.6/include/linux/can/
H A Dbittiming.h47 * @tdcv: Transmitter Delay Compensation Value. The time needed for
50 * on the RX pin. @tdcv depends on the controller modes:
53 * measures @tdcv for each transmitted CAN FD frame and the
56 * CAN_CTRLMODE_TDC_MANUAL is set: use the fixed provided @tdcv
68 * position such that SSP = @tdcv + @tdco.
74 * feature is enabled if and only if @tdcv is set to zero
79 u32 tdcv; member
89 * the controller does not support manual mode for tdcv
93 * the controller does not support manual mode for tdcv
H A Ddev.h87 int (*do_get_auto_tdcv)(const struct net_device *dev, u32 *tdcv);
/kernel/linux/linux-6.6/drivers/net/can/
H A Dxilinx_can.c1536 * @tdcv: Pointer to TDCV value
1540 static int xcan_get_auto_tdcv(const struct net_device *ndev, u32 *tdcv) in xcan_get_auto_tdcv() argument
1544 *tdcv = FIELD_GET(XCAN_SR_TDCV_MASK, priv->read_reg(priv, XCAN_SR_OFFSET)); in xcan_get_auto_tdcv()

Completed in 5 milliseconds