Lines Matching +full:vci +full:- +full:supply
1 /* SPDX-License-Identifier: GPL-2.0 */
35 #define QUEUE_SIZE_BS 32 /* buffer supply queue capacity */
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))
93 u32 vci : 16, /* virtual channel identifier */
229 /* cp resident buffer supply queue entry */
251 OPCODE_ACTIVATE_VCIN, /* activate incoming VCI */
252 OPCODE_ACTIVATE_VCOUT, /* activate outgoing VCI */
253 OPCODE_DEACTIVATE_VCIN, /* deactivate incoming VCI */
254 OPCODE_DEACTIVATE_VCOUT, /* deactivate incoing VCI */
256 OPCODE_SET_OC3, /* set OC-3 registers */
257 OPCODE_GET_OC3, /* get OC-3 registers */
271 u32 vci : 16, /* virtual channel identifier */
294 struct vpvc vpvc; /* VPI/VCI */
314 struct vpvc vpvc; /* VPI/VCI */
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 */
379 __be32 vci_bad_range; /* cell drops: VCI out of range */
380 __be32 vci_no_conn; /* cell drops: no connection for VCI */
443 struct stats_oc3 oc3; /* OC-3 statistics */
505 struct oc3_block oc3_block; /* get/set OC-3 registers */
544 /* host resident buffer supply queue entry */
547 … struct cp_bsq_entry __iomem *cp_entry; /* addr of cp resident buffer supply queue entry */
630 /* host resident buffer supply queues */
633 …struct host_bsq_entry host_entry[ QUEUE_SIZE_BS ]; /* host resident buffer supply queue entries…
634 …int head; /* head of buffer supply queue …
655 /* receive buffer supply queues scheme specification */
666 /* initialization command block (one-time command, not in cmd queue) */
680 …struct bs_spec bs_spec[ BUFFER_SCHEME_NBR ][ BUFFER_MAGN_NBR ]; /* buffer supply queues spec …
688 MEDIA_TYPE_SM_OC3_ST = 0x36, /* single-mode fiber ST */
689 MEDIA_TYPE_SM_OC3_SC = 0x46 /* single-mode fiber SC */
701 …u32 cp_bsq[ BUFFER_SCHEME_NBR ][ BUFFER_MAGN_NBR ]; /* buffer supply queues */
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 */
763 FORE200E_STATE_INIT_BSQ, /* buffer supply queue initialized */
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 */
826 #define FORE200E_VC_MAP(fore200e, vpi, vci) \ argument
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 */
852 /* host resident buffer supply queues */
855 u32 available_cell_rate; /* remaining pseudo-CBR bw on link */
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…
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 */