Lines Matching refs:stat
164 unsigned int stat; in __get_socket_status() local
167 stat = 0; in __get_socket_status()
173 stat |= SS_DETECT; in __get_socket_status()
176 if ((stat & SS_DETECT) && !skt->card_detected) { in __get_socket_status()
177 unsigned int stat = 0; in __get_socket_status() local
187 stat |= (val & PCMCIA_C1_VS1_MASK) ? IN_VS1 : 0; in __get_socket_status()
188 stat |= (val & PCMCIA_C1_VS2_MASK) ? IN_VS2 : 0; in __get_socket_status()
198 stat |= (val & PCMCIA_C1_CD1_MASK) ? IN_CD1_VS2H : 0; in __get_socket_status()
199 stat |= (val & PCMCIA_C1_CD2_MASK) ? IN_CD2_VS2H : 0; in __get_socket_status()
209 stat |= (val & PCMCIA_C1_CD1_MASK) ? IN_CD1_VS1H : 0; in __get_socket_status()
210 stat |= (val & PCMCIA_C1_CD2_MASK) ? IN_CD2_VS1H : 0; in __get_socket_status()
213 skt->card_type = vscd_to_cardtype[stat]; in __get_socket_status()
229 skt->card_detected = (stat & SS_DETECT) ? 1 : 0; in __get_socket_status()
233 stat |= SS_CARDBUS; in __get_socket_status()
235 stat |= SS_3VCARD; in __get_socket_status()
237 stat |= SS_XVCARD; in __get_socket_status()
238 stat |= SS_POWERON; in __get_socket_status()
241 stat |= SS_READY; in __get_socket_status()
243 return stat; in __get_socket_status()
269 unsigned int stat, events; in bcm63xx_pcmcia_poll() local
275 stat = __get_socket_status(skt); in bcm63xx_pcmcia_poll()
279 events = (stat ^ skt->old_status) & skt->requested_state.csc_mask; in bcm63xx_pcmcia_poll()
280 skt->old_status = stat; in bcm63xx_pcmcia_poll()