Home
last modified time | relevance | path

Searched refs:card_present (Results 1 – 18 of 18) sorted by relevance

/drivers/net/wireless/
Datmel_cs.c102 static int card_present(void *arg) in card_present() function
151 card_present, in atmel_config()
Datmel.c1526 int (*card_present)(void *), void *card) in init_atmel_card()
1546 priv->present_callback = card_present; in init_atmel_card()
1553 priv->bus_type = card_present ? BUS_TYPE_PCCARD : BUS_TYPE_PCI; in init_atmel_card()
/drivers/net/ethernet/natsemi/
Dmacsonic.c332 int card_present; in mac_onboard_sonic_probe() local
335 card_present = hwreg_present((void*)ONBOARD_SONIC_REGISTERS); in mac_onboard_sonic_probe()
338 if (!card_present) { in mac_onboard_sonic_probe()
/drivers/net/ethernet/cirrus/
Dmac89x0.c220 int card_present; in mac89x0_probe() local
223 card_present = (hwreg_present((void*) ioaddr+4) && in mac89x0_probe()
227 if (!card_present) in mac89x0_probe()
/drivers/pcmcia/
Di82092aa.h23 static int card_present(int socketno);
Di82092.c117 if (card_present(i)) { in i82092aa_pci_probe()
361 static int card_present(int socketno) in card_present() function
/drivers/ata/
Dpata_arasan_cf.c202 u8 card_present; member
293 if (acdev->card_present) in cf_card_detect()
295 acdev->card_present = 1; in cf_card_detect()
298 if (!acdev->card_present) in cf_card_detect()
300 acdev->card_present = 0; in cf_card_detect()
/drivers/net/wireless/hostap/
Dhostap_hw.c266 if (local->func->card_present && !local->func->card_present(local)) in hfa384x_cmd_issue()
819 if ((local->func->card_present && !local->func->card_present(local)) || in hfa384x_get_rid()
892 if ((local->func->card_present && !local->func->card_present(local)) || in hfa384x_set_rid()
1532 if (local->func->card_present && !local->func->card_present(local)) { in prism2_hw_shutdown()
1821 if ((local->func->card_present && !local->func->card_present(local)) || in prism2_tx_80211()
2486 if (local->func->card_present && !local->func->card_present(local)) in hostap_bap_tasklet()
2634 if (local->func->card_present && !local->func->card_present(local)) { in prism2_interrupt()
Dhostap_main.c620 (!local->func->card_present || local->func->card_present(local)) && in prism2_close()
674 if ((local->func->card_present && !local->func->card_present(local)) || in prism2_open()
Dhostap_pci.c283 .card_present = NULL,
Dhostap_cs.c425 .card_present = prism2_pccard_card_present,
Dhostap_plx.c328 .card_present = NULL,
Dhostap_wlan.h572 int (*card_present)(local_info_t *local); member
/drivers/mmc/host/
Dvub300.c311 bool card_present; member
508 int old_card_present = vub300->card_present; in new_system_port_status()
515 vub300->card_present = 1; in new_system_port_status()
525 vub300->card_present = 0; in new_system_port_status()
610 if (!vub300->card_present) in __vub300_irqpoll_response()
695 } else if (!vub300->card_present) { in vub300_pollwork_thread()
731 } else if (vub300->card_present) { in vub300_deadwork_thread()
1922 if (!vub300->card_present) { in vub300_mmc_request()
2321 vub300->card_present = in vub300_probe()
2342 if (vub300->card_present) in vub300_probe()
Dsh_mmcif.c232 bool card_present; member
935 if (!host->card_present) { in sh_mmcif_set_ios()
938 host->card_present = true; in sh_mmcif_set_ios()
944 if (host->card_present) { in sh_mmcif_set_ios()
946 host->card_present = false; in sh_mmcif_set_ios()
Dimxmmc.c914 if (host->pdata && host->pdata->card_present && in imxmci_check_status()
915 host->pdata->card_present(mmc_dev(host->mmc)) != host->present) { in imxmci_check_status()
1042 if (host->pdata && host->pdata->card_present) in imxmci_probe()
1043 host->present = host->pdata->card_present(mmc_dev(mmc)); in imxmci_probe()
Dmsm_sdcc.c1122 msmsdcc_status_notify_cb(int card_present, void *dev_id) in msmsdcc_status_notify_cb() argument
1127 card_present); in msmsdcc_status_notify_cb()
/drivers/nubus/
Dnubus.c925 int card_present; in nubus_probe_slot() local
929 card_present = hwreg_present(rp); in nubus_probe_slot()
932 if (!card_present) in nubus_probe_slot()