Lines Matching +full:fiber +full:- +full:mode

1 /* SPDX-License-Identifier: GPL-2.0 */
52 #define RSD_REQUIRED (((MAX_PDU_SIZE - SMALL_BUFFER_SIZE + LARGE_BUFFER_SIZE) / LARGE_BUFFER_SIZE)…
56 /* RSD_REQUIRED receive segment descriptors are enough to describe a max-sized PDU,
61 #define RSD_EXTENSION ((RSD_REQUIRED - RSD_FIXED) + 1)
65 #define FORE200E_DEV(d) ((struct fore200e*)((d)->dev_data))
66 #define FORE200E_VCC(d) ((struct fore200e_vcc*)((d)->dev_data))
256 OPCODE_SET_OC3, /* set OC-3 registers */
257 OPCODE_GET_OC3, /* get OC-3 registers */
318 /* OC-3 registers */
321 u32 reg[ 128 ]; /* see the PMC Sierra PC5346 S/UNI-155-Lite
323 for a description of the OC-3 chip registers */
327 /* set/get OC-3 regs command opcode */
341 /* set/get OC-3 regs command block */
344 struct oc3_opcode opcode; /* set/get OC-3 regs command opcode */
345 u32 regs_haddr; /* host DMA address of OC-3 regs buffer */
358 /* OC-3 statistics */
443 struct stats_oc3 oc3; /* OC-3 statistics */
505 struct oc3_block oc3_block; /* get/set OC-3 registers */
666 /* initialization command block (one-time command, not in cmd queue) */
686 MEDIA_TYPE_MM_OC3_ST = 0x16, /* multimode fiber ST */
687 MEDIA_TYPE_MM_OC3_SC = 0x26, /* multimode fiber SC */
688 MEDIA_TYPE_SM_OC3_ST = 0x36, /* single-mode fiber ST */
689 MEDIA_TYPE_SM_OC3_SC = 0x46 /* single-mode fiber SC */
714 u32 oc3_revision; /* OC-3 revision number */
722 BSTAT_SELFTEST_OK = (u32) 0x02201958, /* self-test ok */
723 BSTAT_SELFTEST_FAIL = (u32) 0xadbadbad, /* self-test failed */
770 /* PCA-200E registers */
779 /* SBA-200E registers */
788 /* model-specific registers */
791 struct fore200e_pca_regs pca; /* PCA-200E registers */
792 struct fore200e_sba_regs sba; /* SBA-200E registers */
798 /* bus-dependent data */
827 (& (fore200e)->vc_map[ ((vpi) << FORE200E_VCI_BITS) | (vci) ])
830 /* per-device data */
833 const struct fore200e_bus* bus; /* bus-dependent code and data */
834 union fore200e_regs regs; /* bus-dependent registers */
855 u32 available_cell_rate; /* remaining pseudo-CBR bw on link */
857 int loop_mode; /* S/UNI loopback mode */
874 /* per-vcc data */
889 /* 200E-series common memory layout */
895 /* PCA-200E memory layout */
904 /* PCA-200E host control register */
919 /* PCA-200E PCI bus interface regs (offsets in PCI config space) */
927 #define PCA200E_CTRL_DIS_CACHE_RD (1<<0) /* disable cache-line reads …
929 #define PCA200E_CTRL_2_CACHE_WRT_INVAL (1<<2) /* require 2 cache-lines for writes and invalidate…
931 #define PCA200E_CTRL_ENA_CONT_REQ_MODE (1<<4) /* enable continuous request mode
937 #define SBA200E_PROM_NAME "FORE,sba-200e" /* device name in openprom tree */
940 /* size of SBA-200E registers */
948 /* SBA-200E SBUS burst transfer size register */
955 /* SBA-200E host control register */