1 /* 2 * Copyright (c) 2016-2018 The Linux Foundation. All rights reserved. 3 * 4 * Permission to use, copy, modify, and/or distribute this software for 5 * any purpose with or without fee is hereby granted, provided that the 6 * above copyright notice and this permission notice appear in all 7 * copies. 8 * 9 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL 10 * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED 11 * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE 12 * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL 13 * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR 14 * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 15 * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 16 * PERFORMANCE OF THIS SOFTWARE. 17 */ 18 19 QDF_STATUS hif_sdio_open(struct hif_softc *hif_sc, 20 enum qdf_bus_type bus_type); 21 void hif_sdio_close(struct hif_softc *hif_sc); 22 int hif_sdio_bus_suspend(struct hif_softc *hif_ctx); 23 int hif_sdio_bus_resume(struct hif_softc *hif_ctx); 24 QDF_STATUS hif_sdio_enable_bus(struct hif_softc *hif_sc, 25 struct device *dev, void *bdev, 26 const struct hif_bus_id *bid, 27 enum hif_enable_type type); 28 void hif_sdio_disable_bus(struct hif_softc *hif_sc); 29 QDF_STATUS 30 hif_sdio_get_config_item(struct hif_softc *hif_sc, 31 int opcode, void *config, uint32_t config_len); 32 void hif_sdio_set_mailbox_swap(struct hif_softc *hif_sc); 33 void hif_sdio_claim_device(struct hif_softc *hif_sc); 34 void hif_sdio_mask_interrupt_call(struct hif_softc *scn); 35 bool hif_sdio_needs_bmi(struct hif_softc *scn); 36