GSI Object Oriented Online Offline (Go4)
GO4-5.3.2
|
#include "typedefs.h"
#include <stdlib.h>
#include <stdio.h>
#include <errno.h>
#include <string.h>
#include <memory.h>
#include <sys/types.h>
#include <ctype.h>
#include "sbs_def.h"
#include "sys_def.h"
#include "ml_def.h"
#include "s_daqst.h"
#include "s_setup.h"
#include "s_set_ml.h"
#include "s_set_mo.h"
#include "f_stccomm.h"
#include "f_swaplw.h"
Go to the source code of this file.
Macros | |
#define | VERSION__DAQST 63 |
#define | VERSION__SETUP 63 |
#define | VERSION__SET_ML 63 |
#define | VERSION__SET_MO 63 |
Functions | |
INTS4 | f_ut_status_ini (s_daqst *ps_daqst) |
INTS4 | f_ut_status (s_daqst *ps_daqst, INTS4 l_tcp) |
INTS4 | f_ut_status_r (s_daqst *ps_daqst, INTS4 l_tcp) |
INTS4 | f_ut_setup_ini (s_setup *ps_setup) |
INTS4 | f_ut_setup_copy64 (s_setup *ps_setup, s_setup_64_receiver *src) |
INTS4 | f_ut_setup_copy32 (s_setup *ps_setup, s_setup_32_receiver *src) |
INTS4 | f_ut_setup (s_setup *ps_setup, INTU4 *pl_o, INTS4 l_tcp) |
INTS4 | f_ut_setup_r (s_setup *ps_setup, INTS4 l_tcp) |
INTS4 | f_ut_set_ml_ini (s_set_ml *ps_set_ml) |
INTS4 | f_ut_set_ml (s_set_ml *ps_set_ml, INTU4 *pl_o, INTS4 l_tcp) |
INTS4 | f_ut_set_ml_r (s_set_ml *ps_set_ml, INTS4 l_tcp) |
INTS4 | f_ut_set_mo_ini (s_set_mo *ps_set_mo) |
INTS4 | f_ut_set_mo (s_set_mo *ps_set_mo, INTS4 l_tcp) |
INTS4 | f_ut_set_mo_r (s_set_mo *ps_set_mo, INTS4 l_tcp) |
#define VERSION__DAQST 63 |
Definition at line 38 of file f_ut_status.c.
Referenced by f_ut_status_ini().
#define VERSION__SET_ML 63 |
Definition at line 40 of file f_ut_status.c.
Referenced by f_ut_set_ml_ini(), and f_ut_set_ml_r().
#define VERSION__SET_MO 63 |
Definition at line 41 of file f_ut_status.c.
Referenced by f_ut_set_mo_ini().
#define VERSION__SETUP 63 |
Definition at line 39 of file f_ut_status.c.
Referenced by f_ut_setup_ini(), and f_ut_setup_r().
Definition at line 687 of file f_ut_status.c.
References s_set_ml::c_rd_hostname, s_set_ml::c_sbs_setup_path, f_stc_write(), f_ut_set_ml_ini(), l, s_set_ml::l_fix_lw, s_set_ml::l_long_len, s_set_ml::l_n_rd_pipe, s_set_ml::l_short_len, and l_status.
Definition at line 645 of file f_ut_status.c.
References s_set_ml::c_rd_hostname, s_set_ml::l_endian, s_set_ml::l_fix_lw, s_set_ml::l_long_len, s_set_ml::l_ml__n_rd_pipe, s_set_ml::l_set_ml_lw, s_set_ml::l_short_len, s_set_ml::l_version, ML__N_RD_PIPE, and VERSION__SET_ML.
Referenced by f_ut_set_ml().
Definition at line 740 of file f_ut_status.c.
References s_set_ml::c_rd_hostname, s_set_ml::c_sbs_setup_path, f_stc_read(), f_stc_write(), f_swaplw(), s_set_ml::l_endian, s_set_ml::l_fix_lw, s_set_ml::l_long_len, s_set_ml::l_ml__n_rd_pipe, s_set_ml::l_n_rd_pipe, s_set_ml::l_short_len, l_status, s_set_ml::l_version, STC__SUCCESS, and VERSION__SET_ML.
Referenced by f_mbs_ml_setup().
Definition at line 826 of file f_ut_status.c.
References f_stc_write(), f_ut_set_mo_ini(), l, s_set_mo::l_set_mo_lw, and l_status.
Definition at line 789 of file f_ut_status.c.
References s_set_mo::c_dr_hostname, s_set_mo::c_ds_hostname, s_set_mo::l_endian, s_set_mo::l_max_nodes, s_set_mo::l_no_receivers, s_set_mo::l_no_senders, s_set_mo::l_set_mo_lw, s_set_mo::l_swap_lw, s_set_mo::l_version, MO__N_NODE, and VERSION__SET_MO.
Referenced by f_ut_set_mo().
Definition at line 859 of file f_ut_status.c.
References f_stc_read(), f_stc_write(), f_swaplw(), s_set_mo::l_endian, s_set_mo::l_max_nodes, s_set_mo::l_set_mo_lw, l_status, s_set_mo::l_swap_lw, and STC__SUCCESS.
Referenced by f_mbs_mo_setup().
Definition at line 424 of file f_ut_status.c.
References s_setup::bh_controller_id, s_setup::bh_rd_flg, s_setup::bh_sy_asy_flg, s_setup::bh_trig_stat_nr, s_setup::bi_init_tab_len, s_setup::bi_rd_tab_len, s_setup::bl_init_tab_off, s_setup::bl_loc_mem_len, s_setup::bl_max_se_len, s_setup::bl_pipe_len, s_setup::bl_pipe_off, s_setup::bl_pipe_seg_len, s_setup::bl_rd_tab_off, s_setup::bl_rem_cam_len, s_setup::bl_rem_cam_off, s_setup::bl_rem_mem_len, s_setup::bl_rem_mem_off, s_setup::bl_sbs__n_cr, s_setup::bl_sbs__n_trg_typ, s_setup::bl_trig_cvt, s_setup::bl_trig_fct, f_stc_write(), f_ut_setup_ini(), s_setup::i_se_procid, s_setup::i_se_subtyp, s_setup::i_se_typ, l, s_setup::l_fix_lw, l_status, s_setup::lp_loc_mem_base, s_setup::lp_loc_pipe_base, s_setup::lp_rem_cam_base, and s_setup::lp_rem_mem_base.
INTS4 f_ut_setup_copy32 | ( | s_setup * | ps_setup, |
s_setup_32_receiver * | src | ||
) |
Definition at line 350 of file f_ut_status.c.
References s_setup::bh_col_mode, s_setup_32_receiver::bh_col_mode, s_setup::bh_crate_nr, s_setup_32_receiver::bh_crate_nr, s_setup::bh_meb_asy_flg, s_setup_32_receiver::bh_meb_asy_flg, s_setup::bh_meb_trig_mode, s_setup_32_receiver::bh_meb_trig_mode, s_setup::bh_rd_typ, s_setup_32_receiver::bh_rd_typ, s_setup::bh_special_meb_trig_type, s_setup_32_receiver::bh_special_meb_trig_type, s_setup::bi_evt_subtyp_asy, s_setup_32_receiver::bi_evt_subtyp_asy, s_setup::bi_evt_subtyp_sy, s_setup_32_receiver::bi_evt_subtyp_sy, s_setup::bi_evt_typ_asy, s_setup_32_receiver::bi_evt_typ_asy, s_setup::bi_evt_typ_sy, s_setup_32_receiver::bi_evt_typ_sy, s_setup::bi_master, s_setup_32_receiver::bi_master, s_setup::bl_cvc_clb_off, s_setup_32_receiver::bl_cvc_clb_off, s_setup::bl_cvc_crr_off, s_setup_32_receiver::bl_cvc_crr_off, s_setup::bl_cvc_csr_off, s_setup_32_receiver::bl_cvc_csr_off, s_setup::bl_cvc_irq_len, s_setup_32_receiver::bl_cvc_irq_len, s_setup::bl_cvc_irq_mask_off, s_setup_32_receiver::bl_cvc_irq_mask_off, s_setup::bl_cvc_irq_source_off, s_setup_32_receiver::bl_cvc_irq_source_off, s_setup::bl_esone_off, s_setup_32_receiver::bl_esone_off, s_setup::bl_ev_buf_len, s_setup_32_receiver::bl_ev_buf_len, s_setup::bl_init_read_len, s_setup_32_receiver::bl_init_read_len, s_setup::bl_loc_esone_base, s_setup_32_receiver::bl_loc_esone_base, s_setup::bl_ml_pipe_base_addr, s_setup_32_receiver::bl_ml_pipe_base_addr, s_setup::bl_ml_pipe_len, s_setup_32_receiver::bl_ml_pipe_len, s_setup::bl_ml_pipe_seg_len, s_setup_32_receiver::bl_ml_pipe_seg_len, s_setup::bl_n_col_retry, s_setup_32_receiver::bl_n_col_retry, s_setup::bl_n_ev_buf, s_setup_32_receiver::bl_n_ev_buf, s_setup::bl_n_stream, s_setup_32_receiver::bl_n_stream, s_setup::bl_no_crates, s_setup_32_receiver::bl_no_crates, s_setup::bl_rem_esone_base, s_setup_32_receiver::bl_rem_esone_base, s_setup::bl_sbs__n_cr, s_setup_32_receiver::bl_sbs__n_cr, s_setup::bl_sbs__n_trg_typ, s_setup_32_receiver::bl_sbs__n_trg_typ, s_setup::bl_se_meb_asy_len, s_setup_32_receiver::bl_se_meb_asy_len, s_setup::bl_special_meb_trig_base, s_setup_32_receiver::bl_special_meb_trig_base, s_setup::h_rd_tab_flg, s_setup_32_receiver::h_rd_tab_flg, s_setup::h_se_control, s_setup_32_receiver::h_se_control, s_setup::lp_cvc_irq, and s_setup_32_receiver::lp_cvc_irq.
Referenced by f_ut_setup_r().
INTS4 f_ut_setup_copy64 | ( | s_setup * | ps_setup, |
s_setup_64_receiver * | src | ||
) |
Definition at line 277 of file f_ut_status.c.
References s_setup::bh_col_mode, s_setup_64_receiver::bh_col_mode, s_setup::bh_crate_nr, s_setup_64_receiver::bh_crate_nr, s_setup::bh_meb_asy_flg, s_setup_64_receiver::bh_meb_asy_flg, s_setup::bh_meb_trig_mode, s_setup_64_receiver::bh_meb_trig_mode, s_setup::bh_rd_typ, s_setup_64_receiver::bh_rd_typ, s_setup::bh_special_meb_trig_type, s_setup_64_receiver::bh_special_meb_trig_type, s_setup::bi_evt_subtyp_asy, s_setup_64_receiver::bi_evt_subtyp_asy, s_setup::bi_evt_subtyp_sy, s_setup_64_receiver::bi_evt_subtyp_sy, s_setup::bi_evt_typ_asy, s_setup_64_receiver::bi_evt_typ_asy, s_setup::bi_evt_typ_sy, s_setup_64_receiver::bi_evt_typ_sy, s_setup::bi_master, s_setup_64_receiver::bi_master, s_setup::bl_cvc_clb_off, s_setup_64_receiver::bl_cvc_clb_off, s_setup::bl_cvc_crr_off, s_setup_64_receiver::bl_cvc_crr_off, s_setup::bl_cvc_csr_off, s_setup_64_receiver::bl_cvc_csr_off, s_setup::bl_cvc_irq_len, s_setup_64_receiver::bl_cvc_irq_len, s_setup::bl_cvc_irq_mask_off, s_setup_64_receiver::bl_cvc_irq_mask_off, s_setup::bl_cvc_irq_source_off, s_setup_64_receiver::bl_cvc_irq_source_off, s_setup::bl_esone_off, s_setup_64_receiver::bl_esone_off, s_setup::bl_ev_buf_len, s_setup_64_receiver::bl_ev_buf_len, s_setup::bl_init_read_len, s_setup_64_receiver::bl_init_read_len, s_setup::bl_loc_esone_base, s_setup_64_receiver::bl_loc_esone_base, s_setup::bl_ml_pipe_base_addr, s_setup_64_receiver::bl_ml_pipe_base_addr, s_setup::bl_ml_pipe_len, s_setup_64_receiver::bl_ml_pipe_len, s_setup::bl_ml_pipe_seg_len, s_setup_64_receiver::bl_ml_pipe_seg_len, s_setup::bl_n_col_retry, s_setup_64_receiver::bl_n_col_retry, s_setup::bl_n_ev_buf, s_setup_64_receiver::bl_n_ev_buf, s_setup::bl_n_stream, s_setup_64_receiver::bl_n_stream, s_setup::bl_no_crates, s_setup_64_receiver::bl_no_crates, s_setup::bl_rem_esone_base, s_setup_64_receiver::bl_rem_esone_base, s_setup::bl_sbs__n_cr, s_setup_64_receiver::bl_sbs__n_cr, s_setup::bl_sbs__n_trg_typ, s_setup_64_receiver::bl_sbs__n_trg_typ, s_setup::bl_se_meb_asy_len, s_setup_64_receiver::bl_se_meb_asy_len, s_setup::bl_special_meb_trig_base, s_setup_64_receiver::bl_special_meb_trig_base, s_setup::h_rd_tab_flg, s_setup_64_receiver::h_rd_tab_flg, s_setup::h_se_control, s_setup_64_receiver::h_se_control, s_setup::lp_cvc_irq, and s_setup_64_receiver::lp_cvc_irq.
Referenced by f_ut_setup_r().
Definition at line 234 of file f_ut_status.c.
References s_setup::bl_sbs__n_cr, s_setup::bl_sbs__n_trg_typ, s_setup::bl_struc_len, s_setup::l_endian, s_setup::l_fix_lw, s_setup::l_version, s_setup::lp_rem_mem_base, SBS__N_CR, SBS__N_TRG_TYP, and VERSION__SETUP.
Referenced by f_ut_setup().
Definition at line 511 of file f_ut_status.c.
References s_setup::bh_controller_id, s_setup::bh_rd_flg, s_setup::bh_sy_asy_flg, s_setup::bh_trig_stat_nr, s_setup::bi_init_tab_len, s_setup::bi_rd_tab_len, s_setup::bl_init_tab_off, s_setup::bl_loc_mem_len, s_setup::bl_max_se_len, s_setup::bl_pipe_len, s_setup::bl_pipe_off, s_setup::bl_pipe_seg_len, s_setup::bl_rd_tab_off, s_setup::bl_rem_cam_len, s_setup::bl_rem_cam_off, s_setup::bl_rem_mem_len, s_setup::bl_rem_mem_off, s_setup_32_receiver::bl_sbs__n_cr, s_setup_64_receiver::bl_sbs__n_cr, s_setup::bl_sbs__n_trg_typ, s_setup::bl_trig_cvt, s_setup::bl_trig_fct, f_stc_read(), f_stc_write(), f_swaplw(), f_ut_setup_copy32(), f_ut_setup_copy64(), s_setup::i_se_procid, s_setup::i_se_subtyp, s_setup::i_se_typ, s_setup::l_endian, s_setup::l_fix_lw, l_status, s_setup::l_version, s_setup::lp_loc_mem_base, s_setup::lp_loc_pipe_base, s_setup::lp_rem_cam_base, s_setup::lp_rem_mem_base, STC__SUCCESS, and VERSION__SETUP.
Referenced by f_mbs_setup().
Definition at line 119 of file f_ut_status.c.
References f_stc_write(), l, s_daqst::l_fix_lw, s_daqst::l_procs_run, s_daqst::l_sbs__str_len_64, and l_status.
Definition at line 69 of file f_ut_status.c.
References s_daqst::bh_daqst_initalized, s_daqst::c_pname, s_daqst::l_daqst_lw, s_daqst::l_endian, s_daqst::l_fix_lw, s_daqst::l_sbs__n_trg_typ, s_daqst::l_sbs__str_len_64, s_daqst::l_sys__n_max_procs, s_daqst::l_version, SBS__N_TRG_TYP, SBS__STR_LEN_64, SYS__N_MAX_PROCS, and VERSION__DAQST.
Definition at line 157 of file f_ut_status.c.
References s_daqst::bh_daqst_initalized, s_daqst::bh_running, s_daqst::c_out_chan, s_daqst::c_pname, s_daqst::c_user, f_stc_read(), f_stc_write(), f_swaplw(), s_daqst::l_endian, s_daqst::l_fix_lw, s_daqst::l_procs_run, s_daqst::l_sbs__n_trg_typ, s_daqst::l_sbs__str_len_64, l_status, s_daqst::l_sys__n_max_procs, s_daqst::l_version, and STC__SUCCESS.
Referenced by f_mbs_ml_setup(), f_mbs_mo_setup(), f_mbs_setup(), and f_mbs_status().