Lines Matching refs:sim
48 typedef void (*sim_action_func)(struct cam_sim *sim, union ccb *ccb);
49 typedef void (*sim_poll_func)(struct cam_sim *sim);
63 void cam_sim_free(struct cam_sim *sim, int free_devq);
64 void cam_sim_hold(struct cam_sim *sim);
65 void cam_sim_release(struct cam_sim *sim);
68 void cam_sim_set_path(struct cam_sim *sim, uint32_t path_id);
98 cam_sim_path(const struct cam_sim *sim) in cam_sim_path() argument
100 return (sim->path_id); in cam_sim_path()
104 cam_sim_name(const struct cam_sim *sim) in cam_sim_name() argument
106 return (sim->sim_name); in cam_sim_name()
110 cam_sim_softc(const struct cam_sim *sim) in cam_sim_softc() argument
112 return (sim->softc); in cam_sim_softc()
116 cam_sim_unit(const struct cam_sim *sim) in cam_sim_unit() argument
118 return (sim->unit_number); in cam_sim_unit()
122 cam_sim_bus(const struct cam_sim *sim) in cam_sim_bus() argument
124 return (sim->bus_id); in cam_sim_bus()
128 cam_sim_pollable(const struct cam_sim *sim) in cam_sim_pollable() argument
130 return (sim->sim_poll != NULL); in cam_sim_pollable()