Searched defs:first (Results 26 - 50 of 205) sorted by relevance

123456789

/drivers/infiniband/hw/qib/
H A Dqib_qsfp.c106 /* Some QSFP's fail first try. Retry as experiment */
249 * <first> to <next-1> and returns the 8lsbs of the sum, or <0 for errors
251 static int qsfp_cks(struct qib_pportdata *ppd, int first, int next) argument
258 while (first < next) {
259 ret = qsfp_read(ppd, first, &bval, 1);
263 ++first;
H A Dqib_tx.c55 * @first: the first PIO buffer to cancel
61 void qib_disarm_piobufs(struct qib_devdata *dd, unsigned first, unsigned cnt) argument
67 last = first + cnt;
69 for (i = first; i < last; i++) {
96 * separately, first, then remaining subctxt, if any
148 * separately, first, then remaining subctxt, if any
285 u32 first, u32 last)
296 nbufs = last - first + 1; /* number in range to check */
307 i = first;
284 qib_getsendbuf_range(struct qib_devdata *dd, u32 *pbufnum, u32 first, u32 last) argument
[all...]
/drivers/md/
H A Dmultipath.c40 * now we use the first available disk.
173 * first available device
193 * first check if this is a queued request for a device
250 int first = 0; local
254 first = last = rdev->raid_disk;
258 for (path = first; path <= last; path++)
/drivers/media/dvb-frontends/
H A Dl64781.c38 unsigned int first:1; member in struct:l64781_state
475 /* delay a bit after first init attempt */
476 if (state->first) {
477 state->first = 0;
518 state->first = 1;
/drivers/media/usb/au0828/
H A Dau0828-input.c130 bool first = true; local
166 * Fix an au8522 bug: the first pulse event
170 * protocol, based on the first space.
174 if (first) {
175 first = false;
/drivers/media/v4l2-core/
H A Dvideobuf-dma-sg.c158 unsigned long first, last; local
173 first = (data & PAGE_MASK) >> PAGE_SHIFT;
177 dma->nr_pages = last-first+1;
598 unsigned int first, last, size = 0, i; local
606 /* look for first buffer to map */
607 for (first = 0; first < VIDEO_MAX_FRAME; first++) {
608 if (buf == q->bufs[first]) {
609 size = PAGE_ALIGN(q->bufs[first]
[all...]
/drivers/mtd/tests/
H A Dtorturetest.c377 int bytes, bits, pages, first; local
398 first = countdiffs(written, read, i, pgsize, &bytes,
400 if (first < 0)
409 bytes, bits, first);
411 offset = first & ~0x7;
412 len = ((first + bytes) | 0x7) + 1 - offset;
449 * Count the number of differing bytes and bits and return the first differing
457 int first = -1; local
461 first = i;
478 return first;
[all...]
/drivers/net/ethernet/chelsio/cxgb3/
H A Dl2t.h55 * first element in its chain through its first pointer.
65 struct l2t_entry *first; /* start of hash chain */ member in struct:l2t_entry
/drivers/pcmcia/
H A Dsoc_common.h88 /* first socket in system */
89 int first; member in struct:pcmcia_low_level
/drivers/pnp/
H A Dinterface.c69 int first = 1, i; local
74 if (!first) {
77 first = 0;
102 int first = 1, i; local
108 if (!first) {
111 first = 0;
/drivers/s390/cio/
H A Ddevice_pgid.c302 struct pgid *first = NULL; local
318 if (!first) {
319 first = pgid;
322 if (pgid_cmp(pgid, first) != 0)
325 if (!first)
326 first = &channel_subsystems[0]->global_pgid;
327 *p = first;
/drivers/s390/scsi/
H A Dzfcp_qdio.c38 static void zfcp_qdio_zero_sbals(struct qdio_buffer *sbal[], int first, int cnt) argument
42 for (i = first; i < first + cnt; i++) {
146 /* set chaining flag in first SBALE of current SBAL */
158 /* start at first SBALE of new SBAL */
249 * zfcp_qdio_send - set PCI flag in first SBALE and send req to QDIO
427 /* set index of first available SBALS / number of available SBALS */
/drivers/scsi/qla2xxx/
H A Dqla_inline.h44 volatile uint16_t first; local
48 first = RD_REG_WORD(addr);
52 } while (first != second);
54 return (first);
/drivers/spi/
H A Dspi-bcm63xx.c123 static int bcm63xx_txrx_bufs(struct spi_device *spi, struct spi_transfer *first, argument
131 struct spi_transfer *t = first;
151 if (t != first)
158 if (t == first)
206 t = first;
212 if (t != first || prepend_len == 0)
226 struct spi_transfer *t, *first = NULL; local
239 if (!first)
240 first = t;
245 if (n_transfers == 2 && !first
[all...]
/drivers/staging/lustre/lnet/lnet/
H A Dlib-ptl.c465 int first = ptl->ptl_mt_maps[0]; /* read w/o lock */ local
478 cpt = (first + i) % LNET_CPT_NUMBER;
486 if (i == 0) { /* the first try, attach on stealing list */
/drivers/staging/lustre/lustre/llite/
H A Dllite_mmap.c456 int ll_teardown_mmaps(struct address_space *mapping, __u64 first, __u64 last) argument
460 LASSERTF(last > first, "last %llu first %llu\n", last, first);
463 unmap_mapping_range(mapping, first + PAGE_CACHE_SIZE - 1,
464 last - first + 1, 0);
/drivers/staging/lustre/lustre/ptlrpc/
H A Dptlrpcd.c337 int first = pc->pc_cursor; local
365 } while (rc == 0 && pc->pc_cursor != first);
/drivers/bus/
H A Dbrcmstb_gisb.c202 int i, first, last; local
242 first = ffs(gdev->valid_mask) - 1;
245 for (i = first; i < last; i++) {
/drivers/mtd/chips/
H A Dcfi_cmdset_0020.c390 /* ofs: offset within the first chip that the first read should start */
787 /* Clear the status register first */
895 int i, first; local
906 we skip to the first erase region which starts after the
924 first = i;
945 i=first;
/drivers/mtd/devices/
H A Dlart.c311 /* probe U2. U2/U3 returns the same data since the first 3
364 int i,first; local
376 * we skip to the first erase region which starts after the
392 first = i;
411 i = first;
443 /* first, we read bytes until we reach a dword boundary */
521 /* first, we write a 0xFF.... padded byte until we reach a dword boundary */
/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_fcoe.c231 /* only the first buffer may have none-zero offset */
456 * @first: first tx_buffer structure containing skb, tx_flags, and protocol
464 struct ixgbe_tx_buffer *first,
467 struct sk_buff *skb = first->skb;
505 /* the first byte of the last dword is EOF */
544 first->gso_segs = DIV_ROUND_UP(skb->len - *hdr_len,
546 first->bytecount += (first->gso_segs - 1) * *hdr_len;
547 first
463 ixgbe_fso(struct ixgbe_ring *tx_ring, struct ixgbe_tx_buffer *first, u8 *hdr_len) argument
[all...]
/drivers/net/fddi/skfp/
H A Dpmf.c1615 int first = 0 ; local
1624 if (first == 0)
1626 first = 1 ;
/drivers/pci/hotplug/
H A Dcpci_hotplug_core.c225 cpci_hp_register_bus(struct pci_bus *bus, u8 first, u8 last) argument
241 for (i = first; i <= last; ++i) {
667 static int first = 1; local
681 status = init_slots(first);
682 if (first)
683 first = 0;
/drivers/staging/speakup/
H A Dsynth.c262 static int first = 1; local
264 if (first)
265 first = 0;
/drivers/tty/serial/
H A Dnwpserial.c340 static int first = 1; local
375 if (first)
377 first = 0;

Completed in 592 milliseconds

123456789