Lines Matching +full:temperature +full:- +full:mode
7 * Copyright (C) 2016-2018 T-Platforms JSC All Rights Reserved.
36 * IDT PCIe-switch NTB Linux driver
39 * Serge Semin <fancer.lancer@gmail.com>, <Sergey.Semin@t-platforms.ru>
55 * the supported IDT PCIe-switches
66 * IDT PCIe-switches device IDs
78 * NT-function Configuration Space registers
79 * NOTE 1) The IDT PCIe-switch internal data is little-endian
83 * with byte-enables corresponding to their native size or
86 * So to simplify the driver code, there is only DWORD-sized read/write
107 /* IDT Proprietary NT-port-specific registers */
108 /* NT-function main control registers */
147 /* BAR-setup registers */
194 * IDT PCIe-switch Global Configuration and Status registers
200 /* NT-function control register (DWORD) */
230 /* NT-function control register (DWORD) */
260 /* NT-function control register (DWORD) */
290 /* NT-function control register (DWORD) */
320 /* NT-function control register (DWORD) */
350 /* NT-function control register (DWORD) */
380 /* NT-function control register (DWORD) */
410 /* NT-function control register (DWORD) */
437 /* IDT PCIe-switch control register (DWORD) */
441 /* Port Clocking Mode (DWORD) */
445 /* Port Operating Mode Change Drain Delay (DWORD) */
572 /* Temperature sensor Control/Status/Alarm/Adjustment/Slope registers */
678 * @IDT_NTINTSTS_TMPSENSOR: Temperature sensor interrupt bit
690 * @IDT_NTINTMSK_TMPSENSOR: Temperature sensor interrupt mask bit
691 * @IDT_NTINTMSK_ALL: NTB-related interrupts mask
709 * @IDT_BARSETUP_TYPE_32: 32-bit addressing BAR
710 * @IDT_BARSETUP_TYPE_64: 64-bit addressing BAR
714 * @IDT_BARSETUP_SIZE_CFG: SIZE field value in case of config space MODE
715 * @IDT_BARSETUP_MODE_CFG: Configuration space BAR mode
719 * @IDT_BARSETUP_ATRAN_LUT12: 12-entry lookup table
720 * @IDT_BARSETUP_ATRAN_LUT24: 24-entry lookup table
825 * @IDT_SWPORTxSTS_OMCI: Operation mode change initiated
826 * @IDT_SWPORTxSTS_OMCC: Operation mode change completed
829 * @IDT_SWPORTxSTS_MODE_MASK: Port mode field mask
830 * @IDT_SWPORTxSTS_MODE_FLD: Port mode field offset
831 * @IDT_SWPORTxSTS_MODE_DIS: Port mode - disabled
832 * @IDT_SWPORTxSTS_MODE_DS: Port mode - downstream switch port
833 * @IDT_SWPORTxSTS_MODE_US: Port mode - upstream switch port
834 * @IDT_SWPORTxSTS_MODE_NT: Port mode - NT function
835 * @IDT_SWPORTxSTS_MODE_USNT: Port mode - upstream switch port with NTB
836 * @IDT_SWPORTxSTS_MODE_UNAT: Port mode - unattached
837 * @IDT_SWPORTxSTS_MODE_USDMA: Port mode - upstream switch port with DMA
838 * @IDT_SWPORTxSTS_MODE_USNTDMA:Port mode - upstream port with NTB and DMA
839 * @IDT_SWPORTxSTS_MODE_NTDMA: Port mode - NT function with DMA
889 * @IDT_TMPCTL_LTH_MASK: Low temperature threshold field mask
890 * @IDT_TMPCTL_LTH_FLD: Low temperature threshold field offset
891 * @IDT_TMPCTL_MTH_MASK: Middle temperature threshold field mask
892 * @IDT_TMPCTL_MTH_FLD: Middle temperature threshold field offset
893 * @IDT_TMPCTL_HTH_MASK: High temperature threshold field mask
894 * @IDT_TMPCTL_HTH_FLD: High temperature threshold field offset
895 * @IDT_TMPCTL_PDOWN: Temperature sensor power down
907 * @IDT_TMPSTS_TEMP_MASK: Current temperature field mask
908 * @IDT_TMPSTS_TEMP_FLD: Current temperature field offset
909 * @IDT_TMPSTS_LTEMP_MASK: Lowest temperature field mask
910 * @IDT_TMPSTS_LTEMP_FLD: Lowest temperature field offset
911 * @IDT_TMPSTS_HTEMP_MASK: Highest temperature field mask
912 * @IDT_TMPSTS_HTEMP_FLD: Highest temperature field offset
923 * @IDT_TMPALARM_LTEMP_MASK: Lowest temperature field mask
924 * @IDT_TMPALARM_LTEMP_FLD: Lowest temperature field offset
925 * @IDT_TMPALARM_HTEMP_MASK: Highest temperature field mask
926 * @IDT_TMPALARM_HTEMP_FLD: Highest temperature field offset
937 * @IDT_TMPADJ_OFFSET_MASK: Temperature value offset field mask
938 * @IDT_TMPADJ_OFFSET_FLD: Temperature value offset field offset
980 * General IDT PCIe-switch constant
981 * @IDT_MAX_NR_PORTS: Maximum number of ports per IDT PCIe-switch
982 * @IDT_MAX_NR_PARTS: Maximum number of partitions per IDT PCIe-switch
983 * @IDT_MAX_NR_PEERS: Maximum number of NT-peers per IDT PCIe-switch
1001 * IDT PCIe-switch temperature sensor value limits
1002 * @IDT_TEMP_MIN_MDEG: Minimal integer value of temperature
1003 * @IDT_TEMP_MAX_MDEG: Maximal integer value of temperature
1004 * @IDT_TEMP_MIN_OFFSET:Minimal integer value of temperature offset
1005 * @IDT_TEMP_MAX_OFFSET:Maximal integer value of temperature offset
1009 #define IDT_TEMP_MIN_OFFSET -64000
1013 * Temperature sensor values enumeration
1014 * @IDT_TEMP_CUR: Current temperature
1015 * @IDT_TEMP_LOW: Lowest historical temperature
1016 * @IDT_TEMP_HIGH: Highest historical temperature
1017 * @IDT_TEMP_OFFSET: Current temperature offset
1030 * @IDT_MW_LUT12: 12-entry lookup table entry
1031 * @IDT_MW_LUT24: 24-entry lookup table entry
1042 * IDT PCIe-switch model private data
1077 * Description structure of peer IDT NT-functions:
1078 * @port: NT-function port
1079 * @part: NT-function partition
1081 * @mw_cnt: Number of memory windows supported by NT-function
1093 * Description structure of local IDT NT-function:
1094 * @ntb: Linux NTB-device description structure
1095 * @swcfg: Pointer to the structure of local IDT PCIe-switch
1098 * @port: Local NT-function port
1099 * @part: Local NT-function partition
1101 * @peer_cnt: Number of peers with activated NTB-function
1103 * @port_idx_map: Map of port number -> peer index
1104 * @part_idx_map: Map of partition number -> peer index
1108 * @mw_cnt: Number of memory windows supported by NT-function
1115 * space of the NT-function
1120 * @hwmon_mtx: Temperature sensor interface update mutex
1156 * Descriptor of the IDT PCIe-switch BAR resources
1170 * Descriptor of the IDT PCIe-switch message resources
1182 * Descriptor of the IDT PCIe-switch NT-function specific parameters in the
1193 * Descriptor of the IDT PCIe-switch port specific parameters in the
1215 * Descriptor of the IDT PCIe-switch partition specific parameters.