Home
last modified time | relevance | path

Searched refs:prop_seg (Results 1 – 25 of 42) sorted by relevance

12

/Linux-v6.1/drivers/net/can/dev/
Dcalc_bittiming.c153 bt->prop_seg = tseg1 / 2; in can_calc_bittiming()
154 bt->phase_seg1 = tseg1 - bt->prop_seg; in can_calc_bittiming()
194 u32 sample_point_in_tc = (CAN_SYNC_SEG + dbt->prop_seg + in can_calc_tdco()
Dbittiming.c21 tseg1 = bt->prop_seg + bt->phase_seg1; in can_fixup_bittiming()
41 alltseg = bt->prop_seg + bt->phase_seg1 + bt->phase_seg2 + 1; in can_fixup_bittiming()
/Linux-v6.1/drivers/net/can/ctucanfd/
Dctucanfd_base.c210 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()
/Linux-v6.1/include/linux/can/
Dbittiming.h156 return CAN_SYNC_SEG + bt->prop_seg + bt->phase_seg1 + bt->phase_seg2; in can_bit_time()
Ddev.h118 s32 sample_point_in_tc = (CAN_SYNC_SEG + dbt->prop_seg + in can_get_relative_tdco()
/Linux-v6.1/include/uapi/linux/can/
Dnetlink.h35 __u32 prop_seg; /* Propagation segment in TQs */ member
/Linux-v6.1/drivers/net/can/usb/
Dgs_usb.c150 __le32 prop_seg; member
664 .prop_seg = cpu_to_le32(bt->prop_seg), in gs_usb_set_bittiming()
684 .prop_seg = cpu_to_le32(bt->prop_seg), in gs_usb_set_data_bittiming()
Ducan.c144 u8 prop_seg; /* Propagation segment in TQs */ member
1257 cmd_set_bittiming->prop_seg = up->can.bittiming.prop_seg; in ucan_set_bittiming()
Dems_usb.c926 btr1 = ((bt->prop_seg + bt->phase_seg1 - 1) & 0xf) | in ems_usb_set_bittiming()
Dusb_8dev.c252 outmsg.data[0] = bt->prop_seg + bt->phase_seg1; in usb_8dev_cmd_open()
/Linux-v6.1/drivers/net/can/ifi_canfd/
Difi_canfd.c657 tseg1 = bt->prop_seg + bt->phase_seg1 - 1; in ifi_canfd_set_bittiming()
668 tseg1 = dbt->prop_seg + dbt->phase_seg1 - 1; in ifi_canfd_set_bittiming()
677 tdc = dbt->brp * (dbt->prop_seg + dbt->phase_seg1); in ifi_canfd_set_bittiming()
/Linux-v6.1/drivers/net/can/flexcan/
Dflexcan-core.c1172 FLEXCAN_CTRL_PROPSEG(bt->prop_seg - 1); in flexcan_set_bittiming_ctrl()
1198 bt->prop_seg += (bt->phase_seg1 - 0x20); in flexcan_set_bittiming_cbt()
1205 FIELD_PREP(FLEXCAN_CBT_EPROPSEG_MASK, bt->prop_seg - 1) | in flexcan_set_bittiming_cbt()
1228 dbt->prop_seg += (dbt->phase_seg1 - 0x8); in flexcan_set_bittiming_cbt()
1241 FIELD_PREP(FLEXCAN_FDCBT_FPROPSEG_MASK, dbt->prop_seg) | in flexcan_set_bittiming_cbt()
1273 dbt->prop_seg + 2) * in flexcan_set_bittiming_cbt()
/Linux-v6.1/drivers/net/can/peak_canfd/
Dpeak_canfd.c127 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()
/Linux-v6.1/drivers/net/can/softing/
Dsofting_fw.c496 iowrite16(bt->phase_seg1 + bt->prop_seg, in softing_startstop()
536 iowrite16(bt->phase_seg1 + bt->prop_seg, in softing_startstop()
/Linux-v6.1/drivers/net/can/usb/peak_usb/
Dpcan_usb_fd.c411 cmd->tseg1 = PUCAN_TSLOW_TSEG1(bt->prop_seg + bt->phase_seg1 - 1); in pcan_usb_fd_set_bittiming_slow()
430 cmd->tseg1 = PUCAN_TFAST_TSEG1(bt->prop_seg + bt->phase_seg1 - 1); in pcan_usb_fd_set_bittiming_fast()
Dpcan_usb.c280 btr1 = ((bt->prop_seg + bt->phase_seg1 - 1) & 0xf) | in pcan_usb_set_bittiming()
Dpcan_usb_pro.c455 ccbt |= (bt->prop_seg + bt->phase_seg1 - 1) << 16; /* = tseg1 */ in pcan_usb_pro_set_bittiming()
/Linux-v6.1/drivers/net/can/spi/mcp251xfd/
Dmcp251xfd-core.c547 bt->prop_seg + bt->phase_seg1 - 1) | in mcp251xfd_set_bittiming()
562 dbt->prop_seg + dbt->phase_seg1 - 1) | in mcp251xfd_set_bittiming()
572 tdco = clamp_t(int, dbt->brp * (dbt->prop_seg + dbt->phase_seg1), in mcp251xfd_set_bittiming()
/Linux-v6.1/drivers/net/can/usb/etas_es58x/
Des58x_fd.c390 cpu_to_le16(bt->prop_seg + bt->phase_seg1 - offset); in es58x_fd_convert_bittiming()
/Linux-v6.1/drivers/net/can/sja1000/
Dsja1000.c253 btr1 = ((bt->prop_seg + bt->phase_seg1 - 1) & 0xf) | in sja1000_set_bittiming()
/Linux-v6.1/drivers/net/can/
Dxilinx_can.c438 btr1 = (bt->prop_seg + bt->phase_seg1 - 1); in xcan_set_bittiming()
463 btr1 = dbt->prop_seg + dbt->phase_seg1 - 1; in xcan_set_bittiming()
DKconfig79 arguments "tq", "prop_seg", "phase_seg1", "phase_seg2" and "sjw".
Dsun4i_can.c293 (((bt->prop_seg + bt->phase_seg1 - 1) & 0xf) << 16) | in sun4ican_set_bittiming()
/Linux-v6.1/drivers/net/can/mscan/
Dmscan.c516 btr1 = (BTR1_SET_TSEG1(bt->prop_seg + bt->phase_seg1) | in mscan_do_set_bittiming()
/Linux-v6.1/drivers/net/can/cc770/
Dcc770.c362 btr1 = ((bt->prop_seg + bt->phase_seg1 - 1) & 0xf) | in cc770_set_bittiming()

12