Searched refs:entry (Results 176 - 200 of 524) sorted by path

1234567891011>>

/drivers/media/rc/
H A Drc-main.c444 struct rc_map_table *entry; local
463 entry = &rc_map->scan[index];
466 ke->keycode = entry->keycode;
467 ke->len = sizeof(entry->scancode);
468 memcpy(ke->scancode, &entry->scancode, sizeof(entry->scancode));
/drivers/media/video/cx18/
H A Dcx18-ioctl.c757 e_idx = &idx->entry[idx->entries];
777 e_idx = &idx->entry[idx->entries];
858 /* Extract the Index entry data from the MDL and buffers */
/drivers/media/video/ivtv/
H A Divtv-ioctl.c1244 struct v4l2_enc_idx_entry *e = idx->entry;
1354 V4L2_PIX_FMT_PAL8, /* Uses a 256-entry RGB colormap */
1362 V4L2_PIX_FMT_PAL8, /* Uses a 256-entry YUV colormap */
/drivers/message/i2o/
H A Ddevice.c210 * @entry: LCT entry of the I2O device
212 * Allocate a new I2O device and initialize it with the LCT entry. The
217 static int i2o_device_add(struct i2o_controller *c, i2o_lct_entry *entry) argument
228 i2o_dev->lct_data = *entry;
343 * board. For every entry we create an I2O device, which is registered in
382 i2o_lct_entry *entry = &lct->lct_entry[max]; local
386 entry->entry_size = buf & 0xffff;
387 entry->tid = buf >> 16 & 0xfff;
389 entry
[all...]
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/mfd/
H A Dtimberdale.c717 msix_entries[i].entry = i;
/drivers/misc/
H A DKconfig423 entry will be created for that controller. User can use these
518 Creates an rfkill entry in sysfs for power control of Bluetooth
H A Dhpilo.c35 static inline int get_entry_id(int entry) argument
37 return (entry & ENTRY_MASK_DESCRIPTOR) >> ENTRY_BITPOS_DESCRIPTOR;
40 static inline int get_entry_len(int entry) argument
42 return ((entry & ENTRY_MASK_QWORDS) >> ENTRY_BITPOS_QWORDS) << 3;
59 * If a queue has empty slots, an entry is added to the queue tail,
60 * and that entry is marked as occupied.
62 * has marked the entry as consumed.
66 static int fifo_enqueue(struct ilo_hwinfo *hw, char *fifobar, int entry) argument
76 (entry & ENTRY_MASK_NOSTATE) | fifo_q->merge;
85 static int fifo_dequeue(struct ilo_hwinfo *hw, char *fifobar, int *entry) argument
128 int entry; local
143 int entry = 0, pkt_id = 0; local
[all...]
H A Dlkdtm.c379 if (lkdtm.entry != NULL)
388 lkdtm.entry = (kprobe_opcode_t*) jp_do_irq;
392 lkdtm.entry = (kprobe_opcode_t*) jp_handle_irq_event;
396 lkdtm.entry = (kprobe_opcode_t*) jp_tasklet_action;
400 lkdtm.entry = (kprobe_opcode_t*) jp_ll_rw_block;
404 lkdtm.entry = (kprobe_opcode_t*) jp_shrink_inactive_list;
408 lkdtm.entry = (kprobe_opcode_t*) jp_hrtimer_start;
412 lkdtm.entry = (kprobe_opcode_t*) jp_scsi_dispatch_cmd;
417 lkdtm.entry = (kprobe_opcode_t*) jp_generic_ide_ioctl;
547 /* Special entry t
[all...]
H A Duid_stat.c42 struct uid_stat *entry; local
45 list_for_each_entry(entry, &uid_list, link) {
46 if (entry->uid == uid) {
48 return entry;
91 /* Create a new entry for tracking the specified uid. */
96 struct proc_dir_entry *entry; local
112 entry = proc_mkdir(uid_s, parent);
115 create_proc_read_entry("tcp_snd", S_IRUGO, entry , tcp_snd_read_proc,
118 create_proc_read_entry("tcp_rcv", S_IRUGO, entry, tcp_rcv_read_proc,
125 struct uid_stat *entry; local
136 struct uid_stat *entry; local
[all...]
/drivers/misc/carma/
H A Dcarma-fpga.c143 struct list_head entry; member in struct:data_buf
251 INIT_LIST_HEAD(&buf->entry);
285 list_for_each_entry_safe(buf, tmp, &priv->free, entry) {
286 list_del_init(&buf->entry);
291 list_for_each_entry_safe(buf, tmp, &priv->used, entry) {
292 list_del_init(&buf->entry);
339 list_add_tail(&buf->entry, &priv->free);
594 list_move_tail(&priv->inflight->entry, &priv->used);
736 buf = list_first_entry(&priv->free, struct data_buf, entry);
737 list_del_init(&buf->entry);
911 struct list_head *entry; local
[all...]
/drivers/misc/ibmasm/
H A Dibmasmfs.c607 struct list_head *entry; local
610 list_for_each(entry, &service_processors) {
613 sp = list_entry(entry, struct service_processor, node);
/drivers/misc/sgi-gru/
H A Dgrufile.c72 struct list_head *entry, *next; local
81 list_for_each_safe(entry, next, &vdata->vd_head) {
83 list_entry(entry, struct gru_thread_state, ts_next);
H A Dgruprocfs.c329 struct proc_dir_entry *entry; member in struct:proc_entry
344 p->entry = proc_create(p->name, p->mode, proc_gru, p->fops);
345 if (!p->entry)
356 if (p->entry)
/drivers/misc/sgi-xp/
H A Dxpc_uv.c1086 int entry; local
1095 for (entry = 0; entry < nentries; entry++) {
1096 msg_slot = &ch_uv->send_msg_slots[entry];
1098 msg_slot->msg_slot_number = entry;
1120 int entry; local
1129 for (entry = 0; entry < nentries; entry
1331 struct xpc_fifo_entry_uv *entry; local
1390 int entry = msg->hdr.msg_slot_number % ch->local_nentries; local
1622 int entry; local
1643 struct xpc_fifo_entry_uv *entry; local
[all...]
/drivers/mtd/devices/
H A Ddocg3.c1781 struct dentry *root, *entry; local
1787 entry = debugfs_create_file("flashcontrol", S_IRUSR, root, docg3,
1789 if (entry)
1790 entry = debugfs_create_file("asic_mode", S_IRUSR, root,
1792 if (entry)
1793 entry = debugfs_create_file("device_id", S_IRUSR, root,
1795 if (entry)
1796 entry = debugfs_create_file("protection", S_IRUSR, root,
1798 if (entry) {
/drivers/mtd/
H A Drfd_ftl.c107 u16 entry; local
109 entry = le16_to_cpu(part->header_cache[HEADER_MAP_OFFSET + i]);
111 if (entry == SECTOR_DELETED)
114 if (entry == SECTOR_FREE) {
119 if (entry == SECTOR_ZERO)
120 entry = 0;
122 if (entry >= part->sector_count) {
124 "'%s': unit #%d: entry %d corrupt, "
126 part->mbd.mtd->name, block_no, i, entry);
130 if (part->sector_map[entry] !
389 u16 entry = le16_to_cpu(map[HEADER_MAP_OFFSET + i]); local
648 u16 entry; local
[all...]
/drivers/net/bonding/
H A Dbond_alb.c123 static inline void tlb_init_table_entry(struct tlb_client_info *entry, int save_load) argument
126 entry->load_history = 1 + entry->tx_bytes /
128 entry->tx_bytes = 0;
131 entry->tx_slave = NULL;
132 entry->next = TLB_NULL_INDEX;
133 entry->prev = TLB_NULL_INDEX;
633 /* the entry is already assigned to this client */
645 /* the entry is already assigned to some other client,
647 * that the new client can be assigned to this entry
772 rlb_init_table_entry(struct rlb_client_info *entry) argument
[all...]
/drivers/net/can/mscan/
H A Dmscan.c473 struct tx_queue_entry *entry = local
475 u8 mask = entry->mask;
483 can_get_echo_skb(dev, entry->id);
/drivers/net/ethernet/3com/
H A D3c515.c287 /* Values for the Rx status entry. */
310 unsigned int cur_rx, cur_tx; /* The next free ring entry */
1012 /* Calculate the next Tx descriptor entry. */
1013 int entry = vp->cur_tx % TX_RING_SIZE; local
1028 vp->tx_skbuff[entry] = skb;
1029 vp->tx_ring[entry].next = 0;
1030 vp->tx_ring[entry].addr = isa_virt_to_bus(skb->data);
1031 vp->tx_ring[entry].length = skb->len | 0x80000000;
1032 vp->tx_ring[entry].status = skb->len | 0x80000000;
1041 prev_entry->next = isa_virt_to_bus(&vp->tx_ring[entry]);
1176 int entry = dirty_tx % TX_RING_SIZE; local
1333 int entry = vp->cur_rx % RX_RING_SIZE; local
[all...]
H A D3c59x.c544 __le32 next; /* Last entry points to 0. */
549 /* Values for the Rx status entry. */
564 __le32 next; /* Last entry points to 0. */
577 /* Values for the Tx status entry. */
604 unsigned int cur_rx, cur_tx; /* The next free ring entry */
2129 /* Calculate the next Tx descriptor entry. */
2130 int entry = vp->cur_tx % TX_RING_SIZE; local
2157 vp->tx_skbuff[entry] = skb;
2159 vp->tx_ring[entry].next = 0;
2162 vp->tx_ring[entry]
2403 int entry = dirty_tx % TX_RING_SIZE; local
2548 int entry = vp->cur_rx % RX_RING_SIZE; local
[all...]
/drivers/net/ethernet/adaptec/
H A Dstarfire.c272 from the Tx ring. After reaping the stats, it marks the Tx queue entry as
464 /* Completion queue entry. */
997 /* The first entry is special because it bypasses the VLAN filter.
1199 /* Mark the last entry as wrapping the ring. */
1216 unsigned int entry; local
1236 entry = np->cur_tx % TX_RING_SIZE;
1242 np->tx_info[entry].skb = skb;
1244 if (entry >= TX_RING_SIZE - skb_num_frags(skb)) {
1258 np->tx_info[entry].mapping =
1263 np->tx_info[entry]
1368 u16 entry = (tx_status & 0x7fff) / sizeof(starfire_tx_desc); local
1445 int entry; local
1592 int entry = -1; local
[all...]
/drivers/net/ethernet/amd/
H A D7990.c537 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);
H A Da2065.c540 int entry, skblen; local
560 entry = lp->tx_new & lp->tx_ring_mod_mask;
561 ib->btx_ring[entry].length = (-skblen) | 0xf000;
562 ib->btx_ring[entry].misc = 0;
564 skb_copy_from_linear_data(skb, (void *)&ib->tx_buf[entry][0], skblen);
567 ib->btx_ring[entry].tmd1_bits = (LE_T1_POK | LE_T1_OWN);
H A Dariadne.c91 int cur_tx, cur_rx; /* The next free ring entry */
163 int entry = priv->cur_rx % RX_RING_SIZE; local
166 /* If we own the next entry, it's a new packet. Send it up */
167 while (!(lowb(priv->rx_ring[entry]->RMD1) & RF_OWN)) {
168 int status = lowb(priv->rx_ring[entry]->RMD1);
188 priv->rx_ring[entry]->RMD1 &= 0xff00 | RF_STP | RF_ENP;
191 short pkt_len = swapw(priv->rx_ring[entry]->RMD3);
198 if (lowb(priv->rx_ring[(entry + i) % RX_RING_SIZE]->RMD1) & RF_OWN)
203 priv->rx_ring[entry]->RMD1 |= RF_OWN;
213 (const void *)priv->rx_buff[entry],
309 int entry = dirty_tx % TX_RING_SIZE; local
548 int entry; local
[all...]

Completed in 490 milliseconds

1234567891011>>