Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/staging/greybus/
Dsdio.c32 bool card_present; member
90 host->card_present = true; in _gb_sdio_set_host_caps()
176 if (host->card_present) in _gb_sdio_process_events()
178 host->card_present = true; in _gb_sdio_process_events()
185 if (!(host->card_present)) in _gb_sdio_process_events()
187 host->card_present = false; in _gb_sdio_process_events()
196 (host->card_present ? "inserted" : "removed")); in _gb_sdio_process_events()
572 if (!host->card_present) { in gb_mmc_request()
746 return host->card_present; in gb_mmc_get_cd()
/linux-6.1.9/drivers/net/wireless/atmel/
Datmel_cs.c99 static int card_present(void *arg) in card_present() function
146 card_present, in atmel_config()
Datmel.c1497 int (*card_present)(void *), void *card) in init_atmel_card()
1516 priv->present_callback = card_present; in init_atmel_card()
1522 priv->bus_type = card_present ? BUS_TYPE_PCCARD : BUS_TYPE_PCI; in init_atmel_card()
/linux-6.1.9/drivers/pcmcia/
Di82092aa.h11 static int card_present(int socketno);
Di82092.c125 if (card_present(i)) { in i82092aa_pci_probe()
358 static int card_present(int socketno) in card_present() function
/linux-6.1.9/drivers/net/ethernet/cirrus/
Dmac89x0.c191 int card_present; in mac89x0_device_probe() local
193 card_present = (hwreg_present((void *)ioaddr + 4) && in mac89x0_device_probe()
195 if (!card_present) in mac89x0_device_probe()
/linux-6.1.9/drivers/net/ethernet/natsemi/
Dmacsonic.c280 int card_present; in mac_onboard_sonic_probe() local
282 card_present = hwreg_present((void*)ONBOARD_SONIC_REGISTERS); in mac_onboard_sonic_probe()
283 if (!card_present) { in mac_onboard_sonic_probe()
/linux-6.1.9/drivers/ata/
Dpata_arasan_cf.c202 u8 card_present; member
290 if (acdev->card_present) in cf_card_detect()
292 acdev->card_present = 1; in cf_card_detect()
295 if (!acdev->card_present) in cf_card_detect()
297 acdev->card_present = 0; in cf_card_detect()
/linux-6.1.9/drivers/net/wireless/intersil/hostap/
Dhostap_hw.c255 if (local->func->card_present && !local->func->card_present(local)) in hfa384x_cmd_issue()
802 if ((local->func->card_present && !local->func->card_present(local)) || in hfa384x_get_rid()
880 if ((local->func->card_present && !local->func->card_present(local)) || in hfa384x_set_rid()
1523 if (local->func->card_present && !local->func->card_present(local)) { in prism2_hw_shutdown()
1806 if ((local->func->card_present && !local->func->card_present(local)) || in prism2_tx_80211()
2470 if (local->func->card_present && !local->func->card_present(local)) in hostap_bap_tasklet()
2618 if (local->func->card_present && !local->func->card_present(local)) { in prism2_interrupt()
Dhostap_main.c613 (!local->func->card_present || local->func->card_present(local)) && in prism2_close()
667 if ((local->func->card_present && !local->func->card_present(local)) || in prism2_open()
Dhostap_pci.c282 .card_present = NULL,
Dhostap_cs.c419 .card_present = prism2_pccard_card_present,
Dhostap_plx.c327 .card_present = NULL,
Dhostap_wlan.h577 int (*card_present)(local_info_t *local); member
/linux-6.1.9/drivers/mmc/host/
Dvub300.c308 bool card_present; member
505 int old_card_present = vub300->card_present; in new_system_port_status()
512 vub300->card_present = 1; in new_system_port_status()
522 vub300->card_present = 0; in new_system_port_status()
607 if (!vub300->card_present) in __vub300_irqpoll_response()
688 } else if (!vub300->card_present) { in vub300_pollwork_thread()
724 } else if (vub300->card_present) { in vub300_deadwork_thread()
1913 if (!vub300->card_present) { in vub300_mmc_request()
2306 vub300->card_present = in vub300_probe()
2324 if (vub300->card_present) in vub300_probe()