Searched refs:sjw (Results 1 – 25 of 26) sorted by relevance
12
/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 | bfin_can.c | 71 timing = ((bt->sjw - 1) << 8) | (bt->prop_seg + bt->phase_seg1 - 1) | in bfin_can_set_bittiming()
|
D | xilinx_can.c | 278 btr1 |= (bt->sjw - 1) << XCAN_BTR_SJW_SHIFT; in xcan_set_bittiming()
|
D | rcar_can.c | 429 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 | at91_can.c | 383 ((bt->brp - 1) << 16) | ((bt->sjw - 1) << 12) | in at91_set_bittiming()
|
D | flexcan.c | 857 FLEXCAN_CTRL_RJW(bt->sjw - 1) | in flexcan_set_bittiming()
|
D | pch_can.c | 794 canbit |= (bt->sjw - 1) << PCH_BIT_SJW_SHIFT; in pch_set_bittiming()
|
D | grcan.c | 422 rsj = bt->sjw; in grcan_set_bittiming()
|
/drivers/net/can/mscan/ |
D | mscan.h | 261 #define BTR0_SET_SJW(sjw) ((((sjw) - 1) << BTR0_SJW_SHIFT) & \ argument
|
D | mscan.c | 544 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 | 809 u16 brp, sjw, tseg1, tseg2; in m_can_set_bittiming() local 813 sjw = bt->sjw - 1; in m_can_set_bittiming() 816 reg_btp = (brp << BTR_BRP_SHIFT) | (sjw << BTR_SJW_SHIFT) | in m_can_set_bittiming() 822 sjw = dbt->sjw - 1; in m_can_set_bittiming() 825 reg_btp = (brp << FBTR_FBRP_SHIFT) | (sjw << FBTR_FSJW_SHIFT) | in m_can_set_bittiming()
|
/drivers/net/can/usb/ |
D | gs_usb.c | 100 u32 sjw; member 413 dbt->sjw = bt->sjw; in gs_usb_set_bittiming()
|
D | kvaser_usb.c | 184 u8 sjw; member 1449 msg->u.busparams.sjw = bt->sjw; in kvaser_usb_set_bittiming()
|
D | usb_8dev.c | 267 outmsg.data[2] = bt->sjw; in usb_8dev_cmd_open()
|
D | ems_usb.c | 934 btr0 = ((bt->brp - 1) & 0x3f) | (((bt->sjw - 1) & 0x3) << 6); in ems_usb_set_bittiming()
|
D | esd_usb2.c | 927 canbtr |= ((bt->sjw - 1) & (ESD_USB2_SJW_MAX - 1)) in esd_usb2_set_bittiming()
|
/drivers/net/can/c_can/ |
D | c_can.c | 511 u8 brp, brpe, sjw, tseg1, tseg2; in c_can_set_bittiming() local 522 sjw = bt->sjw - 1; in c_can_set_bittiming() 525 reg_btr = brp | (sjw << BTR_SJW_SHIFT) | (tseg1 << BTR_TSEG1_SHIFT) | in c_can_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/usb/peak_usb/ |
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 | 468 ccbt |= (bt->sjw - 1) << 24; in pcan_usb_pro_set_bittiming()
|
/drivers/net/can/sja1000/ |
D | sja1000.c | 247 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 | 597 mcp251x_write_reg(spi, CNF1, ((bt->sjw - 1) << CNF1_SJW_SHIFT) | in mcp251x_do_set_bittiming()
|
12