Searched refs:tdcv (Results 1 – 4 of 4) sorted by relevance
125 u32 tdcv = nla_get_u32(tb_tdc[IFLA_CAN_TDC_TDCV]); in can_tdc_changelink() local127 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() local463 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()
79 u32 tdcv; member
87 int (*do_get_auto_tdcv)(const struct net_device *dev, u32 *tdcv);
1528 static int xcan_get_auto_tdcv(const struct net_device *ndev, u32 *tdcv) in xcan_get_auto_tdcv() argument1532 *tdcv = FIELD_GET(XCAN_SR_TDCV_MASK, priv->read_reg(priv, XCAN_SR_OFFSET)); in xcan_get_auto_tdcv()