Home
last modified time | relevance | path

Searched refs:ol_sc (Results 1 – 21 of 21) sorted by relevance

/wlan-driver/qca-wifi-host-cmn/hif/src/sdio/native_sdio/src/
H A Dhif.c283 QDF_STATUS hif_sdio_probe(struct hif_softc *ol_sc, in hif_sdio_probe() argument
293 scn = (struct hif_sdio_softc *)ol_sc; in hif_sdio_probe()
314 hif_register_tbl_attach(ol_sc, HIF_TYPE_AR9888); in hif_sdio_probe()
315 target_register_tbl_attach(ol_sc, TARGET_TYPE_AR9888); in hif_sdio_probe()
323 hif_register_tbl_attach(ol_sc, HIF_TYPE_AR6320V2); in hif_sdio_probe()
324 target_register_tbl_attach(ol_sc, TARGET_TYPE_AR6320V2); in hif_sdio_probe()
331 hif_register_tbl_attach(ol_sc, HIF_TYPE_AR6320V2); in hif_sdio_probe()
332 target_register_tbl_attach(ol_sc, TARGET_TYPE_AR6320V2); in hif_sdio_probe()
335 hif_register_tbl_attach(ol_sc, HIF_TYPE_AR6320); in hif_sdio_probe()
336 target_register_tbl_attach(ol_sc, TARGET_TYPE_AR6320); in hif_sdio_probe()
[all …]
H A Ddev_quirks.c103 void hif_sdio_quirk_force_drive_strength(struct hif_softc *ol_sc, in hif_sdio_quirk_force_drive_strength() argument
153 int hif_sdio_quirk_async_intr(struct hif_softc *ol_sc, struct sdio_func *func) in hif_sdio_quirk_async_intr() argument
158 struct hif_sdio_dev *device = get_hif_device(ol_sc, func); in hif_sdio_quirk_async_intr()
226 void hif_sdio_quirk_force_drive_strength(struct hif_softc *ol_sc, in hif_sdio_quirk_force_drive_strength() argument
241 int hif_sdio_quirk_async_intr(struct hif_softc *ol_sc, struct sdio_func *func) in hif_sdio_quirk_async_intr() argument
257 void hif_sdio_quirk_write_cccr(struct hif_softc *ol_sc, struct sdio_func *func) in hif_sdio_quirk_write_cccr() argument
326 int hif_sdio_quirk_mod_strength(struct hif_softc *ol_sc, struct sdio_func *func) in hif_sdio_quirk_mod_strength() argument
330 struct hif_sdio_dev *device = get_hif_device(ol_sc, func); in hif_sdio_quirk_mod_strength()
396 QDF_STATUS hif_sdio_set_bus_speed(struct hif_softc *ol_sc, in hif_sdio_set_bus_speed() argument
400 struct hif_sdio_dev *device = get_hif_device(ol_sc, func); in hif_sdio_set_bus_speed()
[all …]
/wlan-driver/qca-wifi-host-cmn/hif/src/sdio/
H A Dif_sdio.h41 struct hif_softc ol_sc; member
78 void hif_init_qdf_ctx(qdf_device_t qdf_dev, void *ol_sc);
79 void hif_deinit_qdf_ctx(void *ol_sc);
90 QDF_STATUS hif_sdio_device_inserted(struct hif_softc *ol_sc,
97 int hif_device_suspend(struct hif_softc *ol_sc, struct device *dev);
98 int hif_device_resume(struct hif_softc *ol_sc, struct device *dev);
H A Dif_sdio.c136 void hif_get_target_revision(struct hif_softc *ol_sc) in hif_get_target_revision() argument
138 struct hif_softc *ol_sc_local = (struct hif_softc *)ol_sc; in hif_get_target_revision()
163 QDF_STATUS hif_sdio_enable_bus(struct hif_softc *ol_sc, struct device *dev, in hif_sdio_enable_bus() argument
169 if (hif_sdio_device_inserted(ol_sc, dev, id)) { in hif_sdio_enable_bus()
H A Dhif_sdio_dev.h155 QDF_STATUS hif_enable_func(struct hif_softc *ol_sc, struct hif_sdio_dev *device,
160 A_STATUS hif_sdio_probe(struct hif_softc *ol_sc,
/wlan-driver/qca-wifi-host-cmn/hif/src/snoc/
H A Dif_snoc.c215 static inline int hif_snoc_get_target_type(struct hif_softc *ol_sc, in hif_snoc_get_target_type() argument
264 QDF_STATUS hif_snoc_enable_bus(struct hif_softc *ol_sc, in hif_snoc_enable_bus() argument
273 if (!ol_sc) { in hif_snoc_enable_bus()
278 ret = hif_set_dma_coherent_mask(ol_sc->qdf_dev); in hif_snoc_enable_bus()
284 ret = qdf_device_init_wakeup(ol_sc->qdf_dev, true); in hif_snoc_enable_bus()
292 ret = hif_snoc_get_target_type(ol_sc, dev, bdev, bid, in hif_snoc_enable_bus()
299 ol_sc->target_info.target_type = target_type; in hif_snoc_enable_bus()
301 hif_register_tbl_attach(ol_sc, hif_type); in hif_snoc_enable_bus()
302 hif_target_register_tbl_attach(ol_sc, target_type); in hif_snoc_enable_bus()
305 hif_vote_link_up(GET_HIF_OPAQUE_HDL(ol_sc)); in hif_snoc_enable_bus()
H A Dif_ahb.c218 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()
468 QDF_STATUS hif_ahb_enable_bus(struct hif_softc *ol_sc, in hif_ahb_enable_bus() argument
482 struct hif_pci_softc *sc = HIF_GET_PCI_SOFTC(ol_sc); in hif_ahb_enable_bus()
512 hif_update_irq_ops_with_pci(ol_sc); in hif_ahb_enable_bus()
548 ol_sc->mem = mem; in hif_ahb_enable_bus()
549 ol_sc->mem_pa = memres->start; in hif_ahb_enable_bus()
569 tgt_info = hif_get_target_info_handle((struct hif_opaque_softc *)ol_sc); in hif_ahb_enable_bus()
572 hif_register_tbl_attach(ol_sc, hif_type); in hif_ahb_enable_bus()
573 hif_target_register_tbl_attach(ol_sc, target_type); in hif_ahb_enable_bus()
[all …]
/wlan-driver/qca-wifi-host-cmn/hif/src/sdio/native_sdio/include/
H A Dhif_internal.h284 QDF_STATUS hif_configure_device(struct hif_softc *ol_sc,
349 void hif_get_target_revision(struct hif_softc *ol_sc);
417 void hif_sdio_quirk_force_drive_strength(struct hif_softc *ol_sc,
419 void hif_sdio_quirk_write_cccr(struct hif_softc *ol_sc, struct sdio_func *func);
420 int hif_sdio_quirk_mod_strength(struct hif_softc *ol_sc,
422 int hif_sdio_quirk_async_intr(struct hif_softc *ol_sc, struct sdio_func *func);
423 int hif_sdio_set_bus_speed(struct hif_softc *ol_sc, struct sdio_func *func);
424 int hif_sdio_set_bus_width(struct hif_softc *ol_sc, struct sdio_func *func);
/wlan-driver/qca-wifi-host-cmn/hif/src/ipcie/
H A Dif_ipci.c774 sc->ce_sc.ol_sc.mem = info.v_addr; in hif_ipci_get_soc_info_pld()
775 sc->ce_sc.ol_sc.mem_pa = info.p_addr; in hif_ipci_get_soc_info_pld()
831 QDF_STATUS hif_ipci_enable_bus(struct hif_softc *ol_sc, in hif_ipci_enable_bus() argument
838 struct hif_ipci_softc *sc = HIF_GET_IPCI_SOFTC(ol_sc); in hif_ipci_enable_bus()
839 struct hif_opaque_softc *hif_hdl = GET_HIF_OPAQUE_HDL(ol_sc); in hif_ipci_enable_bus()
844 if (!ol_sc) { in hif_ipci_enable_bus()
871 hif_register_tbl_attach(ol_sc, hif_type); in hif_ipci_enable_bus()
872 hif_target_register_tbl_attach(ol_sc, target_type); in hif_ipci_enable_bus()
876 if (!ol_sc->mem_pa) { in hif_ipci_enable_bus()
/wlan-driver/qca-wifi-host-cmn/hif/src/pcie/
H A Dif_pci.c1846 struct hif_softc *ol_sc = HIF_GET_SOFTC(sc); in hif_enable_pci_nopld() local
1937 ol_sc->mem = mem; in hif_enable_pci_nopld()
1938 ol_sc->mem_pa = pci_resource_start(pdev, BAR_NUM); in hif_enable_pci_nopld()
1981 struct hif_softc *ol_sc = HIF_GET_SOFTC(sc); in hif_disable_pci() local
1983 if (!ol_sc) { in hif_disable_pci()
1991 ol_sc->mem = NULL; in hif_disable_pci()
2592 struct hif_opaque_softc *ol_sc = GET_HIF_OPAQUE_HDL(hif_sc); in hif_pci_reset_soc() local
2593 struct hif_target_info *tgt_info = hif_get_target_info_handle(ol_sc); in hif_pci_reset_soc()
3700 sc->ce_sc.ol_sc.mem = info.v_addr; in hif_pci_get_soc_info_pld()
3701 sc->ce_sc.ol_sc.mem_pa = info.p_addr; in hif_pci_get_soc_info_pld()
[all …]
/wlan-driver/qca-wifi-host-cmn/hif/src/sdio/transfer/
H A Dmailbox.c1571 static QDF_STATUS hif_sdio_func_enable(struct hif_softc *ol_sc, in hif_sdio_func_enable() argument
1574 struct hif_sdio_dev *device = get_hif_device(ol_sc, func); in hif_sdio_func_enable()
1581 ret = hif_sdio_quirk_async_intr(ol_sc, func); in hif_sdio_func_enable()
1604 ret = hif_sdio_quirk_mod_strength(ol_sc, func); in hif_sdio_func_enable()
1932 QDF_STATUS hif_enable_func(struct hif_softc *ol_sc, struct hif_sdio_dev *device, in hif_enable_func() argument
1944 if (hif_sdio_func_enable(ol_sc, func)) in hif_enable_func()
1962 ret = hif_sdio_probe(ol_sc, func, device); in hif_enable_func()
H A Dadma.c350 QDF_STATUS hif_enable_func(struct hif_softc *ol_sc, struct hif_sdio_dev *device, in hif_enable_func() argument
361 ret = hif_sdio_probe(ol_sc, func, device); in hif_enable_func()
/wlan-driver/qca-wifi-host-cmn/hif/src/dispatcher/
H A Dsnoc_api.h30 QDF_STATUS hif_snoc_enable_bus(struct hif_softc *ol_sc,
H A Dahb_api.h31 QDF_STATUS hif_ahb_enable_bus(struct hif_softc *ol_sc,
H A Dusb_api.h29 QDF_STATUS hif_usb_enable_bus(struct hif_softc *ol_sc,
H A Dpci_api.h28 void hif_pci_reset_soc(struct hif_softc *ol_sc);
/wlan-driver/qca-wifi-host-cmn/hif/src/
H A Dhif_main.h673 void hif_bus_close(struct hif_softc *ol_sc);
674 QDF_STATUS hif_bus_open(struct hif_softc *ol_sc,
676 QDF_STATUS hif_enable_bus(struct hif_softc *ol_sc, struct device *dev,
H A Dhif_exec.c1027 qdf_atomic_set(&hif_state->ol_sc.active_grp_tasklet_cnt, 0); in hif_exec_kill()
/wlan-driver/qca-wifi-host-cmn/hif/src/usb/
H A Dif_usb.h116 struct hif_softc ol_sc; member
/wlan-driver/qca-wifi-host-cmn/htc/
H A Dhtc.c430 HTC_HANDLE htc_create(void *ol_sc, struct htc_init_info *pInfo, in htc_create() argument
438 if (!ol_sc) { in htc_create()
442 HTC_TRACE("+htc_create .. HIF :%pK", ol_sc); in htc_create()
507 target->hif_dev = ol_sc; in htc_create()
/wlan-driver/qca-wifi-host-cmn/hif/src/ce/
H A Dce_main.h204 struct hif_softc ol_sc; member