Searched refs:port_mask (Results 1 - 10 of 10) sorted by relevance

/freebsd-12-stable/sys/contrib/octeon-sdk/
H A Dcvmx-gmx.h68 * @param port_mask Mask (4bits) of which ports on the interface to disable
77 static inline int cvmx_gmx_set_backpressure_override(uint32_t interface, uint32_t port_mask) argument
81 if (port_mask & ~0xf || interface & ~0x1)
84 gmxx_tx_ovr_bp.s.en = port_mask; /* Per port Enable back pressure override */
85 gmxx_tx_ovr_bp.s.ign_full = port_mask; /* Ignore the RX FIFO full when computing BP */
/freebsd-12-stable/sys/dev/sfxge/common/
H A Dmcdi_mon.c180 uint16_t port_mask; local
200 port_mask = MCDI_MON_PORT_MASK(emip);
226 if ((port_mask & mcdi_sensor_map[sensor].msm_port_mask) == 0)
269 uint16_t port_mask; local
277 port_mask = MCDI_MON_PORT_MASK(emip);
298 if ((port_mask & mcdi_sensor_map[sensor].msm_port_mask) == 0)
/freebsd-12-stable/sys/dev/mlx4/
H A Ddevice.h607 u32 port_mask[MLX4_MAX_PORTS + 1]; member in struct:mlx4_caps
1009 if ((type) == (dev)->caps.port_mask[(port)])
1013 if (((dev)->caps.port_mask[port] == MLX4_PORT_TYPE_IB) || \
/freebsd-12-stable/sys/dev/cxgb/common/
H A Dcxgb_common.h745 int t3_mps_set_active_ports(adapter_t *adap, unsigned int port_mask);
H A Dcxgb_t3_hw.c3828 * @port_mask: bitmap of active ports
3832 int t3_mps_set_active_ports(adapter_t *adap, unsigned int port_mask) argument
3834 if (port_mask & ~((1 << adap->params.nports) - 1))
3837 port_mask << S_PORT0ACTIVE);
/freebsd-12-stable/sys/dev/cxgbe/common/
H A Dcommon.h665 int t4_mps_set_active_ports(struct adapter *adap, unsigned int port_mask);
/freebsd-12-stable/sys/dev/mlx4/mlx4_core/
H A Dmlx4_fw.c2227 if (dev->caps.port_mask[port] != MLX4_PORT_TYPE_IB) {
2326 if (dev->caps.port_mask[port] != MLX4_PORT_TYPE_IB) {
H A Dmlx4_main.c224 dev->caps.port_mask[i] = dev->caps.port_type[i];
938 dev->caps.port_mask[i] = dev->caps.port_type[i];
H A Dmlx4_resource_tracker.c3162 if (dev->caps.port_mask[port] != MLX4_PORT_TYPE_IB)
3171 if (dev->caps.port_mask[port] != MLX4_PORT_TYPE_IB)
/freebsd-12-stable/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_main.c592 return dev->caps.port_mask[port_num] == MLX4_PORT_TYPE_IB ?

Completed in 216 milliseconds