Lines Matching refs:irport

433         struct irport_cb *irport;  in ircc_open()  local
512 irport = irport_open(dev_count, sir_base, irq); in ircc_open()
513 if (!irport) { in ircc_open()
527 self->netdev = irport->netdev; in ircc_open()
528 self->irport = irport; in ircc_open()
530 irport->priv = self; in ircc_open()
533 self->io = &irport->io; in ircc_open()
559 irda_init_max_qos_capabilies(&irport->qos); in ircc_open()
562 irport->qos.baud_rate.bits = IR_9600|IR_19200|IR_38400|IR_57600| in ircc_open()
565 irport->qos.min_turn_time.bits = 0x07; in ircc_open()
566 irport->qos.window_size.bits = 0x01; in ircc_open()
567 irda_qos_bits_to_value(&irport->qos); in ircc_open()
569 irport->flags = IFF_FIR|IFF_MIR|IFF_SIR|IFF_DMA|IFF_PIO; in ircc_open()
578 irport->change_speed = &ircc_change_speed; in ircc_open()
579 irport->interrupt = &ircc_interrupt; in ircc_open()
583 irport_start(self->irport); in ircc_open()
661 irport_stop(self->irport); in ircc_change_speed()
677 irport_start(self->irport); in ircc_change_speed()
680 irport_change_speed(self->irport, speed); in ircc_change_speed()
714 struct irport_cb *irport; in ircc_hard_xmit() local
721 irport = (struct irport_cb *) dev->priv; in ircc_hard_xmit()
722 self = (struct ircc_cb *) irport->priv; in ircc_hard_xmit()
844 self->irport->stats.tx_errors++; in ircc_dma_xmit_complete()
845 self->irport->stats.tx_fifo_errors++; in ircc_dma_xmit_complete()
852 self->irport->stats.tx_packets++; in ircc_dma_xmit_complete()
853 self->irport->stats.tx_bytes += self->tx_buff.len; in ircc_dma_xmit_complete()
952 self->irport->stats.rx_packets++; in ircc_dma_receive_complete()
953 self->irport->stats.rx_bytes += len; in ircc_dma_receive_complete()
970 struct irport_cb *irport; in ircc_interrupt() local
979 irport = (struct irport_cb *) dev->priv; in ircc_interrupt()
980 ASSERT(irport != NULL, return;); in ircc_interrupt()
981 self = (struct ircc_cb *) irport->priv; in ircc_interrupt()
1050 struct irport_cb *irport; in ircc_net_open() local
1057 irport = (struct irport_cb *) dev->priv; in ircc_net_open()
1058 self = (struct ircc_cb *) irport->priv; in ircc_net_open()
1090 struct irport_cb *irport; in ircc_net_close() local
1097 irport = (struct irport_cb *) dev->priv; in ircc_net_close()
1098 self = (struct ircc_cb *) irport->priv; in ircc_net_close()
1176 iobase = self->irport->io.fir_base; in ircc_close()
1178 irport_close(self->irport); in ircc_close()