Searched refs:ports (Results 1 - 25 of 152) sorted by relevance

1234567

/freebsd-13-stable/sys/dev/etherswitch/arswitch/
H A Darswitch_vlans.h42 int ar8xxx_get_dot1q_vlan(struct arswitch_softc *sc, uint32_t *ports,
44 int ar8xxx_set_dot1q_vlan(struct arswitch_softc *sc, uint32_t ports,
46 int ar8xxx_get_port_vlan(struct arswitch_softc *sc, uint32_t *ports, int vid);
47 int ar8xxx_set_port_vlan(struct arswitch_softc *sc, uint32_t ports, int vid);
H A Darswitch_vlans.c107 ar8xxx_get_dot1q_vlan(struct arswitch_softc *sc, uint32_t *ports, argument
120 *ports = 0;
124 *ports = reg;
130 ar8xxx_set_dot1q_vlan(struct arswitch_softc *sc, uint32_t ports, argument
136 err = ar8xxx_vlan_op(sc, AR8X16_VLAN_OP_LOAD, vid, ports);
143 ar8xxx_get_port_vlan(struct arswitch_softc *sc, uint32_t *ports, int vid) argument
152 *ports = (reg >> AR8X16_PORT_VLAN_DEST_PORTS_SHIFT);
153 *ports &= AR8X16_VLAN_MEMBER;
158 ar8xxx_set_port_vlan(struct arswitch_softc *sc, uint32_t ports, int vid) argument
167 (ports
179 uint32_t ports; local
[all...]
/freebsd-13-stable/share/mk/
H A Dbsd.port.subdir.mk4 # Autodetect if the command is being run in a ports tree that's not rooted
5 # in the default /usr/ports. The ../../.. case is in case ports ever grows
12 _PORTSDIR?= /usr/ports
H A Dbsd.port.mk4 # Autodetect if the command is being run in a ports tree that's not rooted
5 # in the default /usr/ports. The ../../.. case is in case ports ever grows
12 _PORTSDIR?= /usr/ports
23 # and setting MK_* variables when building ports.
/freebsd-13-stable/sys/dev/puc/
H A Dpuc_cfg.c74 /* The number of ports on this card. */
75 switch (cfg->ports) {
138 if (cfg->ports == PUC_PORT_NONSTANDARD)
142 if (cfg->ports == PUC_PORT_1P ||
143 cfg->ports == PUC_PORT_2P)
149 if (cfg->ports == PUC_PORT_1S1P ||
150 cfg->ports == PUC_PORT_1S2P ||
151 cfg->ports == PUC_PORT_2P)
157 if (cfg->ports == PUC_PORT_1S2P ||
158 cfg->ports
[all...]
/freebsd-13-stable/contrib/ofed/opensm/opensm/
H A Dosm_perfmgr_db.c114 node->ports[port].valid = TRUE;
128 rc->ports = calloc(num_ports, sizeof(db_port_t));
129 if (!rc->ports)
137 rc->ports[i].last_reset = cur_time;
138 rc->ports[i].err_previous.time = cur_time;
139 rc->ports[i].dc_previous.time = cur_time;
140 rc->ports[i].valid = FALSE;
158 if (node->ports)
159 free(node->ports);
370 p_port = &(node->ports[por
[all...]
H A Dosm_ucast_cache.c78 cache_port_t ports[0]; member in struct:cache_switch
83 return p_sw->ports[0].remote_lid_ho;
88 return p_sw->ports[0].is_leaf;
93 p_sw->ports[0].is_leaf = TRUE;
109 p_cache_sw->ports[0].remote_lid_ho = lid_ho;
110 p_cache_sw->ports[0].is_leaf = FALSE;
182 if (p_cache_sw->ports[p->port_num].remote_lid_ho == 0) {
184 p_cache_sw->ports[p->port_num].remote_lid_ho = remote_lid_ho;
185 p_cache_sw->ports[p->port_num].is_leaf = is_ca;
209 if (p_sw->ports[port_nu
[all...]
/freebsd-13-stable/tools/tools/portsinfo/
H A Dportsinfo.sh4 # portsinfo - Generate list of new ports for last two weeks.
11 url=$host/cgi/ports.cgi
32 For more information about using ports, see the ports collection
34 https://www.freebsd.org/handbook/ports.html
36 https://www.freebsd.org/ports/
40 lynx -dump $host/ports/ |
46 New ports added last two weeks
66 Updated ports last two weeks
/freebsd-13-stable/usr.bin/systat/
H A Dnetcmds.c117 else if (prefix(args, "ports"))
199 } *ports; variable in typeref:struct:pitem
207 if (ports == NULL)
209 free((char *)ports), ports = 0;
213 for (p = ports; p < ports + nports; p++)
219 ports = (struct pitem *)malloc(sizeof (*p));
221 ports = (struct pitem *)realloc(ports, (nport
[all...]
/freebsd-13-stable/release/scripts/
H A Dmake-pkg-package.sh8 export WRKDIRPREFIX=/tmp/ports.${TARGET}
13 export WRKDIR=$(make -C ${PORTSDIR}/ports-mgmt/pkg -V WRKDIR)
15 make -C ${PORTSDIR}/ports-mgmt/pkg TARGET=${TARGET} TARGET_ARCH=${TARGET_ARCH} \
H A Dmake-manifest.sh14 ports="Ports tree"
27 desc_ports="${ports}"
/freebsd-13-stable/tests/sys/common/
H A Dnet_receiver.py43 parser.add_argument('--ports', type=str, help='packet ports 1,2,3')
58 ports = [int(port) for port in args.ports.split(',')]
59 for port in ports:
88 ports = [int(port) for port in args.ports.split(',')]
89 for port in ports:
/freebsd-13-stable/sys/dev/etherswitch/ip17x/
H A Dip175d.c85 uint32_t ports[IP17X_MAX_VLANS]; local
94 ports[i] = 0;
103 ports[i] = 0x3f;
108 ports[i] = v->ports;
115 if ((ports[i] & (1 << j)) == 0)
127 ports[2 * i] | (ports[2 * i + 1] << 8));
H A Dip175c.c85 uint32_t ports[IP175X_NUM_PORTS], reg[IP175X_NUM_PORTS/2]; local
92 memset(ports, 0, sizeof(ports));
96 ports[phy] = v->ports;
101 if (ports[i] & (1 << sc->cpuport)) {
102 ports[i] |= (1 << 7);
103 ports[i] &= ~(1 << sc->cpuport);
110 reg[i] = ports[i * 2] << 8 | ports[
[all...]
H A Dip17x_vlans.c82 v->ports = (1 << sc->cpuport);
86 v->ports |= (1 << j);
93 * Setup vlan 1 as PVID for all switch ports. Add all ports as
104 v->ports |= (1 << i);
128 if ((sc->vlan[vg->es_vlangroup].ports & (1 << i)) == 0)
173 sc->vlan[vg->es_vlangroup].ports = 0;
180 sc->vlan[vg->es_vlangroup].ports = 0;
185 sc->vlan[vg->es_vlangroup].ports |= (1 << phy);
/freebsd-13-stable/contrib/ofed/opensm/include/opensm/
H A Dosm_mesh.h54 int ports[0]; member in struct:_link
/freebsd-13-stable/contrib/unbound/daemon/
H A Dworker.h97 /** ports to be used by this worker. */
98 int* ports; member in struct:worker
99 /** number of ports for this worker */
137 * @param ports: the ports it is allowed to use, array.
138 * @param n: the number of ports.
141 struct worker* worker_create(struct daemon* daemon, int id, int* ports, int n);
145 * Allocates event base, listens to ports
148 * @param ports: list of shared query ports
[all...]
/freebsd-13-stable/sys/xen/
H A Dhypervisor.h81 /* of the specified ports or the specified number of ticks elapse */
84 evtchn_port_t *ports, unsigned int nr_ports, int ticks)
91 set_xen_guest_handle(sched_poll.ports, ports);
83 HYPERVISOR_poll( evtchn_port_t *ports, unsigned int nr_ports, int ticks) argument
/freebsd-13-stable/sys/dev/ofw/
H A Dofw_graph.c53 phandle_t ports, child; local
63 /* Next try to look under ports */
64 ports = ofw_bus_find_child(node, "ports");
65 if (ports == 0)
68 for (child = OF_child(ports); child != 0; child = OF_peer(child)) {
149 /* go to the ports node or parent */
152 /* if the node name is 'ports' we need to go up one last time */
159 if (strcmp("ports", name) == 0)
/freebsd-13-stable/sys/dev/isci/scil/
H A Dscu_bios_definitions.h262 } ports[SCI_MAX_PORTS]; // Up to 4 Ports per SCU controller unit member in struct:SCI_BIOS_OEM_PARAM_ELEMENT
459 } ports[SCI_MAX_PORTS]; // Up to 4 Ports per SCU controller unit member in struct:SCI_BIOS_OEM_PARAM_ELEMENT_v_1_1
669 } ports[SCI_MAX_PORTS]; // Up to 4 Ports per SCU controller unit member in struct:SCI_BIOS_OEM_PARAM_ELEMENT_v_1_2
890 } ports[SCI_MAX_PORTS]; // Up to 4 Ports per SCU controller unit member in struct:SCI_BIOS_OEM_PARAM_ELEMENT_v_1_3
/freebsd-13-stable/share/misc/
H A DMakefile8 FILES= ascii birthtoken bsd-family-tree committers-doc.dot committers-ports.dot \
/freebsd-13-stable/tools/tools/git/
H A Dgit-svn-init42 GIT_PORTS_REPO=${GIT_PORTS_REPO-git://github.com/freebsd/freebsd-ports.git}
43 GIT_SVN_PORTS_ROOT_URI=${GIT_SVN_PORTS_ROOT_URI-svn.freebsd.org/ports}
44 GIT_SVN_PORTS_URI=${GIT_SVN_PORTS_URI-repo.freebsd.org/ports}
59 git-svn-init will instantiate git repositories for src, and ports and connect
61 both ports and src under freebsd in the current working directory.
64 -p Exclude ports
151 elif [ "$3" = "ports" ] ; then
161 svn_check $(basename $svn_uri) # get base or ports, not src/ports.
171 ports
[all...]
/freebsd-13-stable/release/
H A DMakefile22 # PORTSDIR: location of ports tree to distribute (default: /usr/ports)
25 # NOPORTS: if set, do not distribute ports tree
38 PORTSDIR?= /usr/ports
80 EXTRA_PACKAGES+= ports.txz
143 ports.txz:
145 ln -fs ${PORTSDIR} ${DISTDIR}/usr/ports
148 --exclude usr/ports/distfiles --exclude usr/ports/packages \
149 --exclude 'usr/ports/INDE
[all...]
/freebsd-13-stable/sys/dev/usb/
H A Dusb_hub.h60 struct usb_port ports[0]; member in struct:usb_hub
62 struct usb_port ports[USB_MAX_PORTS]; member in struct:usb_hub
/freebsd-13-stable/contrib/ofed/libibumad/
H A Dumad.c225 if (!ca->ports[i])
227 release_port(ca->ports[i]);
228 free(ca->ports[i]);
229 ca->ports[i] = NULL;
262 if (!ca.ports[*port]) {
266 if (strcmp(ca.ports[*port]->link_layer, "InfiniBand") &&
267 strcmp(ca.ports[*port]->link_layer, "IB")) {
271 if (ca.ports[*port]->state == 4) {
275 if (ca.ports[*port]->phys_state != 3)
283 if (!ca.ports[
579 int ports = 0, i; local
[all...]

Completed in 292 milliseconds

1234567