Searched refs:phase_seg2 (Results 1 – 25 of 25) sorted by relevance
183 bt->phase_seg2 = tseg2; in can_calc_bittiming()230 bt->phase_seg2 < btc->tseg2_min || bt->phase_seg2 > btc->tseg2_max) in can_fixup_bittiming()245 alltseg = bt->prop_seg + bt->phase_seg1 + bt->phase_seg2 + 1; in can_fixup_bittiming()
52 arguments "tq", "prop_seg", "phase_seg1", "phase_seg2" and "sjw".
72 ((bt->phase_seg2 - 1) << 4); in bfin_can_set_bittiming()
275 btr1 |= (bt->phase_seg2 - 1) << XCAN_BTR_TS2_SHIFT; in xcan_set_bittiming()
430 RCAR_CAN_BCR_TSEG2(bt->phase_seg2 - 1); in rcar_can_set_bittiming()
293 can_btc = (bit_timing->phase_seg2 - 1) & 0x7; in ti_hecc_set_btc()
385 ((bt->phase_seg2 - 1) << 0); in at91_set_bittiming()
856 FLEXCAN_CTRL_PSEG2(bt->phase_seg2 - 1) | in flexcan_set_bittiming()
796 canbit |= (bt->phase_seg2 - 1) << PCH_BIT_TSEG2_SHIFT; in pch_set_bittiming()
424 ps2 = bt->phase_seg2; in grcan_set_bittiming()
1632 (((bt->phase_seg2 - 1) & 0x7) << 4); in ican3_set_bittiming()
99 u32 phase_seg2; member412 dbt->phase_seg2 = bt->phase_seg2; in gs_usb_set_bittiming()
266 outmsg.data[1] = bt->phase_seg2; in usb_8dev_cmd_open()
936 (((bt->phase_seg2 - 1) & 0x7) << 4); in ems_usb_set_bittiming()
932 canbtr |= ((bt->phase_seg2 - 1) & (ESD_USB2_TSEG2_MAX - 1)) in esd_usb2_set_bittiming()
1451 msg->u.busparams.tseg2 = bt->phase_seg2; in kvaser_usb_set_bittiming()
509 iowrite16(bt->phase_seg2, &card->dpram[DPRAM_FCT_PARAM + 8]); in softing_startstop()549 iowrite16(bt->phase_seg2, &card->dpram[DPRAM_FCT_PARAM + 8]); in softing_startstop()
815 tseg2 = bt->phase_seg2 - 1; in m_can_set_bittiming()824 tseg2 = dbt->phase_seg2 - 1; in m_can_set_bittiming()
224 (((bt->phase_seg2 - 1) & 0x7) << 4); in pcan_usb_set_bittiming()
469 ccbt |= (bt->phase_seg2 - 1) << 20; in pcan_usb_pro_set_bittiming()
249 (((bt->phase_seg2 - 1) & 0x7) << 4); in sja1000_set_bittiming()
370 (((bt->phase_seg2 - 1) & 0x7) << 4); in cc770_set_bittiming()
546 BTR1_SET_TSEG2(bt->phase_seg2) | in mscan_do_set_bittiming()
605 (bt->phase_seg2 - 1)); in mcp251x_do_set_bittiming()
524 tseg2 = bt->phase_seg2 - 1; in c_can_set_bittiming()