Home
last modified time | relevance | path

Searched full:fifo (Results 1 – 25 of 1209) sorted by relevance

12345678910>>...49

/freebsd/sys/contrib/ck/include/
H A Dck_fifo.h57 ck_fifo_spsc_enqueue_trylock(struct ck_fifo_spsc *fifo) in ck_fifo_spsc_enqueue_trylock() argument
60 return ck_spinlock_trylock(&fifo->m_tail); in ck_fifo_spsc_enqueue_trylock()
64 ck_fifo_spsc_enqueue_lock(struct ck_fifo_spsc *fifo) in ck_fifo_spsc_enqueue_lock() argument
67 ck_spinlock_lock(&fifo->m_tail); in ck_fifo_spsc_enqueue_lock()
72 ck_fifo_spsc_enqueue_unlock(struct ck_fifo_spsc *fifo) in ck_fifo_spsc_enqueue_unlock() argument
75 ck_spinlock_unlock(&fifo->m_tail); in ck_fifo_spsc_enqueue_unlock()
80 ck_fifo_spsc_dequeue_trylock(struct ck_fifo_spsc *fifo) in ck_fifo_spsc_dequeue_trylock() argument
83 return ck_spinlock_trylock(&fifo->m_head); in ck_fifo_spsc_dequeue_trylock()
87 ck_fifo_spsc_dequeue_lock(struct ck_fifo_spsc *fifo) in ck_fifo_spsc_dequeue_lock() argument
90 ck_spinlock_lock(&fifo->m_head); in ck_fifo_spsc_dequeue_lock()
[all …]
H A Dck_hp_fifo.h60 ck_hp_fifo_init(struct ck_hp_fifo *fifo, struct ck_hp_fifo_entry *stub) in ck_hp_fifo_init() argument
63 fifo->head = fifo->tail = stub; in ck_hp_fifo_init()
69 ck_hp_fifo_deinit(struct ck_hp_fifo *fifo, struct ck_hp_fifo_entry **stub) in ck_hp_fifo_deinit() argument
72 *stub = fifo->head; in ck_hp_fifo_deinit()
73 fifo->head = fifo->tail = NULL; in ck_hp_fifo_deinit()
79 struct ck_hp_fifo *fifo, in ck_hp_fifo_enqueue_mpmc() argument
90 tail = ck_pr_load_ptr(&fifo->tail); in ck_hp_fifo_enqueue_mpmc()
92 if (tail != ck_pr_load_ptr(&fifo->tail)) in ck_hp_fifo_enqueue_mpmc()
97 ck_pr_cas_ptr(&fifo->tail, tail, next); in ck_hp_fifo_enqueue_mpmc()
99 } else if (ck_pr_cas_ptr(&fifo->tail->next, next, entry) == true) in ck_hp_fifo_enqueue_mpmc()
[all …]
/freebsd/usr.sbin/bhyve/amd64/
H A Dps2mouse.c89 struct fifo { struct
93 int num; /* number of bytes in the fifo */ argument
94 int size; /* size of the fifo */ argument
105 struct fifo fifo; member
116 struct fifo *fifo; in fifo_init() local
118 fifo = &sc->fifo; in fifo_init()
119 fifo->size = sizeof(((struct fifo *)0)->buf); in fifo_init()
125 struct fifo *fifo; in fifo_reset() local
127 fifo = &sc->fifo; in fifo_reset()
128 bzero(fifo, sizeof(struct fifo)); in fifo_reset()
[all …]
H A Dps2kbd.c73 struct fifo { struct
77 int num; /* number of bytes in the fifo */ argument
78 int size; /* size of the fifo */ argument
86 struct fifo fifo; member
215 struct fifo *fifo; in fifo_init() local
217 fifo = &sc->fifo; in fifo_init()
218 fifo->size = sizeof(((struct fifo *)0)->buf); in fifo_init()
224 struct fifo *fifo; in fifo_reset() local
226 fifo = &sc->fifo; in fifo_reset()
227 bzero(fifo, sizeof(struct fifo)); in fifo_reset()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/powerpc/fsl/
H A Dmpc5121-psc.txt8 fsl,mpc5121-immr SoC node. Additionally the PSC FIFO
9 Controller node fsl,mpc5121-psc-fifo is required there:
19 PSC FIFO Controller and b is a field that represents an
23 - fsl,rx-fifo-size : the size of the RX fifo slice (a multiple of 4)
24 - fsl,tx-fifo-size : the size of the TX fifo slice (a multiple of 4)
30 for that is fsl,mpc5121-psc-spi. It requires a fsl,mpc5121-psc-fifo as well.
35 fsl,mpc512x-psc-fifo node
39 - compatible : Should be "fsl,<soc>-psc-fifo"
42 FIFO Controller
44 PSC FIFO Controller and b is a field that represents an
[all …]
/freebsd/tools/regression/poll/n/
H A Dpipeselect.out10 ok 9 FIFO state 0: expected clear; got clear
11 ok 10 FIFO state 1: expected clear; got clear
12 ok 11 FIFO state 2: expected set; got set
13 ok 12 FIFO state 2a: expected clear; got clear
14 ok 13 FIFO state 3: expected set; got set
15 ok 14 FIFO state 4: expected clear; got clear
16 ok 15 FIFO state 5: expected set; got set
17 ok 16 FIFO state 6: expected set; got set
18 ok 17 FIFO state 6a: expected set; got set
19 ok 18 FIFO state 6b: expected clear; got clear
[all …]
H A Dpipepoll.out10 ok 9 FIFO state 0: expected 0; got 0
11 ok 10 FIFO state 1: expected 0; got 0
12 ok 11 FIFO state 2: expected POLLIN; got POLLIN
13 ok 12 FIFO state 2a: expected 0; got 0
14 ok 13 FIFO state 3: expected POLLHUP; got POLLHUP
15 ok 14 FIFO state 4: expected 0; got 0
16 ok 15 FIFO state 5: expected POLLIN; got POLLIN
17 ok 16 FIFO state 6: expected POLLIN | POLLHUP; got POLLIN | POLLHUP
18 ok 17 FIFO state 6a: expected POLLHUP; got POLLHUP
19 ok 18 FIFO state 6b: expected 0; got 0
[all …]
/freebsd/tools/regression/poll/4/
H A Dpipeselect.out10 not ok 9 FIFO state 0: expected clear; got set
11 ok 10 FIFO state 1: expected clear; got clear
12 ok 11 FIFO state 2: expected set; got set
13 ok 12 FIFO state 2a: expected clear; got clear
14 ok 13 FIFO state 3: expected set; got set
15 ok 14 FIFO state 4: expected clear; got clear
16 ok 15 FIFO state 5: expected set; got set
17 ok 16 FIFO state 6: expected set; got set
18 ok 17 FIFO state 6a: expected set; got set
19 not ok 18 FIFO state 6b: expected clear; got set
[all …]
H A Dpipepoll.out10 not ok 9 FIFO state 0: expected 0; got POLLIN
11 ok 10 FIFO state 1: expected 0; got 0
12 ok 11 FIFO state 2: expected POLLIN; got POLLIN
13 ok 12 FIFO state 2a: expected 0; got 0
14 not ok 13 FIFO state 3: expected POLLHUP; got POLLIN
15 ok 14 FIFO state 4: expected 0; got 0
16 ok 15 FIFO state 5: expected POLLIN; got POLLIN
17 not ok 16 FIFO state 6: expected POLLIN | POLLHUP; got POLLIN
18 not ok 17 FIFO state 6a: expected POLLHUP; got POLLIN
19 not ok 18 FIFO state 6b: expected 0; got POLLIN
[all …]
/freebsd/tools/regression/poll/7/
H A Dpipeselect.out10 ok 9 FIFO state 0: expected clear; got clear
11 ok 10 FIFO state 1: expected clear; got clear
12 ok 11 FIFO state 2: expected set; got set
13 ok 12 FIFO state 2a: expected clear; got clear
14 not ok 13 FIFO state 3: expected set; got clear
15 ok 14 FIFO state 4: expected clear; got clear
16 ok 15 FIFO state 5: expected set; got set
17 ok 16 FIFO state 6: expected set; got set
18 not ok 17 FIFO state 6a: expected set; got clear
19 ok 18 FIFO state 6b: expected clear; got clear
[all …]
H A Dpipepoll.out10 ok 9 FIFO state 0: expected 0; got 0
11 ok 10 FIFO state 1: expected 0; got 0
12 ok 11 FIFO state 2: expected POLLIN; got POLLIN
13 ok 12 FIFO state 2a: expected 0; got 0
14 not ok 13 FIFO state 3: expected POLLHUP; got 0
15 ok 14 FIFO state 4: expected 0; got 0
16 ok 15 FIFO state 5: expected POLLIN; got POLLIN
17 not ok 16 FIFO state 6: expected POLLIN | POLLHUP; got POLLIN
18 not ok 17 FIFO state 6a: expected POLLHUP; got 0
19 ok 18 FIFO state 6b: expected 0; got 0
[all …]
/freebsd/tools/regression/poll/l/
H A Dpipepoll.out10 ok 9 FIFO state 0: expected 0; got 0
11 ok 10 FIFO state 1: expected 0; got 0
12 ok 11 FIFO state 2: expected POLLIN; got POLLIN
13 ok 12 FIFO state 2a: expected 0; got 0
14 ok 13 FIFO state 3: expected POLLHUP; got POLLHUP
15 ok 14 FIFO state 4: expected 0; got 0
16 ok 15 FIFO state 5: expected POLLIN; got POLLIN
17 ok 16 FIFO state 6: expected POLLIN | POLLHUP; got POLLIN | POLLHUP
18 ok 17 FIFO state 6a: expected POLLHUP; got POLLHUP
19 not ok 18 FIFO state 6b: expected POLLHUP; got 0
[all …]
H A Dpipeselect.out10 not ok 9 FIFO state 0: expected set; got clear
11 ok 10 FIFO state 1: expected clear; got clear
12 ok 11 FIFO state 2: expected set; got set
13 ok 12 FIFO state 2a: expected clear; got clear
14 ok 13 FIFO state 3: expected set; got set
15 ok 14 FIFO state 4: expected clear; got clear
16 ok 15 FIFO state 5: expected set; got set
17 ok 16 FIFO state 6: expected set; got set
18 ok 17 FIFO state 6a: expected set; got set
19 not ok 18 FIFO state 6b: expected set; got clear
[all …]
/freebsd/tools/regression/poll/m/
H A Dpipepoll.out10 ok 9 FIFO state 0: expected 0; got 0
11 ok 10 FIFO state 1: expected 0; got 0
12 ok 11 FIFO state 2: expected POLLIN; got POLLIN
13 ok 12 FIFO state 2a: expected 0; got 0
14 ok 13 FIFO state 3: expected POLLHUP; got POLLHUP
15 ok 14 FIFO state 4: expected 0; got 0
16 ok 15 FIFO state 5: expected POLLIN; got POLLIN
17 ok 16 FIFO state 6: expected POLLIN | POLLHUP; got POLLIN | POLLHUP
18 ok 17 FIFO state 6a: expected POLLHUP; got POLLHUP
19 ok 18 FIFO state 6b: expected POLLHUP; got POLLHUP
[all …]
H A Dpipeselect.out10 not ok 9 FIFO state 0: expected set; got clear
11 ok 10 FIFO state 1: expected clear; got clear
12 ok 11 FIFO state 2: expected set; got set
13 ok 12 FIFO state 2a: expected clear; got clear
14 ok 13 FIFO state 3: expected set; got set
15 ok 14 FIFO state 4: expected clear; got clear
16 ok 15 FIFO state 5: expected set; got set
17 ok 16 FIFO state 6: expected set; got set
18 ok 17 FIFO state 6a: expected set; got set
19 ok 18 FIFO state 6b: expected set; got set
[all …]
/freebsd/sys/dev/ath/
H A Dif_ath_tx_edma.c160 * XXX TODO: push an aggregate as a single FIFO slot, even though
163 * The TX completion code handles a TX FIFO slot having multiple frames,
182 "%s: called; TXQ=%d, fifo.depth=%d, axq_q empty=%d\n", in ath_tx_edma_push_staging_list()
223 * as one FIFO entry. in ath_tx_edma_push_staging_list()
267 * of the FIFO queue. We don't adjust the aggregate in ath_tx_edma_push_staging_list()
272 TAILQ_CONCAT(&txq->fifo.axq_q, &sq, bf_list); in ath_tx_edma_push_staging_list()
273 /* Bump total queue tracking in FIFO queue */ in ath_tx_edma_push_staging_list()
274 txq->fifo.axq_depth += sqdepth; in ath_tx_edma_push_staging_list()
276 /* Bump FIFO queue */ in ath_tx_edma_push_staging_list()
279 "%s: queued %d packets; depth=%d, fifo depth=%d\n", in ath_tx_edma_push_staging_list()
[all …]
/freebsd/sys/contrib/alpine-hal/
H A Dal_hal_udma_regs_s2m.h127 /* [0x28] S2M stream data FIFO status */
129 /* [0x2c] S2M stream header FIFO status */
131 /* [0x30] S2M AXI data FIFO status */
133 /* [0x34] S2M unack FIFO status */
138 * [0x3c] S2M prefetch FIFO status.
143 * [0x40] S2M completion FIFO status.
147 /* [0x44] S2M state machine and FIFO clear control */
151 /* [0x4c] S2M FIFO enable control, internal */
169 /* [0x0] Stream data FIFO configuration */
270 * (Before the coalescing FIFO)
[all …]
/freebsd/sys/netgraph/bluetooth/drivers/ubtbcmfw/
H A Dubtbcmfw.c232 device_printf(dev, "could not attach fifo. %s\n", in ubtbcmfw_attach()
305 struct usb_fifo *fifo = sc->sc_fifo.fp[USB_FIFO_RX]; in ubtbcmfw_read_callback() local
314 usb_fifo_put_data(fifo, pc, 0, actlen, 1); in ubtbcmfw_read_callback()
319 if (usb_fifo_put_bytes_max(fifo) > 0) { in ubtbcmfw_read_callback()
340 ubtbcmfw_start_read(struct usb_fifo *fifo) in ubtbcmfw_start_read() argument
342 struct ubtbcmfw_softc *sc = usb_fifo_softc(fifo); in ubtbcmfw_start_read()
348 * Called when we about to stop reading (i.e. closing fifo)
352 ubtbcmfw_stop_read(struct usb_fifo *fifo) in ubtbcmfw_stop_read() argument
354 struct ubtbcmfw_softc *sc = usb_fifo_softc(fifo); in ubtbcmfw_stop_read()
361 * for write or flushing fifo
[all …]
/freebsd/sys/dev/gve/
H A Dgve_tx.c41 struct gve_tx_fifo *fifo = &tx->fifo; in gve_tx_fifo_init() local
43 fifo->size = qpl->num_pages * PAGE_SIZE; in gve_tx_fifo_init()
44 fifo->base = qpl->kva; in gve_tx_fifo_init()
45 atomic_store_int(&fifo->available, fifo->size); in gve_tx_fifo_init()
46 fifo->head = 0; in gve_tx_fifo_init()
230 struct gve_tx_fifo *fifo = &tx->fifo; in gve_clear_tx_ring() local
236 atomic_store_int(&fifo->available, fifo->size); in gve_clear_tx_ring()
237 fifo->head = 0; in gve_clear_tx_ring()
373 gve_tx_free_fifo(struct gve_tx_fifo *fifo, size_t bytes) in gve_tx_free_fifo() argument
375 atomic_add_int(&fifo->available, bytes); in gve_tx_free_fifo()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/net/can/
H A Dxilinx,can.yaml37 tx-fifo-depth:
39 description: CAN Tx fifo depth (Zynq, Axi CAN).
41 rx-fifo-depth:
43 description: CAN Rx fifo depth (Zynq, Axi CAN, CAN FD in sequential Rx mode)
81 - tx-fifo-depth
82 - rx-fifo-depth
98 - tx-fifo-depth
99 - rx-fifo-depth
117 - rx-fifo-depth
130 tx-fifo-depth = <0x40>;
[all …]
/freebsd/usr.sbin/bhyve/
H A Duart_backend.c64 struct fifo { struct
68 int num; /* number of characters in the fifo */ argument
69 int size; /* size of the fifo */ argument
74 struct fifo rxfifo;
141 struct fifo *fifo; in uart_rxfifo_getchar() local
145 fifo = &sc->rxfifo; in uart_rxfifo_getchar()
146 if (fifo->num > 0) { in uart_rxfifo_getchar()
149 c = fifo->buf[fifo->rindex]; in uart_rxfifo_getchar()
150 fifo->rindex = (fifo->rindex + 1) % fifo->size; in uart_rxfifo_getchar()
151 fifo->num--; in uart_rxfifo_getchar()
[all …]
/freebsd/lib/libsys/
H A Dmkfifo.234 .Nd make a fifo file
48 creates a new fifo file with name
57 The fifo's owner ID is set to the process's effective user ID.
58 The fifo's group ID is set to that of the parent directory in
68 In this case the newly created FIFO is created relative to the
87 will fail and no fifo will be created if:
90 The kernel has not been configured to support fifo's.
100 is denied on the parent directory of the fifo to be created.
112 The directory in which the entry for the new fifo is being placed
117 fifo is being created.
[all …]
/freebsd/usr.sbin/etcupdate/tests/
H A Dtests_test.sh108 mkfifo $i/equal/equal/equal/fifo
117 mkfifo $i/equal/first/first/fifo
126 mkfifo $i/equal/difftype/difftype/fifo
129 echo "bar" > $TEST/equal/difftype/difftype/fifo
149 mkfifo $i/first/equal/second/fifo
162 mkfifo $OLD/first/first/equal/fifo
175 mkfifo $OLD/first/difftype/second/fifo
176 mkdir $TEST/first/difftype/second/fifo
200 mkfifo $NEW/second/equal/first/fifo
216 mkfifo $i/second/second/equal/fifo
[all …]
/freebsd/sys/contrib/device-tree/Bindings/spi/
H A Dspi-controller.yaml72 fifo-depth:
77 rx-fifo-depth:
80 Size of the RX data FIFO in bytes.
82 tx-fifo-depth:
85 Size of the TX data FIFO in bytes.
135 rx-fifo-depth: [ tx-fifo-depth ]
136 tx-fifo-depth: [ rx-fifo-depth ]
153 - fifo-depth
154 - rx-fifo-depth
157 - fifo-depth
[all …]
/freebsd/sys/contrib/device-tree/Bindings/mmc/
H A Dsynopsys-dw-mshc-common.yaml29 fifo-depth:
31 The maximum size of the tx/rx fifo's. If this property is not
32 specified, the default value of the fifo size is determined from the
45 Override fifo address with value provided by DT. The default FIFO reg
48 this property to set fifo address in device tree.
51 fifo-watermark-aligned:
54 watermark in PIO mode. But fifo watermark is requested to be aligned
57 force fifo watermark setting accordingly.

12345678910>>...49