Searched refs:prop_seg (Results 1 - 27 of 27) sorted by relevance

/linux-4.4.14/include/uapi/linux/can/
H A Dnetlink.h34 __u32 prop_seg; /* Propagation segment in TQs */ member in struct:can_bittiming
48 __u32 tseg1_min; /* Time segement 1 = prop_seg + phase_seg1 */
/linux-4.4.14/drivers/net/can/
H A Ddev.c180 bt->prop_seg = tseg1 / 2; can_calc_bittiming()
181 bt->phase_seg1 = tseg1 - bt->prop_seg; can_calc_bittiming()
212 * Checks the validity of the specified bit-timing parameters prop_seg,
224 tseg1 = bt->prop_seg + bt->phase_seg1; can_fixup_bittiming()
244 alltseg = bt->prop_seg + bt->phase_seg1 + bt->phase_seg2 + 1; can_fixup_bittiming()
263 * alternatively the CAN timing parameters (tq, prop_seg, etc.) are can_get_bittiming()
H A Dbfin_can.c179 timing = ((bt->sjw - 1) << 8) | (bt->prop_seg + bt->phase_seg1 - 1) | bfin_can_set_bittiming()
H A Dsun4i_can.c282 (((bt->prop_seg + bt->phase_seg1 - 1) & 0xf) << 16) | sun4ican_set_bittiming()
H A Dat91_can.c364 ((bt->prop_seg - 1) << 8) | ((bt->phase_seg1 - 1) << 4) | at91_set_bittiming()
H A Dflexcan.c793 FLEXCAN_CTRL_PROPSEG(bt->prop_seg - 1); flexcan_set_bittiming()
H A Dpch_can.c795 canbit |= (bt->phase_seg1 + bt->prop_seg - 1) << PCH_BIT_TSEG1_SHIFT; pch_set_bittiming()
H A Drcar_can.c428 bcr = RCAR_CAN_BCR_TSEG1(bt->phase_seg1 + bt->prop_seg - 1) | rcar_can_set_bittiming()
H A Dti_hecc.c294 can_btc |= ((bit_timing->phase_seg1 + bit_timing->prop_seg - 1) ti_hecc_set_btc()
H A Dxilinx_can.c272 btr1 = (bt->prop_seg + bt->phase_seg1 - 1); xcan_set_bittiming()
H A Dgrcan.c423 ps1 = (bt->prop_seg + bt->phase_seg1) - 1; /* tseg1 - 1 */ grcan_set_bittiming()
H A Djanz-ican3.c774 btr1 = ((bt->prop_seg + bt->phase_seg1 - 1) & 0xf) | ican3_set_bus_state()
/linux-4.4.14/drivers/net/can/usb/
H A Dgs_usb.c97 u32 prop_seg; member in struct:gs_device_bittiming
406 dbt->prop_seg = bt->prop_seg; gs_usb_set_bittiming()
H A Dusb_8dev.c265 outmsg.data[0] = bt->prop_seg + bt->phase_seg1; usb_8dev_cmd_open()
H A Dems_usb.c928 btr1 = ((bt->prop_seg + bt->phase_seg1 - 1) & 0xf) | ems_usb_set_bittiming()
H A Desd_usb2.c925 canbtr |= ((bt->prop_seg + bt->phase_seg1 - 1) esd_usb2_set_bittiming()
H A Dkvaser_usb.c1818 msg->u.busparams.tseg1 = bt->prop_seg + bt->phase_seg1; kvaser_usb_set_bittiming()
/linux-4.4.14/drivers/net/can/m_can/
H A Dm_can.c780 .tseg1_min = 2, /* Time segment 1 = prop_seg + phase_seg1 */
792 .tseg1_min = 2, /* Time segment 1 = prop_seg + phase_seg1 */
812 tseg1 = bt->prop_seg + bt->phase_seg1 - 1; m_can_set_bittiming()
821 tseg1 = dbt->prop_seg + dbt->phase_seg1 - 1; m_can_set_bittiming()
/linux-4.4.14/drivers/net/can/softing/
H A Dsofting_fw.c507 iowrite16(bt->phase_seg1 + bt->prop_seg, softing_startstop()
547 iowrite16(bt->phase_seg1 + bt->prop_seg, softing_startstop()
/linux-4.4.14/drivers/net/can/c_can/
H A Dc_can.c201 .tseg1_min = 2, /* Time segment 1 = prop_seg + phase_seg1 */
500 tseg1 = bt->prop_seg + bt->phase_seg1 - 1; c_can_set_bittiming()
/linux-4.4.14/drivers/net/can/usb/peak_usb/
H A Dpcan_usb_fd.c405 cmd->tseg1 = PUCAN_TSLOW_TSEG1(bt->prop_seg + bt->phase_seg1 - 1); pcan_usb_fd_set_bittiming_slow()
424 cmd->tseg1 = PUCAN_TFAST_TSEG1(bt->prop_seg + bt->phase_seg1 - 1); pcan_usb_fd_set_bittiming_fast()
H A Dpcan_usb.c223 btr1 = ((bt->prop_seg + bt->phase_seg1 - 1) & 0xf) | pcan_usb_set_bittiming()
H A Dpcan_usb_pro.c462 ccbt |= (bt->prop_seg + bt->phase_seg1 - 1) << 16; /* = tseg1 */ pcan_usb_pro_set_bittiming()
/linux-4.4.14/drivers/net/can/cc770/
H A Dcc770.c369 btr1 = ((bt->prop_seg + bt->phase_seg1 - 1) & 0xf) | cc770_set_bittiming()
/linux-4.4.14/drivers/net/can/mscan/
H A Dmscan.c525 btr1 = (BTR1_SET_TSEG1(bt->prop_seg + bt->phase_seg1) | mscan_do_set_bittiming()
/linux-4.4.14/drivers/net/can/sja1000/
H A Dsja1000.c251 btr1 = ((bt->prop_seg + bt->phase_seg1 - 1) & 0xf) | sja1000_set_bittiming()
/linux-4.4.14/drivers/net/can/spi/
H A Dmcp251x.c604 (bt->prop_seg - 1)); mcp251x_do_set_bittiming()

Completed in 1603 milliseconds