Lines Matching defs:hardware
66 static struct serial_ir_hw hardware[] = {
68 .lock = __SPIN_LOCK_UNLOCKED(hardware[IR_HOMEBREW].lock),
82 .lock = __SPIN_LOCK_UNLOCKED(hardware[IR_IRDEO].lock),
93 .lock = __SPIN_LOCK_UNLOCKED(hardware[IR_IRDEO_REMOTE].lock),
104 .lock = __SPIN_LOCK_UNLOCKED(hardware[IR_ANIMAX].lock),
112 .lock = __SPIN_LOCK_UNLOCKED(hardware[IR_IGOR].lock),
163 soutp(UART_MCR, hardware[type].off);
165 soutp(UART_MCR, hardware[type].on);
171 soutp(UART_MCR, hardware[type].on);
173 soutp(UART_MCR, hardware[type].off);
341 if ((status & hardware[type].signal_pin_change) &&
353 dcd = (status & hardware[type].signal_pin) ? 1 : 0;
492 if (hardware[type].send_pulse && hardware[type].send_space)
494 if (hardware[type].set_send_carrier)
496 if (hardware[type].set_duty_cycle)
539 KBUILD_MODNAME, &hardware);
582 if (sinp(UART_MSR) & hardware[type].signal_pin)
607 spin_lock_irqsave(&hardware[type].lock, flags);
614 spin_unlock_irqrestore(&hardware[type].lock, flags);
623 spin_lock_irqsave(&hardware[type].lock, flags);
631 spin_unlock_irqrestore(&hardware[type].lock, flags);
642 spin_lock_irqsave(&hardware[type].lock, flags);
651 hardware[type].send_space();
653 hardware[type].send_pulse(txbuf[i], edge);
658 spin_unlock_irqrestore(&hardware[type].lock, flags);
660 spin_lock_irqsave(&hardware[type].lock, flags);
666 spin_unlock_irqrestore(&hardware[type].lock, flags);
713 spin_lock_irqsave(&hardware[type].lock, flags);
719 spin_unlock_irqrestore(&hardware[type].lock, flags);
785 hardware[type].set_send_carrier = false;
786 hardware[type].set_duty_cycle = false;