Lines Matching +full:twisted +full:- +full:pair
4 * Copyright (C) 2017-2024 Broadcom. All Rights Reserved. The term *
6 * Copyright (C) 2009-2016 Emulex. All rights reserved. *
16 * FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE *
50 ((be32_to_cpu((ptr)->name##_WORD) >> name##_SHIFT) & name##_MASK)
52 ((le32_to_cpu((ptr)->name##_WORD) >> name##_SHIFT) & name##_MASK)
54 (((ptr)->name##_WORD >> name##_SHIFT) & name##_MASK)
56 ((ptr)->name##_WORD = cpu_to_le32(((((value) & \
57 name##_MASK) << name##_SHIFT) | (le32_to_cpu((ptr)->name##_WORD) & \
60 ((ptr)->name##_WORD = ((((value) & name##_MASK) << name##_SHIFT) | \
61 ((ptr)->name##_WORD & ~(name##_MASK << name##_SHIFT))))
63 #define get_wqe_reqtag(x) (((x)->wqe.words[9] >> 0) & 0xFFFF)
64 #define get_wqe_tmo(x) (((x)->wqe.words[7] >> 24) & 0x00FF)
66 #define get_job_ulpword(x, y) ((x)->iocb.un.ulpWord[y])
68 #define set_job_ulpstatus(x, y) bf_set(lpfc_wcqe_c_status, &(x)->wcqe_cmpl, y)
69 #define set_job_ulpword4(x, y) ((&(x)->wcqe_cmpl)->parameter = y)
134 #define LPFC_VFR_PAGE_SIZE 0x1000 /* 4KB BAR2 per-VF register page size */
195 /* SLI4 interface type-2 PDEV_CTL register */
251 /* BDE (Port-resident) */
253 /* Input BDE (Host-resident) */
255 /* Input BDE (Port-resident) */
257 /* BLP (Host-resident) */
259 /* BLP (Port-resident) */
284 #define BUFF_TYPE_BDE_64P 0x02 /* BDE (Port-resident) */
285 #define BUFF_TYPE_BDE_64I 0x08 /* Input BDE (Host-resident) */
286 #define BUFF_TYPE_BDE_64IP 0x0A /* Input BDE (Port-resident) */
287 #define BUFF_TYPE_BLP_64 0x40 /* BLP (Host-resident) */
288 #define BUFF_TYPE_BLP_64P 0x42 /* BLP (Port-resident) */
413 * Currently, extended status is limited to 9 bits (0x0 -> 0x103) .
1025 * calls deployed for BE-based ports.
1170 /* word0 of page-1 struct shares the same SHIFT/MASK/WORD defines as above */
1551 struct dma_address page[LPFC_MAX_WQ_PAGE-1];
1622 #define lpfc_rq_context_rqe_count_1_SHIFT 16 /* Version 1-2 Only */
1625 #define lpfc_rq_context_rqe_size_SHIFT 8 /* Version 1-2 Only */
1875 /* Define allocate-ready Gen 2 SLI4 FCoE Resource Extent Types. */
2049 * 1 words of Extent-Opcode-specific header = 11 words or 44 bytes total.
2051 * An embedded version of SLI4_CONFIG therefore has 256 - 44 = 212 bytes
2085 * This is the non-embedded version of ALLOC or GET RSRC_EXTENTS. Word4 in this
2088 * the structures defined above. This non-embedded structure provides for the
2123 struct sli4_sge { /* SLI-4 */
2174 struct sli4_sge_diseed { /* SLI-4 */
3129 * * SFF-8472 TABLE 3.4
3139 #define SFF_PG0_CONNECTOR_MT 0x08 /* MT - RJ */
3148 /* SFF-8472 Table 3.1 Diagnostics: Data Fields Address/Page A0 */
3190 /* SFF-8472 Table 3.1a Diagnostics: Data Fields Address/Page A2 */
3235 * Tranceiver codes Fibre Channel SFF-8472
3285 uint8_t fc_tm_tp:1; /* Twisted Pair (TP) */
3286 uint8_t fc_tm_tw:1; /* Twin Axial Pair */
3300 /* User writable non-volatile memory, SFF-8472 Table 3.20 */
3312 #define SLI4_PAGE_ALIGN(addr) (((addr)+((SLI4_PAGE_SIZE)-1)) \
3313 &(~((SLI4_PAGE_SIZE)-1)))
3982 uint32_t mb_words[LPFC_SLI4_MB_WORD_COUNT - 1];
4365 /* align SGL addr on a size boundary - adjust address up */
4573 struct wqe_common wqe_com; /* words 6-11 */
4600 struct wqe_common wqe_com; /* words 6-11 */
4644 struct wqe_common wqe_com; /* words 6-11 */
4682 struct wqe_common wqe_com; /* words 6-11 */
4691 struct wqe_common wqe_com; /* words 6-11 */
4700 struct wqe_common wqe_com; /* words 6-11 */
4706 * fabric-only protocol.
4707 * Updated to red-lined v1.08 on Sept 16, 2016
4754 uint32_t rsrvd[5]; /* words 0-4 */
4756 struct wqe_common wqe_com; /* words 6-11 */
4757 uint32_t rsvd_12_15[4]; /* word 12-15 */
4840 struct wqe_common wqe_com; /* words 6-11 */
4841 uint32_t rsvd_12_15[4]; /* word 12-15 */
4856 struct wqe_common wqe_com; /* words 6-11 */
4858 struct ulp_bde64 ph_bde; /* words 13-15 */
4873 struct wqe_common wqe_com; /* words 6-11 */
4875 struct ulp_bde64 ph_bde; /* words 13-15 */
4879 struct ulp_bde64 bde; /* words 0-2 */
4890 struct wqe_common wqe_com; /* words 6-11 */
4891 uint32_t rsvd_12_15[4]; /* word 12-15 */
4898 struct wqe_common wqe_com; /* words 6-11 */
4899 uint32_t rsvd_12_15[4]; /* word 12-15 */
4907 struct wqe_common wqe_com; /* words 6-11 */
4909 uint32_t rsvd_13_15[3]; /* word 13-15 */
4917 struct wqe_common wqe_com; /* words 6-11 */
4919 uint32_t rsvd_13_15[3]; /* word 13-15 */
4926 struct ulp_bde64 bde; /* words 0-2 */
4930 struct wqe_common wqe_com; /* words 6-11 */