Lines Matching refs:spectral

578 	struct target_if_spectral *spectral = NULL;  in OS_TIMER_FUNC()  local
586 OS_GET_TIMER_ARG(spectral, struct target_if_spectral *); in OS_TIMER_FUNC()
587 if (!spectral) { in OS_TIMER_FUNC()
592 p_sops = GET_TARGET_IF_SPECTRAL_OPS(spectral); in OS_TIMER_FUNC()
598 simctx = (struct spectralsim_context *)spectral->simctx; in OS_TIMER_FUNC()
635 p_sops->spectral_process_phyerr(spectral, in OS_TIMER_FUNC()
651 target_if_spectral_sops_sim_stop_scan(spectral); in OS_TIMER_FUNC()
661 target_if_spectral_sim_attach(struct target_if_spectral *spectral) in target_if_spectral_sim_attach() argument
665 if (!spectral) { in target_if_spectral_sim_attach()
678 spectral->simctx = simctx; in target_if_spectral_sim_attach()
680 if (spectral->spectral_gen == SPECTRAL_GEN2) in target_if_spectral_sim_attach()
683 else if (spectral->spectral_gen == SPECTRAL_GEN3) in target_if_spectral_sim_attach()
689 spectral->simctx = NULL; in target_if_spectral_sim_attach()
697 (void *)(spectral), QDF_TIMER_TYPE_WAKE_APPS); in target_if_spectral_sim_attach()
705 target_if_spectral_sim_detach(struct target_if_spectral *spectral) in target_if_spectral_sim_detach() argument
709 if (!spectral) { in target_if_spectral_sim_detach()
714 simctx = (struct spectralsim_context *)spectral->simctx; in target_if_spectral_sim_detach()
724 spectral->simctx = NULL; in target_if_spectral_sim_detach()
732 struct target_if_spectral *spectral = NULL; in target_if_spectral_sops_sim_is_active() local
735 spectral = (struct target_if_spectral *)arg; in target_if_spectral_sops_sim_is_active()
736 if (!spectral) { in target_if_spectral_sops_sim_is_active()
740 simctx = (struct spectralsim_context *)spectral->simctx; in target_if_spectral_sops_sim_is_active()
753 struct target_if_spectral *spectral = NULL; in target_if_spectral_sops_sim_is_enabled() local
756 spectral = (struct target_if_spectral *)arg; in target_if_spectral_sops_sim_is_enabled()
757 if (!spectral) { in target_if_spectral_sops_sim_is_enabled()
761 simctx = (struct spectralsim_context *)spectral->simctx; in target_if_spectral_sops_sim_is_enabled()
774 struct target_if_spectral *spectral = NULL; in target_if_spectral_sops_sim_start_scan() local
777 spectral = (struct target_if_spectral *)arg; in target_if_spectral_sops_sim_start_scan()
778 if (!spectral) { in target_if_spectral_sops_sim_start_scan()
782 simctx = (struct spectralsim_context *)spectral->simctx; in target_if_spectral_sops_sim_start_scan()
827 struct target_if_spectral *spectral = NULL; in target_if_spectral_sops_sim_stop_scan() local
830 spectral = (struct target_if_spectral *)arg; in target_if_spectral_sops_sim_stop_scan()
831 if (!spectral) { in target_if_spectral_sops_sim_stop_scan()
835 simctx = (struct spectralsim_context *)spectral->simctx; in target_if_spectral_sops_sim_stop_scan()
907 struct target_if_spectral *spectral = NULL; in target_if_spectral_sops_sim_configure_params() local
921 spectral = (struct target_if_spectral *)arg; in target_if_spectral_sops_sim_configure_params()
922 if (!spectral) { in target_if_spectral_sops_sim_configure_params()
926 simctx = (struct spectralsim_context *)spectral->simctx; in target_if_spectral_sops_sim_configure_params()
932 vdev = target_if_spectral_get_vdev(spectral, smode); in target_if_spectral_sops_sim_configure_params()
1003 struct target_if_spectral *spectral = NULL; in target_if_spectral_sops_sim_get_params() local
1005 spectral = (struct target_if_spectral *)arg; in target_if_spectral_sops_sim_get_params()
1007 if (!param || !spectral) { in target_if_spectral_sops_sim_get_params()
1009 param, spectral); in target_if_spectral_sops_sim_get_params()
1013 simctx = (struct spectralsim_context *)spectral->simctx; in target_if_spectral_sops_sim_get_params()