summaryrefslogtreecommitdiffstats
path: root/drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_common/host/debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_common/host/debug.c')
-rw-r--r--drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_common/host/debug.c72
1 files changed, 0 insertions, 72 deletions
diff --git a/drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_common/host/debug.c b/drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_common/host/debug.c
deleted file mode 100644
index dcb9a3127cfe..000000000000
--- a/drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_common/host/debug.c
+++ /dev/null
@@ -1,72 +0,0 @@
-/*
- * Support for Intel Camera Imaging ISP subsystem.
- * Copyright (c) 2010-2016, Intel Corporation.
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms and conditions of the GNU General Public License,
- * version 2, as published by the Free Software Foundation.
- *
- * This program is distributed in the hope it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
- */
-
-#include "debug.h"
-
-#ifndef __INLINE_DEBUG__
-#include "debug_private.h"
-#endif /* __INLINE_DEBUG__ */
-
-#include "memory_access.h"
-
-#define __INLINE_SP__
-#include "sp.h"
-
-#include "assert_support.h"
-
-/* The address of the remote copy */
-hrt_address debug_buffer_address = (hrt_address)-1;
-hrt_vaddress debug_buffer_ddr_address = (hrt_vaddress)-1;
-/* The local copy */
-static debug_data_t debug_data;
-debug_data_t *debug_data_ptr = &debug_data;
-
-void debug_buffer_init(const hrt_address addr)
-{
- debug_buffer_address = addr;
-
- debug_data.head = 0;
- debug_data.tail = 0;
-}
-
-void debug_buffer_ddr_init(const hrt_vaddress addr)
-{
- debug_buf_mode_t mode = DEBUG_BUFFER_MODE_LINEAR;
- uint32_t enable = 1;
- uint32_t head = 0;
- uint32_t tail = 0;
- /* set the ddr queue */
- debug_buffer_ddr_address = addr;
- mmgr_store(addr + DEBUG_DATA_BUF_MODE_DDR_ADDR,
- &mode, sizeof(debug_buf_mode_t));
- mmgr_store(addr + DEBUG_DATA_HEAD_DDR_ADDR,
- &head, sizeof(uint32_t));
- mmgr_store(addr + DEBUG_DATA_TAIL_DDR_ADDR,
- &tail, sizeof(uint32_t));
- mmgr_store(addr + DEBUG_DATA_ENABLE_DDR_ADDR,
- &enable, sizeof(uint32_t));
-
- /* set the local copy */
- debug_data.head = 0;
- debug_data.tail = 0;
-}
-
-void debug_buffer_setmode(const debug_buf_mode_t mode)
-{
- assert(debug_buffer_address != ((hrt_address)-1));
-
- sp_dmem_store_uint32(SP0_ID,
- debug_buffer_address + DEBUG_DATA_BUF_MODE_ADDR, mode);
-}
-
orvalds 2011-11-01 01:30:54 +0100 treewide: use __printf not __attribute__((format(printf,...)))' href='/openslx/kernel-qcow2-linux.git/commit/include/linux/dynamic_debug.h?h=kernel-qcow2-linux-4.19.y&id=b9075fa968a0a4347aef35e235e2995c0e57dddd'>b9075fa968a0 ^
e9d376f0fa66 ^
b48420c1d301 ^


cbc4663552ee ^

b9075fa968a0 ^


cbc4663552ee ^
ffa10cb47a94 ^

b9075fa968a0 ^



ffa10cb47a94 ^
07613b0b5ef8 ^
c0d2af637863 ^
07613b0b5ef8 ^






07613b0b5ef8 ^




87e6f968339b ^
07613b0b5ef8 ^





87e6f968339b ^

07613b0b5ef8 ^






87e6f968339b ^
07613b0b5ef8 ^


ffa10cb47a94 ^
7a555613eb77 ^










e9d376f0fa66 ^

b48420c1d301 ^


ff49d74ad383 ^
e9d376f0fa66 ^



b48420c1d301 ^



516cf1be07cf ^

b48420c1d301 ^





00b55864bb37 ^

be70e2671b95 ^
00b55864bb37 ^
e9d376f0fa66 ^


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137