Lines Matching defs:in

9  * COPYING in the main directory of this source tree, or the
12 * Redistribution and use in source and binary forms, with or
20 * - Redistributions in binary form must reproduce the above
22 * disclaimer in the documentation and/or other materials
170 * These have to be set to user addresses in the user code via mmap.
174 * page_address() macro worked, but in 2.6.11, even that returns the
216 /* only spi_subctxt_* fields should be set in this block! */
268 * one that's not in use.
271 * in the long run, we'll allocate as many as we can, and the
273 * That means that when we fail, we have to mark the tids as not in
274 * use again, in our shadow copy.
326 /* make sure it all fits in tid_pg_list */
344 /* virtual address of first page in transfer */
381 i--; /* last tidlist[i] not filled in */
402 * don't check this tid in qib_ctxtshadow, since we
403 * just filled it in; start with the next one.
412 /* same code that's in qib_free_tid() */
415 /* just in case size changes in future */
440 * Copy the updated array, with qib_tid's filled in, back
441 * to user. Since we did the copy in already, this "should
476 * performance. We check that the TID is in range for this context
479 * be corrupted. We do check that the TID was in use, for sanity
481 * they pass in to us.
520 /* just in case size changes in future */
529 * in the middle.
588 * set in the register or the packet, and it seems
589 * cleaner to set in the register than to force all
648 * start_stop == 0 disables receive on the context, for use in queue
663 * On enable, force in-memory copy of the tail register to
665 * whether or not the chip has yet updated the in-memory
760 * in the chip.
790 * When we map the PIO buffers in the chip, we want to map them as
792 * for this in hardware, but we still prevent users from asking
971 * buffers in the chip. We have the open and close entries so we can bump
1001 * Check for 0 in case one of the allocations failed, but user
1010 * Physical addresses must fit in 40 bits for our hardware.
1045 /* in-memory copy of pioavail registers */
1060 /* in-memory copy of rcvhdrq tail register */
1302 * Allocate memory for use in qib_tid_update() at open to
1424 /* find device (with ACTIVE ports) with fewest ctxts in use */
1518 static int qib_open(struct inode *in, struct file *fp)
1520 /* The real work is performed later in qib_assign_ctxt() */
1701 * have the in-memory copy out of date at startup for this range of
1735 * explicitly set the in-memory tail copy to 0 beforehand, so we
1761 * in use
1789 static int qib_close(struct inode *in, struct file *fp)
1809 /* ensure all pio buffer writes in progress are flushed */
1949 * in trying to get the chip back to ACTIVE, and
1971 * Find all user contexts in use, and set the specified bit in their
2013 * set, if desired, and checks again in future.
2380 * Create per-unit files in /dev
2394 * Remove per-unit files in /dev