Lines Matching +full:no +full:- +full:unaligned +full:- +full:direct +full:- +full:access

1 /*-
5 * Copyright (c) 1994-2001 Justin T. Gibbs.
6 * Copyright (c) 2001-2002 Adaptec Inc.
24 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR
25 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
78 (ahd->our_id)
80 (ahd->platform_data->path)
86 ((ahd)->platform_data->sim)
89 #define offsetof(type, member) ((size_t)(&((type *)0)->member))
99 * transfer is as fragmented as possible and unaligned, this turns out to
101 * to handle any unaligned residual. The sequencer fetches SG elements
102 * in cacheline sized chucks, so make the number per-transaction an even
147 /*************************** Device Access ************************************/
149 bus_space_read_1((ahd)->tags[(port) >> 8], \
150 (ahd)->bshs[(port) >> 8], (port) & 0xFF)
153 bus_space_write_1((ahd)->tags[(port) >> 8], \
154 (ahd)->bshs[(port) >> 8], (port) & 0xFF, value)
157 aic_le16toh(bus_space_read_2((ahd)->tags[(port) >> 8], \
158 (ahd)->bshs[(port) >> 8], (port) & 0xFF))
161 bus_space_write_2((ahd)->tags[(port) >> 8], \
162 (ahd)->bshs[(port) >> 8], \
166 bus_space_write_multi_1((ahd)->tags[(port) >> 8], \
167 (ahd)->bshs[(port) >> 8], \
171 bus_space_read_multi_1((ahd)->tags[(port) >> 8], \
172 (ahd)->bshs[(port) >> 8], \
193 mtx_init(&ahd->platform_data->mtx, "ahd_lock", NULL, MTX_DEF); in ahd_lockinit()
199 mtx_lock(&ahd->platform_data->mtx); in ahd_lock()
205 mtx_unlock(&ahd->platform_data->mtx); in ahd_unlock()
219 xpt_freeze_simq(aic->platform_data->sim, /*count*/1); in aic_freeze_simq()
225 xpt_release_simq(aic->platform_data->sim, /*run queue*/TRUE); in aic_release_simq()
234 xpt_print_path(scb->io_ctx->ccb_h.path); in ahd_print_path()