Lines Matching +full:function +full:- +full:mask

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 */
111 /* NT Endpoint Interrupt Status/Mask (DWORD) */
118 /* Internal Error Reporting Mask 0/1 (DWORD) */
124 /* NT Inbound Doorbell Status/Mask (DWORD) */
145 /* Message Status Mask (DWORD) */
147 /* BAR-setup registers */
178 /* Requester ID (Bus:Device:Function) Capture (DWORD) */
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) */
502 /* Switch Event Status/Mask/Partition mask (DWORD) */
506 /* Switch Event Link Up/Down Status/Mask (DWORD) */
511 /* Switch Event Fundamental Reset Status/Mask (DWORD) */
514 /* Switch Event Hot Reset Status/Mask (DWORD) */
517 /* Switch Event Failover Mask (DWORD) */
519 /* Switch Event Global Signal Status/Mask (DWORD) */
603 * @IDT_PCIEDCAP_MPAYLOAD_MASK: Maximum payload size mask
621 * @IDT_PCIEDCTL_MPS_MASK: Maximum payload size mask
641 * @IDT_PCIELCAP_PORTNUM_MASK: Port number field mask
649 * @IDT_PCIELSTS_CLS_MASK: Current link speed mask
651 * @IDT_PCIELSTS_NLW_MASK: Negotiated link width mask
687 * @IDT_NTINTMSK_MSG: Message interrupt mask bit
688 * @IDT_NTINTMSK_DBELL: Doorbell interrupt mask bit
689 * @IDT_NTINTMSK_SEVENT: Switch Event interrupt mask bit
690 * @IDT_NTINTMSK_TMPSENSOR: Temperature sensor interrupt mask bit
691 * @IDT_NTINTMSK_ALL: NTB-related interrupts mask
708 * @IDT_BARSETUP_TYPE_MASK: Mask of the TYPE field
709 * @IDT_BARSETUP_TYPE_32: 32-bit addressing BAR
710 * @IDT_BARSETUP_TYPE_64: 64-bit addressing BAR
712 * @IDT_BARSETUP_SIZE_MASK: Mask of the SIZE field
716 * @IDT_BARSETUP_ATRAN_MASK: ATRAN field mask
719 * @IDT_BARSETUP_ATRAN_LUT12: 12-entry lookup table
720 * @IDT_BARSETUP_ATRAN_LUT24: 24-entry lookup table
721 * @IDT_BARSETUP_TPART_MASK: TPART field mask
746 * @IDT_NTMTBLDATA_REQID_MASK: Bus:Device:Function field mask
747 * @IDT_NTMTBLDATA_REQID_FLD: Bus:Device:Function field offset
748 * @IDT_NTMTBLDATA_PART_MASK: Partition field mask
767 * @IDT_REQIDCAP_REQID_MASK: Request ID field mask
775 * @IDT_LUTOFFSET_INDEX_MASK: Lookup table index field mask
777 * @IDT_LUTOFFSET_BAR_MASK: Lookup table BAR select field mask
787 * @IDT_LUTUDATA_PART_MASK: Partition field mask
799 * @IDT_SWPARTxSTS_STATE_MASK: Switch partition state mask
805 * @IDT_SWPARTxSTS_USID_MASK: Switch partition upstream port ID mask
807 * @IDT_SWPARTxSTS_NT: Upstream port has NT function
808 * @IDT_SWPARTxSTS_DMA: Upstream port has DMA function
829 * @IDT_SWPORTxSTS_MODE_MASK: Port mode field mask
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
840 * @IDT_SWPORTxSTS_SWPART_MASK: Port partition field mask
842 * @IDT_SWPORTxSTS_DEVNUM_MASK: Port device number field mask
867 * @IDT_SEMSK_LINKUP: Link Up event mask bit
868 * @IDT_SEMSK_LINKDN: Link Down event mask bit
869 * @IDT_SEMSK_GSIGNAL: Global Signal event mask bit
877 * @IDT_SWPxMSGCTL_REG_MASK: Register select field mask
879 * @IDT_SWPxMSGCTL_PART_MASK: Partition select field mask
889 * @IDT_TMPCTL_LTH_MASK: Low temperature threshold field mask
891 * @IDT_TMPCTL_MTH_MASK: Middle temperature threshold field mask
893 * @IDT_TMPCTL_HTH_MASK: High temperature threshold field mask
907 * @IDT_TMPSTS_TEMP_MASK: Current temperature field mask
909 * @IDT_TMPSTS_LTEMP_MASK: Lowest temperature field mask
911 * @IDT_TMPSTS_HTEMP_MASK: Highest temperature field mask
923 * @IDT_TMPALARM_LTEMP_MASK: Lowest temperature field mask
925 * @IDT_TMPALARM_HTEMP_MASK: Highest temperature field mask
927 * @IDT_TMPALARM_IRQ_MASK: Alarm IRQ status mask
937 * @IDT_TMPADJ_OFFSET_MASK: Temperature value offset field mask
959 * @IDT_DBELL_MASK: Doorbell bits mask
960 * @IDT_OUTMSG_MASK: Out messages status bits mask
961 * @IDT_INMSG_MASK: In messages status bits mask
962 * @IDT_MSG_MASK: Any message status bits mask
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
1009 #define IDT_TEMP_MIN_OFFSET -64000
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
1116 * @db_mask_lock: Doorbell mask register lock
1117 * @msg_mask_lock: Message mask register lock
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.