Lines Matching defs:bt
115 struct can_bittiming bt, dbt;
118 memset(&bt, 0, sizeof(bt));
123 if (get_u32(&bt.bitrate, *argv, 0))
132 bt.sample_point = (__u32)(sp * 1000);
135 if (get_u32(&bt.tq, *argv, 0))
139 if (get_u32(&bt.prop_seg, *argv, 0))
143 if (get_u32(&bt.phase_seg1, *argv, 0))
147 if (get_u32(&bt.phase_seg2, *argv, 0))
151 if (get_u32(&bt.sjw, *argv, 0))
238 if (bt.bitrate || bt.tq)
239 addattr_l(n, 1024, IFLA_CAN_BITTIMING, &bt, sizeof(bt));
290 struct can_bittiming *bt = RTA_DATA(tb[IFLA_CAN_BITTIMING]);
294 bt->bitrate, (float)bt->sample_point / 1000.);
297 bt->tq, bt->prop_seg, bt->phase_seg1, bt->phase_seg2,
298 bt->sjw);