Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-elphel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
linux-elphel
Commits
39905996
Commit
39905996
authored
Aug 10, 2016
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
edits related to moving includes to include/uapi
parent
43329972
Changes
22
Hide whitespace changes
Inline
Side-by-side
Showing
22 changed files
with
50 additions
and
27 deletions
+50
-27
circbuf-jtag.c
src/drivers/elphel/circbuf-jtag.c
+1
-1
circbuf.c
src/drivers/elphel/circbuf.c
+1
-1
command_sequencer.c
src/drivers/elphel/command_sequencer.c
+1
-1
cxi2c.c
src/drivers/elphel/cxi2c.c
+1
-1
detect_sensors.c
src/drivers/elphel/detect_sensors.c
+1
-1
exif393.c
src/drivers/elphel/exif393.c
+2
-2
framepars.c
src/drivers/elphel/framepars.c
+2
-2
framepars.h
src/drivers/elphel/framepars.h
+1
-1
gamma_tables.c
src/drivers/elphel/gamma_tables.c
+2
-2
histograms.c
src/drivers/elphel/histograms.c
+2
-2
imu_log393.c
src/drivers/elphel/imu_log393.c
+1
-1
jpeghead.c
src/drivers/elphel/jpeghead.c
+1
-1
mt9x001.c
src/drivers/elphel/mt9x001.c
+1
-1
multi10359.c
src/drivers/elphel/multi10359.c
+1
-1
pgm_functions.c
src/drivers/elphel/pgm_functions.c
+1
-1
quantization_tables.c
src/drivers/elphel/quantization_tables.c
+2
-2
sensor_common.c
src/drivers/elphel/sensor_common.c
+2
-2
sensor_i2c.c
src/drivers/elphel/sensor_i2c.c
+1
-1
x393_videomem.c
src/drivers/elphel/x393_videomem.c
+1
-1
Kbuild
src/include/uapi/Kbuild
+16
-0
Kbuild
src/include/uapi/elphel/Kbuild
+7
-0
c313a.h
src/include/uapi/elphel/c313a.h
+2
-2
No files found.
src/drivers/elphel/circbuf-jtag.c
View file @
39905996
...
@@ -59,7 +59,7 @@
...
@@ -59,7 +59,7 @@
//#include <asm/delay.h>
//#include <asm/delay.h>
#include <asm/uaccess.h>
#include <asm/uaccess.h>
#include <elphel/driver_numbers.h>
#include <elphel/driver_numbers.h>
#include <elphel/c313a.h>
#include <
uapi/
elphel/c313a.h>
#include <elphel/elphel393-mem.h>
#include <elphel/elphel393-mem.h>
#include "framepars.h" // just for ELPHEL_DEBUG bit mask
#include "framepars.h" // just for ELPHEL_DEBUG bit mask
...
...
src/drivers/elphel/circbuf.c
View file @
39905996
...
@@ -35,7 +35,7 @@
...
@@ -35,7 +35,7 @@
#include <linux/of_device.h>
#include <linux/of_device.h>
#include <asm/uaccess.h>
#include <asm/uaccess.h>
#include <elphel/driver_numbers.h>
#include <elphel/driver_numbers.h>
#include <elphel/c313a.h>
#include <
uapi/
elphel/c313a.h>
#include <elphel/elphel393-mem.h>
#include <elphel/elphel393-mem.h>
#include "framepars.h"
#include "framepars.h"
...
...
src/drivers/elphel/command_sequencer.c
View file @
39905996
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
*******************************************************************************/
*******************************************************************************/
#include <linux/errno.h>
#include <linux/errno.h>
#include <linux/spinlock.h>
#include <linux/spinlock.h>
#include <elphel/c313a.h> // PARS_FRAMES_MASK
#include <
uapi/
elphel/c313a.h> // PARS_FRAMES_MASK
#include "x393.h"
#include "x393.h"
static
DEFINE_SPINLOCK
(
lock
);
static
DEFINE_SPINLOCK
(
lock
);
...
...
src/drivers/elphel/cxi2c.c
View file @
39905996
...
@@ -97,7 +97,7 @@
...
@@ -97,7 +97,7 @@
#include <asm/delay.h>
#include <asm/delay.h>
#include <asm/uaccess.h>
#include <asm/uaccess.h>
#include <elphel/driver_numbers.h>
#include <elphel/driver_numbers.h>
#include <elphel/c313a.h>
#include <
uapi/
elphel/c313a.h>
#include "x393.h"
#include "x393.h"
//#include "fpgactrl.h" // defines port_csp0_addr, port_csp4_addr
//#include "fpgactrl.h" // defines port_csp0_addr, port_csp4_addr
...
...
src/drivers/elphel/detect_sensors.c
View file @
39905996
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
#include "x393.h"
#include "x393.h"
//#include "x393_detect_sensors.h"
//#include "x393_detect_sensors.h"
#include <elphel/driver_numbers.h>
#include <elphel/driver_numbers.h>
#include <elphel/c313a.h>
#include <
uapi/
elphel/c313a.h>
#include "mt9x001.h"
#include "mt9x001.h"
#include "multi10359.h"
#include "multi10359.h"
#include "detect_sensors.h"
#include "detect_sensors.h"
...
...
src/drivers/elphel/exif393.c
View file @
39905996
...
@@ -40,8 +40,8 @@
...
@@ -40,8 +40,8 @@
#include <asm/uaccess.h>
#include <asm/uaccess.h>
#include <elphel/driver_numbers.h>
#include <elphel/driver_numbers.h>
#include <elphel/c313a.h>
#include <
uapi/
elphel/c313a.h>
#include <elphel/exifa.h>
#include <
uapi/
elphel/exifa.h>
//#include "fpgactrl.h" // defines port_csp0_addr, port_csp4_addr
//#include "fpgactrl.h" // defines port_csp0_addr, port_csp4_addr
//
//
...
...
src/drivers/elphel/framepars.c
View file @
39905996
...
@@ -48,8 +48,8 @@
...
@@ -48,8 +48,8 @@
//#include <asm/delay.h>
//#include <asm/delay.h>
#include <asm/uaccess.h>
#include <asm/uaccess.h>
#include <elphel/driver_numbers.h>
#include <elphel/driver_numbers.h>
#include <elphel/c313a.h>
#include <
uapi/
elphel/c313a.h>
#include <elphel/exifa.h>
#include <
uapi/
elphel/exifa.h>
//#include "fpgactrl.h" // defines port_csp0_adsensor_common.hdr, port_csp4_addr
//#include "fpgactrl.h" // defines port_csp0_adsensor_common.hdr, port_csp4_addr
//#include "cc3x3.h"
//#include "cc3x3.h"
//#include "x3x3.h" // hardware definitions
//#include "x3x3.h" // hardware definitions
...
...
src/drivers/elphel/framepars.h
View file @
39905996
#ifndef _FRAMEPARS_H
#ifndef _FRAMEPARS_H
#define _FRAMEPARS_H
#define _FRAMEPARS_H
#ifndef SENSOR_PORTS
#ifndef SENSOR_PORTS
#include <elphel/c313a.h> // to get SENSOR_PORTS
#include <
uapi/
elphel/c313a.h> // to get SENSOR_PORTS
#endif
#endif
//extern struct framepars_t (*framepars)[PARS_FRAMES];
//extern struct framepars_t (*framepars)[PARS_FRAMES];
extern
struct
framepars_t
*
aframepars
[
SENSOR_PORTS
];
extern
struct
framepars_t
*
aframepars
[
SENSOR_PORTS
];
...
...
src/drivers/elphel/gamma_tables.c
View file @
39905996
...
@@ -113,8 +113,8 @@
...
@@ -113,8 +113,8 @@
#include <asm/delay.h>
#include <asm/delay.h>
#include <asm/uaccess.h>
#include <asm/uaccess.h>
#include <elphel/driver_numbers.h>
#include <elphel/driver_numbers.h>
#include <elphel/c313a.h>
#include <
uapi/
elphel/c313a.h>
#include <elphel/exifa.h>
#include <
uapi/
elphel/exifa.h>
//#include "fpgactrl.h" // defines port_csp0_addr, port_csp4_addr
//#include "fpgactrl.h" // defines port_csp0_addr, port_csp4_addr
#include "framepars.h" // for debug mask
#include "framepars.h" // for debug mask
#include "sensor_common.h" // for FPGA_TABLE_CHUNK - or move it?
#include "sensor_common.h" // for FPGA_TABLE_CHUNK - or move it?
...
...
src/drivers/elphel/histograms.c
View file @
39905996
...
@@ -107,8 +107,8 @@
...
@@ -107,8 +107,8 @@
// ##include <asm/dma-mapping.h>
// ##include <asm/dma-mapping.h>
#include <elphel/driver_numbers.h>
#include <elphel/driver_numbers.h>
#include <elphel/c313a.h>
#include <
uapi/
elphel/c313a.h>
#include <elphel/exifa.h>
#include <
uapi/
elphel/exifa.h>
//#include "fpgactrl.h" // defines port_csp0_addr, port_csp4_addr
//#include "fpgactrl.h" // defines port_csp0_addr, port_csp4_addr
//#include "fpga_io.h"//fpga_table_write_nice
//#include "fpga_io.h"//fpga_table_write_nice
#include "framepars.h" // for debug mask
#include "framepars.h" // for debug mask
...
...
src/drivers/elphel/imu_log393.c
View file @
39905996
...
@@ -50,7 +50,7 @@
...
@@ -50,7 +50,7 @@
#include <asm/delay.h>
#include <asm/delay.h>
#include <asm/uaccess.h> // copy_*_user
#include <asm/uaccess.h> // copy_*_user
#include <elphel/driver_numbers.h>
#include <elphel/driver_numbers.h>
#include <elphel/c313a.h>
#include <
uapi/
elphel/c313a.h>
#include <elphel/elphel393-mem.h>
#include <elphel/elphel393-mem.h>
#include "imu_log393.h"
#include "imu_log393.h"
#include "x393.h"
#include "x393.h"
...
...
src/drivers/elphel/jpeghead.c
View file @
39905996
...
@@ -51,7 +51,7 @@
...
@@ -51,7 +51,7 @@
//#include <asm/delay.h>
//#include <asm/delay.h>
#include <asm/uaccess.h>
#include <asm/uaccess.h>
#include <elphel/c313a.h>
#include <
uapi/
elphel/c313a.h>
//#include "fpga_io.h"//fpga_table_write_nice
//#include "fpga_io.h"//fpga_table_write_nice
#include "jpeghead.h"
#include "jpeghead.h"
//#include "fpgactrl.h" // defines port_csp0_addr, port_csp4_addr
//#include "fpgactrl.h" // defines port_csp0_addr, port_csp4_addr
...
...
src/drivers/elphel/mt9x001.c
View file @
39905996
...
@@ -341,7 +341,7 @@
...
@@ -341,7 +341,7 @@
#include <asm/irq.h>
#include <asm/irq.h>
#include <asm/delay.h>
#include <asm/delay.h>
#include <asm/uaccess.h>
#include <asm/uaccess.h>
#include <elphel/c313a.h>
#include <
uapi/
elphel/c313a.h>
//#include "fpgactrl.h" // defines port_csp0_addr, port_csp4_addr
//#include "fpgactrl.h" // defines port_csp0_addr, port_csp4_addr
//#include "x3x3.h" // detect sensor
//#include "x3x3.h" // detect sensor
//#include "cci2c.h"
//#include "cci2c.h"
...
...
src/drivers/elphel/multi10359.c
View file @
39905996
...
@@ -102,7 +102,7 @@
...
@@ -102,7 +102,7 @@
//#include <asm/delay.h>
//#include <asm/delay.h>
#include <linux/delay.h>
#include <linux/delay.h>
#include <asm/uaccess.h>
#include <asm/uaccess.h>
#include <elphel/c313a.h>
#include <
uapi/
elphel/c313a.h>
//#include "fpgactrl.h" // defines port_csp0_addr, port_csp4_addr
//#include "fpgactrl.h" // defines port_csp0_addr, port_csp4_addr
//#include "x3x3.h" // detect sensor
//#include "x3x3.h" // detect sensor
...
...
src/drivers/elphel/pgm_functions.c
View file @
39905996
...
@@ -199,7 +199,7 @@
...
@@ -199,7 +199,7 @@
#include <asm/irq.h>
#include <asm/irq.h>
#include <linux/delay.h>
#include <linux/delay.h>
#include <asm/uaccess.h>
#include <asm/uaccess.h>
#include <elphel/c313a.h>
#include <
uapi/
elphel/c313a.h>
#include "framepars.h"
#include "framepars.h"
#include "sensor_common.h"
#include "sensor_common.h"
#include "multi10359.h"
#include "multi10359.h"
...
...
src/drivers/elphel/quantization_tables.c
View file @
39905996
...
@@ -56,8 +56,8 @@
...
@@ -56,8 +56,8 @@
//#include <asm/delay.h>
//#include <asm/delay.h>
//#include <asm/uaccess.h>
//#include <asm/uaccess.h>
#include <elphel/c313a.h>
#include <
uapi/
elphel/c313a.h>
#include <elphel/exifa.h>
#include <
uapi/
elphel/exifa.h>
//#include "fpgactrl.h" // defines port_csp0_addr, port_csp4_addr
//#include "fpgactrl.h" // defines port_csp0_addr, port_csp4_addr
//#include "cc3x3.h"
//#include "cc3x3.h"
//#include "fpga_io.h"
//#include "fpga_io.h"
...
...
src/drivers/elphel/sensor_common.c
View file @
39905996
...
@@ -35,8 +35,8 @@
...
@@ -35,8 +35,8 @@
#include <asm/cacheflush.h>
#include <asm/cacheflush.h>
#include <elphel/driver_numbers.h>
#include <elphel/driver_numbers.h>
#include <elphel/c313a.h>
#include <
uapi/
elphel/c313a.h>
#include <elphel/exifa.h>
#include <
uapi/
elphel/exifa.h>
#include "framepars.h"
#include "framepars.h"
#include "sensor_common.h"
#include "sensor_common.h"
...
...
src/drivers/elphel/sensor_i2c.c
View file @
39905996
...
@@ -34,7 +34,7 @@
...
@@ -34,7 +34,7 @@
#include <asm/uaccess.h>
#include <asm/uaccess.h>
#include "x393.h"
#include "x393.h"
#include "sensor_i2c.h"
#include "sensor_i2c.h"
#include <elphel/c313a.h> // PARS_FRAMES_MASK
#include <
uapi/
elphel/c313a.h> // PARS_FRAMES_MASK
//------------------
//------------------
...
...
src/drivers/elphel/x393_videomem.c
View file @
39905996
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
#include "x393.h"
#include "x393.h"
#include "x393_videomem.h"
#include "x393_videomem.h"
#include <elphel/driver_numbers.h>
#include <elphel/driver_numbers.h>
#include <elphel/c313a.h>
#include <
uapi/
elphel/c313a.h>
...
...
src/include/uapi/Kbuild
0 → 100644
View file @
39905996
# UAPI Header export list
# Top-level Makefile calls into asm-$(ARCH)
# List only non-arch directories below
header-y += asm-generic/
header-y += linux/
header-y += sound/
header-y += mtd/
header-y += rdma/
header-y += video/
header-y += drm/
header-y += xen/
header-y += scsi/
header-y += misc/
header-y += elphel/
src/include/uapi/elphel/Kbuild
0 → 100644
View file @
39905996
# UAPI Header export list
# Top-level Makefile calls into asm-$(ARCH)
# List only non-arch directories below
header-y += exifa.h
header-y += c313a.h
src/include/uapi/elphel/c313a.h
View file @
39905996
...
@@ -1769,9 +1769,9 @@ struct gamma_stuct_t {
...
@@ -1769,9 +1769,9 @@ struct gamma_stuct_t {
};
};
};
};
};
};
u
64
valid
;
/// 0 - table invalid, 1 - table valid +2 for table locked (until sent to FPGA)
u
nsigned
long
long
valid
;
/// 0 - table invalid, 1 - table valid +2 for table locked (until sent to FPGA)
// int locked; /// bit frame+ (color<<3) locked for color/frame
// int locked; /// bit frame+ (color<<3) locked for color/frame
u
64
locked
;
/// NOTE: Changed to just color locked for color
u
nsigned
long
long
locked
;
/// NOTE: Changed to just color locked for color
int
this_non_scaled
;
// 0 for non-scaled, others - (for scaled) - pointer to the corresponding non-scaled
int
this_non_scaled
;
// 0 for non-scaled, others - (for scaled) - pointer to the corresponding non-scaled
union
{
/// used in head (element 0) and non-scaled chain (not used in scaled)
union
{
/// used in head (element 0) and non-scaled chain (not used in scaled)
struct
{
/// element 0 - heads of the chains
struct
{
/// element 0 - heads of the chains
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment