Changeset View
Changeset View
Standalone View
Standalone View
sys/cam/cam_periph.h
Context not available. | |||||
void *arg); | void *arg); | ||||
typedef void periph_oninv_t (struct cam_periph *periph); | typedef void periph_oninv_t (struct cam_periph *periph); | ||||
typedef void periph_dtor_t (struct cam_periph *periph); | typedef void periph_dtor_t (struct cam_periph *periph); | ||||
typedef void periph_alloc_rel_t (struct cam_periph *periph); | |||||
typedef void periph_status_t (struct cam_periph *periph); | |||||
struct cam_periph { | struct cam_periph { | ||||
periph_start_t *periph_start; | periph_start_t *periph_start; | ||||
periph_oninv_t *periph_oninval; | periph_oninv_t *periph_oninval; | ||||
periph_dtor_t *periph_dtor; | periph_dtor_t *periph_dtor; | ||||
periph_alloc_rel_t *periph_alloc_rel; | |||||
periph_status_t *periph_status; | |||||
char *periph_name; | char *periph_name; | ||||
struct cam_path *path; /* Compiled path to device */ | struct cam_path *path; /* Compiled path to device */ | ||||
void *softc; | void *softc; | ||||
Context not available. | |||||
#define CAM_PERIPH_RUN_TASK 0x40 | #define CAM_PERIPH_RUN_TASK 0x40 | ||||
#define CAM_PERIPH_FREE 0x80 | #define CAM_PERIPH_FREE 0x80 | ||||
#define CAM_PERIPH_ANNOUNCED 0x100 | #define CAM_PERIPH_ANNOUNCED 0x100 | ||||
#define CAM_PERIPH_ALLOC_REF 0x200 | |||||
uint32_t scheduled_priority; | uint32_t scheduled_priority; | ||||
uint32_t immediate_priority; | uint32_t immediate_priority; | ||||
int periph_allocating; | int periph_allocating; | ||||
Context not available. |