/freebsd/sys/dev/etherswitch/ar40xx/ |
H A D | ar40xx_hw_vtu.c | 109 uint32_t port_mask, uint32_t untagged_mask) in ar40xx_hw_vtu_load_vlan() argument 117 __func__, vid, port_mask, untagged_mask); in ar40xx_hw_vtu_load_vlan() 122 if ((port_mask & (1U << i)) == 0) in ar40xx_hw_vtu_load_vlan()
|
H A D | ar40xx_hw_vtu.h | 33 uint32_t port_mask, uint32_t untagged_mask);
|
/freebsd/sys/dev/sfxge/common/ |
H A D | mcdi_mon.c | 57 efx_mon_stat_portmask_t port_mask; in mcdi_mon_decode_stats() local 74 port_mask = (efx_mon_stat_portmask_t)MCDI_MON_PORT_MASK(emip); in mcdi_mon_decode_stats() 115 if (!(decode_ok && (stat_portmask & port_mask))) in mcdi_mon_decode_stats() 164 efx_mon_stat_portmask_t port_mask, sensor_port_mask; in mcdi_mon_ev() local 172 port_mask = MCDI_MON_PORT_MASK(emip); in mcdi_mon_ev() 194 (port_mask && sensor_port_mask))) { in mcdi_mon_ev()
|
H A D | ef10_nvram.c | 2233 unsigned int port_mask; member 2244 #define PARTN_MAP_ENTRY(partn, port_mask, nvtype) \ argument 2245 { (NVRAM_PARTITION_TYPE_##partn), (PORT_##port_mask), (EFX_NVRAM_##nvtype) } 2342 (entry->port_mask & (1u << emip->emi_port))) { in ef10_nvram_type_to_partn() 2372 (entry->port_mask & (1u << emip->emi_port))) { in ef10_nvram_partn_to_type()
|
/freebsd/sys/dev/qcom_ess_edma/ |
H A D | qcom_ess_edma_gmac.c | 316 gmac->port_mask = vlan_tag[1]; in qcom_ess_edma_gmac_parse() 323 gmac->port_mask); in qcom_ess_edma_gmac_parse() 408 if ((gmac->port_mask & (1U << i)) == 0) in qcom_ess_edma_gmac_setup_port_mapping()
|
H A D | qcom_ess_edma_var.h | 202 int port_mask; member
|
H A D | qcom_ess_edma.c | 144 gmac->port_mask, gmac->vlan_id); in qcom_ess_edma_tx_queue_xmit()
|
/freebsd/sys/dev/mlx4/ |
H A D | device.h | 607 u32 port_mask[MLX4_MAX_PORTS + 1]; member 1010 if ((type) == (dev)->caps.port_mask[(port)]) 1014 if (((dev)->caps.port_mask[port] == MLX4_PORT_TYPE_IB) || \
|
/freebsd/sys/dev/cxgbe/crypto/ |
H A D | t4_crypto.c | 184 u_int port_mask; member 1834 SYSCTL_ADD_UINT(ctx, children, OID_AUTO, "port_mask", CTLFLAG_RW, in ccr_sysctls() 1835 &sc->port_mask, 0, "Mask of enabled ports"); in ccr_sysctls() 1931 _Static_assert(sizeof(sc->port_mask) * NBBY >= MAX_NPORTS - 1, in ccr_init_port() 1932 "Too many ports to fit in port_mask"); in ccr_init_port() 1941 sc->port_mask |= 1u << port; in ccr_init_port() 2292 if ((sc->port_mask & (1u << i)) == 0) in ccr_choose_port()
|
/freebsd/sys/dev/cxgb/common/ |
H A D | cxgb_common.h | 743 int t3_mps_set_active_ports(adapter_t *adap, unsigned int port_mask);
|
H A D | cxgb_t3_hw.c | 3829 int t3_mps_set_active_ports(adapter_t *adap, unsigned int port_mask) in t3_mps_set_active_ports() argument 3831 if (port_mask & ~((1 << adap->params.nports) - 1)) in t3_mps_set_active_ports() 3834 port_mask << S_PORT0ACTIVE); in t3_mps_set_active_ports()
|
/freebsd/sys/dev/cxgbe/common/ |
H A D | common.h | 691 int t4_mps_set_active_ports(struct adapter *adap, unsigned int port_mask);
|
/freebsd/sys/dev/mlx4/mlx4_core/ |
H A D | mlx4_fw.c | 2232 if (dev->caps.port_mask[port] != MLX4_PORT_TYPE_IB) { in mlx4_INIT_PORT_wrapper() 2331 if (dev->caps.port_mask[port] != MLX4_PORT_TYPE_IB) { in mlx4_CLOSE_PORT_wrapper()
|
H A D | mlx4_main.c | 224 dev->caps.port_mask[i] = dev->caps.port_type[i]; in mlx4_set_port_mask() 939 dev->caps.port_mask[i] = dev->caps.port_type[i]; in mlx4_slave_cap()
|
H A D | mlx4_resource_tracker.c | 3162 if (dev->caps.port_mask[port] != MLX4_PORT_TYPE_IB) in verify_qp_parameters() 3171 if (dev->caps.port_mask[port] != MLX4_PORT_TYPE_IB) in verify_qp_parameters()
|
/freebsd/sys/dev/mlx4/mlx4_ib/ |
H A D | mlx4_ib_main.c | 588 return dev->caps.port_mask[port_num] == MLX4_PORT_TYPE_IB ? in mlx4_ib_port_link_layer()
|