mbgtools-lx
4.2.8
|
#include <mbgioctl.h>
#include <cfg_hlp.h>
#include <pcpsdrvr.h>
#include <pci_asic.h>
#include <mbgddmsg.h>
Go to the source code of this file.
Macros | |
#define | _debug_iob_ptr( _p, _sz, _info) _nop_macro_fnc() |
#define | _iob_to_pout(_piob, _pout, _size) |
#define | _iob_from_pin(_piob, _pin, _size) |
#define | _io_wait_pcps_sec_change(_pddev, _cmd, _type, _pout) goto err_unsupp_ioctl |
#define | _io_get_mapped_mem_address(_pddev, _pout) |
#define | _io_unmap_mapped_mem_address(_pddev, _pin) _nop_macro_fnc() |
#define | _frc_iob_to_pout _iob_to_pout |
#define | _frc_iob_from_pin _iob_from_pin |
#define | _iob_to_pout_var(_iob, _pout) _iob_to_pout( &(_iob), _pout, sizeof( _iob ) ) |
#define | _iob_from_pin_var(_iob, _pin) _iob_from_pin( &(_iob), _pin, sizeof( _iob ) ) |
#define | _pcps_access_is_unsafe(_pddev) ( ( (_pddev)->irq_stat_info & PCPS_IRQ_STATE_DANGER ) == PCPS_IRQ_STATE_DANGER ) |
#define | _pcps_sem_inc_safe(_pddev) |
#define | _io_chk_cond(_cond) |
Check if a condition is true. More... | |
#define | _io_read_var(_pddev, _cmd, _fld, _pout) |
Read a standard data structure from a device. More... | |
#define | _io_write_var(_pddev, _cmd, _fld, _pin) |
Write a standard data structure to a device. More... | |
#define | _io_write_cmd(_pddev, _cmd) |
Write a command byte to the device. More... | |
#define | _io_read_gps(_pddev, _cmd, _fld, _pout, _size) |
Write a large data structure with variable size to a device. More... | |
#define | _io_read_gps_var(_pddev, _cmd, _fld, _pout) |
Read a large data structure with fixed size from a device. More... | |
#define | _io_write_gps_var(_pddev, _cmd, _fld, _pin) |
Write a large data structure with fixed size to a device. More... | |
#define | _io_read_var_chk(_pddev, _cmd, _fld, _pout, _cond) |
#define | _io_write_var_chk(_pddev, _cmd, _fld, _pin, _cond) |
#define | _io_write_cmd_chk(_pddev, _cmd, _cond) |
#define | _io_read_gps_chk(_pddev, _cmd, _fld, _pout, _size, _cond) |
#define | _io_read_gps_var_chk(_pddev, _cmd, _fld, _pout, _cond) |
#define | _io_write_gps_var_chk(_pddev, _cmd, _fld, _pin, _cond) |
#define | _report_cond(_cond, _pout) |
#define | _mbg_dbg_set_bit(_d, _v) |
#define | _mbg_dbg_clr_bit(_d, _v) |
#define | _mbg_dbg_clr_all(_d) |
#define | TEST_MM_ACCESS_TIME 0 |
Functions | |
static __mbg_inline void | swap_tstamp (PCPS_TIME_STAMP *p_ts) |
static __mbg_inline void | do_get_fast_hr_timestamp_safe (PCPS_DDEV *pddev, PCPS_TIME_STAMP *p_ts) |
static __mbg_inline void | do_get_fast_hr_timestamp_cycles_safe (PCPS_DDEV *pddev, PCPS_TIME_STAMP_CYCLES *p_ts_cyc) |
static __mbg_inline int | ioctl_switch (PCPS_DDEV *pddev, unsigned int ioctl_code, void *pin, void *pout) |
Decode and handle IOCTL commands. More... | |
#define _debug_iob_ptr | ( | _p, | |
_sz, | |||
_info | |||
) | _nop_macro_fnc() |
Definition at line 251 of file macioctl.h.
#define _frc_iob_from_pin _iob_from_pin |
Definition at line 351 of file macioctl.h.
Referenced by ioctl_switch().
#define _frc_iob_to_pout _iob_to_pout |
Definition at line 347 of file macioctl.h.
Referenced by ioctl_switch().
#define _io_get_mapped_mem_address | ( | _pddev, | |
_pout | |||
) |
Definition at line 282 of file macioctl.h.
Referenced by ioctl_switch().
#define _io_unmap_mapped_mem_address | ( | _pddev, | |
_pin | |||
) | _nop_macro_fnc() |
Definition at line 291 of file macioctl.h.
Referenced by ioctl_switch().
#define _io_wait_pcps_sec_change | ( | _pddev, | |
_cmd, | |||
_type, | |||
_pout | |||
) | goto err_unsupp_ioctl |
Definition at line 275 of file macioctl.h.
Referenced by ioctl_switch().
#define _iob_from_pin | ( | _piob, | |
_pin, | |||
_size | |||
) |
Definition at line 265 of file macioctl.h.
Referenced by ioctl_switch().
#define _iob_from_pin_var | ( | _iob, | |
_pin | |||
) | _iob_from_pin( &(_iob), _pin, sizeof( _iob ) ) |
Definition at line 358 of file macioctl.h.
Referenced by ioctl_switch().
#define _iob_to_pout | ( | _piob, | |
_pout, | |||
_size | |||
) |
Definition at line 255 of file macioctl.h.
Referenced by ioctl_switch().
#define _iob_to_pout_var | ( | _iob, | |
_pout | |||
) | _iob_to_pout( &(_iob), _pout, sizeof( _iob ) ) |
Definition at line 355 of file macioctl.h.
Referenced by ioctl_switch().
#define _mbg_dbg_clr_all | ( | _d | ) |
Definition at line 700 of file macioctl.h.
Referenced by ioctl_switch().
#define _mbg_dbg_clr_bit | ( | _d, | |
_v | |||
) |
Definition at line 691 of file macioctl.h.
Referenced by ioctl_switch().
#define _mbg_dbg_set_bit | ( | _d, | |
_v | |||
) |
Definition at line 682 of file macioctl.h.
Referenced by ioctl_switch().
#define _pcps_access_is_unsafe | ( | _pddev | ) | ( ( (_pddev)->irq_stat_info & PCPS_IRQ_STATE_DANGER ) == PCPS_IRQ_STATE_DANGER ) |
Definition at line 367 of file macioctl.h.
#define _pcps_sem_inc_safe | ( | _pddev | ) |
Definition at line 409 of file macioctl.h.
Referenced by ioctl_switch(), mbgclock_default_clr_ucap_buff(), mbgclock_default_get_ucap_entries(), and mbgclock_default_get_ucap_event().
#define TEST_MM_ACCESS_TIME 0 |
Definition at line 713 of file macioctl.h.
|
static |
Definition at line 844 of file macioctl.h.
References _MBG_IOMEM, _mbg_mmrd32_to_cpu, _mbg_spin_lock_acquire, _mbg_spin_lock_release, PCPS_TIME_STAMP_CYCLES::cycles, PCPS_TIME_STAMP::frac, ioctl_switch(), mbg_get_pc_cycles(), PCPS_DDEV_s::mm_tstamp_addr, PCPS_TIME_STAMP::sec, and PCPS_TIME_STAMP_CYCLES::tstamp.
Referenced by do_get_fast_hr_timestamp_safe(), ioctl_switch(), and mbgclock_default_get_fast_hr_timestamp_cycles().
|
static |
Definition at line 816 of file macioctl.h.
References _MBG_IOMEM, _mbg_mmrd32_to_cpu, _mbg_spin_lock_acquire, _mbg_spin_lock_release, do_get_fast_hr_timestamp_cycles_safe(), PCPS_TIME_STAMP::frac, PCPS_DDEV_s::mm_tstamp_addr, and PCPS_TIME_STAMP::sec.
Referenced by ioctl_switch(), mbgclock_default_get_fast_hr_timestamp(), and swap_tstamp().
|
static |
Decode and handle IOCTL commands.
This function is called from the OS-specific IOCTL handlers, so eventually the calling function needs to translate the Meinberg return codes to appropriate OS-specific return codes.
[in] | pddev | Pointer to the device structure |
[in] | ioctl_code | The IOCTL code to be handled |
[in] | pin | The input buffer |
[in] | pout | The output buffer |
Definition at line 904 of file macioctl.h.
References _frc_iob_from_pin, _frc_iob_to_pout, _io_chk_cond, _io_get_mapped_mem_address, _io_read_gps_chk, _io_read_gps_var, _io_read_gps_var_chk, _io_read_var, _io_read_var_chk, _io_unmap_mapped_mem_address, _io_wait_pcps_sec_change, _io_write_cmd_chk, _io_write_gps_var, _io_write_gps_var_chk, _io_write_var, _io_write_var_chk, _iob_from_pin, _iob_from_pin_var, _iob_to_pout, _iob_to_pout_var, _mbg_dbg_clr_all, _mbg_dbg_clr_bit, _mbg_dbg_set_bit, _mbg_ioremap, _mbg_kdd_msg_3, _mbgddmsg_0, _mbgddmsg_3, _mbgddmsg_4, _mbgddmsg_6, _pcps_ddev_can_clr_ucap_buff, _pcps_ddev_can_set_time, _pcps_ddev_has_asic_features, _pcps_ddev_has_asic_version, _pcps_ddev_has_cab_len, _pcps_ddev_has_corr_info, _pcps_ddev_has_debug_status, _pcps_ddev_has_event_time, _pcps_ddev_has_evt_log, _pcps_ddev_has_fast_hr_timestamp, _pcps_ddev_has_generic_io, _pcps_ddev_has_gpio, _pcps_ddev_has_gps_data, _pcps_ddev_has_hr_time, _pcps_ddev_has_irig, _pcps_ddev_has_irig_ctrl_bits, _pcps_ddev_has_irig_time, _pcps_ddev_has_irig_tx, _pcps_ddev_has_lan_intf, _pcps_ddev_has_mod, _pcps_ddev_has_opt_flags, _pcps_ddev_has_pcps_tzdl, _pcps_ddev_has_ptp, _pcps_ddev_has_ptp_unicast, _pcps_ddev_has_pzf, _pcps_ddev_has_raw_irig_data, _pcps_ddev_has_receiver_info, _pcps_ddev_has_ref_offs, _pcps_ddev_has_serial_hs, _pcps_ddev_has_signal, _pcps_ddev_has_sync_time, _pcps_ddev_has_synth, _pcps_ddev_has_time_scale, _pcps_ddev_has_tr_distance, _pcps_ddev_has_tz, _pcps_ddev_has_tzcode, _pcps_ddev_has_tzdl, _pcps_ddev_has_ucap, _pcps_ddev_has_utc_parm, _pcps_ddev_has_xmr, _pcps_ddev_is_dcf, _pcps_ddev_is_gnss, _pcps_ddev_is_gps, _pcps_ddev_is_irig_rx, _pcps_ddev_is_lwr, _pcps_ddev_is_msf, _pcps_ddev_is_ptp, _pcps_ddev_is_usb, _pcps_ddev_is_wwvb, _pcps_ddev_read_status_port(), _pcps_ddev_requires_irig_workaround, _pcps_ddev_sernum, _pcps_ddev_type_name, _pcps_kfree, _pcps_kmalloc, _pcps_read, _pcps_read_var, _pcps_sem_dec, _pcps_sem_inc_safe, _report_cond, PCPS_DDEV_s::acc_cycles, PCPS_DDEV_s::asic_features, MBG_SYS_TIME_CYCLES::cyc_after, MBG_SYS_TIME_CYCLES::cyc_before, PCPS_TIME_CYCLES::cycles, PCPS_HR_TIME_CYCLES::cycles, DEBUG_IOCTL, PCPS_DDEV_s::dev, IOCTL_BUFFER::dev_feat_req, do_get_fast_hr_timestamp_cycles_safe(), do_get_fast_hr_timestamp_safe(), drvr_info, IOCTL_DEV_FEAT_REQ::feat_num, IOCTL_DEV_FEAT_REQ::feat_type, IOCTL_GENERIC_REQ::in_p, IOCTL_GENERIC_REQ::in_sz, IOCTL_GENERIC_REQ::info, PCPS_DDEV_s::io_buffer, IOCTL_CHK_DEV_FEAT, IOCTL_CLR_EVT_LOG, IOCTL_DEV_CAN_CLR_UCAP_BUFF, IOCTL_DEV_HAS_CAB_LEN, IOCTL_DEV_HAS_CORR_INFO, IOCTL_DEV_HAS_DEBUG_STATUS, IOCTL_DEV_HAS_EVENT_TIME, IOCTL_DEV_HAS_EVT_LOG, IOCTL_DEV_HAS_FAST_HR_TIMESTAMP, IOCTL_DEV_HAS_GENERIC_IO, IOCTL_DEV_HAS_GPIO, IOCTL_DEV_HAS_GPS_DATA, IOCTL_DEV_HAS_GPS_TIME_SCALE, IOCTL_DEV_HAS_GPS_UTC_PARM, IOCTL_DEV_HAS_HR_TIME, IOCTL_DEV_HAS_IRIG, IOCTL_DEV_HAS_IRIG_CTRL_BITS, IOCTL_DEV_HAS_IRIG_TIME, IOCTL_DEV_HAS_IRIG_TX, IOCTL_DEV_HAS_LAN_INTF, IOCTL_DEV_HAS_MOD, IOCTL_DEV_HAS_OPT_FLAGS, IOCTL_DEV_HAS_PCI_ASIC_FEATURES, IOCTL_DEV_HAS_PCI_ASIC_VERSION, IOCTL_DEV_HAS_PCPS_TZDL, IOCTL_DEV_HAS_PTP, IOCTL_DEV_HAS_PTP_UNICAST, IOCTL_DEV_HAS_PZF, IOCTL_DEV_HAS_RAW_IRIG_DATA, IOCTL_DEV_HAS_RECEIVER_INFO, IOCTL_DEV_HAS_REF_OFFS, IOCTL_DEV_HAS_SERIAL_HS, IOCTL_DEV_HAS_SIGNAL, IOCTL_DEV_HAS_SYNTH, IOCTL_DEV_HAS_TR_DISTANCE, IOCTL_DEV_HAS_TZ, IOCTL_DEV_HAS_TZCODE, IOCTL_DEV_HAS_TZDL, IOCTL_DEV_HAS_UCAP, IOCTL_DEV_HAS_XMR, IOCTL_DEV_IS_DCF, IOCTL_DEV_IS_GNSS, IOCTL_DEV_IS_GPS, IOCTL_DEV_IS_IRIG_RX, IOCTL_DEV_IS_LWR, IOCTL_DEV_IS_MSF, IOCTL_DEV_IS_PTP, IOCTL_DEV_IS_WWVB, IOCTL_GET_ALL_GNSS_SAT_INFO, IOCTL_GET_ALL_GPIO_INFO, IOCTL_GET_ALL_GPIO_STATUS, IOCTL_GET_ALL_PTP_UC_MASTER_INFO, IOCTL_GET_ALL_XMR_INFO, IOCTL_GET_ALL_XMR_STATUS, IOCTL_GET_CORR_INFO, IOCTL_GET_CYCLES_FREQUENCY, IOCTL_GET_DEBUG_STATUS, IOCTL_GET_FAST_HR_TIMESTAMP, IOCTL_GET_FAST_HR_TIMESTAMP_CYCLES, IOCTL_GET_FIRST_EVT_LOG_ENTRY, IOCTL_GET_GNSS_MODE_INFO, IOCTL_GET_GPIO_CFG_LIMITS, IOCTL_GET_GPS_ALL_PORT_INFO, IOCTL_GET_GPS_ALL_POUT_INFO, IOCTL_GET_GPS_ALL_STR_TYPE_INFO, IOCTL_GET_GPS_ANT_CABLE_LEN, IOCTL_GET_GPS_ANT_INFO, IOCTL_GET_GPS_BVAR_STAT, IOCTL_GET_GPS_ENABLE_FLAGS, IOCTL_GET_GPS_IDENT, IOCTL_GET_GPS_PORT_PARM, IOCTL_GET_GPS_POS, IOCTL_GET_GPS_RECEIVER_INFO, IOCTL_GET_GPS_STAT_INFO, IOCTL_GET_GPS_SW_REV, IOCTL_GET_GPS_TIME, IOCTL_GET_GPS_TIME_SCALE_INFO, IOCTL_GET_GPS_TZDL, IOCTL_GET_GPS_UCAP, IOCTL_GET_GPS_UTC_PARM, IOCTL_GET_IP4_SETTINGS, IOCTL_GET_IP4_STATE, IOCTL_GET_IRIG_CTRL_BITS, IOCTL_GET_IRIG_TIME, IOCTL_GET_IRQ_STAT_INFO, IOCTL_GET_LAN_IF_INFO, IOCTL_GET_MAPPED_MEM_ADDR, IOCTL_GET_MBG_OPT_INFO, IOCTL_GET_NEXT_EVT_LOG_ENTRY, IOCTL_GET_NUM_EVT_LOG_ENTRIES, IOCTL_GET_PCI_ASIC_FEATURES, IOCTL_GET_PCI_ASIC_VERSION, IOCTL_GET_PCPS_DEV, IOCTL_GET_PCPS_DRVR_INFO, IOCTL_GET_PCPS_HR_TIME, IOCTL_GET_PCPS_HR_TIME_CYCLES, IOCTL_GET_PCPS_IRIG_RX_INFO, IOCTL_GET_PCPS_IRIG_TX_INFO, IOCTL_GET_PCPS_SERIAL, IOCTL_GET_PCPS_STATUS_PORT, IOCTL_GET_PCPS_SYNC_TIME, IOCTL_GET_PCPS_TIME, IOCTL_GET_PCPS_TIME_CYCLES, IOCTL_GET_PCPS_TIME_SEC_CHANGE, IOCTL_GET_PCPS_TZCODE, IOCTL_GET_PCPS_TZDL, IOCTL_GET_PCPS_UCAP_ENTRIES, IOCTL_GET_PCPS_UCAP_EVENT, IOCTL_GET_PTP_CFG_INFO, IOCTL_GET_PTP_STATE, IOCTL_GET_RAW_IRIG_DATA, IOCTL_GET_REF_OFFS, IOCTL_GET_SYNTH, IOCTL_GET_SYNTH_STATE, IOCTL_GET_TIME_INFO_HRT, IOCTL_GET_TIME_INFO_TSTAMP, IOCTL_GET_TR_DISTANCE, IOCTL_GET_XMR_HOLDOVER_STATUS, IOCTL_GET_XMR_INSTANCES, IOCTL_MBG_DBG_CLR_ALL, IOCTL_MBG_DBG_CLR_BIT, IOCTL_MBG_DBG_GET_PORT_ADDR, IOCTL_MBG_DBG_SET_BIT, IOCTL_MBG_DBG_SET_PORT_ADDR, IOCTL_PCPS_CLR_UCAP_BUFF, IOCTL_PCPS_GENERIC_IO, IOCTL_PCPS_GENERIC_READ, IOCTL_PCPS_GENERIC_READ_GPS, IOCTL_PCPS_GENERIC_WRITE, IOCTL_PCPS_GENERIC_WRITE_GPS, IOCTL_PTP_UC_MASTER_CFG_LIMITS, IOCTL_SET_GNSS_MODE_SETTINGS, IOCTL_SET_GPIO_SETTINGS_IDX, IOCTL_SET_GPS_ANT_CABLE_LEN, IOCTL_SET_GPS_CMD, IOCTL_SET_GPS_ENABLE_FLAGS, IOCTL_SET_GPS_PORT_PARM, IOCTL_SET_GPS_PORT_SETTINGS_IDX, IOCTL_SET_GPS_POS_LLA, IOCTL_SET_GPS_POS_XYZ, IOCTL_SET_GPS_POUT_SETTINGS_IDX, IOCTL_SET_GPS_TIME, IOCTL_SET_GPS_TIME_SCALE_SETTINGS, IOCTL_SET_GPS_TZDL, IOCTL_SET_GPS_UTC_PARM, IOCTL_SET_IP4_SETTINGS, IOCTL_SET_MBG_OPT_SETTINGS, IOCTL_SET_PCPS_EVENT_TIME, IOCTL_SET_PCPS_IRIG_RX_SETTINGS, IOCTL_SET_PCPS_IRIG_TX_SETTINGS, IOCTL_SET_PCPS_SERIAL, IOCTL_SET_PCPS_TIME, IOCTL_SET_PCPS_TZCODE, IOCTL_SET_PCPS_TZDL, IOCTL_SET_PTP_CFG_SETTINGS, IOCTL_SET_PTP_UC_MASTER_SETTINGS_IDX, IOCTL_SET_REF_OFFS, IOCTL_SET_SYNTH, IOCTL_SET_TR_DISTANCE, IOCTL_SET_XMR_SETTINGS_IDX, IOCTL_UNMAP_MAPPED_MEM, PCPS_DDEV_s::irq_stat_info, MBG_DEV_NAME_FMT, MBG_ERR_COPY_FROM_USER, MBG_ERR_COPY_TO_USER, MBG_ERR_NOT_SUPP_BY_DEV, mbg_get_pc_cycles(), mbg_get_pc_cycles_frequency(), mbg_get_sys_time(), MBG_LOG_INFO, MBG_LOG_WARN, mbg_rc_is_error, mbg_rc_is_success, MBG_SUCCESS, PCPS_IO_BUFFER::mbg_time_info_hrt, mbgioctl_get_name(), IOCTL_GENERIC_REQ::out_p, IOCTL_GENERIC_REQ::out_sz, PC_GPS_ALL_GNSS_SAT_INFO, PC_GPS_ALL_GPIO_INFO, PC_GPS_ALL_GPIO_STATUS, PC_GPS_ALL_PORT_INFO, PC_GPS_ALL_POUT_INFO, PC_GPS_ALL_PTP_UC_MASTER_INFO, PC_GPS_ALL_STR_TYPE_INFO, PC_GPS_ALL_XMR_INFO, PC_GPS_ALL_XMR_STATUS, PC_GPS_ANT_CABLE_LEN, PC_GPS_ANT_INFO, PC_GPS_BVAR_STAT, PC_GPS_CMD, PC_GPS_ENABLE_FLAGS, PC_GPS_GNSS_MODE, PC_GPS_GPIO_CFG_LIMITS, PC_GPS_GPIO_SETTINGS_IDX, PC_GPS_IDENT, PC_GPS_IP4_SETTINGS, PC_GPS_IP4_STATE, PC_GPS_LAN_IF_INFO, PC_GPS_PORT_PARM, PC_GPS_PORT_SETTINGS_IDX, PC_GPS_POS, PC_GPS_POS_LLA, PC_GPS_POS_XYZ, PC_GPS_POUT_SETTINGS_IDX, PC_GPS_PTP_CFG, PC_GPS_PTP_STATE, PC_GPS_PTP_UC_MASTER_CFG_LIMITS, PC_GPS_PTP_UC_MASTER_SETTINGS_IDX, PC_GPS_RECEIVER_INFO, PC_GPS_STAT_INFO, PC_GPS_SW_REV, PC_GPS_TIME, PC_GPS_TIME_SCALE, PC_GPS_TZDL, PC_GPS_UCAP, PC_GPS_UTC, PC_GPS_XMR_HOLDOVER_STATUS, PC_GPS_XMR_INSTANCES, PC_GPS_XMR_SETTINGS_IDX, PCI_ASIC_HAS_MM_IO, pcps_chk_dev_feat(), PCPS_CLR_EVT_LOG, PCPS_CLR_UCAP_BUFF, PCPS_FIRST_EVT_LOG_ENTRY, pcps_generic_io(), PCPS_GET_CORR_INFO, PCPS_GET_DEBUG_STATUS, PCPS_GET_IRIG_CTRL_BITS, PCPS_GET_IRIG_RX_INFO, PCPS_GET_IRIG_TX_INFO, PCPS_GET_OPT_INFO, PCPS_GET_PCPS_TZDL, PCPS_GET_RAW_IRIG_DATA, PCPS_GET_REF_OFFS, PCPS_GET_SERIAL, PCPS_GET_STATUS_PORT, PCPS_GET_SYNTH, PCPS_GET_SYNTH_STATE, PCPS_GET_TR_DISTANCE, PCPS_GET_TZCODE, PCPS_GIVE_HR_TIME, PCPS_GIVE_IRIG_TIME, PCPS_GIVE_SYNC_TIME, PCPS_GIVE_TIME, PCPS_GIVE_TIME_NOCLEAR, PCPS_GIVE_UCAP_ENTRIES, PCPS_GIVE_UCAP_EVENT, PCPS_IO_BUFFER::pcps_hr_time_cycles, PCPS_NEXT_EVT_LOG_ENTRY, PCPS_NUM_EVT_LOG_ENTRIES, pcps_read_gps, PCPS_SET_EVENT_TIME, PCPS_SET_IRIG_RX_SETTINGS, PCPS_SET_IRIG_TX_SETTINGS, PCPS_SET_OPT_SETTINGS, PCPS_SET_PCPS_TZDL, PCPS_SET_REF_OFFS, PCPS_SET_SERIAL, PCPS_SET_SYNTH, PCPS_SET_TIME, PCPS_SET_TR_DISTANCE, PCPS_SET_TZCODE, PCPS_IO_BUFFER::pcps_time_cycles, pcps_write, pcps_write_gps, PCPS_DDEV_s::raw_asic_version, MBG_TIME_INFO_HRT::ref_hr_time_cycles, MBG_TIME_INFO_TSTAMP::ref_tstamp_cycles, IOCTL_BUFFER::req, MBG_SYS_TIME_CYCLES::sys_time, MBG_TIME_INFO_HRT::sys_time_cycles, MBG_TIME_INFO_TSTAMP::sys_time_cycles, PCPS_TIME_CYCLES::t, and PCPS_HR_TIME_CYCLES::t.
Referenced by do_get_fast_hr_timestamp_cycles_safe(), and mbgclock_unlocked_ioctl().
|
static |
Definition at line 729 of file macioctl.h.
References _MBG_IOMEM, _mbg_kdd_msg_3, _mbg_mmrd32_to_cpu, _pcps_ddev_dev_id, bin_frac_32_to_dec_frac(), do_get_fast_hr_timestamp_safe(), PCPS_TIME_STAMP::frac, mbg_get_pc_cycles(), MBG_LOG_INFO, PCPS_DDEV_s::mm_tstamp_addr, NSEC_PER_SEC, and PCPS_TIME_STAMP::sec.