/wlan-driver/qca-wifi-host-cmn/spectral/core/ |
D | spectral_offload.c | 26 spectral_ctx_init_ol_dma_debug(struct spectral_context *sc) in spectral_ctx_init_ol_dma_debug() argument 28 if (!sc) { in spectral_ctx_init_ol_dma_debug() 32 sc->sptrlc_set_dma_debug = tgt_set_spectral_dma_debug; in spectral_ctx_init_ol_dma_debug() 36 spectral_ctx_init_ol_dma_debug(struct spectral_context *sc) in spectral_ctx_init_ol_dma_debug() argument 42 spectral_ctx_init_ol(struct spectral_context *sc) in spectral_ctx_init_ol() argument 44 if (!sc) { in spectral_ctx_init_ol() 48 sc->sptrlc_spectral_control = tgt_spectral_control; in spectral_ctx_init_ol() 49 sc->sptrlc_pdev_spectral_init = tgt_pdev_spectral_init; in spectral_ctx_init_ol() 50 sc->sptrlc_pdev_spectral_deinit = tgt_pdev_spectral_deinit; in spectral_ctx_init_ol() 51 sc->sptrlc_psoc_spectral_init = tgt_psoc_spectral_init; in spectral_ctx_init_ol() [all …]
|
D | spectral_common.c | 120 struct spectral_context *sc; in spectral_control_cmn() local 132 sc = spectral_get_spectral_ctx_from_pdev(pdev); in spectral_control_cmn() 133 if (!sc) { in spectral_control_cmn() 145 ret = sc->sptrlc_set_spectral_config in spectral_control_cmn() 154 ret = sc->sptrlc_set_spectral_config in spectral_control_cmn() 163 ret = sc->sptrlc_set_spectral_config in spectral_control_cmn() 172 ret = sc->sptrlc_set_spectral_config in spectral_control_cmn() 181 ret = sc->sptrlc_set_spectral_config in spectral_control_cmn() 190 ret = sc->sptrlc_set_spectral_config in spectral_control_cmn() 199 ret = sc->sptrlc_set_spectral_config in spectral_control_cmn() [all …]
|
D | spectral_cmn_api_i.h | 133 struct spectral_context *sc = NULL; in spectral_get_spectral_ctx_from_pdev() local 137 sc = wlan_objmgr_psoc_get_comp_private_obj( in spectral_get_spectral_ctx_from_pdev() 142 return sc; in spectral_get_spectral_ctx_from_pdev() 158 struct spectral_context *sc = NULL; in spectral_get_spectral_ctx_from_psoc() local 161 sc = wlan_objmgr_psoc_get_comp_private_obj( in spectral_get_spectral_ctx_from_psoc() 166 return sc; in spectral_get_spectral_ctx_from_psoc() 183 struct spectral_context *sc = NULL; in spectral_get_spectral_ctx_from_vdev() local 187 sc = wlan_objmgr_psoc_get_comp_private_obj( in spectral_get_spectral_ctx_from_vdev() 192 return sc; in spectral_get_spectral_ctx_from_vdev()
|
/wlan-driver/qca-wifi-host-cmn/spectral/dispatcher/src/ |
D | wlan_spectral_utils_api.c | 201 struct spectral_context *sc; in spectral_register_legacy_cb() local 213 sc = spectral_get_spectral_ctx_from_psoc(psoc); in spectral_register_legacy_cb() 214 if (!sc) { in spectral_register_legacy_cb() 219 sc->legacy_cbacks.vdev_get_chan_freq = in spectral_register_legacy_cb() 221 sc->legacy_cbacks.vdev_get_chan_freq_seg2 = in spectral_register_legacy_cb() 223 sc->legacy_cbacks.vdev_get_ch_width = legacy_cbacks->vdev_get_ch_width; in spectral_register_legacy_cb() 224 sc->legacy_cbacks.vdev_get_sec20chan_freq_mhz = in spectral_register_legacy_cb() 234 struct spectral_context *sc; in spectral_vdev_get_chan_freq() local 236 sc = spectral_get_spectral_ctx_from_vdev(vdev); in spectral_vdev_get_chan_freq() 237 if (!sc) { in spectral_vdev_get_chan_freq() [all …]
|
D | wlan_spectral_ucfg_api.c | 61 struct spectral_context *sc; in ucfg_spectral_control() local 83 sc = spectral_get_spectral_ctx_from_pdev(pdev); in ucfg_spectral_control() 84 if (!sc) { in ucfg_spectral_control() 89 return sc->sptrlc_spectral_control(pdev, sscan_req); in ucfg_spectral_control()
|
D | wlan_spectral_tgt_api.c | 52 struct spectral_context *sc; in tgt_get_psoc_target_handle() local 59 sc = wlan_objmgr_psoc_get_comp_private_obj(psoc, in tgt_get_psoc_target_handle() 61 if (!sc) { in tgt_get_psoc_target_handle() 66 return sc->psoc_target_handle; in tgt_get_psoc_target_handle() 74 struct spectral_context *sc; in tgt_spectral_control() local 80 sc = spectral_get_spectral_ctx_from_pdev(pdev); in tgt_spectral_control() 81 if (!sc) { in tgt_spectral_control()
|
/wlan-driver/qca-wifi-host-cmn/hif/src/pcie/ |
D | if_pci.c | 219 static inline void hif_pci_route_adrastea_interrupt(struct hif_pci_softc *sc) in hif_pci_route_adrastea_interrupt() argument 223 static void hif_pci_route_adrastea_interrupt(struct hif_pci_softc *sc) in hif_pci_route_adrastea_interrupt() argument 225 struct hif_softc *scn = HIF_GET_SOFTC(sc); in hif_pci_route_adrastea_interrupt() 229 target_enable0 = hif_read32_mb(sc, sc->mem + Q6_ENABLE_REGISTER_0); in hif_pci_route_adrastea_interrupt() 230 target_enable1 = hif_read32_mb(sc, sc->mem + Q6_ENABLE_REGISTER_1); in hif_pci_route_adrastea_interrupt() 231 target_cause0 = hif_read32_mb(sc, sc->mem + Q6_CAUSE_REGISTER_0); in hif_pci_route_adrastea_interrupt() 232 target_cause1 = hif_read32_mb(sc, sc->mem + Q6_CAUSE_REGISTER_1); in hif_pci_route_adrastea_interrupt() 236 hif_write32_mb(sc, sc->mem + Q6_ENABLE_REGISTER_0, 0); in hif_pci_route_adrastea_interrupt() 237 hif_write32_mb(sc, sc->mem + Q6_ENABLE_REGISTER_1, 0); in hif_pci_route_adrastea_interrupt() 240 pld_intr_notify_q6(sc->dev); in hif_pci_route_adrastea_interrupt() [all …]
|
D | if_pci_internal.h | 34 #define PCI_CLR_CAUSE0_REGISTER(sc) \ argument 37 tmp_cause0 = hif_read32_mb(sc, sc->mem + PCIE_INTR_CAUSE_ADDRESS); \ 38 hif_write32_mb(sc, sc->mem + PCIE_INTR_CLR_ADDRESS, \ 40 hif_read32_mb(sc, sc->mem + PCIE_INTR_CLR_ADDRESS); \ 41 hif_write32_mb(sc, sc->mem + PCIE_INTR_CLR_ADDRESS, 0); \ 42 hif_read32_mb(sc, sc->mem + PCIE_INTR_CLR_ADDRESS); \ 45 #define PCI_CLR_CAUSE0_REGISTER(sc) argument
|
D | if_pci.h | 149 int (*hif_enable_pci)(struct hif_pci_softc *sc, struct pci_dev *pdev, 151 void (*hif_pci_deinit)(struct hif_pci_softc *sc); 152 void (*hif_pci_get_soc_info)(struct hif_pci_softc *sc, 164 int hif_configure_irq(struct hif_softc *sc); 183 #define LEGACY_INTERRUPTS(sc) ((sc)->num_msi_intrs == 0) argument
|
/wlan-driver/qca-wifi-host-cmn/hif/src/ |
D | hif_io32.h | 55 void hif_write32_mb_reg_window(void *sc, 58 uint32_t hif_read32_mb_reg_window(void *sc, 160 static inline void hif_reg_write_result_check(struct hif_pci_softc *sc, in hif_reg_write_result_check() argument 166 value = qdf_ioread32(sc->mem + offset); in hif_reg_write_result_check() 188 void hif_select_window_confirm(struct hif_pci_softc *sc, uint32_t offset) in hif_select_window_confirm() argument 192 qdf_iowrite32(sc->mem + WINDOW_REG_ADDRESS, in hif_select_window_confirm() 194 sc->register_window = window; in hif_select_window_confirm() 195 hif_reg_write_result_check(sc, WINDOW_REG_ADDRESS, in hif_select_window_confirm() 201 void hif_select_window_confirm(struct hif_pci_softc *sc, uint32_t offset) in hif_select_window_confirm() argument 205 if (window != sc->register_window) { in hif_select_window_confirm() [all …]
|
D | hif_main.h | 540 struct hif_softc *sc = (struct hif_softc *)hif_hdl; in hif_get_hal_handle() local 542 if (!sc) in hif_get_hal_handle() 545 return sc->hal_soc; in hif_get_hal_handle() 561 struct hif_softc *sc = (struct hif_softc *)hif_hdl; in hif_get_cmem_info() local 563 *cmem_start = sc->cmem_start; in hif_get_cmem_info() 564 *cmem_size = sc->cmem_size; in hif_get_cmem_info() 615 static inline bool hif_is_nss_wifi_enabled(struct hif_softc *sc) in hif_is_nss_wifi_enabled() argument 617 return !!(sc->nss_wifi_ol_mode); in hif_is_nss_wifi_enabled() 620 static inline bool hif_is_nss_wifi_enabled(struct hif_softc *sc) in hif_is_nss_wifi_enabled() argument 626 static inline uint8_t hif_is_attribute_set(struct hif_softc *sc, in hif_is_attribute_set() argument [all …]
|
/wlan-driver/qca-wifi-host-cmn/hif/src/usb/ |
D | if_usb.c | 120 struct hif_usb_softc *sc; in hif_usb_reboot() local 123 sc = container_of(nb, struct hif_usb_softc, reboot_notifier); in hif_usb_reboot() 125 hif_usb_diag_write_cold_reset(HIF_GET_SOFTC(sc)); in hif_usb_reboot() 191 struct hif_usb_softc *sc; in hif_usb_enable_bus() local 204 sc = HIF_GET_USB_SOFTC(scn); in hif_usb_enable_bus() 217 sc->pdev = (void *)usbdev; in hif_usb_enable_bus() 218 sc->dev = &usbdev->dev; in hif_usb_enable_bus() 219 sc->devid = id->idProduct; in hif_usb_enable_bus() 239 sc->reboot_notifier.notifier_call = hif_usb_reboot; in hif_usb_enable_bus() 240 register_reboot_notifier(&sc->reboot_notifier); in hif_usb_enable_bus() [all …]
|
D | hif_usb.c | 345 void hif_usb_device_deinit(struct hif_usb_softc *sc) in hif_usb_device_deinit() argument 347 struct HIF_DEVICE_USB *device = &sc->hif_hdl; in hif_usb_device_deinit() 368 QDF_STATUS hif_usb_device_init(struct hif_usb_softc *sc) in hif_usb_device_init() argument 371 struct HIF_DEVICE_USB *device = &sc->hif_hdl; in hif_usb_device_init() 372 struct usb_interface *interface = sc->interface; in hif_usb_device_init() 417 if (hif_is_supported_rx_ctrl_pipe(HIF_GET_SOFTC(sc))) in hif_usb_device_init()
|
D | hif_usb_internal.h | 118 void hif_usb_device_deinit(struct hif_usb_softc *sc); 119 QDF_STATUS hif_usb_device_init(struct hif_usb_softc *sc);
|
D | usbdrv.c | 550 struct hif_usb_softc *sc = HIF_GET_USB_SOFTC(pipe->device); in usb_hif_usb_recv_prestart_complete() local 605 if ((--pipe->urb_prestart_cnt == 0) && !sc->suspend_state) in usb_hif_usb_recv_prestart_complete() 625 struct hif_usb_softc *sc = HIF_GET_USB_SOFTC(pipe->device); in usb_hif_usb_recv_complete() local 692 if (QDF_IS_STATUS_SUCCESS(status) && !sc->suspend_state) { in usb_hif_usb_recv_complete() 702 sc->suspend_state); in usb_hif_usb_recv_complete() 1239 struct hif_usb_softc *sc = HIF_GET_USB_SOFTC(pipe->device); in usb_hif_io_complete() local 1264 sc->fw_data = data; in usb_hif_io_complete() 1265 sc->fw_data_len = len; in usb_hif_io_complete()
|
/wlan-driver/qca-wifi-host-cmn/hif/src/snoc/ |
D | if_ahb.c | 135 struct hif_pci_softc *sc = HIF_GET_PCI_SOFTC(scn); in hif_ahb_disable_isr() local 139 tasklet_kill(&sc->intr_tq); in hif_ahb_disable_isr() 190 struct hif_pci_softc *sc = HIF_GET_PCI_SOFTC(hif_ctx); in hif_ahb_open() local 192 qdf_spinlock_create(&sc->irq_lock); in hif_ahb_open() 209 static void hif_ahb_get_bar_addr_pld(struct hif_pci_softc *sc, in hif_ahb_get_bar_addr_pld() argument 216 sc->mem = info.v_addr; in hif_ahb_get_bar_addr_pld() 218 sc->ce_sc.ol_sc.mem = info.v_addr; in hif_ahb_get_bar_addr_pld() 219 sc->ce_sc.ol_sc.mem_pa = info.p_addr; in hif_ahb_get_bar_addr_pld() 222 static void hif_ahb_get_soc_cmem_info_pld(struct hif_pci_softc *sc, in hif_ahb_get_soc_cmem_info_pld() argument 227 struct hif_softc *scn = HIF_GET_SOFTC(sc); in hif_ahb_get_soc_cmem_info_pld() [all …]
|
/wlan-driver/qca-wifi-host-cmn/hif/src/ipcie/ |
D | if_ipci.c | 76 struct hif_ipci_softc *sc = HIF_GET_IPCI_SOFTC(hif_ctx); in hif_ipci_open() local 81 qdf_spinlock_create(&sc->irq_lock); in hif_ipci_open() 243 struct hif_ipci_softc *sc = HIF_GET_IPCI_SOFTC(scn); in hif_ipci_disable_bus() local 249 if (!sc) in hif_ipci_disable_bus() 252 mem = (void __iomem *)sc->mem; in hif_ipci_disable_bus() 376 struct hif_ipci_softc *sc = HIF_GET_IPCI_SOFTC(scn); in hif_ipci_disable_isr() local 382 tasklet_kill(&sc->intr_tq); in hif_ipci_disable_isr() 766 static void hif_ipci_get_soc_info_pld(struct hif_ipci_softc *sc, in hif_ipci_get_soc_info_pld() argument 770 struct hif_softc *scn = HIF_GET_SOFTC(sc); in hif_ipci_get_soc_info_pld() 773 sc->mem = info.v_addr; in hif_ipci_get_soc_info_pld() [all …]
|
D | if_ipci.h | 104 void (*hif_ipci_get_soc_info)(struct hif_ipci_softc *sc, 122 int hif_configure_irq(struct hif_softc *sc);
|
/wlan-driver/qca-wifi-host-cmn/hif/src/ce/ |
D | ce_diag.c | 67 #define TARG_CPU_SPACE_TO_CE_SPACE(sc, pci_addr, addr) \ argument 70 #define TARG_CPU_SPACE_TO_CE_SPACE(sc, pci_addr, addr) \ argument 71 (((hif_read32_mb(sc, (pci_addr) + \ 94 static qdf_dma_addr_t get_ce_phy_addr(struct hif_softc *sc, uint32_t address, in get_ce_phy_addr() argument 98 struct hif_softc *scn = sc; in get_ce_phy_addr() 104 TARG_CPU_SPACE_TO_CE_SPACE_AR900B(sc, sc->mem, address); in get_ce_phy_addr() 107 TARG_CPU_SPACE_TO_CE_SPACE(sc, sc->mem, address); in get_ce_phy_addr()
|
/wlan-driver/qca-wifi-host-cmn/hif/src/dispatcher/ |
D | ahb_api.h | 43 int hif_ahb_configure_irq(struct hif_pci_softc *sc); 44 int hif_ahb_configure_irq_by_ceid(struct hif_softc *sc, int ce_id);
|
/wlan-driver/qca-wifi-host-cmn/utils/fwlog/inc/ |
D | fw_dbglog_api.h | 47 int fwdbg_fw_handler(struct common_dbglog_handle *dbg_handle, ol_scn_t sc, 189 void fwdbg_smartlog_deinit(struct common_dbglog_handle *dbg_handle, void *sc);
|
/wlan-driver/qcacld-3.0/components/target_if/interop_issues_ap/src/ |
D | target_if_interop_issues_ap.c | 45 static int target_if_interop_issues_ap_event_handler(ol_scn_t sc, in target_if_interop_issues_ap_event_handler() argument 56 psoc = target_if_get_psoc_from_scn_hdl(sc); in target_if_interop_issues_ap_event_handler()
|
/wlan-driver/qca-wifi-host-cmn/hif/src/sdio/ |
D | hif_sdio_dev.h | 139 struct hif_sdio_softc *sc = (struct hif_sdio_softc *)hif_ctx; in hif_sdio_set_drvdata() local 141 sc->hif_handle = hifdevice; in hif_sdio_set_drvdata()
|
D | if_sdio.c | 203 struct hif_sdio_softc *sc = HIF_GET_SDIO_SOFTC(hif_sc); in hif_sdio_get_config_item() local 204 struct hif_sdio_dev *hif_device = sc->hif_handle; in hif_sdio_get_config_item()
|
/wlan-driver/qca-wifi-host-cmn/target_if/ftm/src/ |
D | target_if_ftm.c | 47 target_if_ftm_process_utf_event(ol_scn_t sc, uint8_t *event_buf, uint32_t len) in target_if_ftm_process_utf_event() argument 57 psoc = target_if_get_psoc_from_scn_hdl(sc); in target_if_ftm_process_utf_event()
|