Home
last modified time | relevance | path

Searched refs:CHIP_MODE_IS_4_PORT (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x.h992 #define CHIP_MODE_IS_4_PORT(bp) (CHIP_MODE(bp) == CHIP_4_PORT_MODE) macro
1365 #define BP_MAX_VN_NUM(bp) (CHIP_MODE_IS_4_PORT(bp) ? 2 : 4)
1368 (vn) * ((CHIP_IS_E1x(bp) || (CHIP_MODE_IS_4_PORT(bp))) ? 2 : 1))
Dbnx2x_main.c2538 int vn, n = (CHIP_MODE_IS_4_PORT(bp) ? 2 : 1); in bnx2x_read_mf_cfg()
3312 (CHIP_MODE_IS_4_PORT(bp) ? in bnx2x_pf_init()
3318 (CHIP_MODE_IS_4_PORT(bp) ? in bnx2x_pf_init()
7580 if (CHIP_MODE_IS_4_PORT(bp)) in bnx2x_init_hw_port()
8173 if (CHIP_MODE_IS_4_PORT(bp)) in bnx2x_init_hw_func()
10982 if (CHIP_MODE_IS_4_PORT(bp)) in bnx2x_get_common_hwinfo()
11136 bp->igu_base_sb = (CHIP_MODE_IS_4_PORT(bp) ? pfid : vn) * in bnx2x_get_igu_cam_info()
11140 (CHIP_MODE_IS_4_PORT(bp) ? pfid : vn); in bnx2x_get_igu_cam_info()
11647 int port, port_cnt = CHIP_MODE_IS_4_PORT(bp) ? 2 : 1; in bnx2x_shared_fcoe_funcs()
12174 if (CHIP_MODE_IS_4_PORT(bp) && in bnx2x_get_hwinfo()
[all …]