/wlan-driver/qca-wifi-host-cmn/hif/src/dispatcher/ |
D | multibus.c | 44 static void hif_initialize_default_ops(struct hif_softc *hif_sc) in hif_initialize_default_ops() argument 46 struct hif_bus_ops *bus_ops = &hif_sc->bus_ops; in hif_initialize_default_ops() 90 static QDF_STATUS hif_verify_basic_ops(struct hif_softc *hif_sc) in hif_verify_basic_ops() argument 92 struct hif_bus_ops *bus_ops = &hif_sc->bus_ops; in hif_verify_basic_ops() 139 QDF_STATUS hif_bus_open(struct hif_softc *hif_sc, in hif_bus_open() argument 144 hif_initialize_default_ops(hif_sc); in hif_bus_open() 148 status = hif_initialize_pci_ops(hif_sc); in hif_bus_open() 151 status = hif_initialize_ipci_ops(hif_sc); in hif_bus_open() 154 status = hif_initialize_snoc_ops(&hif_sc->bus_ops); in hif_bus_open() 157 status = hif_initialize_ahb_ops(&hif_sc->bus_ops); in hif_bus_open() [all …]
|
D | multibus.h | 31 QDF_STATUS (*hif_bus_open)(struct hif_softc *hif_sc, 33 void (*hif_bus_close)(struct hif_softc *hif_sc); 34 void (*hif_bus_prevent_linkdown)(struct hif_softc *hif_sc, bool flag); 35 void (*hif_reset_soc)(struct hif_softc *hif_sc); 44 void (*hif_disable_isr)(struct hif_softc *hif_sc); 45 void (*hif_nointrs)(struct hif_softc *hif_sc); 46 QDF_STATUS (*hif_enable_bus)(struct hif_softc *hif_sc, 51 void (*hif_disable_bus)(struct hif_softc *hif_sc); 52 int (*hif_bus_configure)(struct hif_softc *hif_sc); 53 QDF_STATUS (*hif_get_config_item)(struct hif_softc *hif_sc, [all …]
|
D | dummy.c | 151 void hif_dummy_nointrs(struct hif_softc *hif_sc) in hif_dummy_nointrs() argument 160 int hif_dummy_bus_configure(struct hif_softc *hif_sc) in hif_dummy_bus_configure() argument 175 hif_dummy_get_config_item(struct hif_softc *hif_sc, in hif_dummy_get_config_item() argument 188 hif_dummy_set_mailbox_swap(struct hif_softc *hif_sc) in hif_dummy_set_mailbox_swap() argument 199 hif_dummy_claim_device(struct hif_softc *hif_sc) in hif_dummy_claim_device() argument 210 hif_dummy_cancel_deferred_target_sleep(struct hif_softc *hif_sc) in hif_dummy_cancel_deferred_target_sleep() argument 221 void hif_dummy_irq_enable(struct hif_softc *hif_sc, int irq_id) in hif_dummy_irq_enable() argument 231 void hif_dummy_grp_irq_enable(struct hif_softc *hif_sc, uint32_t grp_id) in hif_dummy_grp_irq_enable() argument 241 void hif_dummy_irq_disable(struct hif_softc *hif_sc, int irq_id) in hif_dummy_irq_disable() argument 251 void hif_dummy_grp_irq_disable(struct hif_softc *hif_sc, uint32_t grp_id) in hif_dummy_grp_irq_disable() argument [all …]
|
D | dummy.h | 35 void hif_dummy_nointrs(struct hif_softc *hif_sc); 36 int hif_dummy_bus_configure(struct hif_softc *hif_sc); 37 QDF_STATUS hif_dummy_get_config_item(struct hif_softc *hif_sc, 39 void hif_dummy_set_mailbox_swap(struct hif_softc *hif_sc); 40 void hif_dummy_claim_device(struct hif_softc *hif_sc); 41 void hif_dummy_cancel_deferred_target_sleep(struct hif_softc *hif_sc); 42 void hif_dummy_irq_enable(struct hif_softc *hif_sc, int irq_id); 43 void hif_dummy_irq_disable(struct hif_softc *hif_sc, int irq_id); 44 void hif_dummy_grp_irq_enable(struct hif_softc *hif_sc, uint32_t grp_id); 45 void hif_dummy_grp_irq_disable(struct hif_softc *hif_sc, uint32_t grp_id); [all …]
|
D | sdio_api.h | 19 QDF_STATUS hif_sdio_open(struct hif_softc *hif_sc, 21 void hif_sdio_close(struct hif_softc *hif_sc); 24 QDF_STATUS hif_sdio_enable_bus(struct hif_softc *hif_sc, 28 void hif_sdio_disable_bus(struct hif_softc *hif_sc); 30 hif_sdio_get_config_item(struct hif_softc *hif_sc, 32 void hif_sdio_set_mailbox_swap(struct hif_softc *hif_sc); 33 void hif_sdio_claim_device(struct hif_softc *hif_sc);
|
D | multibus_pci.c | 34 QDF_STATUS hif_initialize_pci_ops(struct hif_softc *hif_sc) in hif_initialize_pci_ops() argument 36 struct hif_bus_ops *bus_ops = &hif_sc->bus_ops; in hif_initialize_pci_ops() 49 !QDF_IS_EPPING_ENABLED(hif_get_conparam(hif_sc))) in hif_initialize_pci_ops() 116 QDF_STATUS hif_update_irq_ops_with_pci(struct hif_softc *hif_sc) in hif_update_irq_ops_with_pci() argument 118 struct hif_bus_ops *bus_ops = &hif_sc->bus_ops; in hif_update_irq_ops_with_pci()
|
D | multibus_sdio.c | 33 QDF_STATUS hif_initialize_sdio_ops(struct hif_softc *hif_sc) in hif_initialize_sdio_ops() argument 35 struct hif_bus_ops *bus_ops = &hif_sc->bus_ops; in hif_initialize_sdio_ops()
|
D | pci_api.h | 63 uint32_t hif_pci_reg_read32(struct hif_softc *hif_sc, 76 void hif_pci_reg_write32(struct hif_softc *hif_sc,
|
D | multibus_ipci.c | 32 QDF_STATUS hif_initialize_ipci_ops(struct hif_softc *hif_sc) in hif_initialize_ipci_ops() argument 34 struct hif_bus_ops *bus_ops = &hif_sc->bus_ops; in hif_initialize_ipci_ops()
|
D | usb_api.h | 40 void hif_usb_stop_device(struct hif_softc *hif_sc);
|
/wlan-driver/qca-wifi-host-cmn/hif/src/sdio/ |
D | if_sdio.c | 117 void hif_sdio_close(struct hif_softc *hif_sc) in hif_sdio_close() argument 128 QDF_STATUS hif_sdio_open(struct hif_softc *hif_sc, in hif_sdio_open() argument 131 hif_sc->bus_type = bus_type; in hif_sdio_open() 184 void hif_sdio_disable_bus(struct hif_softc *hif_sc) in hif_sdio_disable_bus() argument 186 struct sdio_func *func = dev_to_sdio_func(hif_sc->qdf_dev->dev); in hif_sdio_disable_bus() 188 hif_sdio_device_removed(hif_sc, func); in hif_sdio_disable_bus() 200 QDF_STATUS hif_sdio_get_config_item(struct hif_softc *hif_sc, in hif_sdio_get_config_item() argument 203 struct hif_sdio_softc *sc = HIF_GET_SDIO_SOFTC(hif_sc); in hif_sdio_get_config_item() 206 return hif_configure_device(hif_sc, hif_device, opcode, in hif_sdio_get_config_item() 216 void hif_sdio_set_mailbox_swap(struct hif_softc *hif_sc) in hif_sdio_set_mailbox_swap() argument [all …]
|
D | if_sdio.h | 104 void hif_sdio_close(struct hif_softc *hif_sc); 105 QDF_STATUS hif_sdio_open(struct hif_softc *hif_sc,
|
D | hif_sdio.c | 58 struct hif_softc *hif_sc = HIF_GET_SOFTC(hif_ctx); in hif_start() local 62 ret = hif_sdio_bus_configure(hif_sc); in hif_start()
|
/wlan-driver/qca-wifi-host-cmn/hif/src/ipcie/ |
D | if_ipci.c | 47 void hif_ipci_enable_power_management(struct hif_softc *hif_sc, in hif_ipci_enable_power_management() argument 50 hif_rtpm_start(hif_sc); in hif_ipci_enable_power_management() 100 int hif_ipci_bus_configure(struct hif_softc *hif_sc) in hif_ipci_bus_configure() argument 105 hif_ce_prepare_config(hif_sc); in hif_ipci_bus_configure() 107 status = hif_wlan_enable(hif_sc); in hif_ipci_bus_configure() 113 A_TARGET_ACCESS_LIKELY(hif_sc); in hif_ipci_bus_configure() 115 status = hif_config_ce(hif_sc); in hif_ipci_bus_configure() 119 status = hif_get_wake_ce_id(hif_sc, &wake_ce_id); in hif_ipci_bus_configure() 123 status = hif_configure_irq(hif_sc); in hif_ipci_bus_configure() 127 hif_sc->wake_irq = hif_ce_msi_map_ce_to_irq(hif_sc, wake_ce_id); in hif_ipci_bus_configure() [all …]
|
/wlan-driver/qca-wifi-host-cmn/hif/src/pcie/ |
D | if_pci.c | 1073 void hif_pci_enable_power_management(struct hif_softc *hif_sc, in hif_pci_enable_power_management() argument 1076 struct hif_pci_softc *pci_ctx = HIF_GET_PCI_SOFTC(hif_sc); in hif_pci_enable_power_management() 1084 mode = hif_get_conparam(hif_sc); in hif_pci_enable_power_management() 1091 hif_rtpm_start(hif_sc); in hif_pci_enable_power_management() 1098 !ce_srng_based(hif_sc)) { in hif_pci_enable_power_management() 1100 if (hif_pci_target_sleep_state_adjust(hif_sc, true, false) < 0) in hif_pci_enable_power_management() 1689 int hif_pci_bus_configure(struct hif_softc *hif_sc) in hif_pci_bus_configure() argument 1692 struct HIF_CE_state *hif_state = HIF_GET_CE_STATE(hif_sc); in hif_pci_bus_configure() 1693 struct hif_opaque_softc *hif_osc = GET_HIF_OPAQUE_HDL(hif_sc); in hif_pci_bus_configure() 1695 hif_ce_prepare_config(hif_sc); in hif_pci_bus_configure() [all …]
|
/wlan-driver/qca-wifi-host-cmn/hif/src/sdio/transfer/ |
D | transfer.h | 102 static inline int hif_sdio_bus_configure(struct hif_softc *hif_sc) in hif_sdio_bus_configure() argument 114 int hif_sdio_bus_configure(struct hif_softc *hif_sc);
|
D | adma.c | 155 int hif_sdio_bus_configure(struct hif_softc *hif_sc) in hif_sdio_bus_configure() argument 159 uint32_t con_mode = hif_get_conparam(hif_sc); in hif_sdio_bus_configure() 170 return pld_wlan_enable(hif_sc->qdf_dev->dev, &cfg, mode); in hif_sdio_bus_configure()
|
/wlan-driver/qca-wifi-host-cmn/hif/src/ |
D | hif_exec.c | 1220 struct hif_softc *hif_sc = HIF_GET_SOFTC(hif_scn); in hif_get_umac_reset_irq() local 1221 struct hif_pci_softc *sc = HIF_GET_PCI_SOFTC(hif_sc); in hif_get_umac_reset_irq() 1241 struct hif_softc *hif_sc = HIF_GET_SOFTC(hif_scn); in hif_register_umac_reset_handler() local 1245 if (!hif_sc) { in hif_register_umac_reset_handler() 1250 umac_reset_ctx = &hif_sc->umac_reset_ctx; in hif_register_umac_reset_handler() 1263 ret = pfrm_request_irq(hif_sc->qdf_dev->dev, irq, in hif_register_umac_reset_handler() 1282 struct hif_softc *hif_sc = HIF_GET_SOFTC(hif_scn); in hif_unregister_umac_reset_handler() local 1286 if (!hif_sc) { in hif_unregister_umac_reset_handler() 1291 umac_reset_ctx = &hif_sc->umac_reset_ctx; in hif_unregister_umac_reset_handler() 1297 ret = pfrm_free_irq(hif_sc->qdf_dev->dev, in hif_unregister_umac_reset_handler()
|
D | hif_main.h | 818 bool hif_is_target_register_access_allowed(struct hif_softc *hif_sc); 821 hif_is_target_register_access_allowed(struct hif_softc *hif_sc) in hif_is_target_register_access_allowed() argument 823 return !(hif_sc->recovery); in hif_is_target_register_access_allowed() 827 bool hif_is_target_register_access_allowed(struct hif_softc *hif_sc) in hif_is_target_register_access_allowed() argument
|
D | hif_napi.c | 1593 static int hnc_hotplug_register(struct hif_softc *hif_sc) argument 1599 status = qdf_cpuhp_register(&hif_sc->napi_data.cpuhp_handler, 1600 hif_sc, 1609 static void hnc_hotplug_unregister(struct hif_softc *hif_sc) argument 1613 if (hif_sc->napi_data.cpuhp_handler) 1614 qdf_cpuhp_unregister(&hif_sc->napi_data.cpuhp_handler);
|
/wlan-driver/qca-wifi-host-cmn/hif/src/ce/ |
D | ce_bmi.c | 300 struct hif_softc *hif_sc = HIF_GET_SOFTC(hif_ctx); in hif_register_bmi_callbacks() local 301 struct HIF_CE_state *hif_state = HIF_GET_CE_STATE(hif_sc); in hif_register_bmi_callbacks()
|
D | ce_main.c | 5047 QDF_STATUS hif_ce_open(struct hif_softc *hif_sc) in hif_ce_open() argument 5049 struct HIF_CE_state *hif_state = HIF_GET_CE_STATE(hif_sc); in hif_ce_open() 5060 void hif_ce_close(struct hif_softc *hif_sc) in hif_ce_close() argument 5062 struct HIF_CE_state *hif_state = HIF_GET_CE_STATE(hif_sc); in hif_ce_close() 5074 void hif_unconfig_ce(struct hif_softc *hif_sc) in hif_unconfig_ce() argument 5078 struct HIF_CE_state *hif_state = HIF_GET_CE_STATE(hif_sc); in hif_unconfig_ce() 5079 struct hif_opaque_softc *hif_hdl = GET_HIF_OPAQUE_HDL(hif_sc); in hif_unconfig_ce() 5081 for (pipe_num = 0; pipe_num < hif_sc->ce_count; pipe_num++) { in hif_unconfig_ce() 5088 for (pipe_num = 0; pipe_num < hif_sc->ce_count; pipe_num++) { in hif_unconfig_ce() 5097 if (hif_sc->athdiag_procfs_inited) { in hif_unconfig_ce() [all …]
|
/wlan-driver/qca-wifi-host-cmn/hif/src/usb/ |
D | hif_usb.c | 457 void hif_usb_stop_device(struct hif_softc *hif_sc) in hif_usb_stop_device() argument 459 struct HIF_DEVICE_USB *device = HIF_GET_USB_DEVICE(hif_sc); in hif_usb_stop_device()
|
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/be/mlo/ |
D | dp_mlo.c | 1509 struct hif_softc *hif_sc = HIF_GET_SOFTC(soc->hif_handle); in dp_umac_reset_handle_action_cb() local 1512 if (!hif_sc) { in dp_umac_reset_handle_action_cb() 1518 hif_umac_reset_ctx = &hif_sc->umac_reset_ctx; in dp_umac_reset_handle_action_cb()
|
/wlan-driver/qca-wifi-host-cmn/hif/inc/ |
D | hif.h | 2060 void hif_pkt_dl_len_set(void *hif_sc, unsigned int pkt_download_len);
|