/drivers/gpu/drm/ |
H A D | drm_lock.c | 56 DECLARE_WAITQUEUE(entry, current); 77 add_wait_queue(&master->lock.lock_queue, &entry); 110 remove_wait_queue(&master->lock.lock_queue, &entry);
|
/drivers/gpu/drm/gma500/ |
H A D | intel_bios.c | 122 struct bdb_lvds_lfp_data_entry *entry; local 143 entry = &lvds_lfp_data->data[lvds_options->panel_type]; 144 dvo_timing = &entry->dvo_timing;
|
/drivers/gpu/drm/nouveau/ |
H A D | nv50_display.c | 366 struct dcb_entry *entry = &dcb->entry[i]; local 368 if (entry->location != DCB_LOC_ON_CHIP) { 370 entry->type, ffs(entry->or) - 1); 374 connector = nouveau_connector_create(dev, entry->connector); 378 switch (entry->type) { 382 nv50_sor_create(connector, entry); 385 nv50_dac_create(connector, entry); 388 NV_WARN(dev, "DCB encoder %d unknown\n", entry [all...] |
H A D | nouveau_gem.c | 278 struct list_head *entry, *tmp; local 281 list_for_each_safe(entry, tmp, list) { 282 nvbo = list_entry(entry, struct nouveau_bo, entry); 291 list_del(&nvbo->entry); 363 list_add_tail(&nvbo->entry, &op->both_list); 366 list_add_tail(&nvbo->entry, &op->vram_list); 369 list_add_tail(&nvbo->entry, &op->gart_list); 373 list_add_tail(&nvbo->entry, &op->both_list); 412 list_for_each_entry(nvbo, list, entry) { [all...] |
/drivers/gpu/drm/r128/ |
H A D | r128_cce.c | 772 drm_r128_freelist_t *entry; 785 entry = kmalloc(sizeof(drm_r128_freelist_t), GFP_KERNEL); 786 if (!entry) 789 entry->age = R128_BUFFER_FREE; 790 entry->buf = buf; 791 entry->prev = dev_priv->head; 792 entry->next = dev_priv->head->next; 793 if (!entry->next) 794 dev_priv->tail = entry; 798 buf_priv->list_entry = entry; [all...] |
/drivers/infiniband/hw/cxgb3/ |
H A D | iwch.c | 170 list_add_tail(&rnicp->entry, &dev_list); 187 list_for_each_entry_safe(dev, tmp, &dev_list, entry) { 192 list_del(&dev->entry);
|
/drivers/net/wireless/rt2x00/ |
H A D | rt2x00lib.h | 104 * @entry: The entry for which the skb will be applicable. 106 struct sk_buff *rt2x00queue_alloc_rxskb(struct queue_entry *entry); 110 * @entry: The entry for which the skb will be applicable. 112 void rt2x00queue_free_skb(struct queue_entry *entry); 179 * @entry: Queue entry (&struct queue_entry) to perform the action on. 182 * This function will increase the requested index on the entry's queue, 186 void rt2x00queue_index_inc(struct queue_entry *entry, enu [all...] |
H A D | rt61pci.c | 433 * Otherwise, we use the first invalid entry. 1379 static bool rt61pci_get_entry_state(struct queue_entry *entry) argument 1381 struct queue_entry_priv_pci *entry_priv = entry->priv_data; 1384 if (entry->queue->qid == QID_RX) { 1396 static void rt61pci_clear_entry(struct queue_entry *entry) argument 1398 struct queue_entry_priv_pci *entry_priv = entry->priv_data; 1399 struct skb_frame_desc *skbdesc = get_skb_frame_desc(entry->skb); 1402 if (entry->queue->qid == QID_RX) { 1867 static void rt61pci_write_tx_desc(struct queue_entry *entry, argument 1870 struct skb_frame_desc *skbdesc = get_skb_frame_desc(entry 1965 rt61pci_write_beacon(struct queue_entry *entry, struct txentry_desc *txdesc) argument 2030 rt61pci_clear_beacon(struct queue_entry *entry) argument 2087 rt61pci_fill_rxdone(struct queue_entry *entry, struct rxdone_entry_desc *rxdesc) argument 2155 struct queue_entry *entry; local [all...] |
/drivers/s390/cio/ |
H A D | blacklist.c | 388 struct proc_dir_entry *entry; local 390 entry = proc_create("cio_ignore", S_IFREG | S_IRUGO | S_IWUSR, NULL, 392 if (!entry)
|
/drivers/usb/gadget/ |
H A D | f_accessory.c | 920 struct list_head *entry, *temp; local 924 list_for_each_safe(entry, temp, &dev->hid_list) { 925 hid = list_entry(entry, struct acc_hid_dev, list); 929 list_for_each_safe(entry, temp, &dev->new_hid_list) { 930 hid = list_entry(entry, struct acc_hid_dev, list); 1003 struct list_head *entry, *temp; local 1013 list_for_each_safe(entry, temp, &dev->new_hid_list) { 1014 hid = list_entry(entry, struct acc_hid_dev, list); 1033 list_for_each_safe(entry, temp, &new_list) { 1034 hid = list_entry(entry, struc [all...] |
/drivers/w1/ |
H A D | w1_int.c | 107 struct w1_master *dev, *entry; local 139 list_for_each_entry(entry, &w1_masters, w1_master_entry) { 140 if (entry->id == id) {
|
/drivers/net/ethernet/amd/ |
H A D | declance.c | 121 #define LE_R1_OWN 0x8000 /* Who owns the entry */ 560 int entry, len; local 585 entry = lp->rx_new; 615 ((lp->rx_buf_ptr_lnc[entry] >> 16) & 617 lp->rx_new = (entry + 1) & RX_RING_MOD_MASK; 626 (char *)lp->rx_buf_ptr_cpu[entry], len); 637 ((lp->rx_buf_ptr_lnc[entry] >> 16) & 0xff) | LE_R1_OWN; 638 lp->rx_new = (entry + 1) & RX_RING_MOD_MASK; 904 int entry, len; local 918 entry [all...] |
H A D | 7990.c | 537 int entry, skblen, len; local 561 entry = lp->tx_new & lp->tx_ring_mod_mask; 562 ib->btx_ring [entry].length = (-len) | 0xf000; 563 ib->btx_ring [entry].misc = 0; 566 memset((void *)&ib->tx_buf[entry][0], 0, ETH_ZLEN); 567 skb_copy_from_linear_data(skb, (void *)&ib->tx_buf[entry][0], skblen); 570 ib->btx_ring [entry].tmd1_bits = (LE_T1_POK|LE_T1_OWN);
|
/drivers/crypto/ |
H A D | n2_core.c | 86 struct list_head entry; member in struct:n2_request_common 243 struct list_head entry; member in struct:n2_ahash_alg 663 struct list_head entry; member in struct:n2_crypto_chunk 701 struct list_head entry; member in struct:n2_cipher_alg 894 INIT_LIST_HEAD(&chunk->entry); 923 list_add_tail(&chunk->entry, 930 INIT_LIST_HEAD(&chunk->entry); 951 list_add_tail(&chunk->entry, &rctx->chunk_list); 966 list_for_each_entry_safe(c, tmp, &rctx->chunk_list, entry) { 967 list_del(&c->entry); [all...] |
/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_dcb.c | 224 struct dcbx_app_priority_entry *entry = local 227 if (GET_FLAGS(entry[index].appBitfield, 229 ETH_TYPE_FCOE == entry[index].app_id) 231 entry[index].pri_bitmap, 234 if (GET_FLAGS(entry[index].appBitfield, 236 TCP_PORT_ISCSI == entry[index].app_id) 238 entry[index].pri_bitmap, 1130 u8 entry = 0; local 1144 entry = 1; 1147 entry 1442 u8 entry = 0; local 1559 bnx2x_dcbx_spread_strict_pri(struct bnx2x *bp, struct cos_help_data *cos_data, u8 entry, u8 num_spread_of_entries, u8 strict_app_pris) argument 1608 bnx2x_dcbx_cee_fill_strict_pri(struct bnx2x *bp, struct cos_help_data *cos_data, u8 entry, u8 num_spread_of_entries, u8 strict_app_pris) argument 1641 u8 entry = 0; local [all...] |
/drivers/net/wireless/ |
H A D | adm8211.c | 316 unsigned int entry = dirty_tx % priv->tx_ring_size; local 317 u32 status = le32_to_cpu(priv->tx_ring[entry].status); 326 info = &priv->tx_buffers[entry]; 359 unsigned int entry = priv->cur_rx % priv->rx_ring_size; local 366 while (!(priv->rx_ring[entry].status & cpu_to_le32(RDES0_STATUS_OWN))) { 370 status = le32_to_cpu(priv->rx_ring[entry].status); 372 rssi = le32_to_cpu(priv->rx_ring[entry].length) & 392 priv->rx_buffers[entry].mapping, 395 skb_tail_pointer(priv->rx_buffers[entry].skb), 399 priv->rx_buffers[entry] 1624 unsigned int entry; local [all...] |
/drivers/gpu/drm/radeon/ |
H A D | rs400.c | 214 uint32_t entry; local 221 entry = (lower_32_bits(addr) & PAGE_MASK) | 224 entry = cpu_to_le32(entry); 225 gtt[i] = entry;
|
/drivers/net/wireless/p54/ |
H A D | p54usb.c | 214 struct urb *entry = NULL; local 225 entry = usb_alloc_urb(0, GFP_KERNEL); 226 if (!entry) { 231 usb_fill_bulk_urb(entry, priv->udev, 236 info->urb = entry; 240 usb_anchor_urb(entry, &priv->submitted); 241 ret = usb_submit_urb(entry, GFP_KERNEL); 244 usb_unanchor_urb(entry); 247 usb_free_urb(entry); 248 entry [all...] |
/drivers/video/omap/ |
H A D | hwa742.c | 91 struct list_head entry; member in struct:hwa742_request 255 struct hwa742_request, entry); 256 list_del(&req->entry); 259 INIT_LIST_HEAD(&req->entry); 271 list_move(&req->entry, &hwa742.free_req_list); 290 struct hwa742_request, entry); 426 list_add_tail(&req->entry, req_head); \ 484 last = list_entry(req_list.prev, struct hwa742_request, entry); 515 last = list_entry(req_list.prev, struct hwa742_request, entry); 568 list_add(&req->entry, [all...] |
/drivers/tty/hvc/ |
H A D | hvc_xen.c | 63 struct xencons_info *entry, *n, *ret = NULL; local 68 list_for_each_entry_safe(entry, n, &xenconsoles, list) { 69 if (entry->vtermno == vtermno) { 70 ret = entry; 565 struct xencons_info *entry, *next; local 570 list_for_each_entry_safe(entry, next, &xenconsoles, list) { 571 xen_console_remove(entry);
|
/drivers/usb/host/ |
H A D | xhci-dbg.c | 397 struct xhci_erst_entry *entry; local 400 entry = &erst->entries[i]; 403 lower_32_bits(le64_to_cpu(entry->seg_addr)), 404 upper_32_bits(le64_to_cpu(entry->seg_addr)), 405 le32_to_cpu(entry->seg_size), 406 le32_to_cpu(entry->rsvd)); 407 addr += sizeof(*entry);
|
/drivers/net/ethernet/marvell/ |
H A D | pxa168_eth.c | 428 * return the calculated entry. 459 * This function will add/del an entry to the address table. 463 * skip - if 1, skip this address.Used in case of deleting an entry which is a 464 * part of chain in the hash table.We can't just delete the entry since 470 * address table entry is added/deleted. 478 struct addr_table_entry *entry, *start; local 505 entry = start + hash_function(mac_addr); 507 if (!(le32_to_cpu(entry->lo) & HASH_ENTRY_VALID)) { 511 if (((le32_to_cpu(entry->lo) & 0xfffffff8) == 513 (le32_to_cpu(entry [all...] |
/drivers/net/wireless/rtl818x/rtl8187/ |
H A D | dev.c | 411 struct urb *entry = NULL; local 422 entry = usb_alloc_urb(0, GFP_KERNEL); 423 if (!entry) { 427 usb_fill_bulk_urb(entry, priv->udev, 433 info->urb = entry; 436 usb_anchor_urb(entry, &priv->anchored); 437 ret = usb_submit_urb(entry, GFP_KERNEL); 440 usb_unanchor_urb(entry); 443 usb_free_urb(entry); 448 usb_free_urb(entry); 541 struct urb *entry; local [all...] |
/drivers/net/wireless/rtlwifi/ |
H A D | pci.c | 520 struct rtl_tx_desc *entry = &ring->desc[ring->idx]; local 526 u8 own = (u8) rtlpriv->cfg->ops->get_desc((u8 *) entry, true, 541 get_desc((u8 *) entry, true, 916 struct rtl_tx_desc *entry = &ring->desc[ring->idx]; local 918 (u8 *) entry, true, HW_DESC_TXBUFF_ADDR), 1060 struct rtl_rx_desc *entry = NULL; local 1102 entry = &rtlpci->rx_ring[rx_queue_idx].desc[i]; 1118 rtlpriv->cfg->ops->set_desc((u8 *)entry, false, 1121 rtlpriv->cfg->ops->set_desc((u8 *)entry, false, 1125 rtlpriv->cfg->ops->set_desc((u8 *) entry, fals 1144 struct rtl_tx_desc *entry = &ring->desc[ring->idx]; local 1257 struct rtl_rx_desc *entry = NULL; local 1280 struct rtl_tx_desc *entry = local [all...] |
/drivers/staging/comedi/drivers/ |
H A D | me4000.c | 952 unsigned long entry = 0; local 969 entry |= ME4000_AI_LIST_RANGE_UNIPOLAR_2_5; 972 entry |= ME4000_AI_LIST_RANGE_UNIPOLAR_10; 975 entry |= ME4000_AI_LIST_RANGE_BIPOLAR_2_5; 978 entry |= ME4000_AI_LIST_RANGE_BIPOLAR_10; 996 entry |= ME4000_AI_LIST_INPUT_SINGLE_ENDED | chan; 1014 entry |= ME4000_AI_LIST_INPUT_DIFFERENTIAL | chan; 1023 entry |= ME4000_AI_LIST_LAST_ENTRY; 1041 /* Generate channel list entry */ 1042 me4000_outl(dev, entry, inf 1331 unsigned int entry; local [all...] |