Home
last modified time | relevance | path

Searched refs:tdcv (Results 1 – 2 of 2) sorted by relevance

/drivers/net/can/dev/
Dnetlink.c125 u32 tdcv = nla_get_u32(tb_tdc[IFLA_CAN_TDC_TDCV]); in can_tdc_changelink() local
127 if (tdcv < tdc_const->tdcv_min || tdcv > tdc_const->tdcv_max) in can_tdc_changelink()
130 tdc.tdcv = tdcv; in can_tdc_changelink()
459 u32 tdcv; in can_tdc_fill_info() local
463 tdcv = tdc->tdcv; in can_tdc_fill_info()
466 err = priv->do_get_auto_tdcv(dev, &tdcv); in can_tdc_fill_info()
468 if (!err && nla_put_u32(skb, IFLA_CAN_TDC_TDCV, tdcv)) in can_tdc_fill_info()
/drivers/net/can/
Dxilinx_can.c1528 static int xcan_get_auto_tdcv(const struct net_device *ndev, u32 *tdcv) in xcan_get_auto_tdcv() argument
1532 *tdcv = FIELD_GET(XCAN_SR_TDCV_MASK, priv->read_reg(priv, XCAN_SR_OFFSET)); in xcan_get_auto_tdcv()