Home
last modified time | relevance | path

Searched refs:dumper (Results 1 – 16 of 16) sorted by relevance

/device/soc/hisilicon/common/platform/pwm/
Dpwm_hi35xx.c30 struct PlatformDumper *dumper; member
37 struct PlatformDumper *dumper = NULL; in PwmDumperCreate() local
46 dumper = PlatformDumperCreate(name); in PwmDumperCreate()
47 if (dumper == NULL) { in PwmDumperCreate()
52 hp->dumper = dumper; in PwmDumperCreate()
70 if (hp->dumper == NULL) { in PwmDumperDump()
74 …ret = PlatformDumperAddDatas(hp->dumper, datas, sizeof(datas) / sizeof(struct PlatformDumperData)); in PwmDumperDump()
78 (void)PlatformDumperDump(hp->dumper); in PwmDumperDump()
79 (void)PlatformDumperClearDatas(hp->dumper); in PwmDumperDump()
84 PlatformDumperDestroy(hp->dumper); in PwmDumperDestroy()
/device/soc/hisilicon/common/platform/pin/
Dpin_hi35xx.c46 struct PlatformDumper *dumper; member
52 struct PlatformDumper *dumper = NULL; in PinDumperCreate() local
67 dumper = PlatformDumperCreate(name); in PinDumperCreate()
68 if (dumper == NULL) { in PinDumperCreate()
73 hi35xx->dumper = dumper; in PinDumperCreate()
86 if (hi35xx->dumper == NULL) { in PinDumperDump()
90 …ret = PlatformDumperAddDatas(hi35xx->dumper, data, sizeof(data) / sizeof(struct PlatformDumperData… in PinDumperDump()
94 (void)PlatformDumperDump(hi35xx->dumper); in PinDumperDump()
95 (void)PlatformDumperClearDatas(hi35xx->dumper); in PinDumperDump()
100 PlatformDumperDestroy(hi35xx->dumper); in PinDumperDestroy()
/device/soc/hisilicon/common/platform/uart/
Duart_hi35xx.c52 if (port->dumper == NULL) { in UartDumperDump()
56 …ret = PlatformDumperAddDatas(port->dumper, datas, sizeof(datas) / sizeof(struct PlatformDumperData… in UartDumperDump()
60 (void)PlatformDumperDump(port->dumper); in UartDumperDump()
61 (void)PlatformDumperClearDatas(port->dumper); in UartDumperDump()
66 struct PlatformDumper *dumper = NULL; in UartDumperCreate() local
82 dumper = PlatformDumperCreate(name); in UartDumperCreate()
83 if (dumper == NULL) { in UartDumperCreate()
89 port->dumper = dumper; in UartDumperCreate()
97 PlatformDumperDestroy(port->dumper); in UartDumperDestroy()
Duart_pl011.h184 struct PlatformDumper *dumper; member
/device/soc/hisilicon/common/platform/timer/
Dtimer_hi35xx.c172 if (info->dumper == NULL) { in TimerDumperAddDatas()
176 PlatformDumperAddDatas(info->dumper, datas, sizeof(datas) / sizeof(struct PlatformDumperData)); in TimerDumperAddDatas()
347 PlatformDumperDump(info->dumper); in TimerHi35xxStart()
373 PlatformDumperDump(info->dumper); in TimerHi35xxStop()
401 PlatformDumperDestroy(info->dumper); in TimerHi35xxRemove()
528 struct PlatformDumper *dumper = NULL; in TimerDumperGet() local
539 dumper = PlatformDumperCreate(name); in TimerDumperGet()
540 if (dumper == NULL) { in TimerDumperGet()
546 info->dumper = dumper; in TimerDumperGet()
Dtimer_hi35xx.h46 struct PlatformDumper *dumper; member
/device/soc/hisilicon/common/platform/gpio/
Dgpio_hi35xx.c58 struct PlatformDumper *dumper; member
83 struct PlatformDumper *dumper = NULL; in GpioDumperCreate() local
98 dumper = PlatformDumperCreate(name); in GpioDumperCreate()
99 if (dumper == NULL) { in GpioDumperCreate()
104 group->dumper = dumper; in GpioDumperCreate()
124 if (group->dumper == NULL) { in GpioDumperDump()
128 …ret = PlatformDumperAddDatas(group->dumper, datas, sizeof(datas) / sizeof(struct PlatformDumperDat… in GpioDumperDump()
132 (void)PlatformDumperDump(group->dumper); in GpioDumperDump()
133 (void)PlatformDumperClearDatas(group->dumper); in GpioDumperDump()
138 PlatformDumperDestroy(group->dumper); in GpioDumperDestroy()
/device/soc/hisilicon/common/platform/i2c/
Di2c_hi35xx.c58 struct PlatformDumper *dumper; member
98 if (hi35xx->dumper == NULL) { in I2cDumperAddDatas()
102 …return PlatformDumperAddDatas(hi35xx->dumper, datas, sizeof(datas) / sizeof(struct PlatformDumperD… in I2cDumperAddDatas()
107 struct PlatformDumper *dumper = NULL; in I2cDumperCreate() local
122 dumper = PlatformDumperCreate(name); in I2cDumperCreate()
123 if (dumper == NULL) { in I2cDumperCreate()
129 hi35xx->dumper = dumper; in I2cDumperCreate()
137 PlatformDumperDestroy(hi35xx->dumper); in I2cDumperDestroy()
148 ret = PlatformDumperAddData(hi35xx->dumper, &header); in I2cDumperDump()
157 (void)PlatformDumperDump(hi35xx->dumper); in I2cDumperDump()
[all …]
/device/soc/hisilicon/common/platform/i2s/
Di2s_hi35xx.c58 if (configInfo->dumper == NULL) { in I2sDumperDump()
62 …ret = PlatformDumperAddDatas(configInfo->dumper, datas, sizeof(datas) / sizeof(struct PlatformDump… in I2sDumperDump()
66 (void)PlatformDumperDump(configInfo->dumper); in I2sDumperDump()
67 (void)PlatformDumperClearDatas(configInfo->dumper); in I2sDumperDump()
72 struct PlatformDumper *dumper = NULL; in I2sDumperCreate() local
87 dumper = PlatformDumperCreate(name); in I2sDumperCreate()
88 if (dumper == NULL) { in I2sDumperCreate()
93 configInfo->dumper = dumper; in I2sDumperCreate()
101 PlatformDumperDestroy(configInfo->dumper); in I2sDumperDestroy()
Di2s_hi35xx.h144 struct PlatformDumper *dumper; member
/device/soc/hisilicon/common/platform/mipi_dsi/
Dmipi_tx_hi35xx.c620 struct PlatformDumper *dumper = NULL; in MipiTxDumperCreate() local
636 dumper = PlatformDumperCreate(name); in MipiTxDumperCreate()
637 if (dumper == NULL) { in MipiTxDumperCreate()
642 dev->dumper = dumper; in MipiTxDumperCreate()
648 static void MipiTxDumperDump(struct PlatformDumper *dumper) in MipiTxDumperDump() argument
666 if (dumper == NULL) { in MipiTxDumperDump()
670 ret = PlatformDumperAddDatas(dumper, datas, sizeof(datas) / sizeof(struct PlatformDumperData)); in MipiTxDumperDump()
674 (void)PlatformDumperDump(dumper); in MipiTxDumperDump()
675 (void)PlatformDumperClearDatas(dumper); in MipiTxDumperDump()
691 MipiTxDumperDump(dev->dumper); in MipiTxWaitCmdFifoEmpty()
[all …]
Dmipi_dsi_define.h73 struct PlatformDumper *dumper; member
/device/soc/hisilicon/common/platform/spi/
Dspi_hi35xx.c58 struct PlatformDumper *dumper; member
77 if (pl022->dumper == NULL) { in SpiDumperDump()
80 …ret = PlatformDumperAddDatas(pl022->dumper, datas, sizeof(datas) / sizeof(struct PlatformDumperDat… in SpiDumperDump()
84 (void)PlatformDumperDump(pl022->dumper); in SpiDumperDump()
85 (void)PlatformDumperClearDatas(pl022->dumper); in SpiDumperDump()
90 struct PlatformDumper *dumper = NULL; in SpiDumperCreate() local
105 dumper = PlatformDumperCreate(spiName); in SpiDumperCreate()
106 if (dumper == NULL) { in SpiDumperCreate()
111 pl022->dumper = dumper; in SpiDumperCreate()
119 PlatformDumperDestroy(pl022->dumper); in SpiDumperDestroy()
/device/soc/rockchip/common/sdk_linux/drivers/staging/blackbox/
Dblackbox_storage.c45 static void do_kmsg_dump(struct kmsg_dumper *dumper, enum kmsg_dump_reason reason) in do_kmsg_dump() argument
59 (void)kmsg_dump_get_buffer(dumper, true, lastlog + sizeof(*pinfo), lastlog_len - sizeof(*pinfo), in do_kmsg_dump()
/device/soc/rockchip/rk3588/kernel/drivers/staging/android/fiq_debugger/
Dfiq_debugger.c266 struct kmsg_dumper dumper = { .active = true }; in fiq_debugger_dump_kernel_log() local
269 kmsg_dump_rewind_nolock(&dumper); in fiq_debugger_dump_kernel_log()
270 while (kmsg_dump_get_line_nolock(&dumper, true, buf, in fiq_debugger_dump_kernel_log()
/device/soc/rockchip/common/vendor/drivers/staging/android/fiq_debugger/
Dfiq_debugger.c284 struct kmsg_dumper dumper = {.active = true}; in fiq_debugger_dump_kernel_log() local
286 kmsg_dump_rewind_nolock(&dumper); in fiq_debugger_dump_kernel_log()
287 while (kmsg_dump_get_line_nolock(&dumper, true, buf, sizeof(buf) - 1, &len)) { in fiq_debugger_dump_kernel_log()