Lines Matching refs:bittiming
451 struct can_bittiming_const *bittiming = in ucan_parse_device_info() local
458 strcpy(bittiming->name, "ucan"); in ucan_parse_device_info()
459 bittiming->tseg1_min = device_info->tseg1_min; in ucan_parse_device_info()
460 bittiming->tseg1_max = device_info->tseg1_max; in ucan_parse_device_info()
461 bittiming->tseg2_min = device_info->tseg2_min; in ucan_parse_device_info()
462 bittiming->tseg2_max = device_info->tseg2_max; in ucan_parse_device_info()
463 bittiming->sjw_max = device_info->sjw_max; in ucan_parse_device_info()
464 bittiming->brp_min = le32_to_cpu(device_info->brp_min); in ucan_parse_device_info()
465 bittiming->brp_max = le32_to_cpu(device_info->brp_max); in ucan_parse_device_info()
466 bittiming->brp_inc = le16_to_cpu(device_info->brp_inc); in ucan_parse_device_info()
1253 cmd_set_bittiming->tq = cpu_to_le32(up->can.bittiming.tq); in ucan_set_bittiming()
1254 cmd_set_bittiming->brp = cpu_to_le16(up->can.bittiming.brp); in ucan_set_bittiming()
1256 cpu_to_le16(up->can.bittiming.sample_point); in ucan_set_bittiming()
1257 cmd_set_bittiming->prop_seg = up->can.bittiming.prop_seg; in ucan_set_bittiming()
1258 cmd_set_bittiming->phase_seg1 = up->can.bittiming.phase_seg1; in ucan_set_bittiming()
1259 cmd_set_bittiming->phase_seg2 = up->can.bittiming.phase_seg2; in ucan_set_bittiming()
1260 cmd_set_bittiming->sjw = up->can.bittiming.sjw; in ucan_set_bittiming()