Home
last modified time | relevance | path

Searched refs:card_status (Results 1 – 11 of 11) sorted by relevance

/drivers/staging/rts5139/
Drts51x_card.c185 retval = rts51x_get_card_status(chip, &(chip->card_status)); in card_cd_debounce()
187 chip->ocp_stat = (chip->card_status >> 4) & 0x03; in card_cd_debounce()
204 if (!(chip->card_status & XD_CD)) in card_cd_debounce()
208 if (!(chip->card_status & SD_CD) || (value & SD_INT)) in card_cd_debounce()
212 if (!(chip->card_status & MS_CD) || (value & MS_INT)) in card_cd_debounce()
216 if (chip->card_status & XD_CD) { in card_cd_debounce()
219 } else if (chip->card_status & SD_CD) { in card_cd_debounce()
222 } else if (chip->card_status & MS_CD) { in card_cd_debounce()
244 rts51x_get_card_status(chip, &(chip->card_status)); in card_cd_debounce()
249 if (chip->card_status & XD_CD) in card_cd_debounce()
[all …]
Drts51x_chip.c330 retvalue = rts51x_get_card_status(chip, &chip->card_status);
334 && (!(chip->card_status & (SD_CD | MS_CD | XD_CD)))) {
348 && (chip->card_status & (SD_CD | MS_CD | XD_CD))) {
Dsd.c1967 rts51x_get_card_status(chip, &(chip->card_status));
1968 chip->ocp_stat = (chip->card_status >> 4) & 0x03;
2375 retval = rts51x_get_card_status(chip, &(chip->card_status));
2378 if (chip->card_status & SD_WP)
2858 retval = rts51x_get_card_status(chip, &(chip->card_status));
2861 if (chip->card_status & SD_WP)
Drts51x_chip.h792 u16 card_status; member
Dxd.c440 rts51x_get_card_status(chip, &(chip->card_status)); in reset_xd()
441 chip->ocp_stat = (chip->card_status >> 4) & 0x03; in reset_xd()
Dms.c609 rts51x_get_card_status(chip, &(chip->card_status)); in ms_prepare_reset()
611 chip->ocp_stat = (chip->card_status >> 4) & 0x03; in ms_prepare_reset()
/drivers/net/wireless/
Dray_cs.c307 local->card_status = CARD_INSERTED; in ray_probe()
494 local->card_status = CARD_INIT_ERROR; in ray_init()
525 local->card_status = CARD_AWAITING_PARAM; in ray_init()
565 local->card_status = CARD_DL_PARAM_ERROR; in dl_startup_params()
569 local->card_status = CARD_DL_PARAM; in dl_startup_params()
674 local->card_status = CARD_DL_PARAM_ERROR; in verify_dl_startup()
707 local->card_status = CARD_DOING_ACQ; in start_net()
737 local->card_status = CARD_DOING_ACQ; in join_net()
807 local->card_status); in ray_dev_init()
1047 if (local->card_status != CARD_AWAITING_PARAM) in ray_set_freq()
[all …]
Dray_cs.h26 int card_status; member
/drivers/mtd/nand/
Dr852.c754 uint8_t card_status, dma_status; in r852_irq() local
761 card_status = r852_read_reg(dev, R852_CARD_IRQ_STA); in r852_irq()
762 r852_write_reg(dev, R852_CARD_IRQ_STA, card_status); in r852_irq()
764 if (card_status & (R852_CARD_IRQ_INSERT|R852_CARD_IRQ_REMOVE)) { in r852_irq()
767 dev->card_detected = !!(card_status & R852_CARD_IRQ_INSERT); in r852_irq()
840 if (card_status & ~R852_CARD_STA_CD) in r852_irq()
841 dbg("strange card status = %x", card_status); in r852_irq()
/drivers/bluetooth/
Dbtmrvl_sdio.h70 u8 card_status; member
Dbtmrvl_sdio.c57 .card_status = 0x20,
72 .card_status = 0x30,
208 status = sdio_readb(card->func, card->reg->card_status, &ret); in btmrvl_sdio_poll_card_status()