Searched refs:entry (Results 76 - 100 of 524) sorted by relevance

1234567891011>>

/drivers/gpu/drm/radeon/
H A Dmkregtable.c38 * using the generic single-entry routines.
57 * Insert a new entry between two known consecutive entries.
77 * list_add - add a new entry
78 * @new: new entry to be added
81 * Insert a new entry after the specified head.
90 * list_add_tail - add a new entry
91 * @new: new entry to be added
94 * Insert a new entry before the specified head.
103 * Delete a list entry by making the prev/next entries
116 * list_del - deletes entry fro
122 list_del(struct list_head *entry) argument
158 list_del_init(struct list_head *entry) argument
235 __list_cut_position(struct list_head *list, struct list_head *head, struct list_head *entry) argument
262 list_cut_position(struct list_head *list, struct list_head *head, struct list_head *entry) argument
[all...]
/drivers/net/wireless/hostap/
H A Dhostap_hw.c173 * __hostap_cmd_queue_free - Free Prism2 command queue entry (private)
175 * @entry: Prism2 command queue entry to be freed
176 * @del_req: request the entry to be removed
182 struct hostap_cmd_queue *entry,
186 entry->del_req = 1;
187 if (!list_empty(&entry->list)) {
188 list_del_init(&entry->list);
193 if (atomic_dec_and_test(&entry->usecnt) && entry
181 __hostap_cmd_queue_free(local_info_t *local, struct hostap_cmd_queue *entry, int del_req) argument
206 hostap_cmd_queue_free(local_info_t *local, struct hostap_cmd_queue *entry, int del_req) argument
226 struct hostap_cmd_queue *entry; local
254 hfa384x_cmd_issue(struct net_device *dev, struct hostap_cmd_queue *entry) argument
328 struct hostap_cmd_queue *entry; local
504 struct hostap_cmd_queue *entry; local
660 struct hostap_cmd_queue *entry = NULL; local
2985 struct set_tim_data *entry = local
3010 struct set_tim_data *entry; local
3047 struct set_tim_data *entry; local
[all...]
/drivers/net/ethernet/packetengines/
H A Dyellowfin.c186 from the Tx ring. After reaping the stats, it marks the Tx queue entry as
816 unsigned entry; local
824 /* Calculate the next Tx descriptor entry. */
825 entry = yp->cur_tx % TX_RING_SIZE;
833 yp->tx_skbuff[entry] = NULL;
839 yp->tx_skbuff[entry] = skb;
842 yp->tx_ring[entry].addr = cpu_to_le32(pci_map_single(yp->pci_dev,
844 yp->tx_ring[entry].result_status = 0;
845 if (entry >= TX_RING_SIZE-1) {
851 yp->tx_ring[entry
925 int entry = yp->dirty_tx % TX_RING_SIZE; local
952 int entry = dirty_tx % TX_RING_SIZE; local
1044 int entry = yp->cur_rx % RX_RING_SIZE; local
[all...]
/drivers/gpu/drm/nouveau/
H A Dnouveau_dp.c165 nouveau_dp_bios_data(struct drm_device *dev, struct dcb_entry *dcb, u8 **entry) argument
199 *entry = ROMPTR(dev, table[table[1] + (i * table[2])]);
200 if (*entry && bios_encoder_match(dcb, ROM32((*entry)[0])))
365 u8 *entry, *table = nouveau_dp_bios_data(dev, dp->dcb, &entry); local
368 if (enable) script = ROM16(entry[12]);
369 else script = ROM16(entry[14]);
372 if (enable) script = ROM16(entry[11]);
373 else script = ROM16(entry[1
384 u8 *entry, *table = nouveau_dp_bios_data(dev, dp->dcb, &entry); local
400 u8 *entry, *table = nouveau_dp_bios_data(dev, dp->dcb, &entry); local
[all...]
H A Dnv50_sor.c64 u8 *table, *entry, *config; local
66 table = nouveau_dp_bios_data(dev, dcb, &entry);
72 config = entry + table[4];
75 if (config >= entry + table[4] + entry[4] * table[5])
91 u8 *table, *entry, mask; local
94 table = nouveau_dp_bios_data(dev, dcb, &entry);
100 entry = ROMPTR(dev, entry[10]);
101 if (entry) {
476 nv50_sor_create(struct drm_connector *connector, struct dcb_entry *entry) argument
[all...]
H A Dnouveau_i2c.c146 u8 *i2c, *entry, legacy[2][4] = {}; local
177 entry = i2c[1] + i2c;
182 entry = i2c;
186 entry = legacy[0];
191 for (i = 0; i < entries; i++, entry += recordlen) {
198 port->type = entry[3];
212 port->drive = entry[0];
213 port->sense = entry[1];
216 port->drive = 0x600800 + entry[1];
220 port->drive = entry[
[all...]
/drivers/gpu/drm/
H A Ddrm_prime.c60 struct list_head entry; member in struct:drm_prime_member
255 list_for_each_entry_safe(member, safe, &prime_fpriv->head, entry) {
256 list_del(&member->entry);
272 list_add(&member->entry, &prime_fpriv->head);
281 list_for_each_entry(member, &prime_fpriv->head, entry) {
296 list_for_each_entry_safe(member, safe, &prime_fpriv->head, entry) {
298 list_del(&member->entry);
/drivers/staging/rtl8187se/ieee80211/
H A Dieee80211_crypt.c44 struct ieee80211_crypt_data *entry; local
48 entry = list_entry(ptr, struct ieee80211_crypt_data, list);
50 if (atomic_read(&entry->refcnt) != 0 && !force)
55 if (entry->ops)
56 entry->ops->deinit(entry->priv);
57 kfree(entry);
/drivers/staging/rtl8192e/
H A Drtllib_crypt.c39 struct lib80211_crypt_data *entry; local
43 entry = list_entry(ptr, struct lib80211_crypt_data, list);
45 if (atomic_read(&entry->refcnt) != 0 && !force)
50 if (entry->ops)
51 entry->ops->deinit(entry->priv);
52 kfree(entry);
/drivers/staging/rtl8192u/ieee80211/
H A Dieee80211_crypt.c44 struct ieee80211_crypt_data *entry; local
48 entry = list_entry(ptr, struct ieee80211_crypt_data, list);
50 if (atomic_read(&entry->refcnt) != 0 && !force)
55 if (entry->ops)
56 entry->ops->deinit(entry->priv);
57 kfree(entry);
/drivers/xen/xen-pciback/
H A Dvpci.c32 struct pci_dev_entry *entry; local
42 list_for_each_entry(entry,
45 if (PCI_FUNC(entry->dev->devfn) == PCI_FUNC(devfn)) {
46 dev = entry->dev;
84 "Error adding entry to virtual PCI bus");
218 struct pci_dev_entry *entry; local
225 list_for_each_entry(entry,
228 dev = entry->dev;
/drivers/net/wireless/rt2x00/
H A Drt2x00pci.c66 struct queue_entry *entry; local
72 entry = rt2x00queue_get_entry(queue, Q_INDEX);
73 entry_priv = entry->priv_data;
75 if (rt2x00dev->ops->lib->get_entry_state(entry))
81 skbdesc = get_skb_frame_desc(entry->skb);
83 skbdesc->desc_len = entry->queue->desc_size;
89 rt2x00lib_dmastart(entry);
90 rt2x00lib_dmadone(entry);
95 rt2x00lib_rxdone(entry);
H A Drt2800pci.c221 struct queue_entry *entry; local
228 entry = rt2x00queue_get_entry(queue, Q_INDEX);
230 entry->entry_idx);
233 entry = rt2x00queue_get_entry(queue, Q_INDEX);
235 entry->entry_idx);
316 static bool rt2800pci_get_entry_state(struct queue_entry *entry) argument
318 struct queue_entry_priv_pci *entry_priv = entry->priv_data;
321 if (entry->queue->qid == QID_RX) {
332 static void rt2800pci_clear_entry(struct queue_entry *entry) argument
334 struct queue_entry_priv_pci *entry_priv = entry
598 rt2800pci_get_txwi(struct queue_entry *entry) argument
603 rt2800pci_write_tx_desc(struct queue_entry *entry, struct txentry_desc *txdesc) argument
658 rt2800pci_fill_rxdone(struct queue_entry *entry, struct rxdone_entry_desc *rxdesc) argument
724 struct queue_entry *entry; local
[all...]
H A Drt2x00.h384 * dedicated beacon entry.
571 bool (*get_entry_state) (struct queue_entry *entry);
572 void (*clear_entry) (struct queue_entry *entry);
597 void (*tx_dma_done) (struct queue_entry *entry);
602 void (*write_tx_desc) (struct queue_entry *entry,
604 void (*write_tx_data) (struct queue_entry *entry,
606 void (*write_beacon) (struct queue_entry *entry,
608 void (*clear_beacon) (struct queue_entry *entry);
609 int (*get_tx_data_len) (struct queue_entry *entry);
614 void (*fill_rxdone) (struct queue_entry *entry,
[all...]
/drivers/staging/android/
H A Dlogger.c58 struct list_head list; /* entry in logger_log's list */
99 * the log entry spans the end and beginning of the circular buffer.
116 * get_entry_msg_len - Grabs the length of the message of the entry
119 * An entry length is 2 bytes (16 bits) in host endian order.
120 * In the log, the length does not include the size of the log entry structure.
121 * This function returns the size including the log entry structure.
128 struct logger_entry *entry; local
130 entry = get_entry_header(log, off, &scratch);
131 return entry->len;
142 static ssize_t copy_header_to_user(int ver, struct logger_entry *entry, argument
178 struct logger_entry *entry; local
226 struct logger_entry *entry; local
[all...]
/drivers/net/ethernet/icplus/
H A Dipg.c732 static int ipg_get_rxbuff(struct net_device *dev, int entry) argument
735 struct ipg_rx *rxfd = sp->rxd + entry;
743 sp->rx_buff[entry] = NULL;
748 sp->rx_buff[entry] = skb;
1050 unsigned int entry = dirty % IPG_RFDLIST_LENGTH; local
1053 if (sp->rx_buff[entry])
1060 if (ipg_get_rxbuff(dev, entry) < 0) {
1067 sp->rxd[entry].rfs = 0x0000000000000000;
1096 unsigned int entry = sp->rx_current % IPG_RFDLIST_LENGTH; local
1098 if (sp->rx_buff[entry]) {
1125 unsigned int entry = sp->rx_current % IPG_RFDLIST_LENGTH; local
1180 ipg_nic_rx_with_start_and_end(struct net_device *dev, struct ipg_nic_private *sp, struct ipg_rx *rxfd, unsigned entry) argument
1215 ipg_nic_rx_with_start(struct net_device *dev, struct ipg_nic_private *sp, struct ipg_rx *rxfd, unsigned entry) argument
1247 ipg_nic_rx_with_end(struct net_device *dev, struct ipg_nic_private *sp, struct ipg_rx *rxfd, unsigned entry) argument
1293 ipg_nic_rx_no_start_no_end(struct net_device *dev, struct ipg_nic_private *sp, struct ipg_rx *rxfd, unsigned entry) argument
1332 unsigned int entry = curr % IPG_RFDLIST_LENGTH; local
1385 unsigned int entry = curr % IPG_RFDLIST_LENGTH; local
1502 unsigned int entry = curr++ % IPG_RFDLIST_LENGTH; local
1843 unsigned int entry = sp->tx_current % IPG_TFDLIST_LENGTH; local
[all...]
/drivers/net/usb/
H A Dusbnet.c290 struct skb_data *entry = (struct skb_data *) newsk->cb;
293 entry->state = state;
307 struct skb_data *entry = (struct skb_data *) skb->cb;
310 old_state = entry->state;
311 entry->state = state;
344 struct skb_data *entry;
357 entry = (struct skb_data *) skb->cb;
358 entry->urb = urb;
359 entry->dev = dev;
360 entry
289 struct skb_data *entry = (struct skb_data *) newsk->cb; local
306 struct skb_data *entry = (struct skb_data *) skb->cb; local
343 struct skb_data *entry; local
438 struct skb_data *entry = (struct skb_data *) skb->cb; local
604 struct skb_data *entry; local
1024 struct skb_data *entry = (struct skb_data *) skb->cb; local
1090 struct skb_data *entry; local
1212 struct skb_data *entry; local
[all...]
/drivers/acpi/apei/
H A Derst.c123 struct acpi_whea_header *entry)
125 return __apei_exec_read_register(entry, &ctx->var1);
129 struct acpi_whea_header *entry)
131 return __apei_exec_read_register(entry, &ctx->var2);
135 struct acpi_whea_header *entry)
137 return __apei_exec_write_register(entry, ctx->var1);
141 struct acpi_whea_header *entry)
148 struct acpi_whea_header *entry)
155 struct acpi_whea_header *entry)
160 rc = __apei_exec_read_register(entry,
122 erst_exec_load_var1(struct apei_exec_context *ctx, struct acpi_whea_header *entry) argument
128 erst_exec_load_var2(struct apei_exec_context *ctx, struct acpi_whea_header *entry) argument
134 erst_exec_store_var1(struct apei_exec_context *ctx, struct acpi_whea_header *entry) argument
140 erst_exec_add(struct apei_exec_context *ctx, struct acpi_whea_header *entry) argument
147 erst_exec_subtract(struct apei_exec_context *ctx, struct acpi_whea_header *entry) argument
154 erst_exec_add_value(struct apei_exec_context *ctx, struct acpi_whea_header *entry) argument
168 erst_exec_subtract_value(struct apei_exec_context *ctx, struct acpi_whea_header *entry) argument
182 erst_exec_stall(struct apei_exec_context *ctx, struct acpi_whea_header *entry) argument
199 erst_exec_stall_while_true(struct apei_exec_context *ctx, struct acpi_whea_header *entry) argument
228 erst_exec_skip_next_instruction_if_true( struct apei_exec_context *ctx, struct acpi_whea_header *entry) argument
246 erst_exec_goto(struct apei_exec_context *ctx, struct acpi_whea_header *entry) argument
253 erst_exec_set_src_address_base(struct apei_exec_context *ctx, struct acpi_whea_header *entry) argument
259 erst_exec_set_dst_address_base(struct apei_exec_context *ctx, struct acpi_whea_header *entry) argument
265 erst_exec_move_data(struct apei_exec_context *ctx, struct acpi_whea_header *entry) argument
[all...]
/drivers/message/i2o/
H A Diop.c94 struct i2o_context_list_element *entry; local
101 entry = kmalloc(sizeof(*entry), GFP_ATOMIC);
102 if (!entry) {
108 entry->ptr = ptr;
109 entry->timestamp = jiffies;
110 INIT_LIST_HEAD(&entry->list);
117 entry->context = atomic_read(&c->context_list_counter);
119 list_add(&entry->list, &c->context_list);
125 return entry
140 struct i2o_context_list_element *entry; local
174 struct i2o_context_list_element *entry; local
207 struct i2o_context_list_element *entry; local
[all...]
/drivers/net/ethernet/mellanox/mlx4/
H A Dmcg.c122 * Add new entry to steering data structure.
167 * steering entry, as they should also receive the packets
195 /* update the qps count and update the entry with all the promisc qps*/
213 /* update the data structures with existing steering entry */
219 struct mlx4_steer_index *tmp_entry, *entry = NULL; local
231 entry = tmp_entry;
235 if (unlikely(!entry)) {
236 mlx4_warn(dev, "Steering entry at index %x is not registered\n", index);
241 * we need to add it as a duplicate to this entry
243 list_for_each_entry(dqp, &entry
265 struct mlx4_steer_index *tmp_entry, *entry = NULL; local
303 struct mlx4_steer_index *entry = NULL, *tmp_entry; local
353 struct mlx4_steer_index *entry; local
460 struct mlx4_steer_index *entry; local
[all...]
/drivers/scsi/aacraid/
H A Dcommctrl.c179 struct list_head * entry; local
209 entry = dev->fib_list.next;
210 while (entry != &dev->fib_list) {
211 context = list_entry(entry, struct aac_fib_context, next);
215 entry = dev->fib_list.next;
217 entry = entry->next;
247 struct list_head * entry; local
259 entry = dev->fib_list.next;
262 while (entry !
348 struct list_head * entry; local
390 struct list_head * entry; local
[all...]
/drivers/net/ethernet/dlink/
H A Ddl2k.c494 unsigned int entry; local
505 entry = np->old_rx % RX_RING_SIZE;
507 if (np->rx_skbuff[entry] == NULL) {
511 np->rx_ring[entry].fraginfo = 0;
514 dev->name, entry);
517 np->rx_skbuff[entry] = skb;
518 np->rx_ring[entry].fraginfo =
523 np->rx_ring[entry].fraginfo |=
525 np->rx_ring[entry].status = 0;
606 unsigned entry; local
721 int entry = np->old_tx % TX_RING_SIZE; local
831 int entry = np->cur_rx % RX_RING_SIZE; local
[all...]
H A Dsundance.c179 from the Tx ring. After reaping the stats, it marks the Tx queue entry as
1058 int entry = np->cur_task % TX_RING_SIZE; local
1059 txdesc = &np->tx_ring[entry];
1062 entry*sizeof(struct netdev_desc));
1079 unsigned entry; local
1081 /* Calculate the next Tx descriptor entry. */
1082 entry = np->cur_tx % TX_RING_SIZE;
1083 np->tx_skbuff[entry] = skb;
1084 txdesc = &np->tx_ring[entry];
1087 txdesc->status = cpu_to_le32 ((entry <<
1248 int entry = np->dirty_tx % TX_RING_SIZE; local
1274 int entry = np->dirty_tx % TX_RING_SIZE; local
1311 int entry = np->cur_rx % RX_RING_SIZE; local
1405 int entry; local
[all...]
/drivers/infiniband/hw/cxgb4/
H A Ddevice.c266 struct c4iw_qid_list *entry; local
270 entry = list_entry(pos, struct c4iw_qid_list, entry);
271 list_del_init(&entry->entry);
272 if (!(entry->qid & rdev->qpmask))
273 c4iw_put_resource(&rdev->resource.qid_fifo, entry->qid,
275 kfree(entry);
279 entry = list_entry(pos, struct c4iw_qid_list, entry);
374 struct list_head entry; member in struct:uld_ctx
[all...]
/drivers/zorro/
H A Dproc.c135 struct proc_dir_entry *entry; local
139 entry = proc_create_data(name, 0, proc_bus_zorro_dir,
142 if (!entry)
144 entry->size = sizeof(struct zorro_dev);

Completed in 745 milliseconds

1234567891011>>