Home
last modified time | relevance | path

Searched refs:a_status (Results 1 – 2 of 2) sorted by relevance

/linux-2.6.39/drivers/s390/scsi/
Dzfcp_erp.c130 int l_status, p_status, a_status; in zfcp_erp_required_act() local
155 a_status = atomic_read(&adapter->status); in zfcp_erp_required_act()
156 if (!(a_status & ZFCP_STATUS_COMMON_RUNNING) || in zfcp_erp_required_act()
157 a_status & ZFCP_STATUS_COMMON_ERP_FAILED) in zfcp_erp_required_act()
161 if (!(a_status & ZFCP_STATUS_COMMON_UNBLOCKED)) in zfcp_erp_required_act()
165 a_status = atomic_read(&adapter->status); in zfcp_erp_required_act()
166 if (a_status & ZFCP_STATUS_COMMON_ERP_INUSE) in zfcp_erp_required_act()
168 if (!(a_status & ZFCP_STATUS_COMMON_RUNNING) && in zfcp_erp_required_act()
169 !(a_status & ZFCP_STATUS_COMMON_OPEN)) in zfcp_erp_required_act()
/linux-2.6.39/drivers/staging/comedi/drivers/
Dni_mio_common.c348 static void ack_a_interrupt(struct comedi_device *dev, unsigned short a_status);
817 unsigned short a_status; in ni_E_interrupt() local
832 a_status = devpriv->stc_readw(dev, AI_Status_1_Register); in ni_E_interrupt()
858 ack_a_interrupt(dev, a_status); in ni_E_interrupt()
860 if ((a_status & Interrupt_A_St) || (ai_mite_status & CHSR_INT)) in ni_E_interrupt()
861 handle_a_interrupt(dev, a_status, ai_mite_status); in ni_E_interrupt()
997 static void ack_a_interrupt(struct comedi_device *dev, unsigned short a_status) in ack_a_interrupt() argument
1001 if (a_status & AI_SC_TC_St) { in ack_a_interrupt()
1004 if (a_status & AI_START1_St) { in ack_a_interrupt()
1007 if (a_status & AI_START_St) { in ack_a_interrupt()
[all …]