Lines Matching refs:ocs_t

50 static int ocs_mgmt_firmware_write(ocs_t *ocs, char *, void *buf, uint32_t buf_len, void*, uint32_t…
51 static int ocs_mgmt_firmware_reset(ocs_t *ocs, char *, void *buf, uint32_t buf_len, void*, uint32_t…
52 static int ocs_mgmt_function_reset(ocs_t *ocs, char *, void *buf, uint32_t buf_len, void*, uint32_t…
55 static int ocs_mgmt_force_assert(ocs_t *ocs, char *, void *buf, uint32_t buf_len, void*, uint32_t);
59 static void get_nodes_count(ocs_t *, char *, ocs_textbuf_t*);
60 static void get_desc(ocs_t *, char *, ocs_textbuf_t*);
61 static void get_fw_rev(ocs_t *, char *, ocs_textbuf_t*);
62 static void get_fw_rev2(ocs_t *, char *, ocs_textbuf_t*);
63 static void get_ipl(ocs_t *, char *, ocs_textbuf_t*);
64 static void get_wwnn(ocs_t *, char *, ocs_textbuf_t*);
65 static void get_wwpn(ocs_t *, char *, ocs_textbuf_t*);
66 static void get_fcid(ocs_t *, char *, ocs_textbuf_t *);
67 static void get_sn(ocs_t *, char *, ocs_textbuf_t*);
68 static void get_pn(ocs_t *, char *, ocs_textbuf_t*);
69 static void get_sli4_intf_reg(ocs_t *, char *, ocs_textbuf_t*);
70 static void get_phy_port_num(ocs_t *, char *, ocs_textbuf_t*);
71 static void get_asic_id(ocs_t *, char *, ocs_textbuf_t*);
72 static void get_pci_vendor(ocs_t *, char *, ocs_textbuf_t*);
73 static void get_pci_device(ocs_t *, char *, ocs_textbuf_t*);
74 static void get_pci_subsystem_vendor(ocs_t *, char *, ocs_textbuf_t*);
75 static void get_pci_subsystem_device(ocs_t *, char *, ocs_textbuf_t*);
76 static void get_businfo(ocs_t *, char *, ocs_textbuf_t*);
77 static void get_sfp_a0(ocs_t *, char *, ocs_textbuf_t*);
78 static void get_sfp_a2(ocs_t *, char *, ocs_textbuf_t*);
79 static void get_hw_rev1(ocs_t *, char *, ocs_textbuf_t*);
80 static void get_hw_rev2(ocs_t *, char *, ocs_textbuf_t*);
81 static void get_hw_rev3(ocs_t *, char *, ocs_textbuf_t*);
82 static void get_debug_mq_dump(ocs_t*, char*, ocs_textbuf_t*);
83 static void get_debug_cq_dump(ocs_t*, char*, ocs_textbuf_t*);
84 static void get_debug_wq_dump(ocs_t*, char*, ocs_textbuf_t*);
85 static void get_debug_eq_dump(ocs_t*, char*, ocs_textbuf_t*);
86 static void get_logmask(ocs_t*, char*, ocs_textbuf_t*);
87 static void get_current_speed(ocs_t*, char*, ocs_textbuf_t*);
88 static void get_current_topology(ocs_t*, char*, ocs_textbuf_t*);
89 static void get_current_link_state(ocs_t*, char*, ocs_textbuf_t*);
90 static void get_configured_speed(ocs_t*, char*, ocs_textbuf_t*);
91 static void get_configured_topology(ocs_t*, char*, ocs_textbuf_t*);
92 static void get_configured_link_state(ocs_t*, char*, ocs_textbuf_t*);
93 static void get_linkcfg(ocs_t*, char*, ocs_textbuf_t*);
94 static void get_req_wwnn(ocs_t*, char*, ocs_textbuf_t*);
95 static void get_req_wwpn(ocs_t*, char*, ocs_textbuf_t*);
96 static void get_nodedb_mask(ocs_t*, char*, ocs_textbuf_t*);
97 static void get_profile_list(ocs_t*, char*, ocs_textbuf_t*);
98 static void get_active_profile(ocs_t*, char*, ocs_textbuf_t*);
99 static void get_port_protocol(ocs_t*, char*, ocs_textbuf_t*);
100 static void get_driver_version(ocs_t*, char*, ocs_textbuf_t*);
101 static void get_chip_type(ocs_t *ocs, char *name, ocs_textbuf_t *textbuf);
102 static void get_tgt_rscn_delay(ocs_t *ocs, char *name, ocs_textbuf_t *textbuf);
103 static void get_tgt_rscn_period(ocs_t *ocs, char *name, ocs_textbuf_t *textbuf);
104 static void get_inject_drop_cmd(ocs_t *ocs, char *name, ocs_textbuf_t *textbuf);
105 static void get_inject_free_drop_cmd(ocs_t *ocs, char *name, ocs_textbuf_t *textbuf);
106 static void get_inject_drop_data(ocs_t *ocs, char *name, ocs_textbuf_t *textbuf);
107 static void get_inject_drop_resp(ocs_t *ocs, char *name, ocs_textbuf_t *textbuf);
108 static void get_cmd_err_inject(ocs_t *ocs, char *name, ocs_textbuf_t *textbuf);
109 static void get_cmd_delay_value(ocs_t *ocs, char *name, ocs_textbuf_t *textbuf);
110 static void get_nv_wwpn(ocs_t *ocs, char *name, ocs_textbuf_t *textbuf);
111 static void get_nv_wwnn(ocs_t *ocs, char *name, ocs_textbuf_t *textbuf);
112 static void get_loglevel(ocs_t *ocs, char *name, ocs_textbuf_t *textbuf);
113 static void get_node_abort_cnt(ocs_t *ocs, char *name, ocs_textbuf_t *textbuf);
116 static int set_debug_mq_dump(ocs_t*, char*, char*);
117 static int set_debug_cq_dump(ocs_t*, char*, char*);
118 static int set_debug_wq_dump(ocs_t*, char*, char*);
119 static int set_debug_eq_dump(ocs_t*, char*, char*);
120 static int set_logmask(ocs_t*, char*, char*);
121 static int set_configured_link_state(ocs_t*, char*, char*);
122 static int set_linkcfg(ocs_t*, char*, char*);
123 static int set_nodedb_mask(ocs_t*, char*, char*);
124 static int set_port_protocol(ocs_t*, char*, char*);
125 static int set_active_profile(ocs_t*, char*, char*);
126 static int set_tgt_rscn_delay(ocs_t*, char*, char*);
127 static int set_tgt_rscn_period(ocs_t*, char*, char*);
128 static int set_inject_drop_cmd(ocs_t*, char*, char*);
129 static int set_inject_free_drop_cmd(ocs_t*, char*, char*);
130 static int set_inject_drop_data(ocs_t*, char*, char*);
131 static int set_inject_drop_resp(ocs_t*, char*, char*);
132 static int set_cmd_err_inject(ocs_t*, char*, char*);
133 static int set_cmd_delay_value(ocs_t*, char*, char*);
134 static int set_nv_wwn(ocs_t*, char*, char*);
135 static int set_loglevel(ocs_t*, char*, char*);
221 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()
565 ocs_t *other_ocs; 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()
751 ocs_mgmt_get_sfp(ocs_t *ocs, uint16_t page, void *buf, uint32_t buf_len) in ocs_mgmt_get_sfp()
794 ocs_mgmt_force_assert(ocs_t *ocs, char *name, void *buf, uint32_t buf_len, void *arg_out, uint32_t … in ocs_mgmt_force_assert()
800 get_nodes_count(ocs_t *ocs, char *name, ocs_textbuf_t *textbuf) in get_nodes_count()
808 get_driver_version(ocs_t *ocs, char *name, ocs_textbuf_t *textbuf) in get_driver_version()
814 get_desc(ocs_t *ocs, char *name, ocs_textbuf_t *textbuf) in get_desc()
820 get_fw_rev(ocs_t *ocs, char *name, ocs_textbuf_t *textbuf) in get_fw_rev()
826 get_fw_rev2(ocs_t *ocs, char *name, ocs_textbuf_t *textbuf) in get_fw_rev2()
832 get_ipl(ocs_t *ocs, char *name, ocs_textbuf_t *textbuf) in get_ipl()
838 get_hw_rev1(ocs_t *ocs, char *name, ocs_textbuf_t *textbuf) in get_hw_rev1()
848 get_hw_rev2(ocs_t *ocs, char *name, ocs_textbuf_t *textbuf) in get_hw_rev2()
858 get_hw_rev3(ocs_t *ocs, char *name, ocs_textbuf_t *textbuf) in get_hw_rev3()
867 get_wwnn(ocs_t *ocs, char *name, ocs_textbuf_t *textbuf) in get_wwnn()
877 get_wwpn(ocs_t *ocs, char *name, ocs_textbuf_t *textbuf) in get_wwpn()
887 get_fcid(ocs_t *ocs, char *name, ocs_textbuf_t *textbuf) in get_fcid()
900 get_sn(ocs_t *ocs, char *name, ocs_textbuf_t *textbuf) in get_sn()
916 get_pn(ocs_t *ocs, char *name, ocs_textbuf_t *textbuf) in get_pn()
934 get_sli4_intf_reg(ocs_t *ocs, char *name, ocs_textbuf_t *textbuf) in get_sli4_intf_reg()
942 get_phy_port_num(ocs_t *ocs, char *name, ocs_textbuf_t *textbuf) in get_phy_port_num()
954 get_asic_id(ocs_t *ocs, char *name, ocs_textbuf_t *textbuf) in get_asic_id()
962 get_chip_type(ocs_t *ocs, char *name, ocs_textbuf_t *textbuf) in get_chip_type()
1058 get_pci_vendor(ocs_t *ocs, char *name, ocs_textbuf_t *textbuf) in get_pci_vendor()
1065 get_pci_device(ocs_t *ocs, char *name, ocs_textbuf_t *textbuf) in get_pci_device()
1072 get_pci_subsystem_vendor(ocs_t *ocs, char *name, ocs_textbuf_t *textbuf) in get_pci_subsystem_vendor()
1079 get_pci_subsystem_device(ocs_t *ocs, char *name, ocs_textbuf_t *textbuf) in get_pci_subsystem_device()
1086 get_tgt_rscn_delay(ocs_t *ocs, char *name, ocs_textbuf_t *textbuf) in get_tgt_rscn_delay()
1092 get_tgt_rscn_period(ocs_t *ocs, char *name, ocs_textbuf_t *textbuf) in get_tgt_rscn_period()
1098 get_inject_drop_cmd(ocs_t *ocs, char *name, ocs_textbuf_t *textbuf) in get_inject_drop_cmd()
1105 get_inject_free_drop_cmd(ocs_t *ocs, char *name, ocs_textbuf_t *textbuf) in get_inject_free_drop_cmd()
1112 get_inject_drop_data(ocs_t *ocs, char *name, ocs_textbuf_t *textbuf) in get_inject_drop_data()
1119 get_inject_drop_resp(ocs_t *ocs, char *name, ocs_textbuf_t *textbuf) in get_inject_drop_resp()
1126 get_cmd_err_inject(ocs_t *ocs, char *name, ocs_textbuf_t *textbuf) in get_cmd_err_inject()
1132 get_cmd_delay_value(ocs_t *ocs, char *name, ocs_textbuf_t *textbuf) in get_cmd_delay_value()
1138 get_businfo(ocs_t *ocs, char *name, ocs_textbuf_t *textbuf) in get_businfo()
1144 get_sfp_a0(ocs_t *ocs, char *name, ocs_textbuf_t *textbuf) in get_sfp_a0()
1187 get_sfp_a2(ocs_t *ocs, char *name, ocs_textbuf_t *textbuf) in get_sfp_a2()
1230 get_debug_mq_dump(ocs_t *ocs, char *name, ocs_textbuf_t *textbuf) in get_debug_mq_dump()
1238 get_debug_cq_dump(ocs_t *ocs, char *name, ocs_textbuf_t *textbuf) in get_debug_cq_dump()
1246 get_debug_wq_dump(ocs_t *ocs, char *name, ocs_textbuf_t *textbuf) in get_debug_wq_dump()
1253 get_debug_eq_dump(ocs_t *ocs, char *name, ocs_textbuf_t *textbuf) in get_debug_eq_dump()
1260 get_logmask(ocs_t *ocs, char *name, ocs_textbuf_t *textbuf) in get_logmask()
1268 get_loglevel(ocs_t *ocs, char *name, ocs_textbuf_t *textbuf) in get_loglevel()
1276 get_current_speed(ocs_t *ocs, char *name, ocs_textbuf_t *textbuf) in get_current_speed()
1286 get_configured_speed(ocs_t *ocs, char *name, ocs_textbuf_t *textbuf) in get_configured_speed()
1300 get_current_topology(ocs_t *ocs, char *name, ocs_textbuf_t *textbuf) in get_current_topology()
1310 get_configured_topology(ocs_t *ocs, char *name, ocs_textbuf_t *textbuf) in get_configured_topology()
1320 get_current_link_state(ocs_t *ocs, char *name, ocs_textbuf_t *textbuf) in get_current_link_state()
1334 get_configured_link_state(ocs_t *ocs, char *name, ocs_textbuf_t *textbuf) in get_configured_link_state()
1427 get_linkcfg(ocs_t *ocs, char *name, ocs_textbuf_t *textbuf) in get_linkcfg()
1448 get_req_wwnn(ocs_t *ocs, char *name, ocs_textbuf_t *textbuf) in get_req_wwnn()
1465 get_req_wwpn(ocs_t *ocs, char *name, ocs_textbuf_t *textbuf) in get_req_wwpn()
1482 get_nodedb_mask(ocs_t *ocs, char *name, ocs_textbuf_t *textbuf) in get_nodedb_mask()
1498 set_req_wwnn(ocs_t *ocs, char *name, char *value) in set_req_wwnn()
1542 set_req_wwpn(ocs_t *ocs, char *name, char *value) in set_req_wwpn()
1585 set_nodedb_mask(ocs_t *ocs, char *name, char *value) in set_nodedb_mask()
1601 set_linkcfg(ocs_t *ocs, char *name, char *value) in set_linkcfg()
1653 set_debug_mq_dump(ocs_t *ocs, char *name, char *value) in set_debug_mq_dump()
1671 set_debug_cq_dump(ocs_t *ocs, char *name, char *value) in set_debug_cq_dump()
1689 set_debug_wq_dump(ocs_t *ocs, char *name, char *value) in set_debug_wq_dump()
1707 set_debug_eq_dump(ocs_t *ocs, char *name, char *value) in set_debug_eq_dump()
1725 set_logmask(ocs_t *ocs, char *name, char *value) in set_logmask()
1734 set_loglevel(ocs_t *ocs, char *name, char *value) in set_loglevel()
1743 set_configured_speed(ocs_t *ocs, char *name, char *value) in set_configured_speed()
1785 set_configured_topology(ocs_t *ocs, char *name, char *value) in set_configured_topology()
1829 set_configured_link_state(ocs_t *ocs, char *name, char *value) in set_configured_link_state()
1876 get_port_protocol(ocs_t *ocs, char *name, ocs_textbuf_t *textbuf) in get_port_protocol()
1944 set_port_protocol(ocs_t *ocs, char *name, char *value) in set_port_protocol()
2020 get_profile_list(ocs_t *ocs, char *name, ocs_textbuf_t *textbuf) in get_profile_list()
2096 get_active_profile(ocs_t *ocs, char *name, ocs_textbuf_t *textbuf) in get_active_profile()
2148 set_active_profile(ocs_t *ocs, char *name, char *value) in set_active_profile()
2213 get_nv_wwpn(ocs_t *ocs, char *name, ocs_textbuf_t *textbuf) in get_nv_wwpn()
2251 get_nv_wwnn(ocs_t *ocs, char *name, ocs_textbuf_t *textbuf) in get_nv_wwnn()
2288 get_node_abort_cnt(ocs_t *ocs, char *name, ocs_textbuf_t *textbuf) in get_node_abort_cnt()
2360 set_nv_wwn(ocs_t *ocs, char *name, char *wwn_p) in set_nv_wwn()
2461 set_tgt_rscn_delay(ocs_t *ocs, char *name, char *value) in set_tgt_rscn_delay()
2469 set_tgt_rscn_period(ocs_t *ocs, char *name, char *value) in set_tgt_rscn_period()
2477 set_inject_drop_cmd(ocs_t *ocs, char *name, char *value) in set_inject_drop_cmd()
2485 set_inject_free_drop_cmd(ocs_t *ocs, char *name, char *value) in set_inject_free_drop_cmd()
2493 set_inject_drop_data(ocs_t *ocs, char *name, char *value) in set_inject_drop_data()
2501 set_inject_drop_resp(ocs_t *ocs, char *name, char *value) in set_inject_drop_resp()
2509 set_cmd_err_inject(ocs_t *ocs, char *name, char *value) in set_cmd_err_inject()
2517 set_cmd_delay_value(ocs_t *ocs, char *name, char *value) in set_cmd_delay_value()