Searched refs:add_remove_card_sem (Results 1 – 3 of 3) sorted by relevance
/linux-4.1.27/drivers/net/wireless/mwifiex/ |
D | usb.c | 27 static struct semaphore add_remove_card_sem; variable 437 ret = mwifiex_add_card(card, &add_remove_card_sem, &usb_ops, in mwifiex_usb_probe() 582 mwifiex_remove_card(adapter, &add_remove_card_sem); in mwifiex_usb_disconnect() 1062 sema_init(&add_remove_card_sem, 1); in mwifiex_usb_init_module() 1083 if (!down_interruptible(&add_remove_card_sem)) in mwifiex_usb_cleanup_module() 1084 up(&add_remove_card_sem); in mwifiex_usb_cleanup_module()
|
D | sdio.c | 52 static struct semaphore add_remove_card_sem; variable 124 if (mwifiex_add_card(card, &add_remove_card_sem, &sdio_ops, in mwifiex_sdio_probe() 215 mwifiex_remove_card(card->adapter, &add_remove_card_sem); in mwifiex_sdio_remove() 2399 sema_init(&add_remove_card_sem, 1); in mwifiex_sdio_init_module() 2419 if (!down_interruptible(&add_remove_card_sem)) in mwifiex_sdio_cleanup_module() 2420 up(&add_remove_card_sem); in mwifiex_sdio_cleanup_module()
|
D | pcie.c | 38 static struct semaphore add_remove_card_sem; variable 210 if (mwifiex_add_card(card, &add_remove_card_sem, &pcie_ops, in mwifiex_pcie_probe() 252 mwifiex_remove_card(card->adapter, &add_remove_card_sem); in mwifiex_pcie_remove() 2635 sema_init(&add_remove_card_sem, 1); in mwifiex_pcie_init_module() 2660 if (!down_interruptible(&add_remove_card_sem)) in mwifiex_pcie_cleanup_module() 2661 up(&add_remove_card_sem); in mwifiex_pcie_cleanup_module()
|