/freebsd-10-stable/sys/dev/scd/ |
H A D | scd_isa.c | 52 sc->port_type = SYS_RES_IOPORT; 81 sc->port_type = SYS_RES_IOPORT; 129 if (sc->port_type) { 130 sc->port = bus_alloc_resource_any(dev, sc->port_type, 156 bus_release_resource(dev, sc->port_type, sc->port_rid, sc->port);
|
H A D | scdvar.h | 42 int port_type; member in struct:scd_softc
|
/freebsd-10-stable/sys/dev/mcd/ |
H A D | mcd_isa.c | 53 sc->port_type = SYS_RES_IOPORT; 82 sc->port_type = SYS_RES_IOPORT; 130 if (sc->port_type) { 131 sc->port = bus_alloc_resource_any(dev, sc->port_type, 179 bus_release_resource(dev, sc->port_type, sc->port_rid, sc->port);
|
H A D | mcdvar.h | 43 int port_type; member in struct:mcd_softc
|
/freebsd-10-stable/sys/mips/nlm/dev/net/ |
H A D | sgmii.c | 141 nlm_nae_setup_rx_mode_sgmii(uint64_t base, int nblock, int iface, int port_type, argument 181 int port_type, uint8_t *mac_addr) 180 nlm_nae_setup_mac_addr_sgmii(uint64_t base, int nblock, int iface, int port_type, uint8_t *mac_addr) argument
|
H A D | xaui.c | 139 nlm_nae_setup_rx_mode_xaui(uint64_t base, int nblock, int iface, int port_type, argument 155 int port_type, unsigned char *mac_addr) 154 nlm_nae_setup_mac_addr_xaui(uint64_t base, int nblock, int iface, int port_type, unsigned char *mac_addr) argument
|
H A D | nae.c | 1261 nlm_mac_enable(uint64_t nae_base, int nblock, int port_type, int port) argument 1267 switch(port_type) { 1298 nlm_mac_disable(uint64_t nae_base, int nblock, int port_type, int port) argument 1304 switch(port_type) { 1356 nlm_nae_open_if(uint64_t nae_base, int nblock, int port_type, argument 1363 switch (port_type) {
|
/freebsd-10-stable/sys/mips/rmi/dev/nlge/ |
H A D | if_nlge.c | 573 if (sc->port_type == XLR_SGMII) { 837 if (sc->port_type != XLR_XGMII) 850 val = (sc->port_type == XLR_XGMII) ? (0xffff) : 1416 printf("Error: Unsupported port_type=%d\n", 1497 int id, port_type; local 1500 port_type = sc->port_type; 1514 switch (port_type) { 1544 if (xlr_board_info.is_xls && sc->port_type == XLR_RGMII) 1553 switch (sc->port_type) { [all...] |
/freebsd-10-stable/sys/ofed/drivers/net/mlx4/ |
H A D | sense.c | 101 mlx4_do_sense_ports(dev, stype, &dev->caps.port_type[1]);
|
H A D | main.c | 219 enum mlx4_port_type port_type[MLX4_MAX_PORTS + 1]; member in struct:mlx4_port_config 565 enum mlx4_port_type *port_type) 570 if (port_type[i] != port_type[i + 1]) { 580 if (!(port_type[i] & dev->caps.supported_type[i+1])) { 594 dev->caps.port_mask[i] = dev->caps.port_type[i]; 737 dev->caps.port_type[i] = MLX4_PORT_TYPE_NONE; 741 dev->caps.port_type[i] = MLX4_PORT_TYPE_ETH; 745 dev->caps.port_type[i] = MLX4_PORT_TYPE_IB; 757 dev->caps.port_type[ 564 mlx4_check_port_params(struct mlx4_dev *dev, enum mlx4_port_type *port_type) argument [all...] |
H A D | fw.c | 504 if (dev->caps.port_type[gen_or_port] == MLX4_PORT_TYPE_ETH) { 517 } else if (dev->caps.port_type[gen_or_port] == MLX4_PORT_TYPE_IB) { 1012 u8 port_type; local 1032 MLX4_GET(port_type, outbox->buf, 1036 port_type &= MLX4_VF_PORT_NO_LINK_SENSE_MASK; 1038 port_type |= (dev->caps.port_type[vhcr->in_modifier] & 0x3); 1042 port_type |= MLX4_PORT_LINK_UP_MASK; 1044 port_type &= ~MLX4_PORT_LINK_UP_MASK; 1046 MLX4_PUT(outbox->buf, port_type, [all...] |
/freebsd-10-stable/sys/cam/ctl/ |
H A D | ctl_frontend.h | 97 * port_type: This field tells CTL what kind of front end it is 221 ctl_port_type port_type; /* passed to CTL */ member in struct:ctl_port
|
H A D | ctl_frontend.c | 265 if (port->port_type == CTL_PORT_FC) 267 else if (port->port_type == CTL_PORT_SAS) 269 else if (port->port_type == CTL_PORT_ISCSI)
|
H A D | ctl.h | 61 ctl_port_type port_type; member in struct:ctl_port_entry
|
H A D | ctl_tpc_local.c | 93 port->port_type = CTL_PORT_INTERNAL;
|
H A D | ctl_io.h | 504 int port_type; member in struct:ctl_ha_msg_port
|
H A D | ctl_frontend_ioctl.c | 102 port->port_type = CTL_PORT_IOCTL;
|
/freebsd-10-stable/sys/dev/mlx5/mlx5_core/ |
H A D | mlx5_fw.c | 170 if ((MLX5_CAP_GEN(dev, port_type) == 173 (MLX5_CAP_GEN(dev, port_type) == MLX5_CMD_HCA_CAP_PORT_TYPE_IB &&
|
H A D | mlx5_vport.c | 1430 switch (MLX5_CAP_GEN(dev, port_type)) { 1642 switch (MLX5_CAP_GEN(dev, port_type)) { 1659 switch (MLX5_CAP_GEN(dev, port_type)) { 1674 switch (MLX5_CAP_GEN(dev, port_type)) {
|
/freebsd-10-stable/sys/dev/cxgb/common/ |
H A D | cxgb_t3_hw.c | 892 p->port_type[0] = uses_xaui(adapter) ? 1 : 2; 893 p->port_type[1] = uses_xaui(adapter) ? 6 : 2; 895 p->port_type[0] = (u8)hex2int(vpd.port0_data[0]); 896 p->port_type[1] = (u8)hex2int(vpd.port1_data[0]); 897 p->port_type[2] = (u8)hex2int(vpd.port2_data[0]); 898 p->port_type[3] = (u8)hex2int(vpd.port3_data[0]); 4554 unsigned port_type = adapter->params.vpd.port_type[j]; local 4555 if (port_type) { 4556 if (port_type < ARRAY_SIZ 4626 unsigned port_type = adap->params.vpd.port_type[j]; local [all...] |
H A D | cxgb_xgmac.c | 469 unsigned port_type = adap->params.vpd.port_type[macidx(mac)]; local 485 if (port_type == 2) { 540 ipg = (port_type == 9 || adap->params.rev != T3_REV_C) ? 1 : 0;
|
/freebsd-10-stable/contrib/ofed/management/libibumad/src/ |
H A D | umad.c | 292 int phys_found = -1, port_found = 0, port, port_type; local 313 if ((port_type = resolve_ca_port(names[caidx], &port)) < 0) 317 names[caidx], port, port_type); 319 if (port_type > 0) {
|
/freebsd-10-stable/sys/contrib/octeon-sdk/ |
H A D | cvmx-mdio.h | 229 uint16_t port_type : 1; member in struct:__anon7300::__anon7301
|
/freebsd-10-stable/sys/dev/mlx5/mlx5_ib/ |
H A D | mlx5_ib_main.c | 124 switch (MLX5_CAP_GEN(dev->mdev, port_type)) { 1962 static struct kobj_type port_type = { variable in typeref:struct:kobj_type 1973 ret = kobject_init_and_add(&port->kobj, &port_type, 2207 if (MLX5_CAP_GEN(dev->mdev, port_type) == 2242 if (MLX5_CAP_GEN(dev->mdev, port_type) == 2286 if (MLX5_CAP_GEN(dev->mdev, port_type) ==
|
/freebsd-10-stable/sys/dev/vxge/include/ |
H A D | vxgehal-ll.h | 4952 * @port_type: if 0 - Src port or 1 - Dest port 4964 u32 port_type, 4972 * @port_type: Buffer to return if 0 - Src port or 1 - Dest port 4983 u32 *port_type, 4991 * @port_type: Buffer to return if 0 - Src port or 1 - Dest port 5002 u32 *port_type, 5010 * @port_type: if 0 - Src port or 1 - Dest port 5022 u32 port_type,
|