Lines Matching refs:baud_x
1102 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()
1130 baud_x->data.tseg2 = cpu_to_le16(data_bt->phase_seg2 & (data_btc->tseg2_max - 1)); in esd_usb_3_set_bittiming()
1135 baud_x->tdc.tdc_mode = ESD_USB_3_TDC_MODE_AUTO; in esd_usb_3_set_bittiming()
1136 baud_x->tdc.ssp_offset = 0; in esd_usb_3_set_bittiming()
1137 baud_x->tdc.ssp_shift = 0; in esd_usb_3_set_bittiming()
1138 baud_x->tdc.tdc_filter = 0; in esd_usb_3_set_bittiming()
1140 baud_x->flags = cpu_to_le16(flags); in esd_usb_3_set_bittiming()
1141 baud_x->net = priv->index; in esd_usb_3_set_bittiming()
1142 baud_x->rsvd = 0; in esd_usb_3_set_bittiming()
1151 priv->index, le16_to_cpu(baud_x->mode), flags); in esd_usb_3_set_bittiming()