Home
last modified time | relevance | path

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

/drivers/net/can/
Ddev.c183 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()
DKconfig52 arguments "tq", "prop_seg", "phase_seg1", "phase_seg2" and "sjw".
Dbfin_can.c72 ((bt->phase_seg2 - 1) << 4); in bfin_can_set_bittiming()
Dxilinx_can.c275 btr1 |= (bt->phase_seg2 - 1) << XCAN_BTR_TS2_SHIFT; in xcan_set_bittiming()
Drcar_can.c430 RCAR_CAN_BCR_TSEG2(bt->phase_seg2 - 1); in rcar_can_set_bittiming()
Dti_hecc.c293 can_btc = (bit_timing->phase_seg2 - 1) & 0x7; in ti_hecc_set_btc()
Dat91_can.c385 ((bt->phase_seg2 - 1) << 0); in at91_set_bittiming()
Dflexcan.c856 FLEXCAN_CTRL_PSEG2(bt->phase_seg2 - 1) | in flexcan_set_bittiming()
Dpch_can.c796 canbit |= (bt->phase_seg2 - 1) << PCH_BIT_TSEG2_SHIFT; in pch_set_bittiming()
Dgrcan.c424 ps2 = bt->phase_seg2; in grcan_set_bittiming()
Djanz-ican3.c1632 (((bt->phase_seg2 - 1) & 0x7) << 4); in ican3_set_bittiming()
/drivers/net/can/usb/
Dgs_usb.c99 u32 phase_seg2; member
412 dbt->phase_seg2 = bt->phase_seg2; in gs_usb_set_bittiming()
Dusb_8dev.c266 outmsg.data[1] = bt->phase_seg2; in usb_8dev_cmd_open()
Dems_usb.c936 (((bt->phase_seg2 - 1) & 0x7) << 4); in ems_usb_set_bittiming()
Desd_usb2.c932 canbtr |= ((bt->phase_seg2 - 1) & (ESD_USB2_TSEG2_MAX - 1)) in esd_usb2_set_bittiming()
Dkvaser_usb.c1451 msg->u.busparams.tseg2 = bt->phase_seg2; in kvaser_usb_set_bittiming()
/drivers/net/can/softing/
Dsofting_fw.c509 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()
/drivers/net/can/m_can/
Dm_can.c815 tseg2 = bt->phase_seg2 - 1; in m_can_set_bittiming()
824 tseg2 = dbt->phase_seg2 - 1; in m_can_set_bittiming()
/drivers/net/can/usb/peak_usb/
Dpcan_usb.c224 (((bt->phase_seg2 - 1) & 0x7) << 4); in pcan_usb_set_bittiming()
Dpcan_usb_pro.c469 ccbt |= (bt->phase_seg2 - 1) << 20; in pcan_usb_pro_set_bittiming()
/drivers/net/can/sja1000/
Dsja1000.c249 (((bt->phase_seg2 - 1) & 0x7) << 4); in sja1000_set_bittiming()
/drivers/net/can/cc770/
Dcc770.c370 (((bt->phase_seg2 - 1) & 0x7) << 4); in cc770_set_bittiming()
/drivers/net/can/mscan/
Dmscan.c546 BTR1_SET_TSEG2(bt->phase_seg2) | in mscan_do_set_bittiming()
/drivers/net/can/spi/
Dmcp251x.c605 (bt->phase_seg2 - 1)); in mcp251x_do_set_bittiming()
/drivers/net/can/c_can/
Dc_can.c524 tseg2 = bt->phase_seg2 - 1; in c_can_set_bittiming()