Lines Matching refs:bitrate
135 __be16 bitrate; member
398 static void mcba_usb_xmit_change_bitrate(struct mcba_priv *priv, u16 bitrate) in mcba_usb_xmit_change_bitrate() argument
404 put_unaligned_be16(bitrate, &usb_msg.bitrate); in mcba_usb_xmit_change_bitrate()
484 const u32 bitrate = get_unaligned_be16(&msg->can_bitrate); in convert_can2host_bitrate() local
486 if ((bitrate == 33) || (bitrate == 83)) in convert_can2host_bitrate()
487 return bitrate * 1000 + 333; in convert_can2host_bitrate()
489 return bitrate * 1000; in convert_can2host_bitrate()
503 const u32 bitrate = convert_can2host_bitrate(msg); in mcba_usb_process_ka_can() local
507 if (bitrate != priv->can.bittiming.bitrate) in mcba_usb_process_ka_can()
511 bitrate, priv->can.bittiming.bitrate); in mcba_usb_process_ka_can()
781 const u16 bitrate_kbps = priv->can.bittiming.bitrate / 1000; in mcba_net_set_bittiming()