Home
last modified time | relevance | path

Searched refs:aac_softc (Results 1 – 12 of 12) sorted by relevance

/freebsd/sys/dev/aac/
H A Daacvar.h126 struct aac_softc *aac_sc;
137 struct aac_softc *ad_controller;
156 struct aac_softc *cm_sc; /* controller that owns us */
237 int (*aif_get_fwstatus)(struct aac_softc *sc);
238 void (*aif_qnotify)(struct aac_softc *sc, int qbit);
239 int (*aif_get_istatus)(struct aac_softc *sc);
240 void (*aif_clr_istatus)(struct aac_softc *sc, int mask);
241 void (*aif_set_mailbox)(struct aac_softc *sc, u_int32_t command,
244 int (*aif_get_mailbox)(struct aac_softc *sc, int mb);
245 void (*aif_set_interrupts)(struct aac_softc *sc, int enable);
[all …]
H A Daac.c71 static void aac_add_container(struct aac_softc *sc,
73 static void aac_get_bus_info(struct aac_softc *sc);
77 static void aac_timeout(struct aac_softc *sc);
79 static int aac_bio_command(struct aac_softc *sc, struct aac_command **cmp);
82 static void aac_command_thread(struct aac_softc *sc);
89 static int aac_alloc_commands(struct aac_softc *sc);
90 static void aac_free_commands(struct aac_softc *sc);
94 static int aac_alloc(struct aac_softc *sc);
97 static int aac_check_firmware(struct aac_softc *sc);
98 static int aac_init(struct aac_softc *sc);
[all …]
H A Daac_cam.c82 static void aac_cam_rescan(struct aac_softc *sc, uint32_t channel,
108 aac_cam_rescan(struct aac_softc *sc, uint32_t channel, uint32_t target_id) in aac_cam_rescan()
144 aac_cam_event(struct aac_softc *sc, struct aac_event *event, void *arg) in aac_cam_event()
176 struct aac_softc *sc; in aac_cam_detach()
256 struct aac_softc *sc; in aac_cam_action()
525 aac_cam_fix_inquiry(struct aac_softc *sc, union ccb *ccb) in aac_cam_fix_inquiry()
576 struct aac_softc *sc; in aac_cam_complete()
627 struct aac_softc *sc; in aac_cam_reset_bus()
H A Daac_debug.c60 aac_print_queues(struct aac_softc *sc) in aac_print_queues()
130 struct aac_softc *sc; in aac_printstate0()
160 aac_panic(struct aac_softc *sc, char *reason) in aac_panic()
170 aac_print_fib(struct aac_softc *sc, struct aac_fib *fib, const char *caller) in aac_print_fib()
263 aac_print_aif(struct aac_softc *sc, struct aac_aif_command *aif) in aac_print_aif()
H A Daac_pci.c81 sizeof(struct aac_softc)
337 struct aac_softc *sc; in aac_pci_attach()
H A Daac_disk.c236 struct aac_softc *sc; in aac_disk_dump()
371 (struct aac_softc *)device_get_softc(device_get_parent(dev)); in aac_disk_attach()
/freebsd/sys/dev/aacraid/
H A Daacraid_var.h139 struct aac_softc *aac_sc;
150 struct aac_softc *ad_controller;
169 struct aac_softc *cm_sc; /* controller that owns us */
249 int (*aif_get_fwstatus)(struct aac_softc *sc);
250 void (*aif_qnotify)(struct aac_softc *sc, int qbit);
251 int (*aif_get_istatus)(struct aac_softc *sc);
252 void (*aif_clr_istatus)(struct aac_softc *sc, int mask);
253 void (*aif_set_mailbox)(struct aac_softc *sc, u_int32_t command,
256 int (*aif_get_mailbox)(struct aac_softc *sc, int mb);
257 void (*aif_access_devreg)(struct aac_softc *sc, int enable);
[all …]
H A Daacraid.c76 static void aac_add_container(struct aac_softc *sc,
79 static void aac_get_bus_info(struct aac_softc *sc);
80 static void aac_container_bus(struct aac_softc *sc);
82 static int aac_convert_sgraw2(struct aac_softc *sc, struct aac_raw_io2 *raw,
86 static void aac_timeout(struct aac_softc *sc);
87 static void aac_command_thread(struct aac_softc *sc);
88 static int aac_sync_fib(struct aac_softc *sc, u_int32_t command,
94 static int aac_alloc_commands(struct aac_softc *sc);
95 static void aac_free_commands(struct aac_softc *sc);
99 static int aac_alloc(struct aac_softc *sc);
[all …]
H A Daacraid_debug.h56 struct aac_softc;
57 extern int aacraid_get_fw_debug_buffer(struct aac_softc *);
58 extern void aacraid_fw_printf(struct aac_softc *, unsigned long, const char *, ...);
59 extern void aacraid_fw_print_mem(struct aac_softc *, unsigned long, u_int8_t *,int);
60 extern int aacraid_sync_command(struct aac_softc *sc, u_int32_t command,
H A Daacraid_cam.c106 static void aac_cam_rescan(struct aac_softc *sc, uint32_t channel,
108 static void aac_set_scsi_error(struct aac_softc *sc, union ccb *ccb,
110 static int aac_load_map_command_sg(struct aac_softc *, struct aac_command *);
140 aac_set_scsi_error(struct aac_softc *sc, union ccb *ccb, u_int8_t status, in aac_set_scsi_error()
165 aac_cam_rescan(struct aac_softc *sc, uint32_t channel, uint32_t target_id) in aac_cam_rescan()
201 aac_cam_event(struct aac_softc *sc, struct aac_event *event, void *arg) in aac_cam_event()
239 struct aac_softc *sc; in aac_cam_detach()
352 struct aac_softc *sc; in aac_container_rw_command()
506 struct aac_softc *sc; in aac_container_special_command()
843 struct aac_softc *sc; in aac_passthrough_command()
[all …]
H A Daacraid_debug.c68 aacraid_print_queues(struct aac_softc *sc) in aacraid_print_queues()
83 aacraid_print_fib(struct aac_softc *sc, struct aac_fib *fib, const char *caller) in aacraid_print_fib()
175 aacraid_print_aif(struct aac_softc *sc, struct aac_aif_command *aif) in aacraid_print_aif()
473 int aacraid_get_fw_debug_buffer(struct aac_softc *sc) in aacraid_get_fw_debug_buffer()
518 void aacraid_fw_printf(struct aac_softc *sc, unsigned long PrintFlags, const char * fmt, ...) in aacraid_fw_printf()
616 void aacraid_fw_print_mem(struct aac_softc *sc, unsigned long PrintFlags, u_int8_t *Addr, int Count) in aacraid_fw_print_mem()
H A Daacraid_pci.c81 sizeof(struct aac_softc)
149 struct aac_softc *sc; in aacraid_pci_attach()