Home
last modified time | relevance | path

Searched refs:phase_seg2 (Results 1 – 25 of 40) sorted by relevance

12

/linux-6.1.9/drivers/net/can/dev/
Dbittiming.c26 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()
Dcalc_bittiming.c155 bt->phase_seg2 = tseg2; in can_calc_bittiming()
/linux-6.1.9/include/linux/can/
Dbittiming.h156 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/
Dnetlink.h37 __u32 phase_seg2; /* Phase buffer segment 2 in TQs */ member
/linux-6.1.9/drivers/net/can/usb/
Dgs_usb.c152 __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()
Ducan.c146 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()
Dems_usb.c927 (((bt->phase_seg2 - 1) & 0x7) << 4); in ems_usb_set_bittiming()
Dusb_8dev.c253 outmsg.data[1] = bt->phase_seg2; in usb_8dev_cmd_open()
/linux-6.1.9/drivers/net/can/peak_canfd/
Dpeak_canfd.c128 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/
Dsofting_fw.c498 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/
Difi_canfd.c658 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/
Dkvaser_usb_core.c542 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/
Dpcan_usb_fd.c410 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()
Dpcan_usb.c281 (((bt->phase_seg2 - 1) & 0x7) << 4); in pcan_usb_set_bittiming()
Dpcan_usb_pro.c454 ccbt |= (bt->phase_seg2 - 1) << 20; in pcan_usb_pro_set_bittiming()
/linux-6.1.9/drivers/net/can/usb/etas_es58x/
Des58x_fd.c391 es58x_fd_bt->tseg2 = cpu_to_le16(bt->phase_seg2 - offset); in es58x_fd_convert_bittiming()
/linux-6.1.9/drivers/net/can/ctucanfd/
Dctucanfd_base.c236 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/
Dsja1000.c254 (((bt->phase_seg2 - 1) & 0x7) << 4); in sja1000_set_bittiming()
/linux-6.1.9/drivers/net/can/
Dxilinx_can.c441 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()
DKconfig79 arguments "tq", "prop_seg", "phase_seg1", "phase_seg2" and "sjw".
Dsun4i_can.c294 (((bt->phase_seg2 - 1) & 0x7) << 20); in sun4ican_set_bittiming()
/linux-6.1.9/drivers/net/can/flexcan/
Dflexcan-core.c1170 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/
Dmscan.c517 BTR1_SET_TSEG2(bt->phase_seg2) | in mscan_do_set_bittiming()
/linux-6.1.9/drivers/net/can/spi/mcp251xfd/
Dmcp251xfd-core.c549 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/
Dcc770.c363 (((bt->phase_seg2 - 1) & 0x7) << 4); in cc770_set_bittiming()

12