Searched refs:fifo (Results 1 - 25 of 29) sorted by relevance

12

/illumos-gate/usr/src/uts/common/io/xge/hal/xgehal/
H A Dxgehal-fifo.c24 #include "xgehal-fifo.h"
40 xge_hal_fifo_t *fifo = (xge_hal_fifo_t *)userdata; local
73 if (fifo->config->alignment_size) {
74 status =__hal_fifo_dtr_align_alloc_map(fifo, txdp);
79 fifo->align_size,
88 if (fifo->channel.dtr_init) {
89 fifo->channel.dtr_init(fifo, (xge_hal_dtr_h)txdp, index,
90 fifo->channel.userdata, XGE_HAL_CHANNEL_OC_NORMAL);
110 xge_hal_fifo_t *fifo local
154 xge_hal_fifo_t *fifo = (xge_hal_fifo_t *)channelh; local
315 xge_hal_fifo_t *fifo = (xge_hal_fifo_t *)channelh; local
494 xge_hal_fifo_t *fifo = (xge_hal_fifo_t *)channelh; local
525 xge_hal_fifo_t *fifo = (xge_hal_fifo_t *)channelh; local
[all...]
H A Dxgehal-fifo-fp.c25 #include "xgehal-fifo.h"
51 xge_hal_fifo_t *fifo = (xge_hal_fifo_t *)channelh; local
52 xge_hal_fifo_hw_pair_t *hw_pair = fifo->hw_pair;
68 xge_os_dma_sync(fifo->channel.pdev,
76 xge_os_pio_mem_write64(fifo->channel.pdev,
77 fifo->channel.regh1,
84 ctrl |= fifo->no_snoop_bits;
107 xge_os_pio_mem_write64(fifo->channel.pdev, fifo->channel.regh1,
122 fifo
264 xge_hal_fifo_t *fifo = (xge_hal_fifo_t *)channelh; local
502 xge_hal_fifo_t *fifo = (xge_hal_fifo_t *)channelh; local
556 xge_hal_fifo_t *fifo = (xge_hal_fifo_t *)channelh; local
651 xge_hal_fifo_t *fifo = (xge_hal_fifo_t *)channelh; local
837 xge_hal_fifo_t *fifo = (xge_hal_fifo_t *)channelh; local
928 xge_hal_fifo_t *fifo = (xge_hal_fifo_t *)channelh; local
969 xge_hal_fifo_t *fifo = (xge_hal_fifo_t *)channelh; local
1040 xge_hal_fifo_t *fifo = (xge_hal_fifo_t *)channelh; local
[all...]
H A Dxgehal-mgmtaux.c998 (void) xge_os_snprintf(key, sizeof(key), "fifo%d_", channel->post_qid);
1333 (void) xge_os_snprintf(key, sizeof(key), "fifo%d_", channel->post_qid);
1562 xge_hal_fifo_queue_t *fifo; local
1702 dev_config->fifo.max_frags, "%u");
1704 dev_config->fifo.reserve_threshold, "%u");
1706 dev_config->fifo.memblock_size, "%u");
1709 dev_config->fifo.alignment_size, "%u");
1713 fifo = &dev_config->fifo.queue[i];
1715 if (!fifo
[all...]
H A Dxgehal-device-fp.c34 #include "xgehal-fifo.h"
110 xge_hal_fifo_t *fifo = (xge_hal_fifo_t *)channelh; local
113 xge_assert(fifo);
118 fifo->hw_pair =
120 (fifo->channel.post_qid * XGE_HAL_FIFO_HW_PAIR_OFFSET));
H A Dxgehal-device.c31 #include "xgehal-fifo.h"
1051 if (!hldev->config.fifo.queue[i].configured)
1057 if (!hldev->config.fifo.queue[i].tti[j].enabled)
1064 &hldev->config.fifo.queue[i].tti[j],
2917 if (!hldev->config.fifo.queue[i].configured)
2920 if (hldev->config.fifo.queue[i].tti[j].enabled)
2921 hldev->config.fifo.queue[i].tti[j].enabled = 0;
5259 if (!device_config->fifo.queue[i].configured)
5266 "fifo: __hal_channel_allocate failed");
5407 /* Xena-only: need to serialize fifo post
6526 int fifo = channel->post_qid; local
6673 int fifo = channel->post_qid; local
[all...]
H A Dxgehal-config.c150 * __hal_fifo_queue_check - Check fifo queue configuration
151 * @new_config: fifo queue configuration information
360 * __hal_fifo_config_check - Check fifo configuration
361 * @new_config: fifo configuration information
662 if ((status = __hal_fifo_config_check(&new_config->fifo)) !=
/illumos-gate/usr/src/cmd/lp/lib/msgs/
H A Dwrite_fifo.c49 int write_fifo ( int fifo, char * buf, unsigned int size ) argument
51 int write_fifo (fifo, buf, size)
52 int fifo;
82 ** as someone else may have written something to the fifo
86 if ((wbytes = write(fifo, buf, size)) > 0)
H A Dread_fifo.c71 ** If the last writer closed the fifo, we'll read 0 bytes
97 switch (_buffer(fifo)) \
111 switch (_buffer(fifo)) \
128 read_fifo (fifo, buf, size)
129 int fifo;
147 if (!(fbp=GetFifoBuffer (fifo)))
251 peek3_2 (fifo)
252 int fifo;
266 if (!(fbp=GetFifoBuffer (fifo)))
301 _buffer(int fifo) argument
[all...]
/illumos-gate/usr/src/tools/ctf/cvt/
H A Dfifo.h40 typedef struct fifo fifo_t;
H A DMakefile.com37 fifo.c \
H A Dfifo.c35 #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 */
/illumos-gate/usr/src/boot/sys/boot/fdt/dts/arm/
H A Dexynos5420.dtsi90 fifo-depth = <0x40>;
99 fifo-depth = <0x40>;
108 fifo-depth = <0x40>;
H A Drk3188.dtsi236 fifo-depth = <0x40>;
248 fifo-depth = <0x40>;
H A Dsocfpga.dtsi196 fifo-depth = <0x400>;
/illumos-gate/usr/src/test/zfs-tests/tests/functional/xattr/
H A Dxattr_010_neg.ksh64 log_mustnot runat $TESTDIR/myfile.$$ mknod fifo p
/illumos-gate/usr/src/cmd/tzreload/
H A Dtzreload.c382 char fifo[PATH_MAX + 1]; local
384 if (strlcpy(fifo, zroot, sizeof (fifo)) >= sizeof (fifo) ||
385 strlcat(fifo, FIFO, sizeof (fifo)) >= sizeof (fifo)) {
393 if ((msgfd = open(fifo, O_WRONLY|O_NDELAY)) < 0) {
/illumos-gate/usr/src/lib/libshell/common/scripts/
H A Drssread.sh71 compound fifo=(
170 rm -r \"${_.ssl.fifo.dir}\"
171 _.ssl.fifo.dir=""
180 _.ssl.fifo.dir="$(mktemp -t -d)"
181 _.ssl.fifo.in="${_.ssl.fifo.dir}/in"
182 _.ssl.fifo.out="${_.ssl.fifo.dir}/out"
188 mkfifo "${_.ssl.fifo.in}" "${_.ssl.fifo
[all...]
/illumos-gate/usr/src/uts/common/io/xge/drv/
H A Dxge.c415 * Configure single fifo
423 (void) xge_os_snprintf(msg, MSG_SIZE, "fifo%d_configured", index);
424 device_config->fifo.queue[index].configured =
429 if (!device_config->fifo.queue[index].configured)
433 device_config->fifo.queue[index].no_snoop_bits = 1;
436 (void) xge_os_snprintf(msg, MSG_SIZE, "fifo%d_max", index);
437 device_config->fifo.queue[index].max = ddi_prop_get_int(DDI_DEV_T_ANY,
441 (void) xge_os_snprintf(msg, MSG_SIZE, "fifo%d_initial", index);
442 device_config->fifo.queue[index].initial =
447 if (device_config->fifo
[all...]
H A Dxgell.c1109 if (ncookies + frag_cnt > hldev->config.fifo.max_frags) {
1133 hldev->config.fifo.max_frags)) {
2831 lldev->tx_copied_max = hldev->config.fifo.max_frags *
2832 hldev->config.fifo.alignment_size *
2833 hldev->config.fifo.max_aligned_frags;
/illumos-gate/usr/src/cmd/lp/cmd/lpadmin/
H A Ddo_align.c90 *fifo, local
228 if (!(fifo = makepath(Lp_Temp, rfile, (char *)0))) {
233 addlist (&req.file_list, fifo);
236 Unlink(fifo) == -1
237 || Mknod(fifo, S_IFIFO | 0600, 0) == -1
388 if (!(fifo_fp = fopen(fifo, "w"))) {
/illumos-gate/usr/src/lib/libshell/common/tests/
H A Dio.sh340 if mkfifo $tmp/fifo 2> /dev/null
341 then (print -n a; sleep 1;print -n bcde) > $tmp/fifo &
343 read -u5 -n3 -t2 a || err_exit 'read -n3 from fifo timedout'
344 read -u5 -n1 -t2 b || err_exit 'read -n1 from fifo timedout'
345 } 5< $tmp/fifo
346 [[ $a == a ]] || err_exit 'read -n3 from fifo not working'
347 rm -f $tmp/fifo
348 mkfifo $tmp/fifo 2> /dev/null
349 (print -n a; sleep 1;print -n bcde) > $tmp/fifo &
351 read -u5 -N3 -t2 a || err_exit 'read -N3 from fifo time
[all...]
/illumos-gate/usr/src/lib/libcmd/common/
H A Dtail.c63 "or fifo.]"
143 int fifo; member in struct:Tail_s
263 tp->fifo = 0;
312 tp->fifo = 1;
648 else if (fp->fifo || fp->end < st.st_size)
653 z = fp->fifo ? SF_UNBOUND : st.st_size - fp->cur;
/illumos-gate/usr/src/uts/common/io/xge/hal/include/
H A Dxgehal-config.h196 * struct xge_hal_fifo_queue_t - Single fifo configuration.
207 * @configured: Boolean. Use 1 to specify that the fifo is configured.
213 * Single fifo configuration.
267 * @queue: Array of per-fifo configurations.
590 * @fifo: See xge_hal_fifo_config_t{}.
743 xge_hal_fifo_config_t fifo; member in struct:xge_hal_device_config_t
/illumos-gate/usr/src/boot/sys/boot/fdt/dts/powerpc/
H A Dmpc8555cds.dts326 fsl,channel-fifo-len = <24>;
H A Dp1020rdb.dts535 fsl,channel-fifo-len = <24>;

Completed in 137 milliseconds

12