Lines Matching refs:ol_ctx

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()
129 hif_claim_device(ol_ctx->scn); in bmi_done()
131 if (!hif_needs_bmi(ol_ctx->scn)) in bmi_done()
134 status = bmi_done_local(ol_ctx); in bmi_done()
148 struct ol_context *ol_ctx) in bmi_get_target_info_message_based() argument
151 struct hif_opaque_softc *scn = ol_ctx->scn; in bmi_get_target_info_message_based()
152 struct bmi_info *info = GET_BMI_CONTEXT(ol_ctx); in bmi_get_target_info_message_based()
183 struct ol_context *ol_ctx) in bmi_get_target_info() argument
185 struct hif_opaque_softc *scn = ol_ctx->scn; in bmi_get_target_info()
186 struct bmi_info *info = GET_BMI_CONTEXT(ol_ctx); in bmi_get_target_info()
198 status = bmi_get_target_info_message_based(targ_info, ol_ctx); in bmi_get_target_info()
212 QDF_STATUS bmi_download_firmware(struct ol_context *ol_ctx) in bmi_download_firmware() argument
216 if (!ol_ctx) { in bmi_download_firmware()
227 scn = ol_ctx->scn; in bmi_download_firmware()
240 return bmi_firmware_download(ol_ctx); in bmi_download_firmware()
244 struct ol_context *ol_ctx) in bmi_read_soc_register() argument
246 struct hif_opaque_softc *scn = ol_ctx->scn; in bmi_read_soc_register()
250 struct bmi_info *info = GET_BMI_CONTEXT(ol_ctx); in bmi_read_soc_register()
289 struct ol_context *ol_ctx) in bmi_write_soc_register() argument
291 struct hif_opaque_softc *scn = ol_ctx->scn; in bmi_write_soc_register()
295 struct bmi_info *info = GET_BMI_CONTEXT(ol_ctx); in bmi_write_soc_register()
333 bmilz_data(uint8_t *buffer, uint32_t length, struct ol_context *ol_ctx) in bmilz_data() argument
340 struct hif_opaque_softc *scn = ol_ctx->scn; in bmilz_data()
341 struct bmi_info *info = GET_BMI_CONTEXT(ol_ctx); in bmilz_data()
388 uint32_t length, struct ol_context *ol_ctx) in bmi_sign_stream_start() argument
396 struct hif_opaque_softc *scn = ol_ctx->scn; in bmi_sign_stream_start()
397 struct bmi_info *info = GET_BMI_CONTEXT(ol_ctx); in bmi_sign_stream_start()
455 bmilz_stream_start(uint32_t address, struct ol_context *ol_ctx) in bmilz_stream_start() argument
460 struct hif_opaque_softc *scn = ol_ctx->scn; in bmilz_stream_start()
461 struct bmi_info *info = GET_BMI_CONTEXT(ol_ctx); in bmilz_stream_start()
495 uint32_t length, struct ol_context *ol_ctx) in bmi_fast_download() argument
502 status = bmilz_stream_start(address, ol_ctx); in bmi_fast_download()
511 status = bmilz_data(buffer, last_word_offset, ol_ctx); in bmi_fast_download()
517 status = bmilz_data((uint8_t *) &last_word, 4, ol_ctx); in bmi_fast_download()
524 status = bmilz_stream_start(0x00, ol_ctx); in bmi_fast_download()