Loading drivers/platform/msm/ipa/ipa_clients/ipa_mhi_client.c +29 −4 Original line number Diff line number Diff line /* Copyright (c) 2015, 2017 The Linux Foundation. All rights reserved. /* Copyright (c) 2015, 2017-2018 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 @@ -22,11 +22,36 @@ #include "../ipa_v3/ipa_pm.h" #define IPA_MHI_DRV_NAME "ipa_mhi_client" #define IPA_MHI_DBG(fmt, args...) \ do { \ pr_debug(IPA_MHI_DRV_NAME " %s:%d " fmt, \ __func__, __LINE__, ## args); \ IPA_IPC_LOGGING(ipa_get_ipc_logbuf(), \ IPA_MHI_DRV_NAME " %s:%d " fmt, ## args); \ IPA_IPC_LOGGING(ipa_get_ipc_logbuf_low(), \ IPA_MHI_DRV_NAME " %s:%d " fmt, ## args); \ } while (0) #define IPA_MHI_DBG_LOW(fmt, args...) \ do { \ pr_debug(IPA_MHI_DRV_NAME " %s:%d " fmt, \ __func__, __LINE__, ## args) __func__, __LINE__, ## args); \ IPA_IPC_LOGGING(ipa_get_ipc_logbuf_low(), \ IPA_MHI_DRV_NAME " %s:%d " fmt, ## args); \ } while (0) #define IPA_MHI_ERR(fmt, args...) \ pr_err(IPA_MHI_DRV_NAME " %s:%d " fmt, __func__, __LINE__, ## args) do { \ pr_err(IPA_MHI_DRV_NAME " %s:%d " fmt, \ __func__, __LINE__, ## args); \ IPA_IPC_LOGGING(ipa_get_ipc_logbuf(), \ IPA_MHI_DRV_NAME " %s:%d " fmt, ## args); \ IPA_IPC_LOGGING(ipa_get_ipc_logbuf_low(), \ IPA_MHI_DRV_NAME " %s:%d " fmt, ## args); \ } while (0) #define IPA_MHI_FUNC_ENTRY() \ IPA_MHI_DBG("ENTRY\n") #define IPA_MHI_FUNC_EXIT() \ Loading drivers/platform/msm/ipa/ipa_v3/ipa_mhi.c +2 −2 Original line number Diff line number Diff line Loading @@ -56,9 +56,9 @@ #define IPA_MHI_FUNC_ENTRY() \ IPA_MHI_DBG_LOW("ENTRY\n") IPA_MHI_DBG("ENTRY\n") #define IPA_MHI_FUNC_EXIT() \ IPA_MHI_DBG_LOW("EXIT\n") IPA_MHI_DBG("EXIT\n") #define IPA_MHI_MAX_UL_CHANNELS 1 #define IPA_MHI_MAX_DL_CHANNELS 1 Loading Loading
drivers/platform/msm/ipa/ipa_clients/ipa_mhi_client.c +29 −4 Original line number Diff line number Diff line /* Copyright (c) 2015, 2017 The Linux Foundation. All rights reserved. /* Copyright (c) 2015, 2017-2018 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 @@ -22,11 +22,36 @@ #include "../ipa_v3/ipa_pm.h" #define IPA_MHI_DRV_NAME "ipa_mhi_client" #define IPA_MHI_DBG(fmt, args...) \ do { \ pr_debug(IPA_MHI_DRV_NAME " %s:%d " fmt, \ __func__, __LINE__, ## args); \ IPA_IPC_LOGGING(ipa_get_ipc_logbuf(), \ IPA_MHI_DRV_NAME " %s:%d " fmt, ## args); \ IPA_IPC_LOGGING(ipa_get_ipc_logbuf_low(), \ IPA_MHI_DRV_NAME " %s:%d " fmt, ## args); \ } while (0) #define IPA_MHI_DBG_LOW(fmt, args...) \ do { \ pr_debug(IPA_MHI_DRV_NAME " %s:%d " fmt, \ __func__, __LINE__, ## args) __func__, __LINE__, ## args); \ IPA_IPC_LOGGING(ipa_get_ipc_logbuf_low(), \ IPA_MHI_DRV_NAME " %s:%d " fmt, ## args); \ } while (0) #define IPA_MHI_ERR(fmt, args...) \ pr_err(IPA_MHI_DRV_NAME " %s:%d " fmt, __func__, __LINE__, ## args) do { \ pr_err(IPA_MHI_DRV_NAME " %s:%d " fmt, \ __func__, __LINE__, ## args); \ IPA_IPC_LOGGING(ipa_get_ipc_logbuf(), \ IPA_MHI_DRV_NAME " %s:%d " fmt, ## args); \ IPA_IPC_LOGGING(ipa_get_ipc_logbuf_low(), \ IPA_MHI_DRV_NAME " %s:%d " fmt, ## args); \ } while (0) #define IPA_MHI_FUNC_ENTRY() \ IPA_MHI_DBG("ENTRY\n") #define IPA_MHI_FUNC_EXIT() \ Loading
drivers/platform/msm/ipa/ipa_v3/ipa_mhi.c +2 −2 Original line number Diff line number Diff line Loading @@ -56,9 +56,9 @@ #define IPA_MHI_FUNC_ENTRY() \ IPA_MHI_DBG_LOW("ENTRY\n") IPA_MHI_DBG("ENTRY\n") #define IPA_MHI_FUNC_EXIT() \ IPA_MHI_DBG_LOW("EXIT\n") IPA_MHI_DBG("EXIT\n") #define IPA_MHI_MAX_UL_CHANNELS 1 #define IPA_MHI_MAX_DL_CHANNELS 1 Loading