Changeset View
Changeset View
Standalone View
Standalone View
sys/cam/cam_periph.h
Show First 20 Lines • Show All 191 Lines • ▼ Show 20 Lines | |||||
void cam_periph_async(struct cam_periph *periph, u_int32_t code, | void cam_periph_async(struct cam_periph *periph, u_int32_t code, | ||||
struct cam_path *path, void *arg); | struct cam_path *path, void *arg); | ||||
void cam_periph_bus_settle(struct cam_periph *periph, | void cam_periph_bus_settle(struct cam_periph *periph, | ||||
u_int bus_settle_ms); | u_int bus_settle_ms); | ||||
void cam_periph_freeze_after_event(struct cam_periph *periph, | void cam_periph_freeze_after_event(struct cam_periph *periph, | ||||
struct timeval* event_time, | struct timeval* event_time, | ||||
u_int duration_ms); | u_int duration_ms); | ||||
int cam_periph_error(union ccb *ccb, cam_flags camflags, | int cam_periph_error(union ccb *ccb, cam_flags camflags, | ||||
u_int32_t sense_flags, union ccb *save_ccb); | u_int32_t sense_flags); | ||||
static __inline struct mtx * | static __inline struct mtx * | ||||
cam_periph_mtx(struct cam_periph *periph) | cam_periph_mtx(struct cam_periph *periph) | ||||
{ | { | ||||
return (xpt_path_mtx(periph->path)); | return (xpt_path_mtx(periph->path)); | ||||
} | } | ||||
#define cam_periph_owned(periph) \ | #define cam_periph_owned(periph) \ | ||||
▲ Show 20 Lines • Show All 53 Lines • Show Last 20 Lines |