Searched refs:cgx_id (Results 1 – 4 of 4) sorted by relevance
/u-boot/drivers/net/octeontx2/ |
A D | cgx.c | 144 ret = cgx_intf_get_link_sts(lmac->cgx->cgx_id, lmac_id, status); in cgx_lmac_link_status() 147 __func__, lmac->cgx->cgx_id, lmac->lmac_id); in cgx_lmac_link_status() 173 ret = cgx_intf_link_up_dwn(lmac->cgx->cgx_id, lmac_id, enable, in cgx_lmac_link_enable() 177 __func__, lmac->cgx->cgx_id, lmac->lmac_id); in cgx_lmac_link_enable() 221 cgx->cgx_id, cgx->reg_base); in cgx_lmac_init() 229 cgx->cgx_id, i); in cgx_lmac_init() 241 printf("CGX%d LMAC%d [%s]\n", lmac->cgx->cgx_id, in cgx_lmac_init() 259 cgx->cgx_id = ((u64)(cgx->reg_base) >> 24) & 0x7; in cgx_probe() 262 cgx->cgx_id); in cgx_probe() 276 __func__, cgx->reg_base, cgx->cgx_id); in cgx_remove()
|
A D | cgx_intf.c | 364 ret = cgx_intf_req(nix->lmac->cgx->cgx_id, nix->lmac->lmac_id, in cgx_intf_set_mode() 372 ret = cgx_intf_req(nix->lmac->cgx->cgx_id, nix->lmac->lmac_id, in cgx_intf_set_mode() 412 ret = cgx_intf_req(nix->lmac->cgx->cgx_id, nix->lmac->lmac_id, in cgx_intf_get_mode() 594 int ret, cgx_id = cgx, lmac_id = lmac; in cgx_intf_get_ignore() local 600 cgx_id = nix->lmac->cgx->cgx_id; in cgx_intf_get_ignore() 605 ret = cgx_intf_req(cgx_id, lmac_id, cmd, &scr0.u, 1); in cgx_intf_get_ignore() 612 cgx_id, lmac_id); in cgx_intf_get_ignore() 630 int ret, cgx_id = cgx, lmac_id = lmac; in cgx_intf_set_ignore() local 636 cgx_id = nix->lmac->cgx->cgx_id; in cgx_intf_set_ignore() 642 ret = cgx_intf_req(cgx_id, lmac_id, cmd, &scr0.u, 0); in cgx_intf_set_ignore() [all …]
|
A D | cgx.h | 65 u8 cgx_id; member
|
A D | nix.c | 426 NIX_LINK_E_CGXX_LMACX(nix->lmac->cgx->cgx_id, in nix_lf_alloc() 429 NIX_CHAN_E_CGXX_LMACX_CHX(nix->lmac->cgx->cgx_id, in nix_lf_alloc() 436 nix->lmac->cgx->cgx_id, nix->lmac->lmac_id); in nix_lf_alloc() 778 lmac->cgx->cgx_id, lmac->lmac_id, in nix_lf_init() 818 *cgxid = lmac->cgx->cgx_id; in nix_get_cgx_lmac_id() 828 printf(" CGX%d LMAC%d [%s]", lmac->cgx->cgx_id, lmac->lmac_id, in nix_print_mac_info()
|
Completed in 6 milliseconds