Home
last modified time | relevance | path

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

12

/drivers/net/can/usb/
Dgs_usb.c98 u32 phase_seg1; member
412 dbt->phase_seg1 = bt->phase_seg1; in gs_usb_set_bittiming()
Dems_usb.c942 btr1 = ((bt->prop_seg + bt->phase_seg1 - 1) & 0xf) | in ems_usb_set_bittiming()
Dusb_8dev.c266 outmsg.data[0] = bt->prop_seg + bt->phase_seg1; in usb_8dev_cmd_open()
Desd_usb2.c941 canbtr |= ((bt->prop_seg + bt->phase_seg1 - 1) in esd_usb2_set_bittiming()
/drivers/net/can/
Ddev.c182 bt->phase_seg1 = tseg1 - bt->prop_seg; in can_calc_bittiming()
225 tseg1 = bt->prop_seg + bt->phase_seg1; 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".
Dsun4i_can.c282 (((bt->prop_seg + bt->phase_seg1 - 1) & 0xf) << 16) | in sun4ican_set_bittiming()
Dbfin_can.c179 timing = ((bt->sjw - 1) << 8) | (bt->prop_seg + bt->phase_seg1 - 1) | in bfin_can_set_bittiming()
Drcar_can.c431 bcr = RCAR_CAN_BCR_TSEG1(bt->phase_seg1 + bt->prop_seg - 1) | in rcar_can_set_bittiming()
Dti_hecc.c294 can_btc |= ((bit_timing->phase_seg1 + bit_timing->prop_seg - 1) in ti_hecc_set_btc()
Dxilinx_can.c286 btr1 = (bt->prop_seg + bt->phase_seg1 - 1); in xcan_set_bittiming()
Dat91_can.c364 ((bt->prop_seg - 1) << 8) | ((bt->phase_seg1 - 1) << 4) | in at91_set_bittiming()
Dflexcan.c796 FLEXCAN_CTRL_PSEG1(bt->phase_seg1 - 1) | in flexcan_set_bittiming()
Dpch_can.c795 canbit |= (bt->phase_seg1 + bt->prop_seg - 1) << PCH_BIT_TSEG1_SHIFT; in pch_set_bittiming()
Dgrcan.c423 ps1 = (bt->prop_seg + bt->phase_seg1) - 1; /* tseg1 - 1 */ in grcan_set_bittiming()
/drivers/net/can/softing/
Dsofting_fw.c507 iowrite16(bt->phase_seg1 + bt->prop_seg, in softing_startstop()
547 iowrite16(bt->phase_seg1 + bt->prop_seg, in softing_startstop()
/drivers/net/can/usb/peak_usb/
Dpcan_usb_fd.c406 cmd->tseg1 = PUCAN_TSLOW_TSEG1(bt->prop_seg + bt->phase_seg1 - 1); in pcan_usb_fd_set_bittiming_slow()
425 cmd->tseg1 = PUCAN_TFAST_TSEG1(bt->prop_seg + bt->phase_seg1 - 1); in pcan_usb_fd_set_bittiming_fast()
Dpcan_usb.c223 btr1 = ((bt->prop_seg + bt->phase_seg1 - 1) & 0xf) | in pcan_usb_set_bittiming()
Dpcan_usb_pro.c462 ccbt |= (bt->prop_seg + bt->phase_seg1 - 1) << 16; /* = tseg1 */ in pcan_usb_pro_set_bittiming()
/drivers/net/can/m_can/
Dm_can.c809 tseg1 = bt->prop_seg + bt->phase_seg1 - 1; in m_can_set_bittiming()
818 tseg1 = dbt->prop_seg + dbt->phase_seg1 - 1; in m_can_set_bittiming()
/drivers/net/can/sja1000/
Dsja1000.c251 btr1 = ((bt->prop_seg + bt->phase_seg1 - 1) & 0xf) | in sja1000_set_bittiming()
/drivers/net/can/mscan/
Dmscan.c524 btr1 = (BTR1_SET_TSEG1(bt->prop_seg + bt->phase_seg1) | in mscan_do_set_bittiming()
/drivers/net/can/cc770/
Dcc770.c369 btr1 = ((bt->prop_seg + bt->phase_seg1 - 1) & 0xf) | in cc770_set_bittiming()
/drivers/net/can/c_can/
Dc_can.c516 tseg1 = bt->prop_seg + bt->phase_seg1 - 1; in c_can_set_bittiming()
/drivers/net/can/spi/
Dmcp251x.c603 ((bt->phase_seg1 - 1) << CNF2_PS1_SHIFT) | in mcp251x_do_set_bittiming()

12