Home
last modified time | relevance | path

Searched refs:mem_val (Results 1 – 7 of 7) sorted by relevance

/OK3568_Linux_fs/external/rkwifibt/drivers/infineon/
H A Ddhd_linux_exportfs.c597 uint32 mem_val = DUMP_MEMFILE_MAX; in get_mem_val_from_file() local
625 ret = compat_kernel_read(fp, 0, (char *)&mem_val, sizeof(uint32)); in get_mem_val_from_file()
632 p_mem_val = (char*)&mem_val; in get_mem_val_from_file()
634 mem_val = bcm_atoi(p_mem_val); in get_mem_val_from_file()
639 return mem_val; in get_mem_val_from_file()
645 uint32 mem_val = DUMP_MEMFILE_MAX; in dhd_get_memdump_info() local
647 mem_val = get_mem_val_from_file(); in dhd_get_memdump_info()
648 if (mem_val != DUMP_MEMFILE_MAX) in dhd_get_memdump_info()
649 dhd->memdump_enabled = mem_val; in dhd_get_memdump_info()
651 if (mem_val == 0 || mem_val == DUMP_MEMFILE_MAX) in dhd_get_memdump_info()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/
H A Ddhd_linux_exportfs.c603 uint32 mem_val = DUMP_MEMFILE_MAX; in get_mem_val_from_file() local
631 ret = compat_kernel_read(fp, 0, (char *)&mem_val, sizeof(uint32)); in get_mem_val_from_file()
638 p_mem_val = (char*)&mem_val; in get_mem_val_from_file()
640 mem_val = bcm_atoi(p_mem_val); in get_mem_val_from_file()
645 return mem_val; in get_mem_val_from_file()
651 uint32 mem_val = DUMP_MEMFILE_MAX; in dhd_get_memdump_info() local
653 mem_val = get_mem_val_from_file(); in dhd_get_memdump_info()
654 if (mem_val != DUMP_MEMFILE_MAX) in dhd_get_memdump_info()
655 dhd->memdump_enabled = mem_val; in dhd_get_memdump_info()
657 if (mem_val == 0 || mem_val == DUMP_MEMFILE_MAX) in dhd_get_memdump_info()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/
H A Ddhd_linux_exportfs.c603 uint32 mem_val = DUMP_MEMFILE_MAX; in get_mem_val_from_file() local
631 ret = compat_kernel_read(fp, 0, (char *)&mem_val, sizeof(uint32)); in get_mem_val_from_file()
638 p_mem_val = (char*)&mem_val; in get_mem_val_from_file()
640 mem_val = bcm_atoi(p_mem_val); in get_mem_val_from_file()
645 return mem_val; in get_mem_val_from_file()
651 uint32 mem_val = DUMP_MEMFILE_MAX; in dhd_get_memdump_info() local
653 mem_val = get_mem_val_from_file(); in dhd_get_memdump_info()
654 if (mem_val != DUMP_MEMFILE_MAX) in dhd_get_memdump_info()
655 dhd->memdump_enabled = mem_val; in dhd_get_memdump_info()
657 if (mem_val == 0 || mem_val == DUMP_MEMFILE_MAX) in dhd_get_memdump_info()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/
H A Ddhd_linux_exportfs.c1188 uint32 mem_val = DUMP_MEMFILE_MAX; in get_mem_val_from_file() local
1216 ret = kernel_read_compat(fp, 0, (char *)&mem_val, sizeof(uint32)); in get_mem_val_from_file()
1223 p_mem_val = (char*)&mem_val; in get_mem_val_from_file()
1225 mem_val = bcm_atoi(p_mem_val); in get_mem_val_from_file()
1230 return mem_val; in get_mem_val_from_file()
1236 uint32 mem_val = DUMP_MEMFILE_MAX; in dhd_get_memdump_info() local
1238 mem_val = get_mem_val_from_file(); in dhd_get_memdump_info()
1239 if (mem_val != DUMP_MEMFILE_MAX) in dhd_get_memdump_info()
1240 dhd->memdump_enabled = mem_val; in dhd_get_memdump_info()
1242 if (mem_val == 0 || mem_val == DUMP_MEMFILE_MAX) in dhd_get_memdump_info()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/
H A Ddhd_linux_exportfs.c1190 uint32 mem_val = DUMP_MEMFILE_MAX; in get_mem_val_from_file() local
1218 ret = dhd_kernel_read_compat(fp, 0, (char *)&mem_val, sizeof(uint32)); in get_mem_val_from_file()
1225 p_mem_val = (char*)&mem_val; in get_mem_val_from_file()
1227 mem_val = bcm_atoi(p_mem_val); in get_mem_val_from_file()
1232 return mem_val; in get_mem_val_from_file()
1238 uint32 mem_val = DUMP_MEMFILE_MAX; in dhd_get_memdump_info() local
1240 mem_val = get_mem_val_from_file(); in dhd_get_memdump_info()
1241 if (mem_val != DUMP_MEMFILE_MAX) in dhd_get_memdump_info()
1242 dhd->memdump_enabled = mem_val; in dhd_get_memdump_info()
1244 if (mem_val == 0 || mem_val == DUMP_MEMFILE_MAX) in dhd_get_memdump_info()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/ath/ath10k/
H A Dhw.c743 u32 addr, reg_val, mem_val; in ath10k_hw_qca6174_enable_pll_clock() local
808 mem_val = 1; in ath10k_hw_qca6174_enable_pll_clock()
809 ret = ath10k_bmi_write_memory(ar, clk_div_addr, &mem_val, in ath10k_hw_qca6174_enable_pll_clock()
810 sizeof(mem_val)); in ath10k_hw_qca6174_enable_pll_clock()
901 mem_val = 1; in ath10k_hw_qca6174_enable_pll_clock()
902 ret = ath10k_bmi_write_memory(ar, pll_init_addr, &mem_val, in ath10k_hw_qca6174_enable_pll_clock()
903 sizeof(mem_val)); in ath10k_hw_qca6174_enable_pll_clock()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/
H A Ddhd_linux.c18223 uint32 mem_val = DUMP_MEMFILE_MAX; in dhd_get_memdump_info() local
18251 ret = kernel_read(fp, (char *)&mem_val, 4, NULL); in dhd_get_memdump_info()
18253 ret = kernel_read(fp, 0, (char *)&mem_val, 4); in dhd_get_memdump_info()
18261 mem_val = bcm_atoi((char *)&mem_val); in dhd_get_memdump_info()
18266 if (mem_val == 0 || mem_val == DUMP_MEMFILE_MAX) in dhd_get_memdump_info()
18267 mem_val = DUMP_MEMFILE_BUGON; in dhd_get_memdump_info()
18272 dhd->memdump_enabled = (mem_val < DUMP_MEMFILE_MAX) ? mem_val : DUMP_DISABLED; in dhd_get_memdump_info()
18274 dhd->memdump_enabled = (mem_val < DUMP_MEMFILE_MAX) ? mem_val : DUMP_MEMFILE; in dhd_get_memdump_info()
18580 int mem_val = -1; in dhd_get_assert_info() local
18594 ssize_t ret = kernel_read(fp, (char *)&mem_val, 4, NULL); in dhd_get_assert_info()
[all …]