Home
last modified time | relevance | path

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

12

/Linux-v5.4/include/uapi/linux/can/
Dnetlink.h35 __u32 prop_seg; /* Propagation segment in TQs */ member
/Linux-v5.4/drivers/net/can/
Ddev.c206 bt->prop_seg = tseg1 / 2; in can_calc_bittiming()
207 bt->phase_seg1 = tseg1 - bt->prop_seg; in can_calc_bittiming()
251 tseg1 = bt->prop_seg + bt->phase_seg1; in can_fixup_bittiming()
271 alltseg = bt->prop_seg + bt->phase_seg1 + bt->phase_seg2 + 1; in can_fixup_bittiming()
DKconfig71 arguments "tq", "prop_seg", "phase_seg1", "phase_seg2" and "sjw".
Dxilinx_can.c411 btr1 = (bt->prop_seg + bt->phase_seg1 - 1); in xcan_set_bittiming()
428 btr1 = dbt->prop_seg + dbt->phase_seg1 - 1; in xcan_set_bittiming()
Dsun4i_can.c282 (((bt->prop_seg + bt->phase_seg1 - 1) & 0xf) << 16) | in sun4ican_set_bittiming()
Dti_hecc.c271 can_btc |= ((bit_timing->phase_seg1 + bit_timing->prop_seg - 1) in ti_hecc_set_btc()
/Linux-v5.4/drivers/net/can/usb/
Dgs_usb.c101 u32 prop_seg; member
421 dbt->prop_seg = bt->prop_seg; in gs_usb_set_bittiming()
Ducan.c143 u8 prop_seg; /* Propagation segment in TQs */ member
1253 cmd_set_bittiming->prop_seg = up->can.bittiming.prop_seg; in ucan_set_bittiming()
Dusb_8dev.c254 outmsg.data[0] = bt->prop_seg + bt->phase_seg1; in usb_8dev_cmd_open()
Dems_usb.c914 btr1 = ((bt->prop_seg + bt->phase_seg1 - 1) & 0xf) | in ems_usb_set_bittiming()
/Linux-v5.4/drivers/net/can/ifi_canfd/
Difi_canfd.c665 tseg1 = bt->prop_seg + bt->phase_seg1 - 1; in ifi_canfd_set_bittiming()
676 tseg1 = dbt->prop_seg + dbt->phase_seg1 - 1; in ifi_canfd_set_bittiming()
685 tdc = dbt->brp * (dbt->prop_seg + dbt->phase_seg1); in ifi_canfd_set_bittiming()
/Linux-v5.4/drivers/net/can/peak_canfd/
Dpeak_canfd.c126 cmd->tseg1 = PUCAN_TSLOW_TSEG1(pbt->prop_seg + pbt->phase_seg1 - 1); in pucan_set_timing_slow()
147 cmd->tseg1 = PUCAN_TFAST_TSEG1(pbt->prop_seg + pbt->phase_seg1 - 1); in pucan_set_timing_fast()
/Linux-v5.4/drivers/net/can/softing/
Dsofting_fw.c496 iowrite16(bt->phase_seg1 + bt->prop_seg, in softing_startstop()
536 iowrite16(bt->phase_seg1 + bt->prop_seg, in softing_startstop()
/Linux-v5.4/drivers/net/can/usb/peak_usb/
Dpcan_usb_fd.c399 cmd->tseg1 = PUCAN_TSLOW_TSEG1(bt->prop_seg + bt->phase_seg1 - 1); in pcan_usb_fd_set_bittiming_slow()
418 cmd->tseg1 = PUCAN_TFAST_TSEG1(bt->prop_seg + bt->phase_seg1 - 1); in pcan_usb_fd_set_bittiming_fast()
Dpcan_usb.c215 btr1 = ((bt->prop_seg + bt->phase_seg1 - 1) & 0xf) | in pcan_usb_set_bittiming()
Dpcan_usb_pro.c456 ccbt |= (bt->prop_seg + bt->phase_seg1 - 1) << 16; /* = tseg1 */ in pcan_usb_pro_set_bittiming()
/Linux-v5.4/drivers/net/can/sja1000/
Dsja1000.c251 btr1 = ((bt->prop_seg + bt->phase_seg1 - 1) & 0xf) | in sja1000_set_bittiming()
/Linux-v5.4/drivers/net/can/mscan/
Dmscan.c514 btr1 = (BTR1_SET_TSEG1(bt->prop_seg + bt->phase_seg1) | in mscan_do_set_bittiming()
/Linux-v5.4/drivers/net/can/m_can/
Dm_can.c1021 tseg1 = bt->prop_seg + bt->phase_seg1 - 1; in m_can_set_bittiming()
1031 tseg1 = dbt->prop_seg + dbt->phase_seg1 - 1; in m_can_set_bittiming()
/Linux-v5.4/drivers/net/can/cc770/
Dcc770.c361 btr1 = ((bt->prop_seg + bt->phase_seg1 - 1) & 0xf) | in cc770_set_bittiming()
/Linux-v5.4/drivers/net/can/rcar/
Drcar_canfd.c1189 tseg1 = bt->prop_seg + bt->phase_seg1 - 1; in rcar_canfd_set_bittiming()
1204 tseg1 = dbt->prop_seg + dbt->phase_seg1 - 1; in rcar_canfd_set_bittiming()
Drcar_can.c433 bcr = RCAR_CAN_BCR_TSEG1(bt->phase_seg1 + bt->prop_seg - 1) | in rcar_can_set_bittiming()
/Linux-v5.4/drivers/net/can/usb/kvaser_usb/
Dkvaser_usb_hydra.c1499 int tseg1 = bt->prop_seg + bt->phase_seg1; in kvaser_usb_hydra_set_bittiming()
1533 int tseg1 = dbt->prop_seg + dbt->phase_seg1; in kvaser_usb_hydra_set_data_bittiming()
/Linux-v5.4/drivers/net/can/spi/
Dhi311x.c465 ((bt->phase_seg1 + bt->prop_seg - 1) in hi3110_do_set_bittiming()
Dmcp251x.c548 (bt->prop_seg - 1)); in mcp251x_do_set_bittiming()

12