/drivers/xen/xen-pciback/ |
H A D | vpci.c | 22 static inline struct list_head *list_first(struct list_head *head) argument 24 return head->next;
|
/drivers/atm/ |
H A D | atmtcp.c | 172 struct hlist_head *head = &vcc_hash[i]; local 174 sk_for_each(s, node, head) { 265 struct hlist_head *head; local 270 head = &vcc_hash[vci & (VCC_HTABLE_SIZE -1)]; 272 sk_for_each(s, node, head) {
|
/drivers/gpu/drm/mga/ |
H A D | mga_drv.h | 81 drm_mga_freelist_t *head; member in struct:drm_mga_private 296 DRM_INFO(" tail=0x%06x head=0x%06lx\n", \ 332 /* Buffer aging via primary DMA stream head pointer. 337 (age)->head = h; \ 343 (age)->head < h)) 349 entry->age.head = (dev_priv->prim.tail + \ 353 entry->age.head = 0; \
|
/drivers/infiniband/hw/mthca/ |
H A D | mthca_qp.c | 233 wq->head = 0; 1548 cur = wq->head - wq->tail; 1554 cur = wq->head - wq->tail; 1631 mthca_err(dev, "SQ %06x full (%u head, %u tail," 1633 qp->sq.head, qp->sq.tail, 1796 qp->sq.head += nreq; 1832 mthca_err(dev, "RQ %06x full (%u head, %u tail," 1834 qp->rq.head, qp->rq.tail, 1887 qp->rq.head += MTHCA_TAVOR_MAX_WQES_PER_RECV_DB; 1901 qp->rq.head [all...] |
/drivers/mfd/ |
H A D | ezx-pcap.c | 243 u8 head; local 246 head = pcap->adc_head; 247 if (!pcap->adc_queue[head]) { 256 tmp |= pcap->adc_queue[head]->flags | PCAP_ADC_ADEN; 258 if (pcap->adc_queue[head]->bank == PCAP_ADC_BANK_1)
|
/drivers/usb/gadget/ |
H A D | f_adb.c | 166 void adb_req_put(struct adb_dev *dev, struct list_head *head, argument 172 list_add_tail(&req->list, head); 176 /* remove a request from the head of a list */ 177 struct usb_request *adb_req_get(struct adb_dev *dev, struct list_head *head) argument 183 if (list_empty(head)) { 186 req = list_first_entry(head, struct usb_request, list);
|
/drivers/gpu/drm/ |
H A D | drm_fb_helper.c | 53 list_for_each_entry(connector, &dev->mode_config.connector_list, head) { 183 list_for_each_entry(c, &dev->mode_config.crtc_list, head) { 419 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) { 943 list_for_each_entry(mode, &fb_connector->connector->modes, head) { 976 list_for_each_entry(mode, &fb_helper_conn->connector->modes, head) { 997 list_add(&mode->head, &fb_helper_conn->connector->modes); 1094 list_for_each_entry(mode, &fb_helper_conn->connector->modes, head) { 1135 list_for_each_entry(modes[i], &fb_helper_conn->connector->modes, head) 1245 list_for_each_entry(encoder, &dev->mode_config.encoder_list, head) { 1363 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) { [all...] |
/drivers/gpu/drm/nouveau/ |
H A D | nvd0_display.c | 1137 int head = nv_crtc->index * 0x800; local 1151 nv_mask(dev, 0x616714 + head, 0x00000001, 0x00000000); 1152 nv_wr32(dev, 0x61671c + head, 0x000d0282); 1153 nv_wr32(dev, 0x616720 + head, 0x0000006f); 1154 nv_wr32(dev, 0x616724 + head, 0x00000000); 1155 nv_wr32(dev, 0x616728 + head, 0x00000000); 1156 nv_wr32(dev, 0x61672c + head, 0x00000000); 1157 nv_mask(dev, 0x616714 + head, 0x00000001, 0x00000001); 1160 nv_mask(dev, 0x6167a4 + head, 0x00000001, 0x00000000); 1161 nv_wr32(dev, 0x6167ac + head, 1180 int head = nv_crtc->index * 0x800; local [all...] |
H A D | nv17_tv_modes.c | 548 int head = nouveau_crtc(encoder->crtc)->index; local 549 struct nv04_crtc_reg *regs = &dev_priv->mode_reg.crtc_reg[head]; 584 NVWriteRAMDAC(dev, head, NV_PRAMDAC_FP_HVALID_START, 586 NVWriteRAMDAC(dev, head, NV_PRAMDAC_FP_HVALID_END, 588 NVWriteRAMDAC(dev, head, NV_PRAMDAC_FP_VVALID_START, 590 NVWriteRAMDAC(dev, head, NV_PRAMDAC_FP_VVALID_END, 592 NVWriteRAMDAC(dev, head, NV_PRAMDAC_FP_DEBUG_1, regs->fp_debug_1);
|
/drivers/net/irda/ |
H A D | smsc-ircc2.c | 565 self->rx_buff.head = 568 if (self->rx_buff.head == NULL) { 574 self->tx_buff.head = 577 if (self->tx_buff.head == NULL) { 583 memset(self->rx_buff.head, 0, self->rx_buff.truesize); 584 memset(self->tx_buff.head, 0, self->tx_buff.truesize); 588 self->tx_buff.data = self->tx_buff.head; 589 self->rx_buff.data = self->rx_buff.head; 626 self->tx_buff.head, self->tx_buff_dma); 629 self->rx_buff.head, sel [all...] |
H A D | au1k_ir.c | 266 io->head = kmalloc(size, GFP_KERNEL); 267 if (io->head != NULL) { 271 io->data = io->head; 273 return io->head ? 0 : -ENOMEM; 846 kfree(aup->rx_buff.head); 913 kfree(aup->rx_buff.head); 935 kfree(aup->rx_buff.head);
|
H A D | kingsun-sir.c | 271 kingsun->rx_buff.head = kingsun->rx_buff.skb->data; 332 kingsun->rx_buff.head = NULL; 362 kingsun->rx_buff.head = NULL;
|
/drivers/infiniband/hw/nes/ |
H A D | nes_verbs.c | 217 u32 head; local 226 head = nesqp->hwqp.sq_head; 230 if (((head + (2 * qsize) - nesqp->hwqp.sq_tail) % qsize) == (qsize - 1)) { 235 wqe = &nesqp->hwqp.sq_vbase[head]; 236 /* nes_debug(NES_DBG_MR, "processing sq wqe at %p, head = %u.\n", wqe, head); */ 237 nes_fill_init_qp_wqe(wqe, nesqp, head); 263 head++; 264 if (head >= qsize) 265 head 3267 u32 head; local 3548 u32 head; local 3639 u32 head; local [all...] |
H A D | nes_mgt.c | 779 u32 head; local 790 head = cq->cq_head; 794 cqe_misc = le32_to_cpu(cq->cq_vbase[head].cqe_words[NES_NIC_CQE_MISC_IDX]); 800 qp_id = le32_to_cpu(cq->cq_vbase[head].cqe_words[NES_NIC_CQE_ACCQP_ID_IDX]); 812 cq->cq_vbase[head].cqe_words[NES_NIC_CQE_HASH_RCVNXT]); 835 cq->cq_vbase[head].cqe_words[NES_NIC_CQE_MISC_IDX] = 0; 837 if (++head >= cq_size) 838 head = 0; 852 cq->cq_head = head;
|
/drivers/crypto/ |
H A D | n2_core.c | 56 unsigned long head; member in struct:spu_queue 128 for (off = q->head; off != new_head; off = spu_next_offset(q, off)) { 134 q->head = new_head; 144 unsigned long head, hv_ret; local 151 hv_ret = sun4v_ncs_gethead(q->qhandle, &head); 154 smp_processor_id(), head, hv_ret); 156 sun4v_ncs_sethead_marker(q->qhandle, head); 170 unsigned long head = q->head; local 175 if (head > tai 482 unsigned long head, hv_ret; local [all...] |
/drivers/iommu/ |
H A D | amd_iommu.c | 534 u32 head, tail; local 539 head = readl(iommu->mmio_base + MMIO_EVT_HEAD_OFFSET); 542 while (head != tail) { 543 iommu_print_event(iommu, iommu->evt_buf + head); 544 head = (head + EVENT_ENTRY_SIZE) % iommu->evt_buf_size; 547 writel(head, iommu->mmio_base + MMIO_EVT_HEAD_OFFSET); 575 u32 head, tail; local 585 head = readl(iommu->mmio_base + MMIO_PPR_HEAD_OFFSET); 588 while (head ! 843 u32 left, tail, head, next_tail; local [all...] |
/drivers/block/ |
H A D | swim.c | 204 enum head { enum 359 static inline void swim_head(struct swim __iomem *base, enum head head) argument 363 if (head == UPPER_HEAD) 365 else if (head == LOWER_HEAD) 603 "SWIM: cannot move floppy head to track 0\n"); 609 fs->secpercyl = g->head * g->sect; 736 geo->heads = g->head;
|
/drivers/net/ethernet/i825xx/ |
H A D | 3c527.c | 1027 u32 head = atomic_read(&lp->tx_ring_head); local 1045 p=lp->tx_ring[head].p; 1047 head = next_tx(head); 1050 np=lp->tx_ring[head].p; 1053 lp->tx_ring[head].skb=skb; 1066 atomic_set(&lp->tx_ring_head, head); 1241 * We rely on head==tail to mean 'queue empty'.
|
/drivers/usb/storage/ |
H A D | isd200.c | 1226 unsigned char sectnum, head; local 1317 head = ATA_ADDRESS_DEVHEAD_LBA_MODE | (unsigned char)(lba>>24 & 0x0F); 1322 head = (u8)((lba / id[ATA_ID_SECTORS]) % 1336 ataCdb->write.DeviceHeadByte = (head | ATA_ADDRESS_DEVHEAD_STD); 1349 head = ATA_ADDRESS_DEVHEAD_LBA_MODE | (unsigned char)(lba>>24 & 0x0F); 1354 head = (u8)((lba / id[ATA_ID_SECTORS]) % 1368 ataCdb->write.DeviceHeadByte = (head | ATA_ADDRESS_DEVHEAD_STD);
|
/drivers/scsi/cxgbi/cxgb3i/ |
H A D | cxgb3i.c | 159 struct cpl_act_open_req *req = (struct cpl_act_open_req *)skb->head; 200 struct cpl_close_con_req *req = (struct cpl_close_con_req *)skb->head; 249 req = (struct cpl_abort_req *)skb->head; 275 struct cpl_abort_rpl *rpl = (struct cpl_abort_rpl *)skb->head; 310 req = (struct cpl_rx_data_ack *)skb->head; 1068 struct ulp_mem_io *req = (struct ulp_mem_io *)skb->head; 1100 cxgbi_ddp_ppod_set((struct cxgbi_pagepod *)(skb->head + 1150 req = (struct cpl_set_tcb_field *)skb->head; 1187 req = (struct cpl_set_tcb_field *)skb->head;
|
/drivers/staging/rtl8712/ |
H A D | rtl871x_xmit.c | 965 pxmitpriv->bmc_txqueue.head = 0; 968 pxmitpriv->vo_txqueue.head = 0; 971 pxmitpriv->vi_txqueue.head = 0; 974 pxmitpriv->bk_txqueue.head = 0; 977 pxmitpriv->be_txqueue.head = 0; 981 pxmitpriv->vo_txqueue.head = 0; 984 pxmitpriv->vi_txqueue.head = 0; 987 pxmitpriv->be_txqueue.head = 0; 990 pxmitpriv->bk_txqueue.head = 0;
|
/drivers/tty/serial/ |
H A D | bfin_uart.c | 359 while ((UART_GET_LSR(uart) & THRE) && xmit->tail != xmit->head) { 411 uart->tx_count = CIRC_CNT(xmit->head, xmit->tail, UART_XMIT_SIZE); 440 CIRC_CNT(uart->rx_dma_buf.head, uart->rx_dma_buf.tail, 470 if (i == uart->rx_dma_buf.head) 512 uart->rx_dma_buf.head = pos; 514 uart->rx_dma_buf.tail = uart->rx_dma_buf.head; 572 uart->rx_dma_buf.head = pos; 574 uart->rx_dma_buf.tail = uart->rx_dma_buf.head; 632 uart->rx_dma_buf.head = 0;
|
/drivers/isdn/gigaset/ |
H A D | ev-layer.c | 425 unsigned next, tail, head; local 486 head = cs->ev_head; 493 if (unlikely(next == head)) { 1783 unsigned head, tail; local 1790 head = cs->ev_head; 1794 if (tail == head) { 1802 if (tail == head) { 1809 ev = cs->events + head; 1819 head = (head [all...] |
/drivers/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic_hw.c | 387 struct list_head *head; local 391 list_for_each(head, &adapter->mac_list) { 392 cur = list_entry(head, struct qlcnic_mac_list_s, list); 481 struct list_head *head = &adapter->mac_list; local 483 while (!list_empty(head)) { 484 cur = list_entry(head->next, struct qlcnic_mac_list_s, list); 496 struct hlist_head *head; local 500 head = &(adapter->fhash.fhead[i]); 502 hlist_for_each_entry_safe(tmp_fil, tmp_hnode, n, head, fnode) 524 struct hlist_head *head; local [all...] |
/drivers/net/ |
H A D | veth.c | 413 static void veth_dellink(struct net_device *dev, struct list_head *head) argument 421 unregister_netdevice_queue(dev, head); 422 unregister_netdevice_queue(peer, head);
|