HomeSort by relevance Sort by last modified time
    Searched full:fifo (Results 1 - 25 of 563) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/fio/
fifo.c 2 * A simple kernel FIFO implementation.
26 #include "fifo.h"
28 struct fifo *fifo_alloc(unsigned int size)
30 struct fifo *fifo; local
32 fifo = malloc(sizeof(struct fifo));
33 if (!fifo)
36 fifo->buffer = malloc(size);
37 fifo->size = size
    [all...]
fifo.h 4 * A simple FIFO implementation.
25 struct fifo { struct
32 struct fifo *fifo_alloc(unsigned int);
33 unsigned int fifo_put(struct fifo *, void *, unsigned int);
34 unsigned int fifo_get(struct fifo *, void *, unsigned int);
35 void fifo_free(struct fifo *);
37 static inline unsigned int fifo_len(struct fifo *fifo)
39 return fifo->in - fifo->out
    [all...]
  /cts/apps/CtsVerifier/jni/audio_loopback/audio_utils/
fifo.c 22 #include "fifo.h"
28 void audio_utils_fifo_init(struct audio_utils_fifo *fifo, size_t frameCount, size_t frameSize,
32 ALOG_ASSERT(fifo != NULL && frameCount > 0 && frameSize > 0 && buffer != NULL);
33 fifo->mFrameCount = frameCount;
34 fifo->mFrameCountP2 = roundup(frameCount);
35 fifo->mFudgeFactor = fifo->mFrameCountP2 - fifo->mFrameCount;
36 fifo->mFrameSize = frameSize;
37 fifo->mBuffer = buffer
    [all...]
fifo.h 29 // Single writer, single reader non-blocking FIFO.
35 size_t mFrameCount; // max number of significant frames to be stored in the FIFO > 0
46 // Initialize a FIFO object.
48 // fifo Pointer to the FIFO object.
49 // frameCount Max number of significant frames to be stored in the FIFO > 0.
54 void audio_utils_fifo_init(struct audio_utils_fifo *fifo, size_t frameCount, size_t frameSize,
57 // De-initialize a FIFO object.
59 // fifo Pointer to the FIFO object
    [all...]
  /system/media/audio_utils/
fifo.c 22 #include <audio_utils/fifo.h>
27 void audio_utils_fifo_init(struct audio_utils_fifo *fifo, size_t frameCount, size_t frameSize,
31 ALOG_ASSERT(fifo != NULL && frameCount > 0 && frameSize > 0 && buffer != NULL);
32 fifo->mFrameCount = frameCount;
33 fifo->mFrameCountP2 = roundup(frameCount);
34 fifo->mFudgeFactor = fifo->mFrameCountP2 - fifo->mFrameCount;
35 fifo->mFrameSize = frameSize;
36 fifo->mBuffer = buffer
    [all...]
Android.mk 11 fifo.c \
39 fifo.c \
90 fifo.c \
  /system/media/audio_utils/tests/
README.md 3 fifo\_tests does not run under gtest
fifo_tests.cpp 17 // Test program for audio_utils FIFO library.
23 #include <audio_utils/fifo.h>
37 case 'c': // FIFO frame count
40 case 'r': // maximum frame count per read from FIFO
43 case 'w': // maximum frame count per write to FIFO
90 struct audio_utils_fifo fifo; local
92 audio_utils_fifo_init(&fifo, frameCount, frameSize, fifoBuffer);
106 ssize_t actualWritten = audio_utils_fifo_write(&fifo,
109 fprintf(stderr, "write to FIFO failed\n");
127 ssize_t actualRead = audio_utils_fifo_read(&fifo,
    [all...]
  /external/mesa3d/src/gallium/auxiliary/util/
u_fifo.h 42 struct util_fifo *fifo; local
43 fifo = MALLOC(sizeof(*fifo) + size * sizeof(void*));
45 fifo->head = 0;
46 fifo->tail = 0;
47 fifo->num = 0;
48 fifo->size = size;
50 return fifo;
54 u_fifo_add(struct util_fifo *fifo, void *ptr)
56 void **array = (void**)&fifo[1]
    [all...]
  /external/libnl/lib/route/sch/
fifo.c 2 * lib/route/sch/fifo.c (p|b)fifo
14 * @defgroup fifo Packet/Bytes FIFO (pfifo/bfifo)
17 * The FIFO qdisc comes in two flavours:
18 * @par bfifo (Byte FIFO)
22 * @par pfifo (Packet FIFO)
37 #include <netlink/route/sch/fifo.h>
59 struct rtnl_fifo *fifo; local
65 fifo = fifo_alloc(qdisc)
83 struct rtnl_fifo *fifo = fifo_qdisc(qdisc); local
91 struct rtnl_fifo *fifo = fifo_qdisc(qdisc); local
104 struct rtnl_fifo *fifo; local
141 struct rtnl_fifo *fifo; local
160 struct rtnl_fifo *fifo; local
    [all...]
  /system/media/audio_utils/include/audio_utils/
fifo.h 29 // Single writer, single reader non-blocking FIFO.
35 size_t mFrameCount; // max number of significant frames to be stored in the FIFO > 0
47 * Initialize a FIFO object.
49 * \param fifo Pointer to the FIFO object.
50 * \param frameCount Max number of significant frames to be stored in the FIFO > 0.
56 void audio_utils_fifo_init(struct audio_utils_fifo *fifo, size_t frameCount, size_t frameSize,
60 * De-initialize a FIFO object.
62 * \param fifo Pointer to the FIFO object
    [all...]
  /external/libnl/include/netlink/route/sch/
fifo.h 2 * netlink/route/sch/fifo.c FIFO Qdisc
  /frameworks/rs/
rsFifo.h 27 // A simple FIFO to be used as a producer / consumer between two
32 class Fifo {
34 Fifo();
35 virtual ~Fifo();
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
parser.h 70 typedef struct fifo { struct
72 fifo *prev;
73 } FIFO;
77 FIFO *m_fifoTail;
  /external/libnfc-nxp/src/
phFriNfc_LlcpUtils.h 43 * UTIL_FIFO_BUFFER - A Cyclic FIFO buffer
85 * Initializes a Fifo Cyclic Buffer to point to some allocated memory.
92 * Clears the Fifo Cyclic Buffer - loosing any data that was in it.
98 * Attempts to write dataLength bytes to the specified Fifo Cyclic Buffer.
105 * Attempts to read dataLength bytes from the specified Fifo Cyclic Buffer.
112 * Returns the number of bytes currently stored in Fifo Cyclic Buffer.
117 * Returns the available room for writing in Fifo Cyclic Buffer.
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/
serial_reg.h 43 #define UART_FCR 2 /* Out: FIFO Control Register */
44 #define UART_FCR_ENABLE_FIFO 0x01 /* Enable the FIFO */
45 #define UART_FCR_CLEAR_RCVR 0x02 /* Clear the RCVR FIFO */
46 #define UART_FCR_CLEAR_XMIT 0x04 /* Clear the XMIT FIFO */
49 * Note: The FIFO trigger levels are chip specific:
71 #define UART_FCR_TRIGGER_MASK 0xC0 /* Mask for the FIFO trigger range */
122 #define UART_LSR_FIFOE 0x80 /* Fifo error */
182 * In: Fifo count
183 * Out: Fifo custom trigger levels */
229 #define UART_FCR_PXAR1 0x00 /* receive FIFO threshold = 1 *
    [all...]
  /docs/source.android.com/src/devices/sensors/
batching.jd 28 <p>?Batching? refers to storing sensor events in a hardware FIFO before reporting
35 <p>Batching happens when a sensor possesses a hardware FIFO
57 <li> or when the sensor doesn?t have a hardware FIFO (<code>sensor_t.fifoMaxEventCount =
68 sensors</a> must be stored into a wake-up FIFO. There can be one wake-up FIFO
69 per sensor, or, more commonly, one big shared wake-up FIFO where events from all wake-up
71 wake-up sensors having a dedicated FIFO, and the rest of the wake-up sensors
78 interleaved into the same FIFO. Wake-up events go in wake-up FIFOs, and
80 <p>For the wake-up FIFO, the ?one big shared FIFO? design provides the best powe
    [all...]
  /external/e2fsprogs/tests/f_filetype/
expect.1 2 Special (device/socket/fifo/symlink) file (inode 14) has immutable
5 Special (device/socket/fifo/symlink) file (inode 15) has immutable
8 Special (device/socket/fifo/symlink) file (inode 16) has immutable
11 Special (device/socket/fifo/symlink) file (inode 17) has immutable
20 Setting filetype for entry 'fifo' in / (2) to 5.
30 Inode 20 (/badfifo) is an illegal FIFO.
  /external/kernel-headers/original/uapi/linux/
serial_reg.h 47 #define UART_FCR 2 /* Out: FIFO Control Register */
48 #define UART_FCR_ENABLE_FIFO 0x01 /* Enable the FIFO */
49 #define UART_FCR_CLEAR_RCVR 0x02 /* Clear the RCVR FIFO */
50 #define UART_FCR_CLEAR_XMIT 0x04 /* Clear the XMIT FIFO */
53 * Note: The FIFO trigger levels are chip specific:
75 #define UART_FCR_TRIGGER_MASK 0xC0 /* Mask for the FIFO trigger range */
132 #define UART_LSR_FIFOE 0x80 /* Fifo error */
192 * In: Fifo count
193 * Out: Fifo custom trigger levels */
239 #define UART_FCR_PXAR1 0x00 /* receive FIFO threshold = 1 *
    [all...]
  /external/autotest/client/site_tests/security_Minijail0/src/
test-netns 13 # face |bytes packets errs drop fifo frame compressed multicast|bytes packets errs drop fifo colls carrier compressed
test-userns-netns 13 # face |bytes packets errs drop fifo frame compressed multicast|bytes packets errs drop fifo colls carrier compressed
  /cts/apps/CtsVerifier/jni/audio_loopback/
Android.mk 13 audio_utils/fifo.c \
  /cts/tests/tests/hardware/src/android/hardware/cts/helpers/sensorverification/
FifoLengthVerification.java 31 * A {@link ISensorVerification} which verifies that each batch of events has the FIFO
48 * @param expectedLength the expected FIFO length for the batch.
72 // FIFO will keep overwriting itself and the reportLatency will be equal to the time
73 // it takes to fill up the FIFO.
96 stats.addValue(PASSED_KEY, "skipped (no fifo length requirements)");
119 // Fifo length must be at least 80% of the advertized FIFO length.
128 sb.append(String.format("Fifo length verification error: Fifo length found=%d," +
129 "expected fifo length ~%d, maxReportLatencyObserved=%dms, "
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/linux/
serial_reg.h 43 #define UART_FCR 2 /* Out: FIFO Control Register */
44 #define UART_FCR_ENABLE_FIFO 0x01 /* Enable the FIFO */
45 #define UART_FCR_CLEAR_RCVR 0x02 /* Clear the RCVR FIFO */
46 #define UART_FCR_CLEAR_XMIT 0x04 /* Clear the XMIT FIFO */
49 * Note: The FIFO trigger levels are chip specific:
70 #define UART_FCR_TRIGGER_MASK 0xC0 /* Mask for the FIFO trigger range */
172 * In: Fifo count
173 * Out: Fifo custom trigger levels */
219 #define UART_FCR_PXAR1 0x00 /* receive FIFO treshold = 1 */
220 #define UART_FCR_PXAR8 0x40 /* receive FIFO treshold = 8 *
    [all...]
  /hardware/libhardware/include/hardware/
activity_recognition.h 81 * of a batch FIFO and it indicates that all the events in the batch FIFO have been successfully
83 * explicitly called and if the FIFO is empty at the time flush() is called it should trivially
84 * return a flush_complete_event to indicate that the FIFO is empty.
172 * are detected. The detected activities are stored in a FIFO and reported in batches when the
173 * "max_batch_report_latency" expires or when the batch FIFO is full. The implementation should
175 * batch FIFO. Whenever events need to be reported (like when the FIFO is full or when the
185 * (ACTIVITY_EVENT_ENTER, activity) event should be added to the FIFO.
187 * (ACTIVITY_EVENT_EXIT, activity) event should be added to the FIFO
    [all...]

Completed in 1172 milliseconds

1 2 3 4 5 6 7 8 91011>>