/drivers/crypto/ |
H A D | n2_core.h | 179 * RET1: queue tail offset 187 * ARG1: New tail offset 222 unsigned long *tail); 224 unsigned long tail);
|
/drivers/infiniband/hw/ipath/ |
H A D | ipath_qp.c | 362 qp->r_rq.wq->tail = 0; 413 u32 tail; local 422 tail = wq->tail; 423 if (tail >= qp->r_rq.size) 424 tail = 0; 425 while (tail != head) { 426 wc.wr_id = get_rwqe_ptr(&qp->r_rq, tail)->wr_id; 427 if (++tail >= qp->r_rq.size) 428 tail 692 u32 tail; local [all...] |
H A D | ipath_sdma.c | 293 /* reset our notion of head and tail */ 672 u16 tail; local 714 tail = dd->ipath_sdma_descq_tail; 715 descqp = &dd->ipath_sdma_descq[tail].qw[0]; 720 tx->txreq.start_idx = tail; 722 /* increment the tail */ 723 if (++tail == dd->ipath_sdma_descq_cnt) { 724 tail = 0; 753 /* increment the tail */ 754 if (++tail [all...] |
/drivers/thunderbolt/ |
H A D | nhi.c | 120 return ((ring->head + 1) % ring->size) == ring->tail; 125 return ring->head == ring->tail; 181 if (!(ring->descriptors[ring->tail].flags 188 frame->size = ring->descriptors[ring->tail].length; 189 frame->eof = ring->descriptors[ring->tail].eof; 190 frame->sof = ring->descriptors[ring->tail].sof; 191 frame->flags = ring->descriptors[ring->tail].flags; 210 ring->tail = (ring->tail + 1) % ring->size; 274 ring->tail [all...] |
H A D | nhi.h | 39 int tail; /* complete next descriptor here */ member in struct:tb_ring
|
/drivers/input/ |
H A D | evdev.c | 47 unsigned int tail; member in struct:evdev_client 49 spinlock_t buffer_lock; /* protects access to buffer, head and tail */ 72 head = client->tail; 73 client->packet_head = client->tail; 78 for (i = client->tail; i != client->head; i = (i + 1) & mask) { 128 if (unlikely(client->head == client->tail)) { 130 client->tail = (client->head - 1) & (client->bufsize - 1); 131 client->packet_head = client->tail; 143 if (unlikely(client->head == client->tail)) { 148 client->tail [all...] |
/drivers/usb/musb/ |
H A D | cppi_dma.c | 114 c->tail = NULL; 655 tx->tail = bd; 766 struct cppi_descriptor *bd, *tail; local 836 for (i = 0, tail = NULL; bd && i < n_bds; i++, tail = bd) { 843 tail->next = bd; 844 tail->hw_next = bd->dma; 866 if (!tail) { 872 tail->next = NULL; 873 tail [all...] |
/drivers/char/ |
H A D | dcc_tty.c | 129 int tail; local 136 tail = (g_dcc_buffer_head + g_dcc_buffer_count) % ARRAY_SIZE(g_dcc_buffer); 137 copy_len = ARRAY_SIZE(g_dcc_buffer) - tail; 143 memcpy(&g_dcc_buffer[tail], buf, copy_len);
|
/drivers/crypto/caam/ |
H A D | intern.h | 54 int inp_ring_write_index; /* Input index "tail" */ 58 int out_ring_read_index; /* Output index "tail" */ 59 int tail; /* entinfo (s/w ring) tail index */ member in struct:caam_drv_private_jr
|
/drivers/crypto/qat/qat_common/ |
H A D | adf_transport_internal.h | 68 uint16_t tail; member in struct:adf_etr_ring_data
|
/drivers/gpu/drm/savage/ |
H A D | savage_bci.c | 215 dev_priv->head.next = &dev_priv->tail; 219 dev_priv->tail.next = NULL; 220 dev_priv->tail.prev = &dev_priv->head; 221 dev_priv->tail.buf = NULL; 242 drm_savage_buf_priv_t *tail = dev_priv->tail.prev; local 256 DRM_DEBUG(" tail=0x%04x %d\n", tail->age.event, tail->age.wrap); 259 if (tail [all...] |
/drivers/net/ethernet/qualcomm/ |
H A D | qca_spi.h | 59 u16 tail; member in struct:tx_ring
|
/drivers/staging/lustre/lustre/obdclass/ |
H A D | obd_mount.c | 899 char *tail; local 907 tail = strchr(ptr, ','); 908 if (tail == NULL) 911 length = tail - ptr; 924 char *tail; local 935 tail = strchr(ptr, ','); 936 if (tail == NULL) 939 length = tail - ptr; 955 char *tail = *ptr; local 961 while (class_parse_nid_quiet(tail, 1102 char *tail = strchr(s1 + 6, ','); local [all...] |
/drivers/tty/serial/8250/ |
H A D | 8250_dma.c | 32 xmit->tail += dma->tx_size; 33 xmit->tail &= UART_XMIT_SIZE - 1; 77 dma->tx_size = CIRC_CNT_TO_END(xmit->head, xmit->tail, UART_XMIT_SIZE); 80 dma->tx_addr + xmit->tail,
|
/drivers/tty/serial/ |
H A D | sunhv.c | 49 long status = sun4v_con_putchar(xmit->buf[xmit->tail]); 54 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); 62 unsigned long ra = __pa(xmit->buf + xmit->tail); 65 len = CIRC_CNT_TO_END(xmit->head, xmit->tail, 70 xmit->tail = (xmit->tail + sent) & (UART_XMIT_SIZE - 1);
|
H A D | men_z135_uart.c | 299 int tail; local 344 tail = xmit->tail & (UART_XMIT_SIZE - 1); 346 s = ((head >= tail) ? head : UART_XMIT_SIZE) - tail; 349 memcpy_toio(port->membase + MEN_Z135_TX_RAM, &xmit->buf[xmit->tail], n); 350 xmit->tail = (xmit->tail + n) & (UART_XMIT_SIZE - 1);
|
/drivers/video/fbdev/i810/ |
H A D | i810_accel.c | 62 u32 head, count = WAIT_COUNT, tail; local 65 tail = par->cur_tail; 68 if ((tail == head) || 69 (tail > head && 70 (par->iring.size - tail + head) >= space) || 71 (tail < head && (head - tail) >= space)) { 116 * space. Returns the tail of the buffer 132 * This advances the tail of the ringbuffer, effectively 433 * the head and tail pointer [all...] |
/drivers/firewire/ |
H A D | nosy.c | 75 struct packet *head, *tail; member in struct:packet_buffer 133 buffer->tail = (struct packet *) buffer->data; 206 buffer->tail->length = length; 208 if (&buffer->tail->data[length] < end) { 209 memcpy(buffer->tail->data, data, length); 210 buffer->tail = (struct packet *) &buffer->tail->data[length]; 212 size_t split = end - buffer->tail->data; 214 memcpy(buffer->tail->data, data, split); 216 buffer->tail [all...] |
/drivers/infiniband/hw/qib/ |
H A D | qib_ruc.c | 146 u32 tail; local 166 tail = wq->tail; 167 /* Validate tail before using it since it is user writable. */ 168 if (tail >= rq->size) 169 tail = 0; 170 if (unlikely(tail == wq->head)) { 176 wqe = get_rwqe_ptr(rq, tail); 178 * Even though we update the tail index in memory, the verbs 182 if (++tail > [all...] |
H A D | qib_qp.c | 412 qp->r_rq.wq->tail = 0; 531 u32 tail; local 540 tail = wq->tail; 541 if (tail >= qp->r_rq.size) 542 tail = 0; 543 while (tail != head) { 544 wc.wr_id = get_rwqe_ptr(&qp->r_rq, tail)->wr_id; 545 if (++tail >= qp->r_rq.size) 546 tail 925 u32 tail; local [all...] |
/drivers/infiniband/hw/mlx4/ |
H A D | cq.c | 567 unsigned tail, struct mlx4_cqe *cqe, int is_eth) 572 qp->sqp_proxy_rcv[tail].map, 575 hdr = (struct mlx4_ib_proxy_sqp_hdr *) (qp->sqp_proxy_rcv[tail].addr); 608 unsigned tail = 0; local 690 wq->tail += (u16) (wqe_ctr - (u16) wq->tail); 692 wc->wr_id = wq->wrid[wq->tail & (wq->wqe_cnt - 1)]; 693 ++wq->tail; 706 tail = wq->tail 566 use_tunnel_data(struct mlx4_ib_qp *qp, struct mlx4_ib_cq *cq, struct ib_wc *wc, unsigned tail, struct mlx4_cqe *cqe, int is_eth) argument [all...] |
/drivers/tty/ |
H A D | moxa.c | 1880 u16 head, tail, tx_mask, spage, epage; local 1888 tail = readw(ofsAddr + TXwptr); 1890 c = (head > tail) ? (head - tail - 1) : (head - tail + tx_mask); 1899 if (head > tail) 1900 len = head - tail - 1; 1902 len = tx_mask + 1 - tail; 1904 ofs = baseAddr + DynPage_addr + bufhead + tail; 1907 tail 1939 u16 tail, rx_mask, spage, epage; local [all...] |
/drivers/dma/ioat/ |
H A D | dma_v2.h | 50 * @tail: cleanup index 62 u16 tail; member in struct:ioat2_dma_chan 85 return CIRC_CNT(ioat->head, ioat->tail, ioat2_ring_size(ioat));
|
/drivers/net/ethernet/intel/fm10k/ |
H A D | fm10k_mbx.h | 120 * To get the actual mailbox offset based on the tail it 124 * Head index follows the same format as the tail index. 247 u16 tail; member in struct:fm10k_mbx_fifo 281 u16 tail, tail_len, pulled; member in struct:fm10k_mbx_info
|
/drivers/net/irda/ |
H A D | ali-ircc.h | 170 int tail; member in struct:st_fifo 184 void *tail; /* Next free start in DMA mem */ member in struct:tx_fifo
|