Loading drivers/platform/msm/ipa/ipa_clients/ipa_gsb.c +6 −3 Original line number Diff line number Diff line /* Copyright (c) 2018 - 2019, The Linux Foundation. All rights reserved. /* Copyright (c) 2018 - 2020, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -64,15 +64,18 @@ } while (0) #define IPA_GSB_MAX_MSG_LEN 512 #ifdef CONFIG_DEBUG_FS static char dbg_buff[IPA_GSB_MAX_MSG_LEN]; static struct dentry *dent; static struct dentry *dfile_stats; #endif #define IPA_GSB_SKB_HEADROOM 256 #define IPA_GSB_SKB_DUMMY_HEADER 42 #define IPA_GSB_AGGR_BYTE_LIMIT 14 #define IPA_GSB_AGGR_TIME_LIMIT 1000 /* 1000 us */ static struct dentry *dent; static struct dentry *dfile_stats; /** * struct stats - driver statistics, Loading drivers/platform/msm/ipa/ipa_clients/ipa_mhi_client.c +7 −4 Original line number Diff line number Diff line Loading @@ -175,10 +175,6 @@ struct ipa_mhi_client_ctx { static struct ipa_mhi_client_ctx *ipa_mhi_client_ctx; static DEFINE_MUTEX(mhi_client_general_mutex); #ifdef CONFIG_DEBUG_FS #define IPA_MHI_MAX_MSG_LEN 512 static char dbg_buff[IPA_MHI_MAX_MSG_LEN]; static struct dentry *dent; static char *ipa_mhi_channel_state_str[] = { __stringify(IPA_HW_MHI_CHANNEL_STATE_DISABLE), Loading Loading @@ -290,6 +286,11 @@ static int ipa_mhi_read_write_host(enum ipa_mhi_dma_dir dir, void *dev_addr, return res; } #ifdef CONFIG_DEBUG_FS #define IPA_MHI_MAX_MSG_LEN 512 static char dbg_buff[IPA_MHI_MAX_MSG_LEN]; static struct dentry *dent; static int ipa_mhi_print_channel_info(struct ipa_mhi_channel_ctx *channel, char *buff, int len) { Loading Loading @@ -2580,10 +2581,12 @@ int ipa_mhi_destroy_all_channels(void) return 0; } #ifdef CONFIG_DEBUG_FS static void ipa_mhi_debugfs_destroy(void) { debugfs_remove_recursive(dent); } #endif static void ipa_mhi_delete_rm_resources(void) { Loading Loading
drivers/platform/msm/ipa/ipa_clients/ipa_gsb.c +6 −3 Original line number Diff line number Diff line /* Copyright (c) 2018 - 2019, The Linux Foundation. All rights reserved. /* Copyright (c) 2018 - 2020, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -64,15 +64,18 @@ } while (0) #define IPA_GSB_MAX_MSG_LEN 512 #ifdef CONFIG_DEBUG_FS static char dbg_buff[IPA_GSB_MAX_MSG_LEN]; static struct dentry *dent; static struct dentry *dfile_stats; #endif #define IPA_GSB_SKB_HEADROOM 256 #define IPA_GSB_SKB_DUMMY_HEADER 42 #define IPA_GSB_AGGR_BYTE_LIMIT 14 #define IPA_GSB_AGGR_TIME_LIMIT 1000 /* 1000 us */ static struct dentry *dent; static struct dentry *dfile_stats; /** * struct stats - driver statistics, Loading
drivers/platform/msm/ipa/ipa_clients/ipa_mhi_client.c +7 −4 Original line number Diff line number Diff line Loading @@ -175,10 +175,6 @@ struct ipa_mhi_client_ctx { static struct ipa_mhi_client_ctx *ipa_mhi_client_ctx; static DEFINE_MUTEX(mhi_client_general_mutex); #ifdef CONFIG_DEBUG_FS #define IPA_MHI_MAX_MSG_LEN 512 static char dbg_buff[IPA_MHI_MAX_MSG_LEN]; static struct dentry *dent; static char *ipa_mhi_channel_state_str[] = { __stringify(IPA_HW_MHI_CHANNEL_STATE_DISABLE), Loading Loading @@ -290,6 +286,11 @@ static int ipa_mhi_read_write_host(enum ipa_mhi_dma_dir dir, void *dev_addr, return res; } #ifdef CONFIG_DEBUG_FS #define IPA_MHI_MAX_MSG_LEN 512 static char dbg_buff[IPA_MHI_MAX_MSG_LEN]; static struct dentry *dent; static int ipa_mhi_print_channel_info(struct ipa_mhi_channel_ctx *channel, char *buff, int len) { Loading Loading @@ -2580,10 +2581,12 @@ int ipa_mhi_destroy_all_channels(void) return 0; } #ifdef CONFIG_DEBUG_FS static void ipa_mhi_debugfs_destroy(void) { debugfs_remove_recursive(dent); } #endif static void ipa_mhi_delete_rm_resources(void) { Loading