| /f-stack/freebsd/contrib/ck/include/ |
| H A D | ck_fifo.h | 110 fifo->head = fifo->tail = fifo->head_snapshot = fifo->garbage = stub; in ck_fifo_spsc_init() 118 *garbage = fifo->head; in ck_fifo_spsc_deinit() 119 fifo->head = fifo->tail = NULL; in ck_fifo_spsc_deinit() 135 fifo->tail = entry; in ck_fifo_spsc_enqueue() 169 if (fifo->head_snapshot == fifo->garbage) { in ck_fifo_spsc_recycle() 170 fifo->head_snapshot = ck_pr_load_ptr(&fifo->head); in ck_fifo_spsc_recycle() 171 if (fifo->head_snapshot == fifo->garbage) in ck_fifo_spsc_recycle() 175 garbage = fifo->garbage; in ck_fifo_spsc_recycle() 230 fifo->head.pointer = fifo->tail.pointer = stub; in ck_fifo_mpmc_init() 231 fifo->head.generation = fifo->tail.generation = NULL; in ck_fifo_mpmc_init() [all …]
|
| H A D | ck_hp_fifo.h | 63 fifo->head = fifo->tail = stub; in ck_hp_fifo_init() 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() 110 struct ck_hp_fifo *fifo, in ck_hp_fifo_tryenqueue_mpmc() argument 120 tail = ck_pr_load_ptr(&fifo->tail); in ck_hp_fifo_tryenqueue_mpmc() 139 struct ck_hp_fifo *fifo, in ck_hp_fifo_dequeue_mpmc() argument 173 struct ck_hp_fifo *fifo, in ck_hp_fifo_trydequeue_mpmc() argument 178 head = ck_pr_load_ptr(&fifo->head); in ck_hp_fifo_trydequeue_mpmc() [all …]
|
| /f-stack/dpdk/drivers/net/avp/ |
| H A D | rte_avp_fifo.h | 40 fifo->write = 0; in avp_fifo_init() 41 fifo->read = 0; in avp_fifo_init() 42 fifo->len = size; in avp_fifo_init() 43 fifo->elem_size = sizeof(void *); in avp_fifo_init() 55 unsigned int fifo_read = fifo->read; in avp_fifo_put() 67 fifo->write = fifo_write; in avp_fifo_put() 78 unsigned int new_read = fifo->read; in avp_fifo_get() 88 data[i] = fifo->buffer[new_read]; in avp_fifo_get() 92 fifo->read = new_read; in avp_fifo_get() 102 return (fifo->len + fifo->write - fifo->read) & (fifo->len - 1); in avp_fifo_count() [all …]
|
| /f-stack/dpdk/lib/librte_kni/ |
| H A D | rte_kni_fifo.h | 47 fifo->write = 0; in kni_fifo_init() 48 fifo->read = 0; in kni_fifo_init() 49 fifo->len = size; in kni_fifo_init() 50 fifo->elem_size = sizeof(void *); in kni_fifo_init() 60 unsigned fifo_write = fifo->write; in kni_fifo_put() 69 fifo->buffer[fifo_write] = data[i]; in kni_fifo_put() 83 unsigned new_read = fifo->read; in kni_fifo_get() 90 data[i] = fifo->buffer[new_read]; in kni_fifo_get() 93 __KNI_STORE_RELEASE(&fifo->read, new_read); in kni_fifo_get() 101 kni_fifo_count(struct rte_kni_fifo *fifo) in kni_fifo_count() argument [all …]
|
| /f-stack/dpdk/kernel/linux/kni/ |
| H A D | kni_fifo.h | 26 uint32_t fifo_write = fifo->write; in kni_fifo_put() 31 new_write = (new_write + 1) & (fifo->len - 1); in kni_fifo_put() 35 fifo->buffer[fifo_write] = data[i]; in kni_fifo_put() 38 smp_store_release(&fifo->write, fifo_write); in kni_fifo_put() 50 uint32_t new_read = fifo->read; in kni_fifo_get() 57 data[i] = fifo->buffer[new_read]; in kni_fifo_get() 58 new_read = (new_read + 1) & (fifo->len - 1); in kni_fifo_get() 60 smp_store_release(&fifo->read, new_read); in kni_fifo_get() 69 kni_fifo_count(struct rte_kni_fifo *fifo) in kni_fifo_count() argument 73 return (fifo->len + fifo_write - fifo_read) & (fifo->len - 1); in kni_fifo_count() [all …]
|
| /f-stack/dpdk/drivers/net/fm10k/ |
| H A D | fm10k.h | 187 struct fifo { struct 232 static inline void fifo_reset(struct fifo *fifo, uint32_t len) in fifo_reset() argument 234 fifo->head = fifo->tail = fifo->list; in fifo_reset() 235 fifo->endp = fifo->list + len; in fifo_reset() 238 static inline void fifo_insert(struct fifo *fifo, uint16_t val) in fifo_insert() argument 241 if (++fifo->head == fifo->endp) in fifo_insert() 242 fifo->head = fifo->list; in fifo_insert() 247 static inline uint16_t fifo_peek(struct fifo *fifo) in fifo_peek() argument 252 static inline uint16_t fifo_remove(struct fifo *fifo) in fifo_remove() argument 256 if (++fifo->tail == fifo->endp) in fifo_remove() [all …]
|
| /f-stack/dpdk/drivers/net/fm10k/base/ |
| H A D | fm10k_mbx.c | 17 fifo->head = 0; in fm10k_fifo_init() 18 fifo->tail = 0; in fm10k_fifo_init() 29 return fifo->tail - fifo->head; in fm10k_fifo_used() 40 return fifo->size + fifo->head - fifo->tail; in fm10k_fifo_unused() 51 return fifo->head == fifo->tail; in fm10k_fifo_empty() 63 return (fifo->head + offset) & (fifo->size - 1); in fm10k_fifo_head_offset() 75 return (fifo->tail + offset) & (fifo->size - 1); in fm10k_fifo_tail_offset() 86 u32 *head = fifo->buffer + fm10k_fifo_head_offset(fifo, 0); in fm10k_fifo_head_len() 121 fifo->head = fifo->tail; in fm10k_fifo_drop_all() 730 memmove(fifo->buffer, fifo->buffer + fifo->tail, mbx->pushed << 2); in fm10k_mbx_dequeue_rx() [all …]
|
| /f-stack/freebsd/netgraph/bluetooth/drivers/ubtbcmfw/ |
| H A D | ubtbcmfw.c | 317 usb_fifo_put_data(fifo, pc, 0, actlen, 1); in ubtbcmfw_read_callback() 322 if (usb_fifo_put_bytes_max(fifo) > 0) { in ubtbcmfw_read_callback() 343 ubtbcmfw_start_read(struct usb_fifo *fifo) in ubtbcmfw_start_read() argument 345 struct ubtbcmfw_softc *sc = usb_fifo_softc(fifo); in ubtbcmfw_start_read() 355 ubtbcmfw_stop_read(struct usb_fifo *fifo) in ubtbcmfw_stop_read() argument 357 struct ubtbcmfw_softc *sc = usb_fifo_softc(fifo); in ubtbcmfw_stop_read() 368 ubtbcmfw_start_write(struct usb_fifo *fifo) in ubtbcmfw_start_write() argument 380 ubtbcmfw_stop_write(struct usb_fifo *fifo) in ubtbcmfw_stop_write() argument 392 ubtbcmfw_open(struct usb_fifo *fifo, int fflags) in ubtbcmfw_open() argument 421 ubtbcmfw_close(struct usb_fifo *fifo, int fflags) in ubtbcmfw_close() argument [all …]
|
| /f-stack/freebsd/contrib/device-tree/Bindings/powerpc/fsl/ |
| H A D | mpc5121-psc.txt | 9 Controller node fsl,mpc5121-psc-fifo is required there: 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) 35 fsl,mpc512x-psc-fifo node 39 - compatible : Should be "fsl,<soc>-psc-fifo" 48 - clocks : specifies the clock needed to operate the fifo controller 59 fsl,rx-fifo-size = <16>; 60 fsl,tx-fifo-size = <16>; 69 fsl,rx-fifo-size = <16>; 70 fsl,tx-fifo-size = <16>; [all …]
|
| /f-stack/freebsd/contrib/device-tree/Bindings/net/can/ |
| H A D | xilinx_can.txt | 19 - tx-fifo-depth : Can Tx fifo depth (Zynq, Axi CAN). 20 - rx-fifo-depth : Can Rx fifo depth (Zynq, Axi CAN, CAN FD in 37 tx-fifo-depth = <0x40>; 38 rx-fifo-depth = <0x40>; 48 tx-fifo-depth = <0x40>; 49 rx-fifo-depth = <0x40>; 60 rx-fifo-depth = <0x20>;
|
| /f-stack/freebsd/contrib/device-tree/src/powerpc/ |
| H A D | mpc5121.dtsi | 353 fsl,rx-fifo-size = <16>; 354 fsl,tx-fifo-size = <16>; 365 fsl,rx-fifo-size = <16>; 366 fsl,tx-fifo-size = <16>; 377 fsl,rx-fifo-size = <16>; 378 fsl,tx-fifo-size = <16>; 389 fsl,rx-fifo-size = <16>; 390 fsl,tx-fifo-size = <16>; 401 fsl,rx-fifo-size = <16>; 402 fsl,tx-fifo-size = <16>; [all …]
|
| H A D | eiger.dts | 317 rx-fifo-size = <4096>; 318 tx-fifo-size = <2048>; 319 rx-fifo-size-gige = <16384>; 347 rx-fifo-size = <4096>; 348 tx-fifo-size = <2048>; 349 rx-fifo-size-gige = <16384>; 378 rx-fifo-size = <4096>; 379 tx-fifo-size = <2048>; 380 rx-fifo-size-gige = <16384>; 408 rx-fifo-size = <4096>; [all …]
|
| H A D | ac14xx.dts | 250 /* fifo interrupts */ 300 fsl,rx-fifo-size = <512>; 301 fsl,tx-fifo-size = <512>; 307 fsl,rx-fifo-size = <768>; 308 fsl,tx-fifo-size = <768>; 332 fsl,rx-fifo-size = <128>; 333 fsl,tx-fifo-size = <128>; 349 fsl,rx-fifo-size = <512>; 350 fsl,tx-fifo-size = <512>;
|
| H A D | arches.dts | 269 rx-fifo-size = <4096>; 270 tx-fifo-size = <2048>; 271 rx-fifo-size-gige = <16384>; 298 rx-fifo-size = <4096>; 299 tx-fifo-size = <2048>; 300 rx-fifo-size-gige = <16384>; 328 rx-fifo-size = <4096>; 329 tx-fifo-size = <2048>; 330 rx-fifo-size-gige = <16384>; 331 tx-fifo-size-gige = <16384>; /* emac2&3 only */
|
| H A D | obs600.dts | 262 rx-fifo-size = <4096>; 263 tx-fifo-size = <2048>; 264 rx-fifo-size-gige = <16384>; 265 tx-fifo-size-gige = <16384>; 292 rx-fifo-size = <4096>; 293 tx-fifo-size = <2048>; 294 rx-fifo-size-gige = <16384>; 295 tx-fifo-size-gige = <16384>;
|
| /f-stack/freebsd/contrib/device-tree/src/arm/ |
| H A D | bcm283x-rpi-usb-otg.dtsi | 4 g-rx-fifo-size = <256>; 5 g-np-tx-fifo-size = <32>; 8 * fifo sizes shouldn't exceed 3776 bytes. 10 g-tx-fifo-size = <256 256 512 512 512 768 768>;
|
| H A D | bcm283x-rpi-usb-peripheral.dtsi | 4 g-rx-fifo-size = <256>; 5 g-np-tx-fifo-size = <32>; 6 g-tx-fifo-size = <256 256 512 512 512 768 768>;
|
| /f-stack/freebsd/contrib/device-tree/Bindings/sound/ |
| H A D | amlogic,axg-fifo.txt | 12 - interrupts: interrupt specifier for the fifo. 13 - clocks: phandle to the fifo peripheral clock provided by the audio 20 - amlogic,fifo-depth: The size of the controller's fifo in bytes. This 22 as the flush threshold of the fifo 33 fifo-depth = <512>;
|
| /f-stack/freebsd/contrib/device-tree/Bindings/mmc/ |
| H A D | synopsys-dw-mshc-common.yaml | 29 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.
|
| /f-stack/freebsd/contrib/device-tree/Bindings/display/bridge/ |
| H A D | sii902x.txt | 18 audio fifo. The first integer selects i2s audio pin for the 19 first audio fifo#0 (HDMI channels 1&2), second for fifo#1 21 pins (SD0 - SD3). Any i2s pin can be connected to any fifo, 23 fifo#0 and fifo#1 before mapping a channel to fifo#2. Default 25 fifo #0.
|
| /f-stack/freebsd/contrib/device-tree/Bindings/net/ |
| H A D | ibm,emac.txt | 32 - rx-fifo-size : 1 cell, Rx fifo size in bytes for 10 and 100 Mb/sec 35 - tx-fifo-size : 1 cell, Tx fifo size in bytes for 10 and 100 Mb/sec 38 - fifo-entry-size : 1 cell, size of a fifo entry (used to calculate 76 - rx-fifo-size-gige : 1 cell, Rx fifo size in bytes for 1000 Mb/sec 79 - tx-fifo-size-gige : 1 cell, Tx fifo size in bytes for 1000 Mb/sec 81 tx-fifo-size). For Axon, either absent or 2048. 115 rx-fifo-size = <1000>; 116 tx-fifo-size = <800>; 140 rx-fifo-size = <16384>; 141 tx-fifo-size = <2048>; [all …]
|
| H A D | altera_tse.txt | 22 - rx-fifo-depth: MAC receive FIFO buffer depth in bytes 23 - tx-fifo-depth: MAC transmit FIFO buffer depth in bytes 66 rx-fifo-depth = <2048>; 67 tx-fifo-depth = <2048>; 104 rx-fifo-depth = <2048>; 105 tx-fifo-depth = <2048>;
|
| /f-stack/freebsd/contrib/device-tree/Bindings/pinctrl/ |
| H A D | cirrus,madera.yaml | 83 timer7-sts, timer8-sts, log1-fifo-ne, 84 log2-fifo-ne, log3-fifo-ne, log4-fifo-ne, 85 log5-fifo-ne, log6-fifo-ne, log7-fifo-ne, 86 log8-fifo-ne ]
|
| /f-stack/freebsd/contrib/device-tree/Bindings/usb/ |
| H A D | dwc2.yaml | 105 g-rx-fifo-size: 107 description: size of rx fifo size in gadget mode. 109 g-np-tx-fifo-size: 111 description: size of non-periodic tx fifo size in gadget mode. 113 g-tx-fifo-size: 115 description: size of periodic tx fifo per endpoint (except ep0) in gadget mode.
|
| /f-stack/freebsd/contrib/device-tree/Bindings/mailbox/ |
| H A D | omap-mailbox.txt | 10 Each mailbox IP block/cluster has a certain number of h/w fifo queues and output 17 and tx interrupt source per h/w fifo. Communication between different processors 21 The number of h/w fifo queues and interrupt lines dictate the usable registers. 23 instance. DRA7xx has multiple instances with different number of h/w fifo queues 55 - ti,mbox-num-fifos: Number of h/w fifo queues within the mailbox IP block 83 - ti,mbox-tx: sub-mailbox descriptor property defining a Tx fifo 84 - ti,mbox-rx: sub-mailbox descriptor property defining a Rx fifo 90 Cell #1 (fifo_id) - mailbox fifo id used either for transmitting 97 associated with generating a tx/rx fifo interrupt.
|