main.c (9b2a4c2d534ca45c74488bace32323b26633ff66) | main.c (eb4c02155881696ee6abb090d554b765e41d46ed) |
---|---|
1/* 2 * Copyright (c) 2012-2017 Qualcomm Atheros, Inc. 3 * 4 * Permission to use, copy, modify, and/or distribute this software for any 5 * purpose with or without fee is hereby granted, provided that the above 6 * copyright notice and this permission notice appear in all copies. 7 * 8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES --- 1020 unchanged lines hidden (view full) --- 1029 * may have set 1030 */ 1031 wil6210_clear_irq(wil); 1032 /* CAF_ICR - clear and mask */ 1033 /* it is W1C, clear by writing back same value */ 1034 wil_s(wil, RGF_CAF_ICR + offsetof(struct RGF_ICR, ICR), 0); 1035 wil_w(wil, RGF_CAF_ICR + offsetof(struct RGF_ICR, IMV), ~0); 1036 | 1/* 2 * Copyright (c) 2012-2017 Qualcomm Atheros, Inc. 3 * 4 * Permission to use, copy, modify, and/or distribute this software for any 5 * purpose with or without fee is hereby granted, provided that the above 6 * copyright notice and this permission notice appear in all copies. 7 * 8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES --- 1020 unchanged lines hidden (view full) --- 1029 * may have set 1030 */ 1031 wil6210_clear_irq(wil); 1032 /* CAF_ICR - clear and mask */ 1033 /* it is W1C, clear by writing back same value */ 1034 wil_s(wil, RGF_CAF_ICR + offsetof(struct RGF_ICR, ICR), 0); 1035 wil_w(wil, RGF_CAF_ICR + offsetof(struct RGF_ICR, IMV), ~0); 1036 |
1037 if (wil->fw_calib_result > 0) { 1038 __le32 val = cpu_to_le32(wil->fw_calib_result | 1039 (CALIB_RESULT_SIGNATURE << 8)); 1040 wil_w(wil, RGF_USER_FW_CALIB_RESULT, (u32 __force)val); 1041 } 1042 |
|
1037 wil_release_cpu(wil); 1038 } 1039 1040 /* init after reset */ 1041 wil->ap_isolate = 0; 1042 reinit_completion(&wil->wmi_ready); 1043 reinit_completion(&wil->wmi_call); 1044 reinit_completion(&wil->halp.comp); --- 224 unchanged lines hidden --- | 1043 wil_release_cpu(wil); 1044 } 1045 1046 /* init after reset */ 1047 wil->ap_isolate = 0; 1048 reinit_completion(&wil->wmi_ready); 1049 reinit_completion(&wil->wmi_call); 1050 reinit_completion(&wil->halp.comp); --- 224 unchanged lines hidden --- |