Lines Matching +full:twisted +full:- +full:pair
4 * Copyright (C) 2017-2022 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) */
416 * Currently, extended status is limited to 9 bits (0x0 -> 0x103) .
1027 * calls deployed for BE-based ports.
1172 /* word0 of page-1 struct shares the same SHIFT/MASK/WORD defines as above */
1553 struct dma_address page[LPFC_MAX_WQ_PAGE-1];
1624 #define lpfc_rq_context_rqe_count_1_SHIFT 16 /* Version 1-2 Only */
1627 #define lpfc_rq_context_rqe_size_SHIFT 8 /* Version 1-2 Only */
1877 /* Define allocate-ready Gen 2 SLI4 FCoE Resource Extent Types. */
2051 * 1 words of Extent-Opcode-specific header = 11 words or 44 bytes total.
2053 * An embedded version of SLI4_CONFIG therefore has 256 - 44 = 212 bytes
2087 * This is the non-embedded version of ALLOC or GET RSRC_EXTENTS. Word4 in this
2090 * the structures defined above. This non-embedded structure provides for the
2125 struct sli4_sge { /* SLI-4 */
2168 struct sli4_sge_diseed { /* SLI-4 */
3123 * * SFF-8472 TABLE 3.4
3133 #define SFF_PG0_CONNECTOR_MT 0x08 /* MT - RJ */
3142 /* SFF-8472 Table 3.1 Diagnostics: Data Fields Address/Page A0 */
3183 /* SFF-8472 Table 3.1a Diagnostics: Data Fields Address/Page A2 */
3228 * Tranceiver codes Fibre Channel SFF-8472
3278 uint8_t fc_tm_tp:1; /* Twisted Pair (TP) */
3279 uint8_t fc_tm_tw:1; /* Twin Axial Pair */
3293 /* User writable non-volatile memory, SFF-8472 Table 3.20 */
3305 #define SLI4_PAGE_ALIGN(addr) (((addr)+((SLI4_PAGE_SIZE)-1)) \
3306 &(~((SLI4_PAGE_SIZE)-1)))
3975 uint32_t mb_words[LPFC_SLI4_MB_WORD_COUNT - 1];
4353 /* align SGL addr on a size boundary - adjust address up */
4561 struct wqe_common wqe_com; /* words 6-11 */
4588 struct wqe_common wqe_com; /* words 6-11 */
4632 struct wqe_common wqe_com; /* words 6-11 */
4670 struct wqe_common wqe_com; /* words 6-11 */
4679 struct wqe_common wqe_com; /* words 6-11 */
4688 struct wqe_common wqe_com; /* words 6-11 */
4694 * fabric-only protocol.
4695 * Updated to red-lined v1.08 on Sept 16, 2016
4742 uint32_t rsrvd[5]; /* words 0-4 */
4744 struct wqe_common wqe_com; /* words 6-11 */
4745 uint32_t rsvd_12_15[4]; /* word 12-15 */
4828 struct wqe_common wqe_com; /* words 6-11 */
4829 uint32_t rsvd_12_15[4]; /* word 12-15 */
4843 struct wqe_common wqe_com; /* words 6-11 */
4845 struct ulp_bde64 ph_bde; /* words 13-15 */
4859 struct wqe_common wqe_com; /* words 6-11 */
4861 struct ulp_bde64 ph_bde; /* words 13-15 */
4865 struct ulp_bde64 bde; /* words 0-2 */
4875 struct wqe_common wqe_com; /* words 6-11 */
4876 uint32_t rsvd_12_15[4]; /* word 12-15 */
4883 struct wqe_common wqe_com; /* words 6-11 */
4884 uint32_t rsvd_12_15[4]; /* word 12-15 */
4892 struct wqe_common wqe_com; /* words 6-11 */
4894 uint32_t rsvd_13_15[3]; /* word 13-15 */
4902 struct wqe_common wqe_com; /* words 6-11 */
4904 uint32_t rsvd_13_15[3]; /* word 13-15 */
4911 struct ulp_bde64 bde; /* words 0-2 */
4915 struct wqe_common wqe_com; /* words 6-11 */