bcm_time_* (56)

int bcm_time_bs_log_configure_get(int unit, bcm_time_bs_log_cfg_t *bs_log_cfg);
int bcm_time_bs_log_configure_set(int unit, bcm_time_bs_log_cfg_t bs_log_cfg);
int bcm_time_bs_time_get(int unit, bcm_time_spec_t *bs_time);
int bcm_time_capture_cb_register(int unit, bcm_time_if_t id, bcm_time_capture_cb_type_t cb_type, bcm_time_capture_cb cb, void *user_data);
int bcm_time_capture_cb_unregister(int unit, bcm_time_if_t id, bcm_time_capture_cb_type_t cb_type);
int bcm_time_capture_enable_set(int unit, bcm_time_if_t id, bcm_time_capture_t *time_capture, int enable, int *capture_handle);
int bcm_time_capture_get(int unit, bcm_time_if_t intf_id, bcm_time_capture_t *time);
void bcm_time_capture_t_init(bcm_time_capture_t *capture);
int bcm_time_deinit(int unit);
int bcm_time_gpio_config_get(int unit, int gpio_num, bcm_time_gpio_config_t *gpio_cfg);  /* not in OpenBCM 6.5.27 */
int bcm_time_gpio_config_set(int unit, int gpio_num, bcm_time_gpio_config_t *gpio_cfg);  /* not in OpenBCM 6.5.27 */
int bcm_time_heartbeat_enable_get(int unit, bcm_time_if_t id, int *enable);
int bcm_time_heartbeat_enable_set(int unit, bcm_time_if_t id, int enable);
int bcm_time_heartbeat_register(int unit, bcm_time_if_t id, bcm_time_heartbeat_cb f, void *user_data);
int bcm_time_heartbeat_unregister(int unit, bcm_time_if_t id);
int bcm_time_init(int unit);
int bcm_time_interface_add(int unit, bcm_time_interface_t *intf);
int bcm_time_interface_delete(int unit, bcm_time_if_t intf_id);
int bcm_time_interface_delete_all(int unit);
int bcm_time_interface_get(int unit, bcm_time_interface_t *intf);
void bcm_time_interface_t_init(bcm_time_interface_t *intf);
int bcm_time_interface_traverse(int unit, bcm_time_interface_traverse_cb cb, void *user_data);
int bcm_time_rx_timestamp_profile_create(int unit, bcm_time_rx_timestamp_profile_t *profile, int *profile_id);
int bcm_time_rx_timestamp_profile_destroy(int unit, int profile_id);
int bcm_time_rx_timestamp_profile_get(int unit, int profile_id, bcm_time_rx_timestamp_profile_t *profile);
void bcm_time_rx_timestamp_profile_t_init(bcm_time_rx_timestamp_profile_t *profile);
void bcm_time_spec_t_init(bcm_time_spec_t *spec);
int bcm_time_synce_clock_get(int unit, bcm_time_synce_clock_src_type_t clk_src, bcm_time_synce_divisor_setting_t *divisor_setting);
int bcm_time_synce_clock_set(int unit, bcm_time_synce_clock_src_type_t clk_src, bcm_time_synce_divisor_setting_t *divisor_setting);
int bcm_time_synce_clock_source_control_get(int unit, bcm_time_synce_clock_source_config_t *clk_src_config, bcm_time_synce_clock_source_control_t control, int *value);
int bcm_time_synce_clock_source_control_set(int unit, bcm_time_synce_clock_source_config_t *clk_src_config, bcm_time_synce_clock_source_control_t control, int value);
void bcm_time_synce_divisor_setting_t_init(bcm_time_synce_divisor_setting_t *divisor);
int bcm_time_timesync_config_profile_create(int unit, bcm_time_timesync_config_profile_t *profile, int *profile_id);
int bcm_time_timesync_config_profile_destroy(int unit, int profile_id);
int bcm_time_timesync_config_profile_get(int unit, int profile_id, bcm_time_timesync_config_profile_t *profile);
void bcm_time_timesync_config_profile_t_init(bcm_time_timesync_config_profile_t *profile);
int bcm_time_tod_get(int unit, uint32 stages, bcm_time_tod_t *tod);
int bcm_time_tod_leap_control_get(int unit, bcm_time_tod_leap_control_t *leap_info);  /* not in OpenBCM 6.5.27 */
int bcm_time_tod_leap_control_set(int unit, bcm_time_tod_leap_control_t leap_info);  /* not in OpenBCM 6.5.27 */
int bcm_time_tod_offset_get(int unit, bcm_time_tod_offset_type_t type, bcm_time_spec_t *offset);
int bcm_time_tod_offset_set(int unit, bcm_time_tod_offset_type_t type, bcm_time_spec_t *offset);
int bcm_time_tod_set(int unit, uint32 stages, bcm_time_tod_t *tod);
void bcm_time_tod_t_init(bcm_time_tod_t *tod);
int bcm_time_trigger_enable_get(int unit, bcm_time_if_t id, uint32 *mode_flags);
int bcm_time_trigger_enable_set(int unit, bcm_time_if_t id, uint32 mode_flags);
int bcm_time_ts_counter_get(int unit, bcm_time_ts_counter_t *counter);
int bcm_time_ts_counter_set(int unit, bcm_time_ts_counter_t *counter);
void bcm_time_ts_counter_t_init(bcm_time_ts_counter_t *counter);
int bcm_time_ts_counter_time_init(int unit);
int bcm_time_ts_offset_set(int unit, int64 ts_offset, uint64 ts_update_intv, int ts_counter);
int bcm_time_ts_time_convert(int unit, uint32 ts_val, bcm_time_spec_t *time);
int bcm_time_ts_time_update(int unit);
int bcm_time_tx_timestamp_profile_create(int unit, bcm_time_tx_timestamp_profile_t *profile, int *profile_id);
int bcm_time_tx_timestamp_profile_destroy(int unit, int profile_id);
int bcm_time_tx_timestamp_profile_get(int unit, int profile_id, bcm_time_tx_timestamp_profile_t *profile);
void bcm_time_tx_timestamp_profile_t_init(bcm_time_tx_timestamp_profile_t *profile);