Home
last modified time | relevance | path

Searched refs:cardp (Results 1 – 24 of 24) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/net/wireless/marvell/libertas/
H A Dif_usb.c73 static int usb_tx_block(struct if_usb_card *cardp, uint8_t *payload,
75 static void if_usb_free(struct if_usb_card *cardp);
76 static int if_usb_submit_rx_urb(struct if_usb_card *cardp);
77 static int if_usb_reset_device(struct if_usb_card *cardp);
87 struct if_usb_card *cardp = (struct if_usb_card *) urb->context; in if_usb_write_bulk_callback() local
92 struct lbs_private *priv = cardp->priv; in if_usb_write_bulk_callback()
114 static void if_usb_free(struct if_usb_card *cardp) in if_usb_free() argument
117 usb_kill_urb(cardp->tx_urb); in if_usb_free()
118 usb_kill_urb(cardp->rx_urb); in if_usb_free()
120 usb_free_urb(cardp->tx_urb); in if_usb_free()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/marvell/libertas_tf/
H A Dif_usb.c44 static int usb_tx_block(struct if_usb_card *cardp, uint8_t *payload,
46 static void if_usb_free(struct if_usb_card *cardp);
47 static int if_usb_submit_rx_urb(struct if_usb_card *cardp);
72 static void if_usb_free(struct if_usb_card *cardp) in if_usb_free() argument
77 usb_kill_urb(cardp->tx_urb); in if_usb_free()
78 usb_kill_urb(cardp->rx_urb); in if_usb_free()
79 usb_kill_urb(cardp->cmd_urb); in if_usb_free()
81 usb_free_urb(cardp->tx_urb); in if_usb_free()
82 cardp->tx_urb = NULL; in if_usb_free()
84 usb_free_urb(cardp->rx_urb); in if_usb_free()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/nxp/mlinux/
H A Dmoal_usb.c224 struct usb_card_rec *cardp = NULL; in woal_usb_receive() local
247 cardp = (struct usb_card_rec *)handle->card; in woal_usb_receive()
248 if (cardp->rx_cmd_ep == context->ep) in woal_usb_receive()
249 atomic_dec(&cardp->rx_cmd_urb_pending); in woal_usb_receive()
251 atomic_dec(&cardp->rx_data_urb_pending); in woal_usb_receive()
265 if (cardp->rx_cmd_ep != context->ep) in woal_usb_receive()
283 if (cardp->rx_cmd_ep == context->ep) in woal_usb_receive()
303 if (cardp->rx_cmd_ep != context->ep) in woal_usb_receive()
307 if (!((cardp->rx_data_ep == context->ep) && in woal_usb_receive()
308 (cardp->resubmit_urbs == 1))) { in woal_usb_receive()
[all …]
H A Dmoal_sdio_mmc.c591 struct sdio_mmc_card *cardp; in woal_sdio_shutdown() local
597 cardp = sdio_get_drvdata(func); in woal_sdio_shutdown()
598 if (!cardp || !cardp->handle) { in woal_sdio_shutdown()
603 handle = cardp->handle; in woal_sdio_shutdown()
671 struct sdio_mmc_card *cardp; in woal_sdio_suspend() local
682 cardp = sdio_get_drvdata(func); in woal_sdio_suspend()
683 if (!cardp || !cardp->handle) { in woal_sdio_suspend()
689 handle = cardp->handle; in woal_sdio_suspend()
800 struct sdio_mmc_card *cardp; in woal_sdio_resume() local
808 cardp = sdio_get_drvdata(func); in woal_sdio_resume()
[all …]
H A Dmoal_pcie.c602 pcie_service_card *cardp; in woal_pcie_suspend() local
613 cardp = (pcie_service_card *)pci_get_drvdata(pdev); in woal_pcie_suspend()
614 if (!cardp || !cardp->handle) { in woal_pcie_suspend()
624 handle = cardp->handle; in woal_pcie_suspend()
720 pcie_service_card *cardp; in woal_pcie_resume() local
726 cardp = (pcie_service_card *)pci_get_drvdata(pdev); in woal_pcie_resume()
727 if (!cardp || !cardp->handle) { in woal_pcie_resume()
737 handle = cardp->handle; in woal_pcie_resume()
H A Dmoal_usb.h261 void woal_usb_free(struct usb_card_rec *cardp);
H A Dmoal_shim.c1255 struct usb_card_rec *cardp = (struct usb_card_rec *)handle->card; local
1268 if (port == cardp->rx_cmd_ep)
1274 atomic_read(&cardp->rx_data_urb_pending) <
1278 } else if (port == cardp->rx_data_ep) {
1280 atomic_read(&cardp->rx_data_urb_pending) <
1856 struct usb_card_rec *cardp = local
1858 if (cardp->rx_deaggr_ctrl.enable) {
1860 cardp->rx_deaggr_ctrl.aggr_max;
1861 if (cardp->rx_deaggr_ctrl.aggr_mode ==
1865 cardp->rx_deaggr_ctrl
H A Dmoal_main.c2083 struct usb_card_rec *cardp = handle->card; local
2084 device.tx_cmd_ep = cardp->tx_cmd_ep;
2085 device.rx_cmd_ep = cardp->rx_cmd_ep;
2086 device.tx_data_ep = cardp->tx_data_ep;
2087 device.rx_data_ep = cardp->rx_data_ep;
9215 struct usb_card_rec *cardp = NULL; local
9227 cardp = (struct usb_card_rec *)phandle->card;
9237 atomic_read(&cardp->tx_cmd_urb_pending));
9239 atomic_read(&cardp->tx_data_urb_pending));
9242 atomic_read(&cardp->rx_cmd_urb_pending));
[all …]
H A Dmoal_ioctl.c7152 struct usb_card_rec *cardp = NULL; in woal_usb_aggr_init() local
7173 cardp = (struct usb_card_rec *)handle->card; in woal_usb_aggr_init()
7223 cardp->tx_aggr_ctrl.enable = MFALSE; in woal_usb_aggr_init()
7225 moal_memcpy_ext(handle, &cardp->tx_aggr_ctrl, in woal_usb_aggr_init()
7232 cardp->rx_deaggr_ctrl.enable = MFALSE; in woal_usb_aggr_init()
7235 if (cardp->rx_deaggr_ctrl.enable != usb_aggr_enable) in woal_usb_aggr_init()
7240 cardp->resubmit_urbs = 1; in woal_usb_aggr_init()
7244 if (atomic_read(&cardp->rx_data_urb_pending)) { in woal_usb_aggr_init()
7246 if (cardp->rx_data_list[i].urb) { in woal_usb_aggr_init()
7248 cardp->rx_data_list[i].urb); in woal_usb_aggr_init()
[all …]
H A Dmoal_eth_ioctl.c5150 struct usb_card_rec *cardp = NULL; in woal_priv_set_get_usbaggrctrl() local
5161 cardp = (struct usb_card_rec *)handle->card; in woal_priv_set_get_usbaggrctrl()
5244 if (cardp->rx_deaggr_ctrl.enable && in woal_priv_set_get_usbaggrctrl()
5276 if (cardp->rx_deaggr_ctrl.enable && in woal_priv_set_get_usbaggrctrl()
5344 moal_memcpy_ext(handle, &cardp->tx_aggr_ctrl, in woal_priv_set_get_usbaggrctrl()
5350 cardp->resubmit_urbs = 1; in woal_priv_set_get_usbaggrctrl()
5354 if (atomic_read(&cardp->rx_data_urb_pending)) { in woal_priv_set_get_usbaggrctrl()
5356 if (cardp->rx_data_list[i].urb) { in woal_priv_set_get_usbaggrctrl()
5358 cardp->rx_data_list[i].urb); in woal_priv_set_get_usbaggrctrl()
5360 cardp->rx_data_list[i].urb); in woal_priv_set_get_usbaggrctrl()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/mvl88w8977/mlinux/
H A Dmoal_sdio_mmc.c309 struct sdio_mmc_card *cardp; in woal_sdio_shutdown() local
316 cardp = sdio_get_drvdata(func); in woal_sdio_shutdown()
317 if (!cardp || !cardp->handle) { in woal_sdio_shutdown()
322 handle = cardp->handle; in woal_sdio_shutdown()
393 struct sdio_mmc_card *cardp; in woal_sdio_suspend() local
411 cardp = sdio_get_drvdata(func); in woal_sdio_suspend()
412 if (!cardp || !cardp->handle) { in woal_sdio_suspend()
418 handle = cardp->handle; in woal_sdio_suspend()
509 struct sdio_mmc_card *cardp; in woal_sdio_resume() local
517 cardp = sdio_get_drvdata(func); in woal_sdio_resume()
[all …]
/OK3568_Linux_fs/kernel/sound/usb/usx2y/
H A Dusbusx2y.c329 struct snd_card **cardp) in usx2y_create_card() argument
359 *cardp = card; in usx2y_create_card()
367 struct snd_card **cardp) in usx2y_usb_probe() argument
372 *cardp = NULL; in usx2y_usb_probe()
387 *cardp = card; in usx2y_usb_probe()
H A Dus122l.c493 struct snd_card **cardp, in usx2y_create_card() argument
526 *cardp = card; in usx2y_create_card()
532 struct snd_card **cardp) in us122l_usb_probe() argument
555 *cardp = card; in us122l_usb_probe()
/OK3568_Linux_fs/kernel/drivers/net/wireless/marvell/mwifiex/
H A Dsdio.c3005 struct sdio_mmc_card *cardp = adapter->card; in mwifiex_sdio_reg_dump() local
3018 sdio_claim_host(cardp->func); in mwifiex_sdio_reg_dump()
3034 reg_start = cardp->reg->func1_dump_reg_start; in mwifiex_sdio_reg_dump()
3035 reg_end = cardp->reg->func1_dump_reg_end; in mwifiex_sdio_reg_dump()
3040 reg_start = cardp->reg->func1_spec_reg_table[index++]; in mwifiex_sdio_reg_dump()
3041 size = cardp->reg->func1_spec_reg_num; in mwifiex_sdio_reg_dump()
3042 reg_end = cardp->reg->func1_spec_reg_table[size-1]; in mwifiex_sdio_reg_dump()
3049 reg_start = cardp->reg->func1_scratch_reg; in mwifiex_sdio_reg_dump()
3061 data = sdio_f0_readb(cardp->func, reg, &ret); in mwifiex_sdio_reg_dump()
3063 data = sdio_readb(cardp->func, reg, &ret); in mwifiex_sdio_reg_dump()
[all …]
H A Dmain.c1097 struct usb_card_rec *cardp; in mwifiex_drv_info_dump() local
1116 cardp = (struct usb_card_rec *)adapter->card; in mwifiex_drv_info_dump()
1118 atomic_read(&cardp->tx_cmd_urb_pending)); in mwifiex_drv_info_dump()
1120 atomic_read(&cardp->port[0].tx_data_urb_pending)); in mwifiex_drv_info_dump()
1122 atomic_read(&cardp->port[1].tx_data_urb_pending)); in mwifiex_drv_info_dump()
1124 atomic_read(&cardp->rx_cmd_urb_pending)); in mwifiex_drv_info_dump()
1126 atomic_read(&cardp->rx_data_urb_pending)); in mwifiex_drv_info_dump()
/OK3568_Linux_fs/kernel/sound/usb/caiaq/
H A Ddevice.c395 struct snd_card **cardp) in create_card() argument
422 *cardp = card; in create_card()
/OK3568_Linux_fs/kernel/sound/isa/sb/
H A Dsb16.c312 struct snd_card **cardp) in snd_sb16_card_new() argument
322 *cardp = card; in snd_sb16_card_new()
/OK3568_Linux_fs/kernel/sound/isa/wavefront/
H A Dwavefront.c325 struct snd_card **cardp) in snd_wavefront_card_new() argument
345 *cardp = card; in snd_wavefront_card_new()
/OK3568_Linux_fs/kernel/sound/isa/
H A Dcmi8330.c502 struct snd_card **cardp) in snd_cmi8330_card_new() argument
516 *cardp = card; in snd_cmi8330_card_new()
H A Dopl3sa2.c615 struct snd_card **cardp) in snd_opl3sa2_card_new() argument
631 *cardp = card; in snd_opl3sa2_card_new()
H A Des18xx.c2088 struct snd_card **cardp) in snd_es18xx_card_new() argument
2091 sizeof(struct snd_es18xx), cardp); in snd_es18xx_card_new()
/OK3568_Linux_fs/kernel/sound/isa/cs423x/
H A Dcs4236.c354 struct snd_card **cardp) in snd_cs423x_card_new() argument
364 *cardp = card; in snd_cs423x_card_new()
/OK3568_Linux_fs/kernel/sound/isa/opti9xx/
H A Dopti92x-ad1848.c935 static int snd_opti9xx_card_new(struct device *pdev, struct snd_card **cardp) argument
945 *cardp = card;
/OK3568_Linux_fs/kernel/sound/isa/gus/
H A Dinterwave.c608 struct snd_card **cardp) in snd_interwave_card_new() argument
622 *cardp = card; in snd_interwave_card_new()