/netbsd-6-1-5-RELEASE/sys/arch/arm/at91/ |
H A D | at91pdcvar.h | 55 int f_buf_size; /* size of the fifo */ 57 int f_length; /* number of bytes in fifo */ 65 static __inline int AT91PDC_FIFO_EMPTY(at91pdc_fifo_t *fifo) argument 67 return fifo->f_length == 0; 70 static __inline int AT91PDC_FIFO_FULL(at91pdc_fifo_t *fifo) argument 72 return fifo->f_length >= fifo->f_buf_size; 75 static __inline int AT91PDC_FIFO_SPACE(at91pdc_fifo_t *fifo) argument 77 return fifo->f_buf_size - fifo 81 AT91PDC_RESET_FIFO(bus_space_tag_t iot, bus_space_handle_t ioh, bus_dma_tag_t dmat, uint offset, at91pdc_fifo_t *fifo, int rw) argument 106 AT91PDC_FIFO_PREREAD(bus_space_tag_t iot, bus_space_handle_t ioh, bus_dma_tag_t dmat, uint offset, at91pdc_fifo_t *fifo, uint chunk_size) argument 147 AT91PDC_FIFO_POSTREAD(bus_space_tag_t iot, bus_space_handle_t ioh, bus_dma_tag_t dmat, uint offset, at91pdc_fifo_t *fifo) argument 178 AT91PDC_FIFO_RDPTR(at91pdc_fifo_t *fifo, int *num_bytes) argument 190 AT91PDC_FIFO_READ(at91pdc_fifo_t *fifo, int bytes_read) argument 203 AT91PDC_FIFO_PREWRITE(bus_space_tag_t iot, bus_space_handle_t ioh, bus_dma_tag_t dmat, uint offset, at91pdc_fifo_t *fifo, uint max_chunk_size) argument 242 AT91PDC_FIFO_POSTWRITE(bus_space_tag_t iot, bus_space_handle_t ioh, bus_dma_tag_t dmat, uint offset, at91pdc_fifo_t *fifo) argument 274 AT91PDC_FIFO_WRPTR(at91pdc_fifo_t *fifo, int *max_bytes) argument 286 AT91PDC_FIFO_WRITTEN(at91pdc_fifo_t *fifo, int bytes_written) argument [all...] |
H A D | at91pdc.c | 7 int at91pdc_alloc_fifo(bus_dma_tag_t dmat, at91pdc_fifo_t *fifo, int size, argument 15 memset(fifo, 0, sizeof(*fifo)); 21 &fifo->f_dmamap); 34 err = bus_dmamem_map(dmat, &segs, 1, size, &fifo->f_buf, 42 err = bus_dmamap_load(dmat, fifo->f_dmamap, fifo->f_buf, size, NULL, 48 fifo->f_buf_size = size; 49 fifo->f_ndx = fifo [all...] |
/netbsd-6-1-5-RELEASE/external/ibm-public/postfix/dist/src/util/ |
H A D | stream_pass_connect.c | 70 int fifo; local 76 if ((fifo = open(path, O_WRONLY | O_NONBLOCK, 0)) < 0) 82 non_blocking(fifo, block_mode); 84 return (fifo);
|
H A D | stream_connect.c | 69 int fifo; local 75 if ((fifo = open(path, O_WRONLY | O_NONBLOCK, 0)) < 0) 82 non_blocking(fifo, BLOCKING); 89 if (ioctl(fifo, I_SENDFD, pair[1]) < 0) 102 close(fifo);
|
/netbsd-6-1-5-RELEASE/sys/miscfs/fifofs/ |
H A D | Makefile | 5 INCS= fifo.h
|
/netbsd-6-1-5-RELEASE/regress/sys/kern/kqueue/write/ |
H A D | Makefile | 6 SUBDIR+= fifo
|
/netbsd-6-1-5-RELEASE/external/cddl/osnet/dist/tools/ctf/cvt/ |
H A D | fifo.h | 40 typedef struct fifo fifo_t;
|
H A D | fifo.c | 35 #include "fifo.h" 43 struct fifo { struct 58 /* Add to the end of the fifo */ 75 /* Remove from the front of the fifo */ 101 /* Free an entire fifo */
|
/netbsd-6-1-5-RELEASE/regress/sys/kern/kqueue/read/ |
H A D | Makefile | 7 SUBDIR+= fifo
|
/netbsd-6-1-5-RELEASE/tests/kernel/kqueue/read/ |
H A D | t_fifo.c | 51 #define FIFONAME "fifo" 53 ATF_TC(fifo); variable 54 ATF_TC_HEAD(fifo, tc) 56 atf_tc_set_md_var(tc, "descr", "Checks EVFILT_READ on fifo"); 58 ATF_TC_BODY(fifo, tc) 72 /* make sure there is something in the fifo */ 74 (void)printf("fifo: wrote 'foo'\n"); 88 (void)printf("fifo: read '%s'\n", buffer); 95 ATF_TP_ADD_TC(tp, fifo);
|
/netbsd-6-1-5-RELEASE/tests/kernel/kqueue/write/ |
H A D | t_fifo.c | 51 #define FIFONAME "fifo" 53 ATF_TC(fifo); variable 54 ATF_TC_HEAD(fifo, tc) 56 atf_tc_set_md_var(tc, "descr", "Checks EVFILT_WRITE for fifo"); 58 ATF_TC_BODY(fifo, tc) 74 (void)printf("fifo: child read '%.*s'\n", sz, buffer); 91 (void)printf("fifo: wrote 'foo'\n"); 99 ATF_TP_ADD_TC(tp, fifo);
|
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/sim/mips/ |
H A D | dv-tx3904sio.c | 343 /* consume rx fifo for MS byte */ 555 tx3904sio_fifo_nonempty(struct hw* me, struct tx3904sio_fifo* fifo) argument 557 /* HW_TRACE ((me, "fifo used: %d", fifo->used)); */ 558 return(fifo->used > 0); 563 tx3904sio_fifo_pop(struct hw* me, struct tx3904sio_fifo* fifo) argument 566 ASSERT(fifo->used > 0); 567 ASSERT(fifo->buffer != NULL); 568 it = fifo->buffer[0]; 569 memcpy(& fifo 577 tx3904sio_fifo_push(struct hw* me, struct tx3904sio_fifo* fifo, char it) argument 597 tx3904sio_fifo_reset(struct hw* me, struct tx3904sio_fifo* fifo) argument [all...] |
/netbsd-6-1-5-RELEASE/sys/external/bsd/drm/dist/shared-core/ |
H A D | nouveau_state.c | 119 engine->fifo.channels = 16; 120 engine->fifo.init = nouveau_fifo_init; 121 engine->fifo.takedown = nouveau_stub_takedown; 122 engine->fifo.channel_id = nv04_fifo_channel_id; 123 engine->fifo.create_context = nv04_fifo_create_context; 124 engine->fifo.destroy_context = nv04_fifo_destroy_context; 125 engine->fifo.load_context = nv04_fifo_load_context; 126 engine->fifo.save_context = nv04_fifo_save_context; 148 engine->fifo.channels = 32; 149 engine->fifo [all...] |
H A D | nv04_instmem.c | 65 dev_priv->ramfc_size = engine->fifo.channels * 76 dev_priv->ramfc_size = engine->fifo.channels *
|
H A D | nouveau_fifo.c | 31 /* returns the size of fifo context */ 249 /* allocates and initializes a fifo for user space consumption */ 263 * Nvidia cards have multiple hw fifo contexts (praise them for that, 269 for (channel = 0; channel < engine->fifo.channels; channel++) { 275 if (channel == engine->fifo.channels) 336 /* disable the fifo caches */ 350 ret = engine->fifo.create_context(chan); 367 ret = engine->fifo.load_context(chan); 386 /* reenable the fifo caches */ 406 if (engine->fifo [all...] |
H A D | nv50_fifo.c | 42 struct nv50_fifo_priv *priv = dev_priv->Engine.fifo.priv; 174 dev_priv->Engine.fifo.priv = priv; 204 struct nv50_fifo_priv *priv = dev_priv->Engine.fifo.priv; 214 dev_priv->Engine.fifo.priv = NULL;
|
/netbsd-6-1-5-RELEASE/sys/rump/fs/ |
H A D | Makefile.rumpfscomp | 16 RUMPVFSCOMP+= fifo layer
|
/netbsd-6-1-5-RELEASE/sbin/mknod/ |
H A D | mknod.c | 87 int n, ch, fifo, hasformat; local 99 fifo = hasformat = 0; 202 fifo = 1; 212 if (fifo) { 256 rval = fifo ? mkfifo(name, mode) : mknod(name, mode, dev); 259 if (lstat(name, &sb) != 0 || (!fifo && sb.st_rdev != dev)) 272 rval = fifo ? mkfifo(name, mode)
|
/netbsd-6-1-5-RELEASE/sys/arch/hp300/stand/common/ |
H A D | dcm.c | 112 struct dcmrfifo *fifo; local 122 fifo = &dcm->dcm_rfifos[3-port][head>>1]; 123 c = fifo->data_char; 124 stat = fifo->data_stat;
|
/netbsd-6-1-5-RELEASE/usr.sbin/wsmoused/ |
H A D | config_lex.l | 60 MODE_PROPS button_[0-9]+_down|button_[0-9]+_up|device|fifo|lefthanded|modes|nodaemon|pidfile|slowdown_x|slowdown_y|ttystat|xconsole|xconsole_delay
|
/netbsd-6-1-5-RELEASE/sys/arch/amiga/dev/ |
H A D | toccata.c | 75 /* fifo status bits, read */ 79 #define TOCC_FIFO_PBHE 0x08 /* playback fifo is half empty (active high) */ 80 #define TOCC_FIFO_CPHF 0x04 /* capture fifo is half full (active high) */ 82 /* fifo status bits, write */ 89 * capt. int: read 512 bytes out of fifo. 93 * 3/4 fill fifo with silence; init codec; 95 * pb int: write 512 bytes to fifo 302 volatile uint8_t *fifo; local 326 fifo = sc->sc_boardp + TOCC_FIFO_DATA; 329 *buf++ = *fifo; 551 volatile uint8_t *cmd, *fifo; local [all...] |
H A D | if_esreg.h | 55 volatile u_short fifo; /* FIFO Ports Register */ member in struct:smcregs::__anon5633 74 volatile u_short fifo; /* FIFO Ports Register */ member in struct:smcregs::__anon5635
|
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/unit/atf-src/ |
H A D | Makefile.am | 78 fifofile=$$(pwd)/installcheck.fifo; \ 91 CLEANFILES += installcheck.fifo installcheck.log
|
/netbsd-6-1-5-RELEASE/external/cddl/osnet/usr.bin/ctfmerge/ |
H A D | Makefile | 15 fifo.c \
|
/netbsd-6-1-5-RELEASE/sys/fs/tmpfs/ |
H A D | tmpfs_fifoops.h | 40 #include <miscfs/fifofs/fifo.h>
|