Searched refs:bgx (Results 1 - 6 of 6) sorted by relevance

/freebsd-11-stable/sys/dev/vnic/
H A Dthunder_bgx.c79 static int bgx_init_phy(struct bgx *);
81 static struct bgx *bgx_vnic[MAX_BGX_THUNDER];
85 static void bgx_get_qlm_mode(struct bgx *);
86 static void bgx_init_hw(struct bgx *);
87 static int bgx_lmac_enable(struct bgx *, uint8_t);
88 static void bgx_lmac_disable(struct bgx *, uint8_t);
104 "bgx",
138 struct bgx *bgx; local
144 bgx
201 struct bgx *bgx; local
221 bgx_reg_read(struct bgx *bgx, uint8_t lmac, uint64_t offset) argument
231 bgx_reg_write(struct bgx *bgx, uint8_t lmac, uint64_t offset, uint64_t val) argument
241 bgx_reg_modify(struct bgx *bgx, uint8_t lmac, uint64_t offset, uint64_t val) argument
251 bgx_poll_reg(struct bgx *bgx, uint8_t lmac, uint64_t reg, uint64_t mask, boolean_t zero) argument
289 struct bgx *bgx; local
303 struct bgx *bgx; local
319 struct bgx *bgx = bgx_vnic[(node * MAX_BGX_PER_CN88XX) + bgx_idx]; local
330 struct bgx *bgx = bgx_vnic[(node * MAX_BGX_PER_CN88XX) + bgx_idx]; local
341 struct bgx *bgx = lmac->bgx; local
456 struct bgx *bgx; local
470 struct bgx *bgx; local
480 bgx_flush_dmac_addrs(struct bgx *bgx, int lmac) argument
496 struct bgx *bgx; local
537 struct bgx *bgx; local
564 bgx_lmac_sgmii_init(struct bgx *bgx, int lmacid) argument
604 bgx_lmac_xaui_init(struct bgx *bgx, int lmacid, int lmac_type) argument
698 struct bgx *bgx = lmac->bgx; local
837 bgx_lmac_enable(struct bgx *bgx, uint8_t lmacid) argument
912 bgx_lmac_disable(struct bgx *bgx, uint8_t lmacid) argument
948 bgx_set_num_ports(struct bgx *bgx) argument
1006 bgx_init_hw(struct bgx *bgx) argument
1053 bgx_get_qlm_mode(struct bgx *bgx) argument
1130 bgx_init_phy(struct bgx *bgx) argument
[all...]
H A Dthunder_bgx_var.h36 struct bgx *bgx; member in struct:lmac
52 struct bgx { struct
66 extern int bgx_fdt_init_phy(struct bgx *);
H A Dthunder_bgx_fdt.c65 #define BGX_NODE_NAME "bgx"
70 int bgx_fdt_init_phy(struct bgx *);
85 bgx_fdt_phy_mode_match(struct bgx *bgx, char *qlm_mode, size_t size) argument
90 switch (bgx->qlm_mode) {
207 bgx_fdt_find_node(struct bgx *bgx) argument
214 KASSERT(bgx->bgx_id <= BGX_MAXID,
215 ("Invalid BGX ID: %d, max: %d", bgx->bgx_id, BGX_MAXID));
223 snprintf(bgx_sel, len + 1, "/"BGX_NODE_NAME"%d", bgx
259 bgx_fdt_init_phy(struct bgx *bgx) argument
[all...]
H A Dnic_main.c78 #define NIC_SET_VF_LMAC_MAP(bgx, lmac) ((((bgx) & 0xF) << 4) | ((lmac) & 0xF))
302 int bgx, lmac; local
314 bgx = NIC_GET_BGX_FROM_VF_LMAC_MAP(nic->vf_lmac_map[vfnum]);
316 bgx_set_lmac_mac(nic->node, bgx, lmac, mac);
519 nic_get_bgx_stats(struct nicpf *nic, struct bgx_stats_msg *bgx) argument
524 bgx_idx = NIC_GET_BGX_FROM_VF_LMAC_MAP(nic->vf_lmac_map[bgx->vf_id]);
525 lmac = NIC_GET_LMAC_FROM_VF_LMAC_MAP(nic->vf_lmac_map[bgx->vf_id]);
528 mbx.bgx_stats.vf_id = bgx->vf_id;
529 mbx.bgx_stats.rx = bgx
589 int bgx, next_bgx_lmac = 0; local
686 uint32_t vnic, bgx, lmac, chan; local
827 uint32_t bgx, lmac, chan; local
889 int bgx, lmac; local
1198 uint8_t vf, bgx, lmac; local
[all...]
H A Dthunder_bgx.h209 int bgx_get_lmac_count(int node, int bgx);
H A Dnicvf_main.c910 nicvf_read_bgx_stats(struct nicvf *nic, struct bgx_stats_msg *bgx) argument
913 if (bgx->rx)
914 nic->bgx_stats.rx_stats[bgx->idx] = bgx->stats;
916 nic->bgx_stats.tx_stats[bgx->idx] = bgx->stats;

Completed in 121 milliseconds