Searched refs:cardp (Results 1 – 5 of 5) sorted by relevance
45 static int if_usb_prog_firmware(struct if_usb_card *cardp);48 static int usb_tx_block(struct if_usb_card *cardp, uint8_t *payload,50 static void if_usb_free(struct if_usb_card *cardp);51 static int if_usb_submit_rx_urb(struct if_usb_card *cardp);52 static int if_usb_reset_device(struct if_usb_card *cardp);76 static void if_usb_free(struct if_usb_card *cardp) in if_usb_free() argument81 usb_kill_urb(cardp->tx_urb); in if_usb_free()82 usb_kill_urb(cardp->rx_urb); in if_usb_free()83 usb_kill_urb(cardp->cmd_urb); in if_usb_free()85 usb_free_urb(cardp->tx_urb); in if_usb_free()[all …]
193 int (*hw_prog_firmware) (struct if_usb_card *cardp);194 int (*hw_reset_device) (struct if_usb_card *cardp);
72 static int usb_tx_block(struct if_usb_card *cardp, uint8_t *payload,74 static void if_usb_free(struct if_usb_card *cardp);75 static int if_usb_submit_rx_urb(struct if_usb_card *cardp);76 static int if_usb_reset_device(struct if_usb_card *cardp);86 struct if_usb_card *cardp = (struct if_usb_card *) urb->context; in if_usb_write_bulk_callback() local91 struct lbs_private *priv = cardp->priv; in if_usb_write_bulk_callback()113 static void if_usb_free(struct if_usb_card *cardp) in if_usb_free() argument118 usb_kill_urb(cardp->tx_urb); in if_usb_free()119 usb_kill_urb(cardp->rx_urb); in if_usb_free()121 usb_free_urb(cardp->tx_urb); in if_usb_free()[all …]
2524 struct sdio_mmc_card *cardp = adapter->card; in mwifiex_sdio_reg_dump() local2537 sdio_claim_host(cardp->func); in mwifiex_sdio_reg_dump()2553 reg_start = cardp->reg->func1_dump_reg_start; in mwifiex_sdio_reg_dump()2554 reg_end = cardp->reg->func1_dump_reg_end; in mwifiex_sdio_reg_dump()2559 reg_start = cardp->reg->func1_spec_reg_table[index++]; in mwifiex_sdio_reg_dump()2560 size = cardp->reg->func1_spec_reg_num; in mwifiex_sdio_reg_dump()2561 reg_end = cardp->reg->func1_spec_reg_table[size-1]; in mwifiex_sdio_reg_dump()2568 reg_start = cardp->reg->func1_scratch_reg; in mwifiex_sdio_reg_dump()2580 data = sdio_f0_readb(cardp->func, reg, &ret); in mwifiex_sdio_reg_dump()2582 data = sdio_readb(cardp->func, reg, &ret); in mwifiex_sdio_reg_dump()[all …]
981 struct usb_card_rec *cardp; in mwifiex_drv_info_dump() local1009 cardp = (struct usb_card_rec *)adapter->card; in mwifiex_drv_info_dump()1011 atomic_read(&cardp->tx_cmd_urb_pending)); in mwifiex_drv_info_dump()1013 atomic_read(&cardp->port[0].tx_data_urb_pending)); in mwifiex_drv_info_dump()1015 atomic_read(&cardp->port[1].tx_data_urb_pending)); in mwifiex_drv_info_dump()1017 atomic_read(&cardp->rx_cmd_urb_pending)); in mwifiex_drv_info_dump()1019 atomic_read(&cardp->rx_data_urb_pending)); in mwifiex_drv_info_dump()