/wlan-driver/qcacld-3.0/core/bmi/src/ |
H A D | ol_fw.c | 173 __ol_transfer_bin_file(struct ol_context *ol_ctx, enum ATH_BIN_FILE file, in __ol_transfer_bin_file() argument 176 struct hif_opaque_softc *scn = ol_ctx->scn; in __ol_transfer_bin_file() 188 struct bmi_info *bmi_ctx = GET_BMI_CONTEXT(ol_ctx); in __ol_transfer_bin_file() 189 qdf_device_t qdf_dev = ol_ctx->qdf_dev; in __ol_transfer_bin_file() 391 (uint8_t *) &board_ext_address, 4, ol_ctx); in __ol_transfer_bin_file() 407 board_ext_data_size, ol_ctx); in __ol_transfer_bin_file() 417 (uint8_t *)¶m, 4, ol_ctx); in __ol_transfer_bin_file() 442 bin_off, ol_ctx); in __ol_transfer_bin_file() 468 bin_len, ol_ctx); in __ol_transfer_bin_file() 473 fw_entry_size, ol_ctx); in __ol_transfer_bin_file() [all …]
|
H A D | bmi.c | 25 QDF_STATUS bmi_init(struct ol_context *ol_ctx) in bmi_init() argument 27 struct bmi_info *info = GET_BMI_CONTEXT(ol_ctx); in bmi_init() 28 struct hif_opaque_softc *scn = ol_ctx->scn; in bmi_init() 29 qdf_device_t qdf_dev = ol_ctx->qdf_dev; in bmi_init() 73 void bmi_cleanup(struct ol_context *ol_ctx) in bmi_cleanup() argument 75 struct bmi_info *info = GET_BMI_CONTEXT(ol_ctx); in bmi_cleanup() 78 if (!info || !ol_ctx) { in bmi_cleanup() 83 qdf_dev = ol_ctx->qdf_dev; in bmi_cleanup() 118 QDF_STATUS bmi_done(struct ol_context *ol_ctx) in bmi_done() argument 125 if (!ol_ctx) { in bmi_done() [all …]
|
H A D | ol_fw_common.c | 37 static inline void ol_sdio_disable_sleep(struct ol_context *ol_ctx) in ol_sdio_disable_sleep() argument 45 ol_ctx); in ol_sdio_disable_sleep() 51 ol_ctx); in ol_sdio_disable_sleep() 55 static inline void ol_sdio_disable_sleep(struct ol_context *ol_ctx) in ol_sdio_disable_sleep() argument 70 ol_usb_extra_initialization(struct ol_context *ol_ctx) in ol_usb_extra_initialization() argument 72 struct hif_opaque_softc *scn = ol_ctx->scn; in ol_usb_extra_initialization() 83 (u_int8_t *)¶m, 4, ol_ctx); in ol_usb_extra_initialization() 90 QDF_STATUS ol_sdio_extra_initialization(struct ol_context *ol_ctx) in ol_sdio_extra_initialization() argument 97 struct hif_opaque_softc *scn = ol_ctx->scn; in ol_sdio_extra_initialization() 121 ol_ctx); in ol_sdio_extra_initialization() [all …]
|
H A D | i_bmi.h | 179 #define GET_BMI_CONTEXT(ol_ctx) ((struct bmi_info *)ol_ctx) argument 182 struct ol_context *ol_ctx); 183 QDF_STATUS bmi_init(struct ol_context *ol_ctx); 184 QDF_STATUS bmi_no_command(struct ol_context *ol_ctx); 186 struct ol_context *ol_ctx); 188 struct ol_context *ol_ctx); 190 struct ol_context *ol_ctx); 192 uint32_t *param, struct ol_context *ol_ctx); 194 struct ol_context *ol_ctx); 196 struct ol_context *ol_ctx); [all …]
|
H A D | bmi_1.c | 26 uint8_t *buffer, uint32_t length, struct ol_context *ol_ctx) in bmi_read_memory() argument 28 struct hif_opaque_softc *scn = ol_ctx->scn; in bmi_read_memory() 33 struct bmi_info *info = GET_BMI_CONTEXT(ol_ctx); in bmi_read_memory() 97 struct ol_context *ol_ctx) in bmi_write_memory() argument 99 struct hif_opaque_softc *scn = ol_ctx->scn; in bmi_write_memory() 107 struct bmi_info *info = GET_BMI_CONTEXT(ol_ctx); in bmi_write_memory() 167 bmi_execute(uint32_t address, A_UINT32 *param, struct ol_context *ol_ctx) in bmi_execute() argument 169 struct hif_opaque_softc *scn = ol_ctx->scn; in bmi_execute() 174 struct bmi_info *info = GET_BMI_CONTEXT(ol_ctx); in bmi_execute() 223 bmi_no_command(struct ol_context *ol_ctx) in bmi_no_command() argument [all …]
|
/wlan-driver/qcacld-3.0/core/bmi/inc/ |
H A D | bmi.h | 56 void ol_init_ini_config(struct ol_context *ol_ctx, 65 void ol_set_fw_crashed_cb(struct ol_context *ol_ctx, 68 QDF_STATUS bmi_done(struct ol_context *ol_ctx); 70 QDF_STATUS bmi_download_firmware(struct ol_context *ol_ctx); 85 ol_init_ini_config(struct ol_context *ol_ctx, struct ol_config_info *cfg) in ol_init_ini_config() argument 90 ol_set_fw_crashed_cb(struct ol_context *ol_ctx, void (*callback_fn)(void)) in ol_set_fw_crashed_cb() argument 98 static inline QDF_STATUS bmi_done(struct ol_context *ol_ctx) in bmi_done() argument 109 bmi_download_firmware(struct ol_context *ol_ctx) in bmi_download_firmware() argument
|
H A D | ol_fw.h | 41 QDF_STATUS ol_extra_initialization(struct ol_context *ol_ctx);
|
/wlan-driver/qca-wifi-host-cmn/utils/epping/src/ |
H A D | epping_main.c | 187 struct ol_context *ol_ctx = cds_get_context(QDF_MODULE_ID_BMI); in epping_update_ol_config() local 189 if (!ol_ctx) in epping_update_ol_config() 198 ol_init_ini_config(ol_ctx, &cfg); in epping_update_ol_config() 202 QDF_STATUS epping_bmi_download_fw(struct ol_context *ol_ctx) in epping_bmi_download_fw() argument 207 if (bmi_download_firmware(ol_ctx)) { in epping_bmi_download_fw() 210 bmi_cleanup(ol_ctx); in epping_bmi_download_fw() 220 QDF_STATUS epping_bmi_download_fw(struct ol_context *ol_ctx) in epping_bmi_download_fw() argument 243 struct ol_context *ol_ctx = NULL; in epping_enable() local 279 ol_ctx = cds_get_context(QDF_MODULE_ID_BMI); in epping_enable() 281 if (epping_bmi_download_fw(ol_ctx) != QDF_STATUS_SUCCESS) in epping_enable() [all …]
|
/wlan-driver/qcacld-3.0/core/cds/src/ |
H A D | cds_api.c | 751 struct ol_context *ol_ctx; in cds_open() local 810 ol_ctx = cds_get_context(QDF_MODULE_ID_BMI); in cds_open() 811 status = bmi_download_firmware(ol_ctx); in cds_open() 819 htcInfo.pContext = ol_ctx; in cds_open() 839 status = bmi_done(ol_ctx); in cds_open() 976 bmi_cleanup(ol_ctx); in cds_open()
|
/wlan-driver/qca-wifi-host-cmn/hif/inc/ |
H A D | hif.h | 1263 void (offld_flush_handler)(void *ol_ctx));
|
/wlan-driver/qcacld-3.0/core/hdd/src/ |
H A D | wlan_hdd_main.c | 20863 struct ol_context *ol_ctx = cds_get_context(QDF_MODULE_ID_BMI); in hdd_update_ol_config() local 20867 if (!ol_ctx) in hdd_update_ol_config() 20880 ol_init_ini_config(ol_ctx, &cfg); in hdd_update_ol_config() 20881 ol_set_fw_crashed_cb(ol_ctx, hdd_svc_fw_crashed_ind); in hdd_update_ol_config()
|