Searched defs:brp (Results 1 - 3 of 3) sorted by relevance

/drivers/net/can/
H A Ddev.c74 int best_tseg = 0, best_brp = 0, brp = 0; local
99 brp = priv->clock.freq / (tsegall * bt->bitrate) + tseg % 2;
100 /* chose brp step which is possible in system */
101 brp = (brp / btc->brp_inc) * btc->brp_inc;
102 if ((brp < btc->brp_min) || (brp > btc->brp_max))
104 rate = priv->clock.freq / (brp * tsegall);
106 /* tseg brp biterror */
123 best_brp = brp;
[all...]
/drivers/net/can/c_can/
H A Dc_can.c87 /* brp extension register */
523 u8 brp, brpe, sjw, tseg1, tseg2; local
528 /* c_can provides a 6-bit brp and 4-bit brpe fields */
529 ten_bit_brp = bt->brp - 1;
530 brp = ten_bit_brp & BTR_BRP_MASK;
536 reg_btr = brp | (sjw << BTR_SJW_SHIFT) | (tseg1 << BTR_TSEG1_SHIFT) |
/drivers/scsi/libfc/
H A Dfc_fcp.c701 struct fc_ba_rjt *brp; local
709 brp = fc_frame_payload_get(fp, sizeof(*brp));
710 if (brp && brp->br_reason == FC_BA_RJT_LOG_ERR)

Completed in 1268 milliseconds