Home
last modified time | relevance | path

Searched refs:tdco (Results 1 – 9 of 9) sorted by relevance

/linux-6.1.9/drivers/net/can/dev/
Dnetlink.c134 u32 tdco = nla_get_u32(tb_tdc[IFLA_CAN_TDC_TDCO]); in can_tdc_changelink() local
136 if (tdco < tdc_const->tdco_min || tdco > tdc_const->tdco_max) in can_tdc_changelink()
139 tdc.tdco = tdco; in can_tdc_changelink()
470 if (nla_put_u32(skb, IFLA_CAN_TDC_TDCO, tdc->tdco)) in can_tdc_fill_info()
Dcalc_bittiming.c199 tdc->tdco = min(sample_point_in_tc, tdc_const->tdco_max); in can_calc_tdco()
/linux-6.1.9/include/linux/can/
Dbittiming.h80 u32 tdco; member
Ddev.h121 return (s32)priv->tdc.tdco - sample_point_in_tc; in can_get_relative_tdco()
/linux-6.1.9/drivers/net/can/usb/etas_es58x/
Des58x_fd.h118 __le16 tdco; member
Des58x_fd.c434 tx_conf_msg.tdco = cpu_to_le16(priv->can.tdc.tdco); in es58x_fd_enable_channel()
/linux-6.1.9/drivers/net/can/m_can/
Dm_can.c1190 u32 tdco, ssp; in m_can_set_bittiming() local
1200 tdco = (cdev->can.clock.freq / 1000) * in m_can_set_bittiming()
1204 if (tdco > 127) { in m_can_set_bittiming()
1206 tdco); in m_can_set_bittiming()
1207 tdco = 127; in m_can_set_bittiming()
1212 FIELD_PREP(TDCR_TDCO_MASK, tdco)); in m_can_set_bittiming()
/linux-6.1.9/drivers/net/can/spi/mcp251xfd/
Dmcp251xfd-core.c508 s8 tdco; in mcp251xfd_set_bittiming() local
572 tdco = clamp_t(int, dbt->brp * (dbt->prop_seg + dbt->phase_seg1), in mcp251xfd_set_bittiming()
576 FIELD_PREP(MCP251XFD_REG_TDC_TDCO_MASK, tdco); in mcp251xfd_set_bittiming()
/linux-6.1.9/drivers/net/can/
Dxilinx_can.c455 btr0 |= FIELD_PREP(XCAN_BRPR_TDCO_MASK, priv->can.tdc.tdco) | in xcan_set_bittiming()
458 btr0 |= FIELD_PREP(XCAN_2_BRPR_TDCO_MASK, priv->can.tdc.tdco) | in xcan_set_bittiming()