/drivers/net/irda/ |
H A D | sh_sir.c | 387 io->head = kmalloc(size, GFP_KERNEL); 388 if (!io->head) 394 io->data = io->head; 401 kfree(self->rx_buff.head); 402 kfree(self->tx_buff.head); 404 self->rx_buff.head = NULL; 405 self->tx_buff.head = NULL; 412 if (self->rx_buff.head || 413 self->tx_buff.head) { 608 self->tx_buff.data = self->tx_buff.head; [all...] |
H A D | ali-ircc.c | 353 self->rx_buff.head = 356 if (self->rx_buff.head == NULL) { 360 memset(self->rx_buff.head, 0, self->rx_buff.truesize); 362 self->tx_buff.head = 365 if (self->tx_buff.head == NULL) { 369 memset(self->tx_buff.head, 0, self->tx_buff.truesize); 373 self->tx_buff.data = self->tx_buff.head; 374 self->rx_buff.data = self->rx_buff.head; 378 self->tx_fifo.tail = self->tx_buff.head; 403 self->tx_buff.head, sel [all...] |
H A D | nsc-ircc.c | 432 self->rx_buff.head = 435 if (self->rx_buff.head == NULL) { 440 memset(self->rx_buff.head, 0, self->rx_buff.truesize); 442 self->tx_buff.head = 445 if (self->tx_buff.head == NULL) { 449 memset(self->tx_buff.head, 0, self->tx_buff.truesize); 453 self->tx_buff.data = self->tx_buff.head; 454 self->rx_buff.data = self->rx_buff.head; 458 self->tx_fifo.tail = self->tx_buff.head; 499 self->tx_buff.head, sel [all...] |
/drivers/gpu/drm/nouveau/ |
H A D | nouveau_ramht.c | 128 list_add(&entry->head, &chan->ramht->entries); 152 list_del(&entry->head); 169 list_for_each_entry(entry, &ramht->entries, head) { 172 list_del(&entry->head); 246 list_for_each_entry(entry, &chan->ramht->entries, head) {
|
H A D | nouveau_drv.c | 196 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) { 206 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) { 346 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) { 356 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) { 372 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) { 380 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) {
|
H A D | nouveau_gpio.c | 198 struct list_head head; member in struct:gpio_isr 237 list_for_each_entry(isr, &pgpio->isr, head) { 275 list_add(&isr->head, &pgpio->isr); 295 list_for_each_entry_safe(isr, tmp, &pgpio->isr, head) { 300 list_move(&isr->head, &tofree); 304 list_for_each_entry_safe(isr, tmp, &tofree, head) {
|
/drivers/ide/ |
H A D | ide.c | 241 u8 head; member in struct:chs_geom 272 ide_disks_chs[i].head = h; 317 drive->head = drive->bios_head = ide_disks_chs[i].head; 322 drive->cyl, drive->head, drive->sect);
|
/drivers/mtd/ |
H A D | ssfdc.c | 60 unsigned char head; member in struct:__anon1804 77 static int get_chs(unsigned long size, unsigned short *cyl, unsigned char *head, argument 90 if (head) 91 *head = chs_table[k].head;
|
/drivers/s390/block/ |
H A D | dasd_eckd.h | 74 __u16 head; member in struct:eckd_count 82 __u16 head; member in struct:ch_t 87 __u16 head; member in struct:chs_t 93 __u16 head; member in struct:chr_t 99 __u16 head; member in struct:geom_t
|
/drivers/vhost/ |
H A D | test.c | 43 int head; local 55 head = vhost_get_vq_desc(&n->dev, vq, vq->iov, 60 if (unlikely(head < 0)) 63 if (head == vq->num) { 81 vhost_add_used_and_signal(&n->dev, vq, head, 0);
|
/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_fence.c | 113 list_del_init(&fence->head); 163 list_for_each_entry_safe(action, next_action, &list, head) { 164 list_del_init(&action->head); 233 list_add_tail(&fence->head, &fman->fence_list); 279 list_for_each_entry_safe(action, next_action, list, head) { 280 list_del_init(&action->head); 290 list_add_tail(&action->head, &fman->cleanup_list); 326 list_for_each_entry(fence, &fman->fence_list, head) { 386 list_for_each_entry_safe(fence, next_fence, &fman->fence_list, head) { 388 list_del_init(&fence->head); [all...] |
/drivers/isdn/gigaset/ |
H A D | common.c | 299 unsigned head, tail; local 304 head = cs->ev_head; 307 while (tail != head) { 308 ev = cs->events + head; 310 head = (head + 1) % MAX_EVENTS; 563 inbuf->head = 0; 578 unsigned n, head, tail, bytesleft; local 587 head = inbuf->head; [all...] |
/drivers/message/i2o/ |
H A D | i2o_block.c | 144 msg->u.head[0] = cpu_to_le32(FIVE_WORD_MSG_SIZE | SGL_OFFSET_0); 145 msg->u.head[1] = 172 msg->u.head[0] = cpu_to_le32(FIVE_WORD_MSG_SIZE | SGL_OFFSET_0); 173 msg->u.head[1] = 201 msg->u.head[0] = cpu_to_le32(FIVE_WORD_MSG_SIZE | SGL_OFFSET_0); 202 msg->u.head[1] = 229 msg->u.head[0] = cpu_to_le32(FIVE_WORD_MSG_SIZE | SGL_OFFSET_0); 230 msg->u.head[1] = 259 msg->u.head[0] = cpu_to_le32(FOUR_WORD_MSG_SIZE | SGL_OFFSET_0); 260 msg->u.head[ [all...] |
H A D | exec-osm.c | 154 * we add elements to the head, because if a entry in the list will 403 msg->u.head[0] = cpu_to_le32(EIGHT_WORD_MSG_SIZE | SGL_OFFSET_6); 404 msg->u.head[1] = cpu_to_le32(I2O_CMD_LCT_NOTIFY << 24 | HOST_TID << 12 | 465 if (le32_to_cpu(msg->u.head[0]) & MSG_FAIL) { 488 if ((le32_to_cpu(msg->u.head[1]) >> 24) == I2O_CMD_LCT_NOTIFY) { 555 msg->u.head[0] = 557 msg->u.head[1] =
|
/drivers/gpu/drm/ |
H A D | drm_crtc.c | 302 list_add(&fb->head, &dev->mode_config.fb_list); 327 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) { 339 list_for_each_entry(plane, &dev->mode_config.plane_list, head) { 352 list_del(&fb->head); 385 list_add_tail(&crtc->head, &dev->mode_config.crtc_list); 415 list_del(&crtc->head); 433 list_add(&mode->head, &connector->probed_modes); 450 list_del(&mode->head); 494 list_add_tail(&connector->head, &dev->mode_config.connector_list); 526 list_for_each_entry_safe(mode, t, &connector->probed_modes, head) [all...] |
H A D | drm_stub.c | 153 list_add_tail(&master->head, &minor->master_list); 172 list_del(&master->head); 177 list_for_each_entry_safe(r_list, list_temp, &dev->maplist, head) { 193 list_for_each_entry_safe(pt, next, &master->magicfree, head) { 194 list_del(&pt->head); 481 list_for_each_entry_safe(r_list, list_temp, &dev->maplist, head)
|
/drivers/scsi/sym53c8xx_2/ |
H A D | sym_hipd.c | 1567 lp->head.resel_sa = 1575 lp->head.itl_task_sa = cpu_to_scr(cp->ccb_ba); 1576 lp->head.resel_sa = 1893 tp->head.sval = 0; 1894 tp->head.wval = np->rv_scntl3; 1895 tp->head.uval = 0; 1953 sval = tp->head.sval; 1954 wval = tp->head.wval; 1955 uval = tp->head.uval; 2007 if (tp->head [all...] |
/drivers/gpu/drm/radeon/ |
H A D | radeon_object.c | 353 struct list_head *head) 356 list_add(&lobj->tv.head, head); 358 list_add_tail(&lobj->tv.head, head); 362 int radeon_bo_list_validate(struct list_head *head) argument 369 r = ttm_eu_reserve_buffers(head); 373 list_for_each_entry(lobj, head, tv.head) { 352 radeon_bo_list_add_object(struct radeon_bo_list *lobj, struct list_head *head) argument
|
/drivers/misc/sgi-xp/ |
H A D | xpc_uv.c | 953 xpc_init_fifo_uv(struct xpc_fifo_head_uv *head) argument 955 head->first = NULL; 956 head->last = NULL; 957 spin_lock_init(&head->lock); 958 head->n_entries = 0; 962 xpc_get_fifo_entry_uv(struct xpc_fifo_head_uv *head) argument 967 spin_lock_irqsave(&head->lock, irq_flags); 968 first = head->first; 969 if (head->first != NULL) { 970 head 984 xpc_put_fifo_entry_uv(struct xpc_fifo_head_uv *head, struct xpc_fifo_entry_uv *last) argument 1001 xpc_n_of_fifo_entries_uv(struct xpc_fifo_head_uv *head) argument [all...] |
/drivers/scsi/ |
H A D | scsi_tgt_lib.c | 197 struct list_head *head; local 204 head = &qdata->cmd_hash[cmd_hashfn(tag)]; 205 list_add(&tcmd->hash_list, head); 430 struct list_head *head; local 434 head = &qdata->cmd_hash[cmd_hashfn(tag)]; 436 list_for_each_entry(tcmd, head, hash_list) { 508 struct list_head *head; local 515 head = &qdata->cmd_hash[cmd_hashfn(tcmd->tag)]; 518 list_add(&tcmd->hash_list, head);
|
/drivers/tty/serial/ |
H A D | sn_console.c | 544 int xmit_count, tail, head, loops, ii; local 571 head = xmit->head; 576 * then to the head, if needed */ 577 loops = (head < tail) ? 2 : 1; 580 xmit_count = (head < tail) ? 581 (UART_XMIT_SIZE - tail) : (head - tail); 941 int lhead = port->sc_port.state->xmit.head; 947 * lock. We wait ~20 secs after the head and tail ptrs 967 if ((lhead != port->sc_port.state->xmit.head) [all...] |
H A D | m32r_sio.c | 130 struct list_head *head; member in struct:irq_info 476 l = i->head; 495 if (l == i->head && pass_counter++ > PASS_LIMIT) { 520 if (!list_empty(i->head)) { 521 if (i->head == &up->list) 522 i->head = i->head->next; 525 BUG_ON(i->head != &up->list); 526 i->head = NULL; 539 if (i->head) { [all...] |
/drivers/s390/char/ |
H A D | con3215.c | 84 int head; /* first free byte in output buffer */ member in struct:raw3215_info 194 req->start = (raw->head - raw->count + raw->written) & 203 while (lines < RAW3215_MAX_NEWLINE && ix != raw->head) { 215 req->delayable = (ix == raw->head) && (len < RAW3215_MIN_WRITE); 468 ix = (raw->head - raw->count) & (RAW3215_BUFFER_SIZE - 1); 476 raw->head = ix; 533 RAW3215_BUFFER_SIZE - raw->head)); 536 memcpy(raw->buffer + raw->head, str, c); 537 ASCEBC(raw->buffer + raw->head, c); 538 raw->head [all...] |
/drivers/usb/host/ |
H A D | ehci-q.c | 503 /* if we're removing something not at the queue head, 611 struct list_head *head, 628 list_add_tail (&qtd->qtd_list, head); 651 list_add_tail (&qtd->qtd_list, head); 722 list_add_tail (&qtd->qtd_list, head); 758 list_add_tail (&qtd->qtd_list, head); 768 return head; 771 qtd_list_free (ehci, urb, head); 906 * port number in the queue head was 0..N-1 instead of 1..N. 972 struct ehci_qh *head; local 608 qh_urb_transaction( struct ehci_hcd *ehci, struct urb *urb, struct list_head *head, gfp_t flags ) argument [all...] |
/drivers/usb/musb/ |
H A D | cppi_dma.c | 112 c->head = NULL; 179 /* initialise tx/rx channel head pointers to zero */ 458 for (bd = rx->head; bd; bd = bd->next) 623 tx->head = bd; 846 rx->head = bd; 888 bd = rx->head; 903 for (d = rx->head; d; d = d->next) 1036 bd = last ? last->next : rx->head; 1118 WARN_ON(rx->head); 1125 rx->head, r [all...] |