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

12

/freebsd-10.0-release/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.0-release/sys/cam/ctl/
H A Dctl.h61 ctl_port_type port_type; member in struct:ctl_port_entry
156 int ctl_port_enable(ctl_port_type port_type);
157 int ctl_port_disable(ctl_port_type port_type);
163 ctl_port_type port_type, int no_virtual);
H A Dctl_frontend.h61 * port_type: This field tells CTL what kind of front end it is
207 ctl_port_type port_type; /* passed to CTL */ member in struct:ctl_frontend
H A Dctl_frontend.c99 (fe->port_type != CTL_PORT_IOCTL) ?
H A Dctl.c1119 fe->port_type = CTL_PORT_IOCTL;
1238 ctl_port_enable(ctl_port_type port_type) argument
1271 if (port_type & fe->port_type)
1284 ctl_port_disable(ctl_port_type port_type) argument
1292 if (port_type & fe->port_type)
1308 ctl_port_type port_type, int no_virtual)
1327 if ((fe->port_type & port_type)
1306 ctl_port_list(struct ctl_port_entry *entries, int num_entries_alloced, int *num_entries_filled, int *num_entries_dropped, ctl_port_type port_type, int no_virtual) argument
[all...]
/freebsd-10.0-release/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.0-release/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.0-release/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.0-release/sys/ofed/drivers/net/mlx4/
H A Dmain.c157 enum mlx4_port_type port_type[MLX4_MAX_PORTS + 1]; member in struct:mlx4_port_config
253 enum mlx4_port_type *port_type)
258 if (port_type[i] != port_type[i + 1]) {
268 if (!(port_type[i] & dev->caps.supported_type[i+1])) {
282 dev->caps.port_mask[i] = dev->caps.port_type[i];
399 dev->caps.port_type[i] = MLX4_PORT_TYPE_NONE;
403 dev->caps.port_type[i] = MLX4_PORT_TYPE_ETH;
407 dev->caps.port_type[i] = MLX4_PORT_TYPE_IB;
413 dev->caps.port_type[
252 mlx4_check_port_params(struct mlx4_dev *dev, enum mlx4_port_type *port_type) argument
[all...]
H A Dsense.c101 mlx4_do_sense_ports(dev, stype, &dev->caps.port_type[1]);
H A Dfw.c346 if (dev->caps.port_type[gen_or_port] == MLX4_PORT_TYPE_ETH) {
359 } else if (dev->caps.port_type[gen_or_port] == MLX4_PORT_TYPE_IB) {
800 u8 port_type; local
822 MLX4_GET(port_type, outbox->buf,
826 port_type &= MLX4_VF_PORT_NO_LINK_SENSE_MASK;
828 port_type |= (dev->caps.port_type[vhcr->in_modifier] & 0x3);
830 MLX4_PUT(outbox->buf, port_type,
833 if (dev->caps.port_type[vhcr->in_modifier] == MLX4_PORT_TYPE_ETH)
H A Dport.c745 if (dev->caps.port_type[port] == MLX4_PORT_TYPE_NONE)
754 if (dev->caps.port_type[port] == MLX4_PORT_TYPE_ETH) {
/freebsd-10.0-release/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]);
4547 unsigned port_type = adapter->params.vpd.port_type[j]; local
4548 if (port_type) {
4549 if (port_type < ARRAY_SIZ
4619 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.0-release/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.0-release/usr.sbin/ctladm/
H A Dctladm.c221 ctl_port_type port_type);
437 ctl_port_type port_type)
482 switch (entry->port_type) {
514 else if ((port_type != CTL_PORT_NONE)
515 && ((port_type & entry->port_type) == 0))
523 entry->port_type, entry->fe_name, entry->physical_port,
541 sbuf_printf(sb, "<port_type>%s</port_type>\n", type);
572 || (port_type !
436 cctl_port_dump(int fd, int quiet, int xml, int32_t targ_port, ctl_port_type port_type) argument
605 ctl_port_type port_type = CTL_PORT_NONE; local
[all...]
/freebsd-10.0-release/sys/contrib/octeon-sdk/
H A Dcvmx-mdio.h229 uint16_t port_type : 1; member in struct:__anon6965::__anon6966
/freebsd-10.0-release/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,
/freebsd-10.0-release/sys/ofed/drivers/infiniband/core/
H A Dsysfs.c478 static struct kobj_type port_type = { variable in typeref:struct:kobj_type
571 ret = kobject_init_and_add(&p->kobj, &port_type,
/freebsd-10.0-release/sys/ofed/drivers/infiniband/hw/mlx4/
H A Dsysfs.c448 static struct kobj_type port_type = { variable in typeref:struct:kobj_type
576 ret = kobject_init_and_add(&p->kobj, &port_type,
/freebsd-10.0-release/usr.sbin/ctld/
H A Dkernel.c633 entry.port_type = CTL_PORT_ISCSI;
653 entry.port_type = CTL_PORT_ISCSI;

Completed in 366 milliseconds

12