Searched refs:cgx (Results 1 – 8 of 8) sorted by relevance
/linux/drivers/net/ethernet/marvell/octeontx2/af/ |
A D | cgx.c | 74 struct cgx *cgx = cgxd; in is_dev_rpm() local 147 struct cgx *cgx = cgxd; in cgx_get_lmac_cnt() local 284 struct cgx *cgx; in cgx_read_dmac_entry() local 865 struct cgx *cgx = lmac->cgx; in cgx_fwi_cmd_send() local 1091 struct cgx *cgx = lmac->cgx; in cgx_link_change_handler() local 1158 struct cgx *cgx; in cgx_fwi_event_handler() local 1160 cgx = lmac->cgx; in cgx_fwi_event_handler() 1244 struct cgx *cgx; in cgx_get_fwdata_base() local 1288 struct cgx *cgx; in cgx_set_fec() local 1482 lmac->cgx = cgx; in cgx_lmac_init() [all …]
|
A D | lmac_common.h | 39 struct cgx *cgx; member 77 int (*get_nr_lmacs)(void *cgx); 82 int (*mac_get_rx_stats)(void *cgx, int lmac_id, 84 int (*mac_get_tx_stats)(void *cgx, int lmac_id, 112 struct cgx { struct 130 typedef struct cgx rpm_t; argument 133 void cgx_write(struct cgx *cgx, u64 lmac, u64 offset, u64 val); 134 u64 cgx_read(struct cgx *cgx, u64 lmac, u64 offset); 135 struct lmac *lmac_pdata(u8 lmac_id, struct cgx *cgx); 137 int cgx_fwi_cmd_generic(u64 req, u64 *resp, struct cgx *cgx, int lmac_id); [all …]
|
A D | rvu_cgx.c | 125 int cgx, lmac, iter; in rvu_map_cgx_lmac_pf() local 154 for (cgx = 0; cgx < cgx_cnt_max; cgx++) { in rvu_map_cgx_lmac_pf() 307 for (cgx = 0; cgx <= rvu->cgx_cnt_max; cgx++) { in cgx_lmac_event_handler_init() 317 cgx, lmac); in cgx_lmac_event_handler_init() 334 int cgx, err; in rvu_cgx_init() local 352 for (cgx = 0; cgx < rvu->cgx_cnt_max; cgx++) in rvu_cgx_init() 353 rvu->cgx_idmap[cgx] = cgx_get_pdata(cgx); in rvu_cgx_init() 373 for (cgx = 0; cgx <= rvu->cgx_cnt_max; cgx++) { in rvu_cgx_init() 381 cgx); in rvu_cgx_init() 390 int cgx, lmac; in rvu_cgx_exit() local [all …]
|
A D | rvu_cn10k.c | 294 hw->cgx = (nix_const >> 12) & 0xFULL; in rvu_set_channels_base() 296 hw->cgx_links = hw->cgx * hw->lmac_per_cgx; in rvu_set_channels_base() 520 int cgx, lmac; in rvu_rpm_set_channels() local 522 for (cgx = 0; cgx < rvu->cgx_cnt_max; cgx++) { in rvu_rpm_set_channels() 524 __rvu_rpm_set_channels(cgx, lmac, base); in rvu_rpm_set_channels()
|
A D | Makefile | 11 rvu_af-y := cgx.o rvu.o rvu_cgx.o rvu_npa.o rvu_nix.o \
|
A D | rvu_debugfs.c | 500 char cgx[10], lmac[10]; in rvu_dbg_rvu_pf_cgx_map_display() local 521 cgx[0] = 0; in rvu_dbg_rvu_pf_cgx_map_display() 533 sprintf(cgx, "%s%d", mac_ops->name, cgx_id); in rvu_dbg_rvu_pf_cgx_map_display() 2243 void *cgx; in rvu_dbg_cgx_init() local 2256 cgx = rvu_cgx_pdata(i, rvu); in rvu_dbg_cgx_init() 2257 if (!cgx) in rvu_dbg_cgx_init() 2259 lmac_bmap = cgx_get_lmac_bmap(cgx); in rvu_dbg_cgx_init() 2262 rvu->rvu_dbg.cgx = debugfs_create_dir(dname, in rvu_dbg_cgx_init() 2269 debugfs_create_dir(dname, rvu->rvu_dbg.cgx); in rvu_dbg_cgx_init() 2272 cgx, &rvu_dbg_cgx_stat_fops); in rvu_dbg_cgx_init() [all …]
|
A D | rvu.h | 59 struct dentry *cgx; member 347 u8 cgx; member
|
A D | rvu_nix.c | 3938 u8 cgx = 0, lmac = 0; in rvu_mbox_handler_nix_set_hw_frs() local 3990 rvu_get_cgx_lmac_id(rvu->pf2cgxlmac_map[pf], &cgx, &lmac); in rvu_mbox_handler_nix_set_hw_frs() 3991 link = (cgx * hw->lmac_per_cgx) + lmac; in rvu_mbox_handler_nix_set_hw_frs() 4016 cgx_get_lmac_cnt(rvu_cgx_pdata(cgx, rvu)); in rvu_mbox_handler_nix_set_hw_frs() 4066 int cgx, lmac_cnt, slink, link; in nix_link_config() local 4097 for (cgx = 0; cgx < hw->cgx; cgx++) { in nix_link_config() 4098 lmac_cnt = cgx_get_lmac_cnt(rvu_cgx_pdata(cgx, rvu)); in nix_link_config() 4106 slink = cgx * hw->lmac_per_cgx; in nix_link_config()
|
Completed in 50 milliseconds