Searched refs:add_remove_card_sem (Results 1 – 3 of 3) sorted by relevance
/linux-4.4.14/drivers/net/wireless/mwifiex/ |
D | usb.c | 27 static struct semaphore add_remove_card_sem; variable 478 ret = mwifiex_add_card(card, &add_remove_card_sem, &usb_ops, in mwifiex_usb_probe() 631 mwifiex_remove_card(adapter, &add_remove_card_sem); in mwifiex_usb_disconnect() 1227 sema_init(&add_remove_card_sem, 1); in mwifiex_usb_init_module() 1248 if (!down_interruptible(&add_remove_card_sem)) in mwifiex_usb_cleanup_module() 1249 up(&add_remove_card_sem); in mwifiex_usb_cleanup_module()
|
D | sdio.c | 52 static struct semaphore add_remove_card_sem; variable 130 if (mwifiex_add_card(card, &add_remove_card_sem, &sdio_ops, in mwifiex_sdio_probe() 222 mwifiex_remove_card(card->adapter, &add_remove_card_sem); in mwifiex_sdio_remove() 2642 sema_init(&add_remove_card_sem, 1); in mwifiex_sdio_init_module() 2662 if (!down_interruptible(&add_remove_card_sem)) in mwifiex_sdio_cleanup_module() 2663 up(&add_remove_card_sem); in mwifiex_sdio_cleanup_module()
|
D | pcie.c | 38 static struct semaphore add_remove_card_sem; variable 212 if (mwifiex_add_card(card, &add_remove_card_sem, &pcie_ops, in mwifiex_pcie_probe() 254 mwifiex_remove_card(card->adapter, &add_remove_card_sem); in mwifiex_pcie_remove() 2698 sema_init(&add_remove_card_sem, 1); in mwifiex_pcie_init_module() 2723 if (!down_interruptible(&add_remove_card_sem)) in mwifiex_pcie_cleanup_module() 2724 up(&add_remove_card_sem); in mwifiex_pcie_cleanup_module()
|