cam_periph.h (6cec9cad762b6476313fb1f8e931a1647822db6b) | cam_periph.h (de2393124c0053d832da9e6de0f675e888ed61c7) |
---|---|
1/*- 2 * Data structures and definitions for CAM peripheral ("type") drivers. 3 * 4 * Copyright (c) 1997, 1998 Justin T. Gibbs. 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 146 unchanged lines hidden (view full) --- 155void cam_periph_doacquire(struct cam_periph *periph); 156void cam_periph_release(struct cam_periph *periph); 157void cam_periph_release_locked(struct cam_periph *periph); 158void cam_periph_release_locked_buses(struct cam_periph *periph); 159int cam_periph_hold(struct cam_periph *periph, int priority); 160void cam_periph_unhold(struct cam_periph *periph); 161void cam_periph_invalidate(struct cam_periph *periph); 162int cam_periph_mapmem(union ccb *ccb, | 1/*- 2 * Data structures and definitions for CAM peripheral ("type") drivers. 3 * 4 * Copyright (c) 1997, 1998 Justin T. Gibbs. 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 146 unchanged lines hidden (view full) --- 155void cam_periph_doacquire(struct cam_periph *periph); 156void cam_periph_release(struct cam_periph *periph); 157void cam_periph_release_locked(struct cam_periph *periph); 158void cam_periph_release_locked_buses(struct cam_periph *periph); 159int cam_periph_hold(struct cam_periph *periph, int priority); 160void cam_periph_unhold(struct cam_periph *periph); 161void cam_periph_invalidate(struct cam_periph *periph); 162int cam_periph_mapmem(union ccb *ccb, |
163 struct cam_periph_map_info *mapinfo); | 163 struct cam_periph_map_info *mapinfo, 164 u_int maxmap); |
164void cam_periph_unmapmem(union ccb *ccb, 165 struct cam_periph_map_info *mapinfo); 166union ccb *cam_periph_getccb(struct cam_periph *periph, 167 u_int32_t priority); 168void cam_periph_ccbwait(union ccb *ccb); 169int cam_periph_runccb(union ccb *ccb, 170 int (*error_routine)(union ccb *ccb, 171 cam_flags camflags, --- 82 unchanged lines hidden --- | 165void cam_periph_unmapmem(union ccb *ccb, 166 struct cam_periph_map_info *mapinfo); 167union ccb *cam_periph_getccb(struct cam_periph *periph, 168 u_int32_t priority); 169void cam_periph_ccbwait(union ccb *ccb); 170int cam_periph_runccb(union ccb *ccb, 171 int (*error_routine)(union ccb *ccb, 172 cam_flags camflags, --- 82 unchanged lines hidden --- |