Home
last modified time | relevance | path

Searched refs:MAX_NPORTS (Results 1 – 11 of 11) sorted by relevance

/freebsd/sys/dev/cxgb/
H A Dcxgb_adapter.h371 struct port_info port[MAX_NPORTS];
372 device_t portdev[MAX_NPORTS];
378 char port_types[MAX_NPORTS + 1];
543 #define OFFLOAD_DEVMAP_BIT (1 << MAX_NPORTS)
H A Dcxgb_osdep.h53 MAX_NPORTS = 4, /* max # of ports */ enumerator
H A Dcxgb_main.c302 #define PORT_MASK ((1 << MAX_NPORTS) - 1)
506 for (i = 0; i < MAX_NPORTS; i++) in cxgb_controller_attach()
3364 if (!isset(&sc->offload_map, MAX_NPORTS) && in toe_capability()
3366 setbit(&sc->offload_map, MAX_NPORTS); in toe_capability()
/freebsd/sys/dev/cxgb/common/
H A Dcxgb_ctl_defs.h84 if_t devs[MAX_NPORTS];
H A Dcxgb_common.h357 u8 port_type[MAX_NPORTS];
/freebsd/sys/dev/cxgbe/
H A Dadapter.h934 struct taskqueue *tq[MAX_NPORTS]; /* General purpose taskqueues */
935 struct port_info *port[MAX_NPORTS];
H A Dt4_vf.c604 sc->params.nports = imin(sc->params.vfres.nvi, MAX_NPORTS); in t4vf_attach()
H A Dt4_main.c1709 if (port < 0 || port >= MAX_NPORTS) in t4_read_port_device()
1808 for (i = 0; i < MAX_NPORTS; i++) { in t4_detach_common()
/freebsd/sys/dev/cxgbe/common/
H A Dcommon.h36 MAX_NPORTS = 4, /* max # of ports */ enumerator
H A Dt4_hw.c345 struct port_tx_state tx_state[MAX_NPORTS]; in t4_wr_mbox_meat_timeout()
6749 MPASS(n > 0 && n <= MAX_NPORTS); in t4_get_mps_bg_map()
/freebsd/sys/dev/cxgbe/crypto/
H A Dt4_crypto.c183 struct ccr_port ports[MAX_NPORTS];
1931 _Static_assert(sizeof(sc->port_mask) * NBBY >= MAX_NPORTS - 1, in ccr_init_port()