Searched refs:head (Results 76 - 100 of 583) sorted by relevance

1234567891011>>

/drivers/ps3/
H A Dps3-vuart.c83 struct list_head head; member in struct:ps3_vuart_port_priv::__anon3866
89 struct list_head head; member in struct:ps3_vuart_port_priv::__anon3867
475 const unsigned char *head; member in struct:list_buffer
505 if (list_empty(&priv->tx_list.head)) {
536 lb->head = lb->data;
541 list_add_tail(&lb->link, &priv->tx_list.head);
591 lb->head = lb->data;
595 list_add_tail(&lb->link, &priv->rx_list.head);
644 list_for_each_entry_safe(lb, n, &priv->rx_list.head, link) {
645 bytes_read = min((unsigned int)(lb->tail - lb->head), byte
[all...]
/drivers/video/
H A Dsm501fb.c107 enum sm501_controller head; member in struct:sm501fb_par
402 * check the parameters for the CRT head, and either bring them
414 * check the parameters for the CRT head, and either bring them
445 switch (par->head) {
534 if (par->head == HEAD_CRT)
544 smc501_writel(reg, fbi->regs + (par->head == HEAD_CRT ?
665 /* the head is displaying panel data... */
923 if (par->head == HEAD_CRT)
1050 if (par->head == HEAD_CRT)
1184 enum sm501_controller head; local
1667 sm501fb_init_fb(struct fb_info *fb, enum sm501_controller head, const char *fbname) argument
1853 sm501fb_probe_one(struct sm501fb_info *info, enum sm501_controller head) argument
1887 sm501_free_init_fb(struct sm501fb_info *info, enum sm501_controller head) argument
1895 sm501fb_start_one(struct sm501fb_info *info, enum sm501_controller head, const char *drvname) argument
2093 sm501fb_suspend_fb(struct sm501fb_info *info, enum sm501_controller head) argument
2140 sm501fb_resume_fb(struct sm501fb_info *info, enum sm501_controller head) argument
[all...]
/drivers/dma/ioat/
H A Ddma_v2.h48 * @head: allocated index
51 * @dmacount: identical to 'head' except for occasionally resetting to zero
60 u16 head; member in struct:ioat2_dma_chan
85 return CIRC_CNT(ioat->head, ioat->tail, ioat2_ring_size(ioat));
91 return CIRC_CNT(ioat->head, ioat->issued, ioat2_ring_size(ioat));
/drivers/ptp/
H A Dptp_chardev.c146 event[i] = queue->buf[queue->head];
147 queue->head = (queue->head + 1) % PTP_MAX_TIMESTAMPS;
/drivers/scsi/be2iscsi/
H A Dbe.h43 u16 tail, head; member in struct:be_queue_info
61 return q->dma_mem.va + q->head * q->entry_size;
76 index_inc(&q->head, q->len);
/drivers/net/ethernet/toshiba/
H A Dps3_gelic_net.c272 chain->head = start_descr;
309 chain->head = start_descr;
379 struct gelic_descr *descr = card->rx_chain.head;
394 } while (descr != card->rx_chain.head);
407 struct gelic_descr *descr = card->rx_chain.head;
417 } while (descr != card->rx_chain.head);
501 tx_chain->head != tx_chain->tail && tx_chain->tail;
614 if (gelic_descr_get_status(card->rx_chain.head) !=
617 be32_to_cpu(card->rx_chain.head->dmac_cmd_status));
619 be32_to_cpu(card->rx_chain.head
[all...]
/drivers/crypto/
H A Dn2_core.h170 * RET1: queue head offset
205 * ARG1: New head offset
220 unsigned long *head);
228 unsigned long head);
/drivers/gpu/drm/
H A Ddrm_auth.c89 list_add_tail(&entry->head, &master->magicfree);
119 list_del(&pt->head);
H A Ddrm_memory.c57 list_for_each_entry(agpmem, &dev->agp->memory, head)
62 if (&agpmem->head == &dev->agp->memory)
/drivers/gpu/drm/nouveau/
H A Dnouveau_vm.h39 struct list_head head; member in struct:nouveau_vm_pgd
44 struct list_head head; member in struct:nouveau_vma
H A Dnv50_display.h75 int nv50_crtc_set_clock(struct drm_device *, int head, int pclk);
/drivers/gpu/drm/radeon/
H A Dradeon_object.h129 struct list_head *head);
130 extern int radeon_bo_list_validate(struct list_head *head);
/drivers/message/i2o/
H A Diop.c297 msg->u.head[0] = cpu_to_le32(FOUR_WORD_MSG_SIZE | SGL_OFFSET_0);
298 msg->u.head[1] =
337 msg->u.head[0] = cpu_to_le32(FOUR_WORD_MSG_SIZE | SGL_OFFSET_0);
338 msg->u.head[1] =
404 msg->u.head[0] = cpu_to_le32(FOUR_WORD_MSG_SIZE | SGL_OFFSET_0);
405 msg->u.head[1] =
445 msg->u.head[0] = cpu_to_le32(EIGHT_WORD_MSG_SIZE | SGL_OFFSET_6);
446 msg->u.head[1] =
509 msg->u.head[0] = cpu_to_le32(EIGHT_WORD_MSG_SIZE | SGL_OFFSET_0);
510 msg->u.head[
[all...]
/drivers/net/irda/
H A Dvia-ircc.c366 self->rx_buff.head =
369 if (self->rx_buff.head == NULL) {
373 memset(self->rx_buff.head, 0, self->rx_buff.truesize);
375 self->tx_buff.head =
378 if (self->tx_buff.head == NULL) {
382 memset(self->tx_buff.head, 0, self->tx_buff.truesize);
386 self->tx_buff.data = self->tx_buff.head;
387 self->rx_buff.data = self->rx_buff.head;
391 self->tx_fifo.tail = self->tx_buff.head;
409 self->tx_buff.head, sel
[all...]
H A Dsh_irda.c587 kfree(self->rx_buff.head);
589 self->tx_buff.head = NULL;
591 self->rx_buff.head = NULL;
597 if (self->rx_buff.head ||
598 self->tx_buff.head) {
604 self->rx_buff.head = kmalloc(rxsize, GFP_KERNEL);
605 if (!self->rx_buff.head)
611 self->rx_buff.data = self->rx_buff.head;
614 self->tx_buff.head = self->membase + IRDARAM;
649 self->tx_buff.head,
[all...]
/drivers/scsi/sym53c8xx_2/
H A Dsym_hipd.h397 /*0*/ struct sym_tcbh head; member in struct:sym_tcb
487 /*0*/ struct sym_lcbh head; member in struct:sym_lcb
611 #define host_xflags phys.head.status[0]
612 #define host_status phys.head.status[1]
613 #define ssss_status phys.head.status[2]
614 #define host_flags phys.head.status[3]
680 cp->phys.head.lastp = cpu_to_scr(dp); \
686 cp->phys.head.lastp : np->ccb_head.lastp)
690 cp->phys.head.lastp = cpu_to_scr(dp); \
693 #define sym_get_script_dp(np, cp) (cp->phys.head
708 /*0*/ struct sym_ccbh head; member in struct:sym_dsb
[all...]
/drivers/tty/
H A Dn_hdlc.c125 struct n_hdlc_buf *head; member in struct:n_hdlc_buf_list
767 if (n_hdlc->rx_buf_list.head)
768 count = n_hdlc->rx_buf_list.head->count;
780 if (n_hdlc->tx_buf_list.head)
781 count += n_hdlc->tx_buf_list.head->count;
829 if (n_hdlc->rx_buf_list.head)
836 n_hdlc->tx_free_buf_list.head)
914 list->head = buf;
926 * Remove and return an HDLC buffer from the head of the specified HDLC buffer
936 buf = list->head;
[all...]
/drivers/crypto/caam/
H A Dintern.h55 int head; /* entinfo (s/w ring) head index */ member in struct:caam_drv_private_jr
/drivers/gpu/drm/gma500/
H A Dpsb_device.c194 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) {
199 list_for_each_entry(connector, &dev->mode_config.connector_list, head)
234 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head)
238 list_for_each_entry(connector, &dev->mode_config.connector_list, head)
/drivers/gpu/drm/via/
H A Dvia_dmablit.h66 unsigned head; member in struct:_drm_via_blitq
/drivers/mtd/
H A Dsm_ftl.h70 unsigned char head; member in struct:chs_entry
/drivers/net/ethernet/amd/
H A Datarilance.c240 /* Get the address of a packet buffer corresponding to a given buffer head */
241 #define PKTBUF_ADDR(head) (((unsigned char *)(MEM)) + (head)->base)
781 struct lance_tx_head *head; local
818 head = &(MEM->tx_head[entry]);
825 head->length = -len;
826 head->misc = 0;
827 lp->memcpy_f( PKTBUF_ADDR(head), (void *)skb->data, skb->len );
828 head->flag = TMD1_OWN_CHIP | TMD1_ENP | TMD1_STP;
975 struct lance_rx_head *head local
[all...]
/drivers/net/caif/
H A Dcaif_serial.c68 struct sk_buff_head head; member in struct:ser_device
234 while ((skb = skb_peek(&ser->head)) != NULL) {
263 struct sk_buff *tmp = skb_dequeue(&ser->head);
272 if (ser->head.qlen <= SEND_QUEUE_LOW &&
291 if (ser->head.qlen > SEND_QUEUE_HIGH &&
297 skb_queue_tail(&ser->head, skb);
408 skb_queue_head_init(&serdev->head);
/drivers/video/i810/
H A Di810_accel.c62 u32 head, count = WAIT_COUNT, tail; local
67 head = i810_readl(IRING + 4, mmio) & RBUFFER_HEAD_MASK;
68 if ((tail == head) ||
69 (tail > head &&
70 (par->iring.size - tail + head) >= space) ||
71 (tail < head && (head - tail) >= space)) {
433 * the head and tail pointers = 0
/drivers/firewire/
H A Dnosy.c75 struct packet *head, *tail; member in struct:packet_buffer
132 buffer->head = (struct packet *) buffer->data;
166 length = buffer->head->length;
168 if (&buffer->head->data[length] < end) {
169 if (copy_to_user(data, buffer->head->data, length))
171 buffer->head = (struct packet *) &buffer->head->data[length];
173 size_t split = end - buffer->head->data;
175 if (copy_to_user(data, buffer->head->data, split))
179 buffer->head
[all...]

Completed in 1744 milliseconds

1234567891011>>