Lines Matching refs:speed
117 static __u8 get_control_byte(__u32 speed)
121 switch (speed) {
147 * Function ma600_change_speed (dev, speed)
149 * Set the speed for the MA600 type dongle.
156 * Function ma600_change_speed (dev, speed)
158 * Set the speed for the MA600 type dongle.
175 static int ma600_change_speed(struct sir_dev *dev, unsigned speed)
179 IRDA_DEBUG(2, "%s(), speed=%d (was %d)\n", __FUNCTION__,
180 speed, dev->speed);
182 /* dongle already reset, dongle and port at default speed (9600) */
189 byte = get_control_byte(speed);
201 if (byte != get_control_byte(speed)) {
204 (unsigned) get_control_byte(speed));
216 /* dongle is now switched to the new speed */
217 dev->speed = speed;
249 dev->speed = 9600; /* That's the dongle-default */