Searched refs:tdco (Results 1 – 9 of 9) sorted by relevance
/linux-6.1.9/drivers/net/can/dev/ |
D | netlink.c | 134 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()
|
D | calc_bittiming.c | 199 tdc->tdco = min(sample_point_in_tc, tdc_const->tdco_max); in can_calc_tdco()
|
/linux-6.1.9/include/linux/can/ |
D | bittiming.h | 80 u32 tdco; member
|
D | dev.h | 121 return (s32)priv->tdc.tdco - sample_point_in_tc; in can_get_relative_tdco()
|
/linux-6.1.9/drivers/net/can/usb/etas_es58x/ |
D | es58x_fd.h | 118 __le16 tdco; member
|
D | es58x_fd.c | 434 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/ |
D | m_can.c | 1190 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/ |
D | mcp251xfd-core.c | 508 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/ |
D | xilinx_can.c | 455 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()
|