Home
last modified time | relevance | path

Searched refs:baud_x (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/net/can/usb/
H A Desd_usb.c1102 struct esd_usb_3_set_baudrate_msg_x *baud_x; in esd_usb_3_set_bittiming() local
1111 baud_x = &msg->setbaud_x; in esd_usb_3_set_bittiming()
1114 baud_x->mode = cpu_to_le16(ESD_USB_3_BAUDRATE_MODE_BTR_CANONICAL); in esd_usb_3_set_bittiming()
1119 baud_x->nom.brp = cpu_to_le16(nom_bt->brp & (nom_btc->brp_max - 1)); in esd_usb_3_set_bittiming()
1120 baud_x->nom.sjw = cpu_to_le16(nom_bt->sjw & (nom_btc->sjw_max - 1)); in esd_usb_3_set_bittiming()
1121 baud_x->nom.tseg1 = cpu_to_le16((nom_bt->prop_seg + nom_bt->phase_seg1) in esd_usb_3_set_bittiming()
1123 baud_x->nom.tseg2 = cpu_to_le16(nom_bt->phase_seg2 & (nom_btc->tseg2_max - 1)); in esd_usb_3_set_bittiming()
1126 baud_x->data.brp = cpu_to_le16(data_bt->brp & (data_btc->brp_max - 1)); in esd_usb_3_set_bittiming()
1127 baud_x->data.sjw = cpu_to_le16(data_bt->sjw & (data_btc->sjw_max - 1)); in esd_usb_3_set_bittiming()
1128 baud_x->data.tseg1 = cpu_to_le16((data_bt->prop_seg + data_bt->phase_seg1) in esd_usb_3_set_bittiming()
[all …]