/openbmc/linux/drivers/net/can/dev/ |
H A D | calc_bittiming.c | 155 bt->prop_seg = tseg1 / 2; in can_calc_bittiming() 156 bt->phase_seg1 = tseg1 - bt->prop_seg; in can_calc_bittiming() 190 u32 sample_point_in_tc = (CAN_SYNC_SEG + dbt->prop_seg + in can_calc_tdco()
|
H A D | bittiming.c | 53 const unsigned int tseg1 = bt->prop_seg + bt->phase_seg1; in can_fixup_bittiming()
|
/openbmc/linux/include/linux/can/ |
H A D | bittiming.h | 162 return CAN_SYNC_SEG + bt->prop_seg + bt->phase_seg1 + bt->phase_seg2; in can_bit_time()
|
H A D | dev.h | 118 s32 sample_point_in_tc = (CAN_SYNC_SEG + dbt->prop_seg + in can_get_relative_tdco()
|
/openbmc/linux/drivers/net/can/ctucanfd/ |
H A D | ctucanfd_base.c | 210 u32 prop_seg = bt->prop_seg; in ctucan_set_btr() local 227 prop_seg += phase_seg1 - max_ph1_len; in ctucan_set_btr() 229 bt->prop_seg = prop_seg; in ctucan_set_btr() 234 btr = FIELD_PREP(REG_BTR_PROP, prop_seg); in ctucan_set_btr() 242 btr = FIELD_PREP(REG_BTR_FD_PROP_FD, prop_seg); in ctucan_set_btr()
|
/openbmc/linux/include/uapi/linux/can/ |
H A D | netlink.h | 35 __u32 prop_seg; /* Propagation segment in TQs */ member
|
/openbmc/linux/drivers/net/can/usb/ |
H A D | gs_usb.c | 155 __le32 prop_seg; member 708 .prop_seg = cpu_to_le32(bt->prop_seg), in gs_usb_set_bittiming() 727 .prop_seg = cpu_to_le32(bt->prop_seg), in gs_usb_set_data_bittiming()
|
H A D | ucan.c | 144 u8 prop_seg; /* Propagation segment in TQs */ member 1257 cmd_set_bittiming->prop_seg = up->can.bittiming.prop_seg; in ucan_set_bittiming()
|
H A D | esd_usb.c | 1037 canbtr |= ((bt->prop_seg + bt->phase_seg1 - 1) in esd_usb_2_set_bittiming() 1121 baud_x->nom.tseg1 = cpu_to_le16((nom_bt->prop_seg + nom_bt->phase_seg1) in esd_usb_3_set_bittiming() 1128 baud_x->data.tseg1 = cpu_to_le16((data_bt->prop_seg + data_bt->phase_seg1) in esd_usb_3_set_bittiming()
|
H A D | ems_usb.c | 926 btr1 = ((bt->prop_seg + bt->phase_seg1 - 1) & 0xf) | in ems_usb_set_bittiming()
|
H A D | usb_8dev.c | 252 outmsg.data[0] = bt->prop_seg + bt->phase_seg1; in usb_8dev_cmd_open()
|
/openbmc/linux/drivers/net/can/ifi_canfd/ |
H A D | ifi_canfd.c | 656 tseg1 = bt->prop_seg + bt->phase_seg1 - 1; in ifi_canfd_set_bittiming() 667 tseg1 = dbt->prop_seg + dbt->phase_seg1 - 1; in ifi_canfd_set_bittiming() 676 tdc = dbt->brp * (dbt->prop_seg + dbt->phase_seg1); in ifi_canfd_set_bittiming()
|
/openbmc/linux/drivers/net/can/flexcan/ |
H A D | flexcan-core.c | 1181 FLEXCAN_CTRL_PROPSEG(bt->prop_seg - 1); in flexcan_set_bittiming_ctrl() 1207 bt->prop_seg += (bt->phase_seg1 - 0x20); in flexcan_set_bittiming_cbt() 1214 FIELD_PREP(FLEXCAN_CBT_EPROPSEG_MASK, bt->prop_seg - 1) | in flexcan_set_bittiming_cbt() 1237 dbt->prop_seg += (dbt->phase_seg1 - 0x8); in flexcan_set_bittiming_cbt() 1250 FIELD_PREP(FLEXCAN_FDCBT_FPROPSEG_MASK, dbt->prop_seg) | in flexcan_set_bittiming_cbt() 1282 dbt->prop_seg + 2) * in flexcan_set_bittiming_cbt()
|
/openbmc/linux/drivers/net/can/softing/ |
H A D | softing_fw.c | 496 iowrite16(bt->phase_seg1 + bt->prop_seg, in softing_startstop() 536 iowrite16(bt->phase_seg1 + bt->prop_seg, in softing_startstop()
|
/openbmc/linux/drivers/net/can/peak_canfd/ |
H A D | peak_canfd.c | 127 cmd->tseg1 = PUCAN_TSLOW_TSEG1(pbt->prop_seg + pbt->phase_seg1 - 1); in pucan_set_timing_slow() 148 cmd->tseg1 = PUCAN_TFAST_TSEG1(pbt->prop_seg + pbt->phase_seg1 - 1); in pucan_set_timing_fast()
|
/openbmc/linux/drivers/net/can/usb/kvaser_usb/ |
H A D | kvaser_usb_core.c | 541 int tseg1 = bt->prop_seg + bt->phase_seg1; in kvaser_usb_set_bittiming() 585 int tseg1 = dbt->prop_seg + dbt->phase_seg1; in kvaser_usb_set_data_bittiming()
|
/openbmc/linux/drivers/net/can/spi/mcp251xfd/ |
H A D | mcp251xfd-core.c | 553 bt->prop_seg + bt->phase_seg1 - 1) | in mcp251xfd_set_bittiming() 568 dbt->prop_seg + dbt->phase_seg1 - 1) | in mcp251xfd_set_bittiming() 578 tdco = clamp_t(int, dbt->brp * (dbt->prop_seg + dbt->phase_seg1), in mcp251xfd_set_bittiming()
|
/openbmc/linux/drivers/net/can/usb/etas_es58x/ |
H A D | es58x_fd.c | 390 cpu_to_le16(bt->prop_seg + bt->phase_seg1 - offset); in es58x_fd_convert_bittiming()
|
/openbmc/linux/drivers/net/can/usb/peak_usb/ |
H A D | pcan_usb_fd.c | 429 cmd->tseg1 = PUCAN_TSLOW_TSEG1(bt->prop_seg + bt->phase_seg1 - 1); in pcan_usb_fd_set_bittiming_slow() 448 cmd->tseg1 = PUCAN_TFAST_TSEG1(bt->prop_seg + bt->phase_seg1 - 1); in pcan_usb_fd_set_bittiming_fast()
|
H A D | pcan_usb.c | 281 btr1 = ((bt->prop_seg + bt->phase_seg1 - 1) & 0xf) | in pcan_usb_set_bittiming()
|
/openbmc/linux/drivers/net/can/sja1000/ |
H A D | sja1000.c | 253 btr1 = ((bt->prop_seg + bt->phase_seg1 - 1) & 0xf) | in sja1000_set_bittiming()
|
/openbmc/linux/drivers/net/can/ |
H A D | xilinx_can.c | 444 btr1 = (bt->prop_seg + bt->phase_seg1 - 1); in xcan_set_bittiming() 469 btr1 = dbt->prop_seg + dbt->phase_seg1 - 1; in xcan_set_bittiming()
|
H A D | sun4i_can.c | 297 (((bt->prop_seg + bt->phase_seg1 - 1) & 0xf) << 16) | in sun4ican_set_bittiming()
|
H A D | Kconfig | 79 arguments "tq", "prop_seg", "phase_seg1", "phase_seg2" and "sjw".
|
/openbmc/linux/drivers/net/can/mscan/ |
H A D | mscan.c | 516 btr1 = (BTR1_SET_TSEG1(bt->prop_seg + bt->phase_seg1) | in mscan_do_set_bittiming()
|