Searched refs:port_type (Results 1 - 25 of 57) sorted by relevance

123

/freebsd-10-stable/sys/dev/scd/
H A Dscd_isa.c52 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 Dscdvar.h42 int port_type; member in struct:scd_softc
/freebsd-10-stable/sys/dev/mcd/
H A Dmcd_isa.c53 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 Dmcdvar.h43 int port_type; member in struct:mcd_softc
/freebsd-10-stable/sys/mips/nlm/dev/net/
H A Dsgmii.c141 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 Dxaui.c139 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 Dnae.c1261 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 Dif_nlge.c573 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 Dsense.c101 mlx4_do_sense_ports(dev, stype, &dev->caps.port_type[1]);
H A Dmain.c219 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 Dfw.c504 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 Dctl_frontend.h97 * 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 Dctl_frontend.c265 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 Dctl.h61 ctl_port_type port_type; member in struct:ctl_port_entry
H A Dctl_tpc_local.c93 port->port_type = CTL_PORT_INTERNAL;
H A Dctl_io.h504 int port_type; member in struct:ctl_ha_msg_port
H A Dctl_frontend_ioctl.c102 port->port_type = CTL_PORT_IOCTL;
/freebsd-10-stable/sys/dev/mlx5/mlx5_core/
H A Dmlx5_fw.c170 if ((MLX5_CAP_GEN(dev, port_type) ==
173 (MLX5_CAP_GEN(dev, port_type) == MLX5_CMD_HCA_CAP_PORT_TYPE_IB &&
H A Dmlx5_vport.c1430 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 Dcxgb_t3_hw.c892 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 Dcxgb_xgmac.c469 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 Dumad.c292 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 Dcvmx-mdio.h229 uint16_t port_type : 1; member in struct:__anon7300::__anon7301
/freebsd-10-stable/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_main.c124 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 Dvxgehal-ll.h4952 * @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,

Completed in 171 milliseconds

123