Searched refs:first (Results 101 - 125 of 215) sorted by relevance

123456789

/drivers/gpu/drm/radeon/
H A Dmkregtable.c279 struct list_head *first = list->next; local
282 first->prev = prev;
283 prev->next = first;
292 * @head: the place to add it in the first list.
304 * @head: the place to add it in the first list.
316 * @head: the place to add it in the first list.
332 * @head: the place to add it in the first list.
356 * list_first_entry - get the first element from a list
669 /* first line will contain the last register
/drivers/ide/
H A Dsiimage.c644 * and then do the MMIO setup if we can. This is the first
750 static int first = 1; local
752 if (first) {
755 first = 0;
H A DKconfig59 a few first-generation SATA controllers.
297 bool "Boot off-board chipsets first support (DEPRECATED)"
474 off-board chipsets first support" (CONFIG_BLK_DEV_OFFBOARD) unless
668 bool "Probe on-board ATA/100 (Kauai) first"
/drivers/md/
H A Dmultipath.c41 * now we use the first available disk.
175 * first available device
195 * first check if this is a queued request for a device
253 int first = 0; local
257 first = last = rdev->raid_disk;
261 for (path = first; path <= last; path++)
H A Draid10.c492 * first chunk, followed by near_copies copies of the next chunk and
517 /* now calculate first sector/dev */
697 * the resync window. We take the first readable disk when
1015 * If the first succeeds but the second blocks due to the resync
1144 /* first select target devices under rcu_lock and
1397 int first = 0; local
1403 if (conf->mirrors[first].rdev &&
1404 first != ignore)
1406 first = (first
1537 int first = 0; local
1789 int i, first; local
[all...]
/drivers/tty/serial/
H A Dpnx8xxx_uart.c644 static int first = 1; local
647 if (!first)
649 first = 0;
717 * if so, search for the first available port that does have
H A Ddz.c771 static int first = 1; local
775 if (!first)
777 first = 0;
809 * line first, in which case we have to disable its transmitter and
/drivers/net/hamradio/
H A Ddmascc.c271 static struct scc_info *first; variable in typeref:struct:scc_info
285 while (first) {
286 info = first;
303 first = info->next;
602 info->next = first;
603 first = info;
1001 /* Write first byte(s) */
/drivers/scsi/aic94xx/
H A Daic94xx_hwi.c206 * asd_init_scbs - manually allocate the first SCB.
209 * This allocates the very first SCB which would be sent to the
1106 struct asd_ascb *first = NULL; local
1113 else if (!first)
1114 first = ascb;
1116 struct asd_ascb *last = list_entry(first->list.prev,
1119 list_add_tail(&ascb->list, &first->list);
1125 return first;
1136 * DMA to the host adapter this list of SCBs. But the head (first
1189 * @ascb: pointer to the first aSC
[all...]
/drivers/auxdisplay/
H A DKconfig43 The first standard parallel port address is 0x378.
/drivers/pcmcia/
H A Dpxa2xx_sharpsl.c204 .first = 0,
H A Dsa1111_generic.c147 s->soc.nr = ops->first + i;
/drivers/sn/
H A Dioc3.c339 unsigned long first, addr; local
346 addr = first = nic_find(idd, &save, 0);
347 if(!first)
365 if(addr == first)
/drivers/staging/omapdrm/
H A Dtcm-sita.c609 * NOTE: For horizontal bias we always give the first found, because our
610 * scan is horizontal-raster-based and the first candidate will always
613 bool first = criteria & CR_BIAS_HORIZONTAL; local
618 if (!first) {
628 BUG_ON(first);
648 return first;
/drivers/scsi/
H A Dscsi_scan.c564 /* Perform up to 3 passes. The first pass uses a conservative
641 /* When the first pass succeeds we gain information about
667 * the same amount as we successfully got in the first pass. */
690 * On the whole, the best approach seems to be to assume the first
959 * @buf: Output buffer with at least end-first+1 bytes of space
961 * @first: Offset of string into inq
965 unsigned first, unsigned end)
969 for (idx = 0; idx + first < end && idx + first < inq[4] + 5; idx++) {
970 if (inq[idx+first] > ' ') {
964 scsi_inq_str(unsigned char *buf, unsigned char *inq, unsigned first, unsigned end) argument
[all...]
/drivers/dma/
H A Dpl330.c334 * first request and a request with new settings.
394 /* Pointer to first xfer in the request. */
1063 * We do it by writing DMAEND as the first instruction
1065 * its first instruction to execute.
2785 struct dma_pl330_desc *first, *desc = NULL; local
2797 first = NULL;
2808 if (!first)
2813 while (!list_empty(&first->node)) {
2814 desc = list_entry(first->node.next,
2819 list_move_tail(&first
[all...]
/drivers/atm/
H A Dzatm.c182 struct rx_buffer_head *first; local
210 first = NULL;
225 if (!first) first = head;
241 if (first) {
244 zout(virt_to_bus(first),CER);
/drivers/isdn/i4l/
H A Disdn_ppp.c315 is->first = is->rq + NUM_RCV_BUFFS - 1; /* receive queue */
372 is->first = is->rq + NUM_RCV_BUFFS - 1; /* receive queue */
687 bf = is->first;
733 bf = is->first;
737 printk(KERN_WARNING "ippp: Queue is full; discarding first buffer\n");
740 is->first = bf;
773 b = is->first->next;
782 is->first = b;
888 ippp_table[i]->first = ippp_table[i]->rq + NUM_RCV_BUFFS - 1;
1561 } else { /* first lin
[all...]
/drivers/scsi/fcoe/
H A Dfcoe_ctlr.c908 int first = 0; local
915 first = list_empty(&fip->fcfs);
972 * the first advertisement we've received, do a multicast
976 if (first && time_after(jiffies, fip->sol_time + sol_tov))
989 * If this is the first validated FCF, note the time and
1063 * with first MAC(granted_mac) being the FPMA, and the
1453 struct fcoe_fcf *first; local
1455 first = list_first_entry(&fip->fcfs, struct fcoe_fcf, list);
1464 if (fcf->fabric_name != first->fabric_name ||
1465 fcf->vfid != first
[all...]
/drivers/dma/ioat/
H A Ddma.c235 struct ioat_desc_sw *first; local
245 first = to_ioat_desc(desc->tx_list.next);
249 chain_tail->hw->next = first->txd.phys;
252 dump_desc_dbg(ioat, first);
376 /* Before freeing channel resources first check
825 /* Start copy, using first DMA channel */
/drivers/net/wireless/ath/carl9170/
H A Dtx.c971 * NOTE: For the first rate, the ERP & AMPDU flags are directly
1086 struct sk_buff *skb, *first; local
1122 first = skb_peek(&tid_info->queue);
1123 tmpssn = carl9170_get_seq(first);
1142 if (!carl9170_tx_rate_check(ar, skb, first))
/drivers/scsi/aacraid/
H A Dlinit.c87 * become important. Check for on-board Raid first, add-in cards second.
355 * Read the first 1024 bytes from the disk device, if the boot
364 struct partition *first = (struct partition * )buf; local
365 struct partition *entry = first;
391 end_head = first->end_head;
392 end_sec = first->end_sector & 0x3f;
/drivers/gpio/
H A Dgpio-msm-v1.c277 #define MSM_GPIO_BANK(soc, bank, first, last) \
290 .base = (first), \
291 .ngpio = (last) - (first) + 1, \
/drivers/media/video/omap3isp/
H A Dispqueue.c298 * pages is first computed based on the buffer size, and pages are then
312 * first place.
320 unsigned int first; local
325 first = (data & PAGE_MASK) >> PAGE_SHIFT;
329 buf->npages = last - first + 1;
414 * The buffer vm_flags field is set to the first VMA flags.
839 * The v4l2_buffer structure passed from userspace is first sanity tested. If
911 * The v4l2_buffer structure passed from userspace is first sanity tested. If
/drivers/spi/
H A Dspi-bfin-sport.c529 "the first transfer len is %d\n",
575 struct bfin_sport_spi_slave_data *chip, *first = NULL; local
578 /* Only alloc (or use chip_info) on first setup */
583 chip = first = kzalloc(sizeof(*chip), GFP_KERNEL);
647 kfree(first);

Completed in 747 milliseconds

123456789