/linux-6.1.9/drivers/net/can/dev/ |
D | bittiming.c | 26 bt->phase_seg2 < btc->tseg2_min || bt->phase_seg2 > btc->tseg2_max) in can_fixup_bittiming() 41 alltseg = bt->prop_seg + bt->phase_seg1 + bt->phase_seg2 + 1; in can_fixup_bittiming()
|
D | calc_bittiming.c | 155 bt->phase_seg2 = tseg2; in can_calc_bittiming()
|
/linux-6.1.9/include/linux/can/ |
D | bittiming.h | 156 return CAN_SYNC_SEG + bt->prop_seg + bt->phase_seg1 + bt->phase_seg2; in can_bit_time()
|
/linux-6.1.9/include/uapi/linux/can/ |
D | netlink.h | 37 __u32 phase_seg2; /* Phase buffer segment 2 in TQs */ member
|
/linux-6.1.9/drivers/net/can/usb/ |
D | gs_usb.c | 152 __le32 phase_seg2; member 666 .phase_seg2 = cpu_to_le32(bt->phase_seg2), in gs_usb_set_bittiming() 686 .phase_seg2 = cpu_to_le32(bt->phase_seg2), in gs_usb_set_data_bittiming()
|
D | ucan.c | 146 u8 phase_seg2; /* Phase buffer segment 2 in TQs */ member 1259 cmd_set_bittiming->phase_seg2 = up->can.bittiming.phase_seg2; in ucan_set_bittiming()
|
D | ems_usb.c | 927 (((bt->phase_seg2 - 1) & 0x7) << 4); in ems_usb_set_bittiming()
|
D | usb_8dev.c | 253 outmsg.data[1] = bt->phase_seg2; in usb_8dev_cmd_open()
|
/linux-6.1.9/drivers/net/can/peak_canfd/ |
D | peak_canfd.c | 128 cmd->tseg2 = PUCAN_TSLOW_TSEG2(pbt->phase_seg2 - 1); in pucan_set_timing_slow() 149 cmd->tseg2 = PUCAN_TFAST_TSEG2(pbt->phase_seg2 - 1); in pucan_set_timing_fast()
|
/linux-6.1.9/drivers/net/can/softing/ |
D | softing_fw.c | 498 iowrite16(bt->phase_seg2, &card->dpram[DPRAM_FCT_PARAM + 8]); in softing_startstop() 538 iowrite16(bt->phase_seg2, &card->dpram[DPRAM_FCT_PARAM + 8]); in softing_startstop()
|
/linux-6.1.9/drivers/net/can/ifi_canfd/ |
D | ifi_canfd.c | 658 tseg2 = bt->phase_seg2 - 2; in ifi_canfd_set_bittiming() 669 tseg2 = dbt->phase_seg2 - 2; in ifi_canfd_set_bittiming()
|
/linux-6.1.9/drivers/net/can/usb/kvaser_usb/ |
D | kvaser_usb_core.c | 542 int tseg2 = bt->phase_seg2; in kvaser_usb_set_bittiming() 587 int tseg2 = dbt->phase_seg2; in kvaser_usb_set_data_bittiming()
|
/linux-6.1.9/drivers/net/can/usb/peak_usb/ |
D | pcan_usb_fd.c | 410 cmd->tseg2 = PUCAN_TSLOW_TSEG2(bt->phase_seg2 - 1); in pcan_usb_fd_set_bittiming_slow() 429 cmd->tseg2 = PUCAN_TFAST_TSEG2(bt->phase_seg2 - 1); in pcan_usb_fd_set_bittiming_fast()
|
D | pcan_usb.c | 281 (((bt->phase_seg2 - 1) & 0x7) << 4); in pcan_usb_set_bittiming()
|
D | pcan_usb_pro.c | 454 ccbt |= (bt->phase_seg2 - 1) << 20; in pcan_usb_pro_set_bittiming()
|
/linux-6.1.9/drivers/net/can/usb/etas_es58x/ |
D | es58x_fd.c | 391 es58x_fd_bt->tseg2 = cpu_to_le16(bt->phase_seg2 - offset); in es58x_fd_convert_bittiming()
|
/linux-6.1.9/drivers/net/can/ctucanfd/ |
D | ctucanfd_base.c | 236 btr |= FIELD_PREP(REG_BTR_PH2, bt->phase_seg2); in ctucan_set_btr() 244 btr |= FIELD_PREP(REG_BTR_FD_PH2_FD, bt->phase_seg2); in ctucan_set_btr()
|
/linux-6.1.9/drivers/net/can/sja1000/ |
D | sja1000.c | 254 (((bt->phase_seg2 - 1) & 0x7) << 4); in sja1000_set_bittiming()
|
/linux-6.1.9/drivers/net/can/ |
D | xilinx_can.c | 441 btr1 |= (bt->phase_seg2 - 1) << priv->devtype.btr_ts2_shift; in xcan_set_bittiming() 466 btr1 |= (dbt->phase_seg2 - 1) << priv->devtype.btr_ts2_shift; in xcan_set_bittiming()
|
D | Kconfig | 79 arguments "tq", "prop_seg", "phase_seg1", "phase_seg2" and "sjw".
|
D | sun4i_can.c | 294 (((bt->phase_seg2 - 1) & 0x7) << 20); in sun4ican_set_bittiming()
|
/linux-6.1.9/drivers/net/can/flexcan/ |
D | flexcan-core.c | 1170 FLEXCAN_CTRL_PSEG2(bt->phase_seg2 - 1) | in flexcan_set_bittiming_ctrl() 1207 FIELD_PREP(FLEXCAN_CBT_EPSEG2_MASK, bt->phase_seg2 - 1); in flexcan_set_bittiming_cbt() 1243 FIELD_PREP(FLEXCAN_FDCBT_FPSEG2_MASK, dbt->phase_seg2 - 1); in flexcan_set_bittiming_cbt()
|
/linux-6.1.9/drivers/net/can/mscan/ |
D | mscan.c | 517 BTR1_SET_TSEG2(bt->phase_seg2) | in mscan_do_set_bittiming()
|
/linux-6.1.9/drivers/net/can/spi/mcp251xfd/ |
D | mcp251xfd-core.c | 549 bt->phase_seg2 - 1) | in mcp251xfd_set_bittiming() 564 dbt->phase_seg2 - 1) | in mcp251xfd_set_bittiming()
|
/linux-6.1.9/drivers/net/can/cc770/ |
D | cc770.c | 363 (((bt->phase_seg2 - 1) & 0x7) << 4); in cc770_set_bittiming()
|