• 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

120 static void ali_ircc_sir_change_speed(struct ali_ircc_cb *priv, __u32 speed);
125 static void ali_ircc_fir_change_speed(struct ali_ircc_cb *priv, __u32 speed);
134 static void ali_ircc_change_dongle_speed(struct ali_ircc_cb *priv, int speed);
683 /* Dispatch interrupt handler for the current speed */
684 if (self->io.speed > 115200)
938 IRDA_DEBUG(1, "%s(), Changing speed! self->new_speed = %d\n", __func__ , self->new_speed);
943 if (self->io.speed > 115200)
973 IRDA_DEBUG(2, "%s(), setting speed = %d\n", __func__ , baud);
1029 IRDA_DEBUG(1, "%s(), self->io.speed = %d, change to speed = %d\n", __func__ ,self->io.speed,baud);
1031 /* Come from SIR speed */
1032 if(self->io.speed <=115200)
1037 /* Update accounting for new speed */
1038 self->io.speed = baud;
1047 * Function ali_sir_change_speed (self, speed)
1049 * Set speed of IrDA port to specified baudrate
1052 static void ali_ircc_sir_change_speed(struct ali_ircc_cb *priv, __u32 speed)
1063 IRDA_DEBUG(1, "%s(), Setting speed to: %d\n", __func__ , speed);
1069 /* Come from MIR or FIR speed */
1070 if(self->io.speed >115200)
1073 ali_ircc_change_dongle_speed(self, speed);
1083 /* Update accounting for new speed */
1084 self->io.speed = speed;
1088 divisor = 115200/speed;
1097 if (self->io.speed < 38400)
1106 outb(divisor & 0xff, iobase+UART_DLL); /* Set speed */
1111 /* without this, the conection will be broken after come back from FIR speed,
1120 static void ali_ircc_change_dongle_speed(struct ali_ircc_cb *priv, int speed)
1134 IRDA_DEBUG(1, "%s(), Set Speed for %s , Speed = %d\n", __func__ , dongle_types[dongle_id], speed);
1142 if(speed == 4000000)
1188 else /* speed <=1152000 */
1197 if (speed==1152000)
1238 switch(speed)
1261 if(speed <= 115200) /* SIR */
1272 switch(speed)
1446 __u32 speed;
1456 /* Make sure tests *& speed change are atomic */
1459 /* Note : you should make sure that speed changes are not going
1463 /* Check if we need to change the speed */
1464 speed = irda_get_next_speed(skb);
1465 if ((speed != self->io.speed) && (speed != -1)) {
1468 ali_ircc_change_speed(self, speed);
1474 self->new_speed = speed;
1684 /* Check if we need to change the speed */
1969 __u32 speed;
1982 /* Make sure tests *& speed change are atomic */
1985 /* Note : you should make sure that speed changes are not going
1989 /* Check if we need to change the speed */
1990 speed = irda_get_next_speed(skb);
1991 if ((speed != self->io.speed) && (speed != -1)) {
1994 ali_ircc_change_speed(self, speed);
2000 self->new_speed = speed;
2054 * speed, so we still must allow for speed change within
2102 if (self->io.speed > 115200)
2174 if (self->io.speed > 115200) /* FIR, MIR */
2184 if (self->io.speed > 115200) /* FIR, MIR */
2201 if (self->io.speed > 115200)