Home
last modified time | relevance | path

Searched refs:pqi_state_t (Results 1 – 9 of 9) sorted by relevance

/illumos-gate/usr/src/uts/common/io/scsi/adapters/smartpqi/
H A Dsmartpqi.h94 #define TRAN2PQI(hba) ((pqi_state_t *)(hba)->tran_hba_private)
421 } pqi_state_t; typedef
462 pqi_state_t *pc_softc;
552 int smartpqi_register_intrs(pqi_state_t *);
553 void smartpqi_unregister_intrs(pqi_state_t *);
554 void pqi_process_io_intr(pqi_state_t *s, pqi_queue_group_t *qg);
557 boolean_t sis_reenable_mode(pqi_state_t *s);
558 void sis_write_scratch(pqi_state_t *s, int mode);
559 uint32_t sis_read_scratch(pqi_state_t *s);
560 boolean_t sis_wait_for_ctrl_ready(pqi_state_t *s);
[all …]
H A Dsmartpqi_init.c29 boolean_t (*func)(pqi_state_t *);
32 static boolean_t pqi_reset_prep(pqi_state_t *);
33 static boolean_t pqi_ctlr_ready(pqi_state_t *);
34 static boolean_t revert_to_sis(pqi_state_t *);
35 static boolean_t pqi_calculate_io_resources(pqi_state_t *);
36 static boolean_t pqi_check_alloc(pqi_state_t *);
37 static boolean_t pqi_wait_for_mode_ready(pqi_state_t *);
38 static boolean_t save_ctrl_mode_pqi(pqi_state_t *);
39 static boolean_t pqi_process_config_table(pqi_state_t *);
40 static boolean_t pqi_alloc_admin_queue(pqi_state_t *);
[all …]
H A Dsmartpqi_sis.c50 static boolean_t sis_send_sync_cmd(pqi_state_t *s, uint32_t cmd,
54 sis_read_scratch(pqi_state_t *s) in sis_read_scratch()
60 sis_write_scratch(pqi_state_t *s, int mode) in sis_write_scratch()
66 sis_reenable_mode(pqi_state_t *s) in sis_reenable_mode()
84 sis_wait_for_ctrl_ready(pqi_state_t *s) in sis_wait_for_ctrl_ready()
104 sis_get_ctrl_props(pqi_state_t *s) in sis_get_ctrl_props()
127 sis_get_pqi_capabilities(pqi_state_t *s) in sis_get_pqi_capabilities()
144 sis_init_base_struct_addr(pqi_state_t *s) in sis_init_base_struct_addr()
183 sis_send_sync_cmd(pqi_state_t *s, uint32_t cmd, in sis_send_sync_cmd()
H A Dsmartpqi_hw.c28 static void build_aio_sg_list(pqi_state_t *s,
30 static void build_raid_sg_list(pqi_state_t *s,
32 static pqi_io_request_t *setup_aio_request(pqi_state_t *s, pqi_cmd_t *cmd);
33 static pqi_io_request_t *setup_raid_request(pqi_state_t *s, pqi_cmd_t *cmd);
34 static uint32_t read_heartbeat_counter(pqi_state_t *s);
35 static void take_ctlr_offline(pqi_state_t *s);
38 static void ack_event(pqi_state_t *s, pqi_event_t *e);
59 pqi_state_t *s = v; in pqi_watchdog()
92 pqi_start_io(pqi_state_t *s, pqi_queue_group_t *qg, pqi_path_t path, in pqi_start_io()
193 pqi_transport_command(pqi_state_t *s, pqi_cmd_t *cmd) in pqi_transport_command()
[all …]
H A Dsmartpqi_hba.c51 static int config_one(dev_info_t *pdip, pqi_state_t *s, pqi_device_t *,
53 static void abort_all(struct scsi_address *ap, pqi_state_t *s);
60 smartpqi_register_hba(pqi_state_t *s) in smartpqi_register_hba()
141 smartpqi_unregister_hba(pqi_state_t *s) in smartpqi_unregister_hba()
162 pqi_state_t *s = hba_tran->tran_hba_private; in pqi_scsi_tgt_init()
212 pqi_state_t *s = ap->a_hba_tran->tran_hba_private; in pqi_start()
292 pqi_state_t *s; in pqi_scsi_reset()
331 pqi_state_t *s = ADDR2PQI(ap); in pqi_scsi_abort()
357 pqi_state_t *s = ap->a_hba_tran->tran_hba_private; in pqi_scsi_getcap()
380 pqi_state_t *s = ADDR2PQI(ap); in pqi_scsi_setcap()
[all …]
H A Dsmartpqi_intr.c25 static int add_intrs(pqi_state_t *s, int type);
27 static void sync_error(pqi_state_t *s, pqi_io_request_t *io,
38 smartpqi_register_intrs(pqi_state_t *s) in smartpqi_register_intrs()
79 smartpqi_unregister_intrs(pqi_state_t *s) in smartpqi_unregister_intrs()
105 pqi_process_io_intr(pqi_state_t *s, pqi_queue_group_t *qg) in pqi_process_io_intr()
206 add_intrs(pqi_state_t *s, int type) in add_intrs()
389 sync_error(pqi_state_t *s, pqi_io_request_t *io, pqi_io_response_t *rsp) in sync_error()
400 process_event_intr(pqi_state_t *s) in process_event_intr()
456 pqi_state_t *s = (pqi_state_t *)arg1; in intr_handler()
H A Dsmartpqi_util.c24 static void dump_raid(pqi_state_t *s, void *v, pqi_index_t idx);
26 static void show_error_detail(pqi_state_t *s);
69 pqi_state_t *s = c->pc_softc; in cmd_remove_group()
83 pqi_state_t *s = c->pc_softc; in pqi_cmd_action_nolock()
265 pqi_is_offline(pqi_state_t *s) in pqi_is_offline()
274 pqi_alloc_io(pqi_state_t *s) in pqi_alloc_io()
323 pqi_state_t *s = io->io_softc; in pqi_free_io()
383 pqi_state_t *s; in pqi_dump_io()
487 pqi_alloc_single(pqi_state_t *s, size_t len) in pqi_alloc_single()
522 pqi_free_single(pqi_state_t *s __unused, pqi_dma_overhead_t *d) in pqi_free_single()
[all …]
H A Dsmartpqi_main.c155 pqi_state_t *s = NULL; in smartpqi_attach()
256 pqi_state_t *s; in smartpqi_detach()
335 pqi_state_t *s; in smartpqi_quiesce()
/illumos-gate/usr/src/cmd/mdb/common/modules/smartpqi/
H A Dsmartpqi.c391 pqi_display_devices(list_t s_devnodes, pqi_state_t *drvp, uint_t dev_verbose) in pqi_display_devices()
472 pqi_display_instance(pqi_state_t *pqi_statep) in pqi_display_instance()
582 pqi_state_t *pqi_drvp; in smartpqi()
584 pqi_state_t *pqi_statep; in smartpqi()
639 pqi_drvp = (pqi_state_t *)adr; in smartpqi()