/drivers/net/ethernet/cadence/ |
H A D | macb.c | 625 unsigned int len, entry; local 651 entry = bp->tx_head; 652 netdev_dbg(bp->dev, "Allocated ring entry %u\n", entry); 655 bp->tx_skb[entry].skb = skb; 656 bp->tx_skb[entry].mapping = mapping; 662 if (entry == (TX_RING_SIZE - 1)) 665 bp->tx_ring[entry].addr = mapping; 666 bp->tx_ring[entry].ctrl = ctrl; 669 entry [all...] |
/drivers/net/ethernet/dec/tulip/ |
H A D | de2104x.c | 609 unsigned int entry, tx_free; local 623 entry = de->tx_head; 625 txd = &de->tx_ring[entry]; 629 if (entry == (DE_TX_RING_SIZE - 1)) 637 de->tx_skb[entry].skb = skb; 638 de->tx_skb[entry].mapping = mapping; 644 de->tx_head = NEXT_TX(entry); 646 entry, skb->len); 676 set_bit_le(255, hash_table); /* Broadcast entry */ 690 /* Fill the final entry wit 727 unsigned int entry; local [all...] |
/drivers/scsi/ |
H A D | nsp32.c | 188 /* module entry point */ 1003 "SDTR: entry: %d start_period: 0x%x offset: 0x%x\n", 1790 /* update adjusting current SG table entry */ 1842 * Set SGTP ADDR current entry for restarting AUTOSCSI, 2268 int entry; local 2330 entry = nsp32_search_period_entry(data, target, get_period); 2332 if (entry < 0) { 2343 nsp32_set_sync_entry(data, target, entry, get_offset); 2361 entry = nsp32_search_period_entry(data, target, get_period); 2363 if (get_offset == ASYNC_OFFSET || entry < 2468 nsp32_set_sync_entry(nsp32_hw_data *data, nsp32_target *target, int entry, unsigned char offset) argument 3047 int entry; local 3133 int entry, val; local [all...] |
/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_execbuf.c | 884 struct ttm_validate_buffer *entry, *next; local 890 list_for_each_entry_safe(entry, next, &sw_context->validate_nodes, 892 list_del(&entry->head); 893 vmw_dmabuf_validate_clear(entry->bo); 894 ttm_bo_unref(&entry->bo); 950 struct ttm_validate_buffer *entry; local 953 list_for_each_entry(entry, &sw_context->validate_nodes, head) { 954 ret = vmw_validate_single_buffer(dev_priv, entry->bo);
|
/drivers/infiniband/hw/cxgb3/ |
H A D | cxio_hal.h | 90 struct list_head entry; member in struct:cxio_qpid_list 113 struct list_head entry; member in struct:cxio_rdev
|
/drivers/net/ethernet/sun/ |
H A D | sunqe.c | 580 int len, entry; local 587 entry = qep->tx_new; 589 txbuf = &qbufs->tx_buf[entry & (TX_RING_SIZE - 1)][0]; 591 qebuf_offset(tx_buf, (entry & (TX_RING_SIZE - 1))); 594 qep->qe_block->qe_txd[entry].tx_flags = TXD_UPDATE; 598 qep->qe_block->qe_txd[entry].tx_addr = txbuf_dvma; 599 qep->qe_block->qe_txd[entry].tx_flags = 601 qep->tx_new = NEXT_TX(entry);
|
/drivers/s390/net/ |
H A D | qeth_l3_main.c | 185 list_for_each_entry(ipatoe, &card->ipato.entries, entry) { 222 list_for_each_entry_safe(tmp, t, card->ip_tbd_list, entry) { 252 list_del(&tmp->entry); 258 list_add(&addr->entry, card->ip_tbd_list); 267 list_add_tail(&addr->entry, card->ip_tbd_list); 362 list_for_each_entry(addr, &card->ip_list, entry) { 411 list_for_each_entry_safe(addr, tmp, &card->ip_list, entry) { 413 list_del(&addr->entry); 420 list_add_tail(&addr->entry, &fail_list); 454 todo = list_entry(tbd_list->next, struct qeth_ipaddr, entry); 2561 qeth_l3_arp_add_entry(struct qeth_card *card, struct qeth_arp_cache_entry *entry) argument 2600 qeth_l3_arp_remove_entry(struct qeth_card *card, struct qeth_arp_cache_entry *entry) argument [all...] |
/drivers/scsi/aic7xxx/aicasm/ |
H A D | aicasm_scan.l | 502 stop("Unable to allocate include stack entry",
|
/drivers/uio/ |
H A D | uio.c | 119 struct map_sysfs_entry *entry; local 121 entry = container_of(attr, struct map_sysfs_entry, attr); 123 if (!entry->show) 126 return entry->show(mem, buf); 207 struct portio_sysfs_entry *entry; local 209 entry = container_of(attr, struct portio_sysfs_entry, attr); 211 if (!entry->show) 214 return entry->show(port, buf);
|
/drivers/net/ethernet/micrel/ |
H A D | ksz884x.c | 1042 * @valid: Valid setting indicating the entry is being used. 1668 * @addr: The address of the table entry. 1694 * @addr: The address of the table entry. 1723 * @addr: The address of the table entry. 1727 * @valid: The flag to indicate entry is valid. 1731 * This routine writes an entry of the static MAC table of the switch. It 1761 * @addr: The address of the table entry. 1766 * This function reads an entry of the VLAN table of the switch. It calls 1769 * Return 0 if the entry is valid; otherwise -1. 2655 int entry; local 2842 struct ksz_mac_table *entry; local 2862 struct ksz_mac_table *entry; local 2888 struct ksz_mac_table *entry; local [all...] |
/drivers/gpu/drm/mga/ |
H A D | mga_drv.h | 347 drm_mga_freelist_t *entry = (buf_priv)->list_entry; \ 349 entry->age.head = (dev_priv->prim.tail + \ 351 entry->age.wrap = dev_priv->sarea_priv->last_wrap; \ 353 entry->age.head = 0; \ 354 entry->age.wrap = 0; \
|
/drivers/net/wireless/hostap/ |
H A D | hostap_proc.c | 315 int entry, i, len, total = 0; local 323 for (entry = 0; entry < local->last_scan_results_count; entry++) { 324 scanres = &local->last_scan_results[entry];
|
/drivers/net/wireless/prism54/ |
H A D | isl_ioctl.c | 584 /* The first entry must be the MAC address */ 719 /* Check if there is space for one more entry */ 1794 struct mac_entry *entry; local 1805 entry = list_entry(ptr, struct mac_entry, _list); 1807 kfree(entry); 1825 struct mac_entry *entry; local 1831 entry = kmalloc(sizeof (struct mac_entry), GFP_KERNEL); 1832 if (entry == NULL) 1835 memcpy(entry->addr, addr->sa_data, ETH_ALEN); 1838 kfree(entry); 1854 struct mac_entry *entry; local 1881 struct mac_entry *entry; local 1956 struct mac_entry *entry; local [all...] |
/drivers/net/ethernet/silan/ |
H A D | sc92031.c | 656 unsigned entry; local 661 entry = priv->tx_tail % NUM_TX_DESC; 662 tx_status = ioread32(port_base + TxStatus0 + entry * 4); 943 unsigned entry; local 960 entry = priv->tx_head++ % NUM_TX_DESC; 962 skb_copy_and_csum_dev(skb, priv->tx_bufs + entry * TX_BUF_SIZE); 966 memset(priv->tx_bufs + entry * TX_BUF_SIZE + len, 980 iowrite32(priv->tx_bufs_dma_addr + entry * TX_BUF_SIZE, 981 port_base + TxAddr0 + entry * 4); 982 iowrite32(tx_status, port_base + TxStatus0 + entry * [all...] |
/drivers/net/wireless/wl12xx/ |
H A D | debugfs.c | 71 entry = debugfs_create_file(#name, 0400, parent, \ 73 if (!entry || IS_ERR(entry)) \ 78 entry = debugfs_create_file(#name, 0400, parent, \ 80 if (!entry || IS_ERR(entry)) \ 1008 struct dentry *entry, *stats, *streaming; local 1012 entry = stats; 1134 if (IS_ERR(entry)) 1135 ret = PTR_ERR(entry); [all...] |
/drivers/scsi/aacraid/ |
H A D | linit.c | 28 * Abstract: Linux Driver entry module for Adaptec RAID Array Controller 298 * Returns a pointer to the entry in the driver lookup table. 357 * entry whose end_head matches one of the standard geometry 365 struct partition *entry = first; local 371 end_head = entry->end_head; 372 end_sec = entry->end_sector & 0x3f; 387 entry++; 696 list_for_each_entry(aac, &aac_devices, entry) { 1113 list_for_each_entry(aac, &aac_devices, entry) { 1116 insert = &aac->entry; [all...] |
/drivers/scsi/ibmvscsi/ |
H A D | ibmvfc.c | 149 * ibmvfc_trc_start - Log a start trace entry 158 struct ibmvfc_trace_entry *entry; local 160 entry = &vhost->trace[vhost->trace_index++]; 161 entry->evt = evt; 162 entry->time = jiffies; 163 entry->fmt = evt->crq.format; 164 entry->type = IBMVFC_TRC_START; 166 switch (entry->fmt) { 168 entry->op_code = vfc_cmd->iu.cdb[0]; 169 entry 192 struct ibmvfc_trace_entry *entry = &vhost->trace[vhost->trace_index++]; local [all...] |
/drivers/net/ethernet/sis/ |
H A D | sis190.c | 585 unsigned int entry = cur_rx % NUM_RX_DESC; local 586 struct RxDesc *desc = tp->RxDescRing + entry; 599 struct sk_buff *skb = tp->Rx_skbuff[entry]; 621 tp->Rx_skbuff[entry] = NULL; 699 unsigned int entry = dirty_tx % NUM_TX_DESC; local 700 struct TxDesc *txd = tp->TxDescRing + entry; 707 skb = tp->Tx_skbuff[entry]; 716 tp->Tx_skbuff[entry] = NULL; 1180 u32 len, entry, dirty_tx; local 1194 entry [all...] |
/drivers/tty/serial/ |
H A D | ioc3_serial.c | 555 * per ring entry, so we'll divide the number of chars that will 683 struct ring_entry *entry; local 692 /* Maintain a 1-entry red-zone. The ring buffer is full when 702 /* Get 4 bytes (one ring entry) at a time */ 703 entry = (struct ring_entry *)((caddr_t) outring + prod_ptr); 706 entry->ring_allsc = 0; 710 entry->ring_data[xx] = *buf++; 711 entry->ring_sc[xx] = TXCB_VALID; 726 entry->ring_sc[0] |= TXCB_INT_WHEN_DONE; 729 /* Go on to next entry */ 1122 struct ring_entry *entry; local [all...] |
/drivers/net/ethernet/realtek/ |
H A D | 8139cp.c | 711 unsigned entry; local 727 entry = cp->tx_head; 728 eor = (entry == (CP_TX_RING_SIZE - 1)) ? RingEnd : 0; 734 struct cp_desc *txd = &cp->tx_ring[entry]; 761 cp->tx_skb[entry] = skb; 762 entry = NEXT_TX(entry); 767 int frag, first_entry = entry; 777 cp->tx_skb[entry] = skb; 778 entry [all...] |
/drivers/gpu/drm/nouveau/ |
H A D | nv04_dfp.c | 234 * entry has the necessary info) 679 nv04_dfp_create(struct drm_connector *connector, struct dcb_entry *entry) argument 686 switch (entry->type) { 705 nv_encoder->dcb = entry; 706 nv_encoder->or = ffs(entry->or) - 1; 711 encoder->possible_crtcs = entry->heads; 714 if (entry->type == OUTPUT_TMDS && 715 entry->location != DCB_LOC_ON_CHIP)
|
H A D | nouveau_mem.c | 176 struct drm_agp_mem *entry, *tempe; local 180 list_for_each_entry_safe(entry, tempe, &dev->agp->memory, head) { 181 if (entry->bound) 182 drm_unbind_agp(entry->memory); 183 drm_free_agp(entry->memory, entry->pages); 184 kfree(entry); 1073 u8 *entry = table + table[1] + (ramcfg * table[2]); local 1074 switch (entry[0] & 0x0f) {
|
/drivers/infiniband/hw/cxgb4/ |
H A D | iw_cxgb4.h | 92 struct list_head entry; member in struct:c4iw_qid_list 390 struct list_head entry; member in struct:c4iw_mm_entry 405 mm = list_entry(pos, struct c4iw_mm_entry, entry); 407 list_del_init(&mm->entry); 424 list_add_tail(&mm->entry, &ucontext->mmaps); 650 struct list_head entry; member in struct:c4iw_ep 703 void c4iw_put_resource(struct kfifo *fifo, u32 entry, spinlock_t *lock);
|
/drivers/net/ethernet/nuvoton/ |
H A D | w90p910_ether.c | 661 unsigned int cur_entry, entry, status; local 671 entry = ether->tdesc_phys + 674 while (entry != cur_entry) { 693 entry = ether->tdesc_phys + 717 unsigned int length, status, val, entry; local 727 entry = ether->rdesc_phys + 730 if (val == entry)
|
/drivers/char/agp/ |
H A D | intel-gtt.c | 54 void (*write_entry)(dma_addr_t addr, unsigned int entry, unsigned int flags); 317 static void i810_write_entry(dma_addr_t addr, unsigned int entry, argument 331 writel(addr | pte_flags, intel_private.gtt + entry); 759 static void i830_write_entry(dma_addr_t addr, unsigned int entry, argument 767 writel(addr | pte_flags, intel_private.gtt + entry); 1139 unsigned int entry, 1150 writel(addr | pte_flags, intel_private.gtt + entry); 1158 static void gen6_write_entry(dma_addr_t addr, unsigned int entry, argument 1179 writel(addr | pte_flags, intel_private.gtt + entry); 1138 i965_write_entry(dma_addr_t addr, unsigned int entry, unsigned int flags) argument
|