Home
last modified time | relevance | path

Searched defs:ocs (Results 1 – 25 of 27) sorted by relevance

12

/freebsd/sys/dev/ocs_fc/
H A Docs_pci.c116 ocs_map_g7_bars(device_t dev, struct ocs_softc *ocs) in ocs_map_g7_bars()
158 ocs_map_bars(device_t dev, struct ocs_softc *ocs) in ocs_map_bars()
180 ocs_setup_params(struct ocs_softc *ocs) in ocs_setup_params()
360 ocs_setup_fcports(ocs_t *ocs) in ocs_setup_fcports()
406 ocs_device_attach(ocs_t *ocs) in ocs_device_attach()
503 struct ocs_softc *ocs; in ocs_pci_attach() local
618 ocs_device_detach(ocs_t *ocs) in ocs_device_detach()
671 struct ocs_softc *ocs; in ocs_pci_detach() local
733 ocs_release_bus(struct ocs_softc *ocs) in ocs_release_bus()
773 ocs_intr_alloc(struct ocs_softc *ocs) in ocs_intr_alloc()
[all …]
H A Docs_mgmt.c221 ocs_mgmt_get_list(ocs_t *ocs, ocs_textbuf_t *textbuf) in ocs_mgmt_get_list()
293 ocs_mgmt_get(ocs_t *ocs, char *name, ocs_textbuf_t *textbuf) in ocs_mgmt_get()
376 ocs_mgmt_set(ocs_t *ocs, char *name, char *value) in ocs_mgmt_set()
457 ocs_mgmt_exec(ocs_t *ocs, char *action, void *arg_in, in ocs_mgmt_exec()
523 ocs_mgmt_get_all(ocs_t *ocs, ocs_textbuf_t *textbuf) in ocs_mgmt_get_all()
560 ocs_mgmt_firmware_reset(ocs_t *ocs, char *name, void *buf, uint32_t buf_len, void *arg_out, uint32_… in ocs_mgmt_firmware_reset()
603 ocs_mgmt_function_reset(ocs_t *ocs, char *name, void *buf, uint32_t buf_len, void *arg_out, uint32_… in ocs_mgmt_function_reset()
614 ocs_mgmt_firmware_write(ocs_t *ocs, char *name, void *buf, uint32_t buf_len, void *arg_out, uint32_… in ocs_mgmt_firmware_write()
731 ocs_t *ocs = os; in ocs_mgmt_sfp_cb() local
751 ocs_mgmt_get_sfp(ocs_t *ocs, uint16_t page, void *buf, uint32_t buf_len) in ocs_mgmt_get_sfp()
[all …]
H A Docs_xport.c64 ocs_xport_alloc(ocs_t *ocs) in ocs_xport_alloc()
89 ocs_t *ocs = xport->ocs; in ocs_xport_rq_threads_teardown() local
130 ocs_t *ocs = xport->ocs; in ocs_xport_rq_threads_create() local
187 ocs_t *ocs = xport->ocs; in ocs_xport_attach() local
305 ocs_t *ocs = xport->ocs; in ocs_xport_initialize_auto_xfer_ready() local
384 ocs_topology_setup(ocs_t *ocs) in ocs_topology_setup()
413 ocs_t *ocs = xport->ocs; in ocs_xport_initialize() local
633 ocs_t *ocs = xport->ocs; in ocs_xport_detach() local
666 ocs_xport_domain_list_empty_cb(ocs_t *ocs, void *arg) in ocs_xport_domain_list_empty_cb()
720 ocs_t *ocs = xport->ocs; in ocs_xport_force_free() local
[all …]
H A Docs_cam.c105 static inline ocs_io_t *ocs_scsi_find_io(struct ocs_softc *ocs, uint32_t tag) in ocs_scsi_find_io()
122 ocs_attach_port(ocs_t *ocs, int chan) in ocs_attach_port()
167 ocs_detach_port(ocs_t *ocs, int32_t chan) in ocs_detach_port()
199 ocs_cam_attach(ocs_t *ocs) in ocs_cam_attach()
241 ocs_cam_detach(ocs_t *ocs) in ocs_cam_detach()
272 ocs_scsi_tgt_new_device(ocs_t *ocs) in ocs_scsi_tgt_new_device()
293 ocs_scsi_tgt_del_device(ocs_t *ocs) in ocs_scsi_tgt_del_device()
371 ocs_t *ocs = sport->ocs; in ocs_scsi_tgt_new_sport() local
423 ocs_t *ocs = node->ocs; in ocs_scsi_new_initiator() local
495 ocs_t *ocs = node->ocs; in ocs_scsi_del_initiator() local
[all …]
H A Docs_ioctl.c73 struct ocs_softc *ocs = arg; in __ocs_ioctl_mbox_cb() local
86 ocs_process_sli_config (ocs_t *ocs, ocs_ioctl_elxu_mbox_t *mcmd, ocs_dma_t *dma) in ocs_process_sli_config()
197 ocs_process_mbx_ioctl(ocs_t *ocs, ocs_ioctl_elxu_mbox_t *mcmd) in ocs_process_mbx_ioctl()
279 ocs_process_ecd_helper (ocs_t *ocs, ocs_ioctl_ecd_helper_t *req) in ocs_process_ecd_helper()
359 struct ocs_softc *ocs = cdev->si_drv1; in ocs_ioctl() local
672 ocs_firmware_write(ocs_t *ocs, const uint8_t *buf, size_t buf_len, in ocs_firmware_write()
737 ocs_t *ocs = (ocs_t *)arg1; in ocs_sys_fwupgrade() local
817 ocs_t *ocs = oidp->oid_arg1; in ocs_sysctl_wwnn() local
856 ocs_t *ocs = oidp->oid_arg1; in ocs_sysctl_wwpn() local
892 ocs_t *ocs = oidp->oid_arg1; in ocs_sysctl_current_topology() local
[all …]
H A Docs_unsol.c46 #define frame_printf(ocs, hdr, fmt, ...) \ argument
80 ocs_t *ocs = thread_data->ocs; in ocs_unsol_rq_thread() local
117 ocs_t *ocs = arg; in ocs_unsol_abort_cb() local
131 ocs_port_owned_abort(ocs_t *ocs, ocs_hw_io_t *hio) in ocs_port_owned_abort()
161 ocs_t *ocs = arg; in ocs_unsolicited_cb() local
198 ocs_unsol_process(ocs_t *ocs, ocs_hw_sequence_t *seq) in ocs_unsol_process()
275 ocs_t *ocs = node->ocs; in ocs_process_node_pending() local
333 ocs_t *ocs = domain->ocs; in ocs_domain_process_pending() local
392 ocs_purge_pending(ocs_t *ocs, ocs_list_t *pend_list, ocs_lock_t *list_lock) in ocs_purge_pending()
447 ocs_t *ocs = domain->ocs; in ocs_domain_purge_pending() local
[all …]
H A Docs_io.c64 ocs_t *ocs; /* Pointer to device object */ member
101 ocs_io_pool_create(ocs_t *ocs, uint32_t num_io, uint32_t num_sgl) in ocs_io_pool_create()
192 ocs_t *ocs; in ocs_io_pool_free() local
241 ocs_t *ocs; in ocs_io_pool_io_alloc() local
284 ocs_t *ocs; in ocs_io_pool_io_free() local
315 ocs_io_find_tgt_io(ocs_t *ocs, ocs_node_t *node, uint16_t ox_id, uint16_t rx_id) in ocs_io_find_tgt_io()
342 ocs_io_get_instance(ocs_t *ocs, uint32_t index) in ocs_io_get_instance()
H A Docs_els.c165 ocs_t *ocs; in ocs_els_io_alloc_size() local
288 ocs_t *ocs; in _ocs_els_io_free() local
456 ocs_t *ocs; in ocs_els_req_cb() local
549 ocs_t *ocs; in ocs_els_acc_cb() local
616 ocs_t *ocs = node->ocs; in ocs_send_plogi() local
670 ocs_t *ocs; in ocs_send_flogi() local
730 ocs_t *ocs; in ocs_send_fdisc() local
785 ocs_t *ocs = node->ocs; in ocs_send_prli() local
848 ocs_t *ocs = node->ocs; in ocs_send_prlo() local
902 ocs_t *ocs; in ocs_send_logo() local
[all …]
H A Docs_scsi.c49 #define SCSI_ITT_SIZE(ocs) ((ocs->ocs_xport == OCS_XPORT_FC) ? 4 : 8) argument
53 #define enable_tsend_auto_resp(ocs) ((ocs->ctrlmask & OCS_CTRLMASK_XPORT_DISABLE_AUTORSP_TSEND) ==… argument
54 #define enable_treceive_auto_resp(ocs) ((ocs->ctrlmask & OCS_CTRLMASK_XPORT_DISABLE_AUTORSP_TRECEIV… argument
65 #define scsi_log(ocs, fmt, ...) \ argument
170 ocs_t *ocs; in ocs_scsi_io_alloc() local
249 ocs_t *ocs = io->ocs; in _ocs_scsi_io_free() local
320 ocs_t *ocs; in ocs_target_io_cb() local
503 ocs_t *ocs = io->ocs; in ocs_scsi_dif_check_unknown() local
602 ocs_scsi_dif_check_app_tag(ocs_t *ocs, ocs_hw_dif_info_t *dif_info, uint16_t exp_app_tag, ocs_dif_t… in ocs_scsi_dif_check_app_tag()
628 ocs_scsi_dif_check_ref_tag(ocs_t *ocs, ocs_hw_dif_info_t *dif_info, uint32_t exp_ref_tag, ocs_dif_t… in ocs_scsi_dif_check_ref_tag()
[all …]
H A Docs_gendump.c41 ocs_t *ocs; in ocs_gen_dump_reset() local
76 ocs_gen_dump(ocs_t *ocs) in ocs_gen_dump()
195 ocs_fdb_dump(ocs_t *ocs) in ocs_fdb_dump()
248 ocs_dump_to_host(ocs_t *ocs, void *buf, uint32_t buflen) in ocs_dump_to_host()
319 ocs_function_speciic_dump(ocs_t *ocs, void *buf, uint32_t buflen) in ocs_function_speciic_dump()
H A Docs_node.c48 #define SCSI_ITT_SIZE(ocs) ((ocs->ocs_xport == OCS_XPORT_FC) ? 4 : 8) argument
114 ocs_t *ocs = arg; in ocs_remote_node_cb() local
233 ocs_node_create_pool(ocs_t *ocs, uint32_t node_count) in ocs_node_create_pool()
304 ocs_node_free_pool(ocs_t *ocs) in ocs_node_free_pool()
343 ocs_node_get_instance(ocs_t *ocs, uint32_t index) in ocs_node_get_instance()
375 ocs_t *ocs = sport->ocs; in ocs_node_alloc() local
466 ocs_t *ocs; in ocs_node_free() local
627 ocs_t *ocs = node->ocs; in ocs_node_attach() local
732 ocs_t *ocs = node->ocs; in ocs_node_send_ls_io_cleanup() local
922 ocs_t *ocs; in ocs_node_initiate_cleanup() local
[all …]
H A Docs_utils.h92 ocs_t *ocs; member
141 #define OCS_LOG_ENABLE_SM_TRACE(ocs) (((ocs) != NULL) ? (((ocs)->logmask & (1U << 0)) != 0) : 0) argument
142 #define OCS_LOG_ENABLE_ELS_TRACE(ocs) (((ocs) != NULL) ? (((ocs)->logmask & (1U << 1)) != 0) : 0) argument
143 #define OCS_LOG_ENABLE_SCSI_TRACE(ocs) (((ocs) != NULL) ? (((ocs)->logmask & (1U << 2)) != 0) : 0) argument
144 #define OCS_LOG_ENABLE_SCSI_TGT_TRACE(ocs) (((ocs) != NULL) ? (((ocs)->logmask & (1U << 3)) != 0) :… argument
145 #define OCS_LOG_ENABLE_DOMAIN_SM_TRACE(ocs) (((ocs) != NULL) ? (((ocs)->logmask & (1U << 4)) != 0) … argument
146 #define OCS_LOG_ENABLE_Q_FULL_BUSY_MSG(ocs) (((ocs) != NULL) ? (((ocs)->logmask & (1U << 5)) != 0) … argument
147 #define OCS_LOG_ENABLE_IO_ERRORS(ocs) (((ocs) != NULL) ? (((ocs)->logmask & (1U << 6)) != 0) : 0) argument
214 ocs_t *ocs; member
H A Docs_ddump.c403 ocs_t *ocs = hw->os; in ocs_ddump_hw() local
635 ocs_ddump(ocs_t *ocs, ocs_textbuf_t *textbuf, uint32_t flags, uint32_t qentries) in ocs_ddump()
798 ocs_save_ddump(ocs_t *ocs, uint32_t flags, uint32_t qentries) in ocs_save_ddump()
832 ocs_t *ocs; in ocs_save_ddump_all() local
863 ocs_clear_saved_ddump(ocs_t *ocs) in ocs_clear_saved_ddump()
H A Docs_os.c99 ocs_reg_read32(ocs_t *ocs, uint32_t rset, uint32_t off) in ocs_reg_read32()
123 ocs_reg_read16(ocs_t *ocs, uint32_t rset, uint32_t off) in ocs_reg_read16()
147 ocs_reg_read8(ocs_t *ocs, uint32_t rset, uint32_t off) in ocs_reg_read8()
172 ocs_reg_write32(ocs_t *ocs, uint32_t rset, uint32_t off, uint32_t val) in ocs_reg_write32()
197 ocs_reg_write16(ocs_t *ocs, uint32_t rset, uint32_t off, uint16_t val) in ocs_reg_write16()
222 ocs_reg_write8(ocs_t *ocs, uint32_t rset, uint32_t off, uint8_t val) in ocs_reg_write8()
319 struct ocs_softc *ocs = os; in ocs_dma_free() local
361 struct ocs_softc *ocs = os; in ocs_dma_alloc() local
566 void _ocs_log(ocs_t *ocs, const char *func_name, int line, const char *fmt, ...) in _ocs_log()
884 ocs_get_bus_dev_func(ocs_t *ocs, uint8_t* bus, uint8_t* dev, uint8_t* func) in ocs_get_bus_dev_func()
H A Docs_drv_fc.h154 ocs_device_lock_init(ocs_t *ocs) in ocs_device_lock_init()
159 ocs_device_lock_free(ocs_t *ocs) in ocs_device_lock_free()
164 ocs_device_lock_try(ocs_t *ocs) in ocs_device_lock_try()
169 ocs_device_lock(ocs_t *ocs) in ocs_device_lock()
174 ocs_device_unlock(ocs_t *ocs) in ocs_device_unlock()
183 ocs_io_alloc(ocs_t *ocs) in ocs_io_alloc()
189 ocs_io_free(ocs_t *ocs, ocs_io_t *io) in ocs_io_free()
H A Docs.h76 ocs_t *ocs; member
92 #define FCPORT(ocs, chan) (&((ocs_fcport *)(ocs)->fcports)[(chan)]) argument
220 ocs_device_lock_init(ocs_t *ocs) in ocs_device_lock_init()
226 ocs_device_lock_try(ocs_t *ocs) in ocs_device_lock_try()
232 ocs_device_lock(ocs_t *ocs) in ocs_device_lock()
238 ocs_device_unlock(ocs_t *ocs) in ocs_device_unlock()
244 ocs_device_lock_free(ocs_t *ocs) in ocs_device_lock_free()
265 ocs_io_alloc(ocs_t *ocs) in ocs_io_alloc()
271 ocs_io_free(ocs_t *ocs, ocs_io_t *io) in ocs_io_free()
H A Docs_sport.c81 ocs_t *ocs = arg; in ocs_port_cb() local
920 ocs_t *ocs = domain->ocs; in ocs_vport_start() local
968 ocs_t *ocs = sport->ocs; in ocs_vport_link_down() local
1092 int32_t ocs_sport_vport_del(ocs_t *ocs, ocs_domain_t *domain, uint64_t wwpn, uint64_t wwnn) in ocs_sport_vport_del()
1152 ocs_vport_del_all(ocs_t *ocs) in ocs_vport_del_all()
1476 ocs_t *ocs = sport->ocs; in ocs_vport_update_spec() local
1513 ocs_vport_create_spec(ocs_t *ocs, uint64_t wwnn, uint64_t wwpn, uint32_t fc_id, uint32_t enable_ini… in ocs_vport_create_spec()
1739 ocs_t *ocs; in ocs_remote_node_group_alloc() local
1838 ocs_t *ocs; in ocs_node_group_init() local
H A Docs_domain.c94 ocs_t *ocs = arg; in ocs_domain_cb() local
186 ocs_domain_find(ocs_t *ocs, uint64_t fcf_wwn) in ocs_domain_find()
215 ocs_domain_alloc(ocs_t *ocs, uint64_t fcf_wwn) in ocs_domain_alloc()
272 ocs_t *ocs; in ocs_domain_free() local
353 ocs_register_domain_list_empty_cb(ocs_t *ocs, void (*callback)(ocs_t *ocs, void *arg), void *arg) in ocs_register_domain_list_empty_cb()
377 ocs_domain_get_instance(ocs_t *ocs, uint32_t index) in ocs_domain_get_instance()
H A Docs_utils.c960 ocs_queue_history_init(ocs_t *ocs, ocs_hw_q_hist_t *q_hist) in ocs_queue_history_init()
991 ocs_t *ocs = q_hist->ocs; in ocs_queue_history_free() local
1684 ocs_textbuf_alloc(ocs_t *ocs, ocs_textbuf_t *textbuf, uint32_t length) in ocs_textbuf_alloc()
1737 ocs_textbuf_segment_free(ocs_t *ocs, ocs_textbuf_segment_t *segment) in ocs_textbuf_segment_free()
1766 ocs_textbuf_init(ocs_t *ocs, ocs_textbuf_t *textbuf, void *buffer, uint32_t length) in ocs_textbuf_init()
1789 ocs_textbuf_free(ocs_t *ocs, ocs_textbuf_t *textbuf) in ocs_textbuf_free()
2309 ocs_ramlog_init(ocs_t *ocs, uint32_t buffer_len, uint32_t buffer_count) in ocs_ramlog_init()
2359 ocs_ramlog_free(ocs_t *ocs, ocs_ramlog_t *ramlog) in ocs_ramlog_free()
2391 ocs_ramlog_clear(ocs_t *ocs, ocs_ramlog_t *ramlog, int clear_start_of_day, int clear_recent) in ocs_ramlog_clear()
2424 ocs_t *ocs = os; in ocs_ramlog_printf() local
H A Docs_fabric.c1177 ocs_t *ocs = node->ocs; in ocs_fabric_initiate_shutdown() local
1853 ocs_t *ocs = node->ocs; in ocs_process_gidpt_payload() local
1990 ocs_t *ocs = sport->ocs; in ocs_p2p_setup() local
2037 ocs_t *ocs = node->ocs; in ocs_process_rscn() local
H A Docs_device.c67 ocs_t *ocs = io->ocs; in ocs_d_send_prli_rsp() local
239 ocs_t *ocs = NULL; in __ocs_d_common() local
520 ocs_t *ocs = node->ocs; in ocs_process_abts() local
H A Docs_common.h54 #define enable_target_rscn(ocs) \ argument
154 ocs_t *ocs; /**< pointer to ocs */ member
214 ocs_t *ocs; /**< pointer back to ocs */ member
322 ocs_t *ocs; /**< pointer back to ocs structure */ member
H A Docs_xport.h55 ocs_t *ocs; member
162 ocs_t *ocs; member
H A Docs_io.h70 ocs_t *ocs; /**< pointer back to ocs */ member
/freebsd/sys/dev/ufshci/
H A Dufshci_req_queue.c106 uint8_t ocs, union ufshci_reponse_upiu *response) in ufshci_req_queue_response_is_error()
128 ufshci_req_queue_manual_complete_tracker(struct ufshci_tracker *tr, uint8_t ocs, in ufshci_req_queue_manual_complete_tracker()
147 struct ufshci_request *req, uint8_t ocs, uint8_t rc) in ufshci_req_queue_manual_complete_request()
217 uint8_t ocs; in ufshci_req_queue_complete_tracker() local

12