Searched refs:subbuffer (Results 1 - 8 of 8) sorted by relevance

/linux-4.4.14/tools/lib/traceevent/
H A Dkbuffer-parse.c43 * @lost_events - # of lost events between this subbuffer and previous
45 * @subbuffer - pointer to the sub-buffer page
52 * @start - The offset from @subbuffer where @data lives
62 void *subbuffer; member in struct:kbuffer
486 * Increments the pointers into the subbuffer of the kbuffer to point to the
490 * Returns the data of the next event if a new event exists on the subbuffer,
497 if (!kbuf || !kbuf->subbuffer) kbuffer_next_event()
511 * kbuffer_load_subbuffer - load a new subbuffer into the kbuffer
513 * @subbuffer: The subbuffer to load into @kbuf.
515 * Load a new subbuffer (page) into @kbuf. This will reset all
517 * return the first event on @subbuffer.
521 int kbuffer_load_subbuffer(struct kbuffer *kbuf, void *subbuffer) kbuffer_load_subbuffer() argument
524 void *ptr = subbuffer; kbuffer_load_subbuffer()
526 if (!kbuf || !subbuffer) kbuffer_load_subbuffer()
529 kbuf->subbuffer = subbuffer; kbuffer_load_subbuffer()
541 kbuf->data = subbuffer + kbuf->start; kbuffer_load_subbuffer()
564 * kbuffer_read_event - read the next event in the kbuffer subbuffer
569 * NULL if no event is left on the subbuffer.
573 if (!kbuf || !kbuf->subbuffer) kbuffer_read_event()
598 * @offset: The offset into the subbuffer
601 * The @offset must be an index from the @kbuf subbuffer beginning.
602 * If @offset is bigger than the stored subbuffer, NULL will be returned.
624 kbuffer_load_subbuffer(kbuf, kbuf->subbuffer); kbuffer_read_at_offset()
636 * kbuffer_subbuffer_size - the size of the loaded subbuffer
639 * Returns the size of the subbuffer. Note, this size is
640 * where the last event resides. The stored subbuffer may actually be
653 * the subbuffer to the current location. Note this is not
654 * from the start of the subbuffer. An index of zero will
667 * Returns the offset from the start of the subbuffer to the
704 * event. Note, only events on the beginning of a subbuffer can
734 * kbuffer_start_of_data - return offset of where data starts on subbuffer
737 * Returns the location on the subbuffer where the data starts.
H A Dkbuffer.h48 int kbuffer_load_subbuffer(struct kbuffer *kbuf, void *subbuffer);
/linux-4.4.14/sound/pci/au88x0/
H A Dau8820.h27 #define VORTEX_ADBDMA_STAT 0x105c0 /* read only, subbuffer, DMA pos */
45 #define VORTEX_ADBDMA_START 0x106c0 /* Which subbuffer starts */
96 #define VORTEX_WTDMA_START 0x10640 /* which subbuffer is first */
H A Dau8810.h19 #define VORTEX_ADBDMA_STAT 0x27e00 /* read only, subbuffer, DMA pos */
37 #define VORTEX_ADBDMA_START 0x27c00 /* Which subbuffer starts */
49 #define VORTEX_WTDMA_START 0x27fe4 /* which subbuffer is first */
H A Dau8830.h25 #define VORTEX_ADBDMA_STAT 0x27e00 /* read only, subbuffer, DMA pos */
45 #define VORTEX_ADBDMA_START 0x27c00 /* Which subbuffer starts */
63 #define VORTEX_WTDMA_START 0x27b00 /* which subbuffer is first */
/linux-4.4.14/drivers/staging/most/mostcore/
H A Dmostcore.h129 * @subbuffer_size: size of a subbuffer
/linux-4.4.14/drivers/staging/most/aim-sound/
H A Dsound.c543 pr_err("Audio resolution doesn't fit subbuffer size\n"); audio_set_hw_params()
/linux-4.4.14/kernel/trace/
H A Dblktrace.c199 * blk_io_trace structure and places it in a per-cpu subbuffer.
377 * Keep track of how many times we encountered a full subbuffer, to aid

Completed in 471 milliseconds