Home
last modified time | relevance | path

Searched refs:card_detected (Results 1 – 5 of 5) sorted by relevance

/drivers/mtd/nand/raw/
Dr852.c564 dev->card_detected = !!(reg & R852_CARD_STA_PRESENT); in r852_card_update_present()
580 card_detect_reg |= dev->card_detected ? in r852_update_card_detect()
608 if (!dev->card_detected) { in r852_update_media_status()
658 dev->card_detected = 0; in r852_register_nand_device()
691 if (dev->card_detected == dev->card_registered) in r852_card_detect_work()
698 if (dev->card_detected) in r852_card_detect_work()
739 dev->card_detected = !!(card_status & R852_CARD_IRQ_INSERT); in r852_irq()
936 dev->card_detected = 0; in r852_probe()
1047 if (dev->card_detected != dev->card_registered) { in r852_resume()
1049 dev->card_detected ? "added" : "removed"); in r852_resume()
Dr852.h131 int card_detected; /* card detected in slot */ member
/drivers/pcmcia/
Dbcm63xx_pcmcia.c97 if (skt->card_detected && (skt->card_type & CARD_CARDBUS)) in bcm63xx_pcmcia_set_socket()
176 if ((stat & SS_DETECT) && !skt->card_detected) { in __get_socket_status()
229 skt->card_detected = (stat & SS_DETECT) ? 1 : 0; in __get_socket_status()
Dbcm63xx_pcmcia.h38 int card_detected; member
/drivers/memstick/host/
Dr592.c598 bool card_detected = reg & R592_REG_MSC_PRSNT; in r592_update_card_detect() local
600 dbg("update card detect. card state: %s", card_detected ? in r592_update_card_detect()
605 if (card_detected) in r592_update_card_detect()