Lines Matching +full:per +full:- +full:device
1 /* SPDX-License-Identifier: GPL-2.0 */
5 * Copyright (C) 2008 Hewlett-Packard Development Company, L.P.
13 /* max number of open channel control blocks per device, hw limited to 32 */
15 /* min number of open channel control blocks per device, hw limited to 32 */
23 /* per spin wait time in usec */
29 * Per device, used to track global memory allocations.
32 /* mmio registers on device */
35 /* doorbell registers on device */
38 /* shared memory on device used for channel control blocks */
41 /* files corresponding to this device */
49 * -> alloc_lock used when adding/removing/searching ccb_alloc,
50 * which represents all ccbs open on the device
51 * --> fifo_lock controls access to fifo queues shared with hw
127 * Per fd structure used to track the ccb allocated to that dev file.
136 /* hardware ccb is written to this shared mapped device memory */
144 /* pointer to hardware device info */
166 u64 reset; /* set to non-zero when the target device resets */
167 u8 pad_0[ILO_CACHE_SZ - (sizeof(u64) * 4)];
170 u8 pad_1[ILO_CACHE_SZ - (sizeof(u64))];
173 u8 pad_2[ILO_CACHE_SZ - (sizeof(u64))];
181 ((struct fifo *)(((char *)(_fifo)) - FIFOHANDLESIZE))
201 #define ENTRY_MASK ((1 << ENTRY_BITS_TOTAL) - 1)
202 #define ENTRY_MASK_C (((1 << ENTRY_BITS_C) - 1) << ENTRY_BITPOS_C)
203 #define ENTRY_MASK_O (((1 << ENTRY_BITS_O) - 1) << ENTRY_BITPOS_O)
205 (((1 << ENTRY_BITS_QWORDS) - 1) << ENTRY_BITPOS_QWORDS)
207 (((1 << ENTRY_BITS_DESCRIPTOR) - 1) << ENTRY_BITPOS_DESCRIPTOR)