2 * Support for Intel Camera Imaging ISP subsystem.
3 * Copyright (c) 2010-2015, Intel Corporation.
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms and conditions of the GNU General Public License,
7 * version 2, as published by the Free Software Foundation.
9 * This program is distributed in the hope it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
15 #ifndef _EVENT_FIFO_LOCAL_H
16 #define _EVENT_FIFO_LOCAL_H
19 * All events come from connections mapped on the system
20 * bus but do not use a global IRQ
22 #include "event_fifo_global.h"
31 #define EVENT_QUERY_BIT 0
33 /* Events are read from FIFO */
34 static const hrt_address event_source_addr[N_EVENT_ID] = {
35 0x0000000000380000ULL,
36 0x0000000000380004ULL,
37 0xffffffffffffffffULL};
39 /* Read from FIFO are blocking, query data availability */
40 static const hrt_address event_source_query_addr[N_EVENT_ID] = {
41 0x0000000000380010ULL,
42 0x0000000000380014ULL,
43 0xffffffffffffffffULL};
45 /* Events are written to FIFO */
46 static const hrt_address event_sink_addr[N_EVENT_ID] = {
47 0x0000000000380008ULL,
48 0x000000000038000CULL,
49 0x0000000000090104ULL};
51 /* Writes to FIFO are blocking, query data space */
52 static const hrt_address event_sink_query_addr[N_EVENT_ID] = {
53 0x0000000000380018ULL,
54 0x000000000038001CULL,
55 0x000000000009010CULL};
57 #endif /* _EVENT_FIFO_LOCAL_H */