• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/irda/

Lines Matching defs:speed

130  * Handle speed change, timeout and lot's of ugliness...
143 * that the setting of the link speed and xbof number in this outbound header
154 * and if either speed or xbofs (or both) needs
160 /* With STIR421x, speed and xBOFs must be set at the same
164 self->new_speed = self->speed ;
170 /* Set the link speed */
177 (!force) && (self->speed != -1)) {
178 /* No speed and xbofs change here
180 IRDA_DEBUG(2, "%s(), not changing speed yet\n", __func__);
185 IRDA_DEBUG(2, "%s(), changing speed to %d\n", __func__, self->new_speed);
186 self->speed = self->new_speed;
190 switch (self->speed) {
296 * Send a command to change the speed of the dongle
305 IRDA_DEBUG(2, "%s(), speed=%d, xbofs=%d\n", __func__,
308 /* Grab the speed URB */
318 /* Set the new speed and xbofs in this fake frame */
327 /* Submit the 0 length IrDA frame to trigger new speed settings */
344 * Now, we can only get called for the speed URB.
354 /* We should always be called for the speed URB */
373 /* New speed and xbof is now commited in hardware */
391 s32 speed;
416 /* Check if we need to change the speed */
417 speed = irda_get_next_speed(skb);
418 if ((speed != self->speed) && (speed != -1)) {
419 /* Set the desired speed */
420 self->new_speed = speed;
425 * speed. Changing speed with the USB adapter is in
560 /* We should always be called for the speed URB */
594 /* If changes to speed or xbofs is pending... */
596 if ((self->new_speed != self->speed) ||
598 /* We haven't changed speed yet (because of
600 IRDA_DEBUG(1, "%s(), Changing speed now...\n", __func__);
603 /* New speed and xbof is now commited in hardware */
646 /* Check speed URB */
680 /* Can't be a bad idea to reset the speed ;-) - Jean II */
682 self->new_speed = self->speed;
732 * If we are connected (speed != 9600), we want to minimise latency, so
734 * If we are not connected (speed == 9600), there is usually no Rx traffic,
1187 /* Initialise default speed and xbofs value
1189 self->speed = -1;
1202 * Note : will send immediately a speed change...
1277 /* Cancel Tx and speed URB - need to be synchronous to avoid races */
1314 /* Set the desired speed */
1370 IRDA_DEBUG(0, "%s(), dongle says speed=0x%X, size=0x%X, window=0x%X, bofs=0x%X, turn=0x%X\n",
1433 /* Remove the speed buffer */
1725 /* Allocate the buffer for speed changes */
1833 /* Cancel Tx and speed URB.
1849 /* Clean up Tx and speed URB */