Loading drivers/dma/qcom/gpi.c +9 −0 Original line number Diff line number Diff line Loading @@ -852,6 +852,15 @@ static void gpi_dump_debug_reg(struct gpii *gpii) GPII_ERR(gpii, GPI_DBG_COMMON, "Global IRQ handling Exit\n"); } void gpi_dump_for_geni(struct dma_chan *chan) { struct gpii_chan *gpii_chan = to_gpii_chan(chan); struct gpii *gpii = gpii_chan->gpii; gpi_dump_debug_reg(gpii); } EXPORT_SYMBOL(gpi_dump_for_geni); static void gpi_disable_interrupts(struct gpii *gpii) { struct { Loading include/linux/msm_gpi.h +5 −1 Original line number Diff line number Diff line /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (c) 2017-2020, The Linux Foundation. All rights reserved. * Copyright (c) 2017-2021, The Linux Foundation. All rights reserved. */ #ifndef __MSM_GPI_H_ Loading Loading @@ -263,4 +263,8 @@ struct msm_gpi_dma_async_tx_cb_param { void *userdata; }; /* Client drivers of the GPI can call this function to dump the GPI registers * whenever client met some scenario like timeout, error in GPI transfer mode. */ void gpi_dump_for_geni(struct dma_chan *chan); #endif Loading
drivers/dma/qcom/gpi.c +9 −0 Original line number Diff line number Diff line Loading @@ -852,6 +852,15 @@ static void gpi_dump_debug_reg(struct gpii *gpii) GPII_ERR(gpii, GPI_DBG_COMMON, "Global IRQ handling Exit\n"); } void gpi_dump_for_geni(struct dma_chan *chan) { struct gpii_chan *gpii_chan = to_gpii_chan(chan); struct gpii *gpii = gpii_chan->gpii; gpi_dump_debug_reg(gpii); } EXPORT_SYMBOL(gpi_dump_for_geni); static void gpi_disable_interrupts(struct gpii *gpii) { struct { Loading
include/linux/msm_gpi.h +5 −1 Original line number Diff line number Diff line /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (c) 2017-2020, The Linux Foundation. All rights reserved. * Copyright (c) 2017-2021, The Linux Foundation. All rights reserved. */ #ifndef __MSM_GPI_H_ Loading Loading @@ -263,4 +263,8 @@ struct msm_gpi_dma_async_tx_cb_param { void *userdata; }; /* Client drivers of the GPI can call this function to dump the GPI registers * whenever client met some scenario like timeout, error in GPI transfer mode. */ void gpi_dump_for_geni(struct dma_chan *chan); #endif