/drivers/net/can/ |
D | dev.c | 186 if (!bt->sjw || !btc->sjw_max) in can_calc_bittiming() 187 bt->sjw = 1; in can_calc_bittiming() 190 if (bt->sjw > btc->sjw_max) in can_calc_bittiming() 191 bt->sjw = btc->sjw_max; in can_calc_bittiming() 193 if (tseg2 < bt->sjw) in can_calc_bittiming() 194 bt->sjw = tseg2; in can_calc_bittiming() 226 if (!bt->sjw) in can_fixup_bittiming() 227 bt->sjw = 1; in can_fixup_bittiming() 228 if (bt->sjw > btc->sjw_max || in can_fixup_bittiming()
|
D | Kconfig | 52 arguments "tq", "prop_seg", "phase_seg1", "phase_seg2" and "sjw".
|
D | sun4i_can.c | 281 (((bt->sjw - 1) & 0x3) << 14) | in sun4ican_set_bittiming()
|
D | bfin_can.c | 179 timing = ((bt->sjw - 1) << 8) | (bt->prop_seg + bt->phase_seg1 - 1) | in bfin_can_set_bittiming()
|
D | rcar_can.c | 432 RCAR_CAN_BCR_BPR(bt->brp - 1) | RCAR_CAN_BCR_SJW(bt->sjw - 1) | in rcar_can_set_bittiming()
|
D | ti_hecc.c | 303 can_btc |= ((bit_timing->sjw - 1) & 0x3) << 8; in ti_hecc_set_btc()
|
D | xilinx_can.c | 292 btr1 |= (bt->sjw - 1) << XCAN_BTR_SJW_SHIFT; in xcan_set_bittiming()
|
D | at91_can.c | 363 ((bt->brp - 1) << 16) | ((bt->sjw - 1) << 12) | in at91_set_bittiming()
|
/drivers/net/can/mscan/ |
D | mscan.h | 261 #define BTR0_SET_SJW(sjw) ((((sjw) - 1) << BTR0_SJW_SHIFT) & \ argument
|
D | mscan.c | 523 btr0 = BTR0_SET_BRP(bt->brp) | BTR0_SET_SJW(bt->sjw); in mscan_do_set_bittiming()
|
/drivers/net/can/m_can/ |
D | m_can.c | 804 u16 brp, sjw, tseg1, tseg2; in m_can_set_bittiming() local 808 sjw = bt->sjw - 1; in m_can_set_bittiming() 811 reg_btp = (brp << BTR_BRP_SHIFT) | (sjw << BTR_SJW_SHIFT) | in m_can_set_bittiming() 817 sjw = dbt->sjw - 1; in m_can_set_bittiming() 820 reg_btp = (brp << FBTR_FBRP_SHIFT) | (sjw << FBTR_FSJW_SHIFT) | in m_can_set_bittiming()
|
/drivers/net/can/usb/peak_usb/ |
D | pcan_ucan.h | 73 u8 sjw; /* Sync Jump Width */ member
|
D | pcan_usb_fd.c | 402 cmd->sjw_t = PUCAN_TSLOW_SJW_T(bt->sjw - 1, in pcan_usb_fd_set_bittiming_slow() 423 cmd->sjw = PUCAN_TFAST_SJW(bt->sjw - 1); in pcan_usb_fd_set_bittiming_fast()
|
D | pcan_usb.c | 222 btr0 = ((bt->brp - 1) & 0x3f) | (((bt->sjw - 1) & 0x3) << 6); in pcan_usb_set_bittiming()
|
D | pcan_usb_pro.c | 460 ccbt |= (bt->sjw - 1) << 24; in pcan_usb_pro_set_bittiming()
|
/drivers/net/can/c_can/ |
D | c_can.c | 504 u8 brp, brpe, sjw, tseg1, tseg2; in c_can_set_bittiming() local 515 sjw = bt->sjw - 1; in c_can_set_bittiming() 518 reg_btr = brp | (sjw << BTR_SJW_SHIFT) | (tseg1 << BTR_TSEG1_SHIFT) | in c_can_set_bittiming()
|
/drivers/net/can/usb/ |
D | gs_usb.c | 100 u32 sjw; member 414 dbt->sjw = bt->sjw; in gs_usb_set_bittiming()
|
D | kvaser_usb.c | 262 u8 sjw; member 1860 msg->u.busparams.sjw = bt->sjw; in kvaser_usb_set_bittiming()
|
D | ems_usb.c | 941 btr0 = ((bt->brp - 1) & 0x3f) | (((bt->sjw - 1) & 0x3) << 6); in ems_usb_set_bittiming()
|
D | usb_8dev.c | 268 outmsg.data[2] = bt->sjw; in usb_8dev_cmd_open()
|
D | esd_usb2.c | 939 canbtr |= ((bt->sjw - 1) & (ESD_USB2_SJW_MAX - 1)) in esd_usb2_set_bittiming()
|
/drivers/net/can/softing/ |
D | softing_fw.c | 506 iowrite16(bt->sjw, &card->dpram[DPRAM_FCT_PARAM + 4]); in softing_startstop() 546 iowrite16(bt->sjw, &card->dpram[DPRAM_FCT_PARAM + 4]); in softing_startstop()
|
/drivers/net/can/sja1000/ |
D | sja1000.c | 250 btr0 = ((bt->brp - 1) & 0x3f) | (((bt->sjw - 1) & 0x3) << 6); in sja1000_set_bittiming()
|
/drivers/net/can/cc770/ |
D | cc770.c | 368 btr0 = ((bt->brp - 1) & 0x3f) | (((bt->sjw - 1) & 0x3) << 6); in cc770_set_bittiming()
|
/drivers/net/can/spi/ |
D | mcp251x.c | 598 mcp251x_write_reg(spi, CNF1, ((bt->sjw - 1) << CNF1_SJW_SHIFT) | in mcp251x_do_set_bittiming()
|