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

1234

/freebsd-11-stable/sys/dev/scd/
H A Dscd_isa.c52 sc->port_type = SYS_RES_IOPORT;
81 sc->port_type = SYS_RES_IOPORT;
130 if (sc->port_type) {
131 sc->port = bus_alloc_resource_any(dev, sc->port_type,
152 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-11-stable/sys/dev/mcd/
H A Dmcd_isa.c53 sc->port_type = SYS_RES_IOPORT;
82 sc->port_type = SYS_RES_IOPORT;
131 if (sc->port_type) {
132 sc->port = bus_alloc_resource_any(dev, sc->port_type,
175 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-11-stable/sys/dev/bhnd/bhndb/
H A Dbhndb_pci_hwdata.c143 .port_type = BHND_PORT_DEVICE
316 .port_type = BHND_PORT_DEVICE
366 .port_type = BHND_PORT_DEVICE
381 .port_type = BHND_PORT_DEVICE
432 .port_type = BHND_PORT_DEVICE
447 .port_type = BHND_PORT_DEVICE
501 .port_type = BHND_PORT_DEVICE
516 .port_type = BHND_PORT_DEVICE
570 .port_type = BHND_PORT_DEVICE
585 .port_type
[all...]
H A Dbhndb.h90 bhnd_port_type port_type; /**< mapped port type */ member in struct:bhndb_regwin::__anon9300::__anon9301
H A Dbhndb_private.h118 bhnd_port_type port_type, u_int port,
125 bhnd_port_type port_type, u_int port,
H A Dbhndb_subr.c902 * @param port_type The required port type.
911 int unit, bhnd_port_type port_type, u_int port, u_int region)
926 if (rw->d.core.port_type != port_type)
951 * @param port_type The required port type.
961 bhnd_devclass_t class, int unit, bhnd_port_type port_type, u_int port,
967 rw = bhndb_regwin_find_core(table, class, unit, port_type,
999 if (!bhnd_is_region_valid(dev, regw->d.core.port_type, regw->d.core.port,
910 bhndb_regwin_find_core(const struct bhndb_regwin *table, bhnd_devclass_t class, int unit, bhnd_port_type port_type, u_int port, u_int region) argument
960 bhndb_regwin_find_best(const struct bhndb_regwin *table, bhnd_devclass_t class, int unit, bhnd_port_type port_type, u_int port, u_int region, bus_size_t min_size) argument
/freebsd-11-stable/sys/dev/bhnd/siba/
H A Dsiba.c297 siba_get_port_rid(device_t dev, device_t child, bhnd_port_type port_type, argument
306 port_type, port_num, region_num));
309 addrspace = siba_find_addrspace(dinfo, port_type, port_num, region_num);
318 bhnd_port_type *port_type, u_int *port_num, u_int *region_num)
325 type, rid, port_type, port_num, region_num));
337 *port_type = BHND_PORT_DEVICE;
348 siba_get_region_addr(device_t dev, device_t child, bhnd_port_type port_type, argument
357 port_type, port_num, region_num, addr, size));
361 addrspace = siba_find_addrspace(dinfo, port_type, port_num, region_num);
317 siba_decode_port_rid(device_t dev, device_t child, int type, int rid, bhnd_port_type *port_type, u_int *port_num, u_int *region_num) argument
/freebsd-11-stable/sys/dev/bhnd/bcma/
H A Dbcma.c314 bcma_get_port_rid(device_t dev, device_t child, bhnd_port_type port_type, argument
323 ports = bcma_corecfg_get_port_list(dinfo->corecfg, port_type);
339 bhnd_port_type *port_type, u_int *port_num, u_int *region_num)
368 *port_type = port->sp_type;
380 bcma_get_region_addr(device_t dev, device_t child, bhnd_port_type port_type, argument
389 ports = bcma_corecfg_get_port_list(dinfo->corecfg, port_type);
338 bcma_decode_port_rid(device_t dev, device_t child, int type, int rid, bhnd_port_type *port_type, u_int *port_num, u_int *region_num) argument
H A Dbcma_erom.c608 bhnd_port_type port_type; local
615 port_type = BHND_PORT_DEVICE;
618 port_type = BHND_PORT_BRIDGE;
622 port_type = BHND_PORT_AGENT;
631 sports = bcma_corecfg_get_port_list(corecfg, port_type);
634 sport = bcma_alloc_sport(port_num, port_type);
649 bhnd_port_type_name(port_type),
663 bhnd_port_type_name(port_type),
H A Dbcmavar.h83 struct bcma_sport *bcma_alloc_sport(bcma_pid_t port_num, bhnd_port_type port_type);
H A Dbcma_subr.c275 * @param port_type Port type.
278 bcma_alloc_sport(bcma_pid_t port_num, bhnd_port_type port_type) argument
287 sport->sp_type = port_type;
/freebsd-11-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-11-stable/sys/mips/rmi/dev/nlge/
H A Dif_nlge.c573 if (sc->port_type == XLR_SGMII) {
839 if (sc->port_type != XLR_XGMII)
852 val = (sc->port_type == XLR_XGMII) ? (0xffff) :
1418 printf("Error: Unsupported port_type=%d\n",
1499 int id, port_type; local
1502 port_type = sc->port_type;
1516 switch (port_type) {
1546 if (xlr_board_info.is_xls && sc->port_type == XLR_RGMII)
1555 switch (sc->port_type) {
[all...]
/freebsd-11-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.h62 ctl_port_type port_type; member in struct:ctl_port_entry
/freebsd-11-stable/sys/dev/mlx4/mlx4_core/
H A Dmlx4_main.c175 enum mlx4_port_type port_type[MLX4_MAX_PORTS + 1]; member in struct:mlx4_port_config
196 enum mlx4_port_type *port_type)
202 if (port_type[i] != port_type[i + 1]) {
210 if (!(port_type[i] & dev->caps.supported_type[i+1])) {
224 dev->caps.port_mask[i] = dev->caps.port_type[i];
475 dev->caps.port_type[i] = MLX4_PORT_TYPE_NONE;
479 dev->caps.port_type[i] = MLX4_PORT_TYPE_ETH;
483 dev->caps.port_type[i] = MLX4_PORT_TYPE_IB;
489 dev->caps.port_type[
195 mlx4_check_port_params(struct mlx4_dev *dev, enum mlx4_port_type *port_type) argument
1099 __set_port_type(struct mlx4_port_info *info, enum mlx4_port_type port_type) argument
1173 enum mlx4_port_type port_type; local
[all...]
H A Dmlx4_sense.c105 mlx4_do_sense_ports(dev, stype, &dev->caps.port_type[1]);
/freebsd-11-stable/sys/dev/ocs_fc/
H A Dsli4.c602 if (sli4->port_type == SLI4_PORT_TYPE_FC) {
1688 if (SLI4_PORT_TYPE_FC == sli4->port_type) {
1770 if (SLI4_PORT_TYPE_FC == sli4->port_type) {
1896 if (SLI4_PORT_TYPE_FC == sli4->port_type) {
1935 if (SLI4_PORT_TYPE_FC == sli4->port_type) {
1987 if (SLI4_PORT_TYPE_FC == sli4->port_type) {
2059 if (SLI4_PORT_TYPE_FC == sli4->port_type) {
2095 if (SLI4_PORT_TYPE_FC == sli4->port_type) {
2118 if (SLI4_PORT_TYPE_FC == sli4->port_type) {
2157 if (SLI4_PORT_TYPE_FC == sli4->port_type) {
3970 sli_setup(sli4_t *sli4, ocs_os_handle_t os, sli4_port_type_e port_type) argument
[all...]
/freebsd-11-stable/sys/dev/mlx5/mlx5_lib/
H A Dmlx5_gid.c137 if (MLX5_CAP_GEN(dev, port_type) != MLX5_CAP_PORT_TYPE_ETH)
/freebsd-11-stable/sys/dev/bhnd/
H A Dbhnd.h244 const char *bhnd_port_type_name(bhnd_port_type port_type);
657 * @param[out] port_type The decoded port type.
665 bhnd_decode_port_rid(device_t dev, int type, int rid, bhnd_port_type *port_type, argument
669 port_type, port, region);
676 * @param port_type The port type.
686 bhnd_get_region_addr(device_t dev, bhnd_port_type port_type, u_int port, argument
689 return BHND_BUS_GET_REGION_ADDR(device_get_parent(dev), dev, port_type,

Completed in 371 milliseconds

1234