Home
last modified time | relevance | path

Searched refs:ports (Results 1 – 25 of 1363) sorted by relevance

12345678910>>...55

/freebsd/sys/dev/sound/pci/
H A Dhdspe-pcm.c86 return (hc->ports & (HDSPE_CHAN_AIO_ALL | HDSPE_CHAN_RAY_ALL)); in hdspe_channel_play_ports()
92 return (hc->ports & (HDSPE_CHAN_AIO_ALL_REC | HDSPE_CHAN_RAY_ALL)); in hdspe_channel_rec_ports()
106 hdspe_port_first(uint32_t ports) in hdspe_port_first() argument
108 return (ports & (~(ports - 1))); /* Extract first bit set. */ in hdspe_port_first()
112 hdspe_port_first_row(uint32_t ports) in hdspe_port_first_row() argument
117 if (ports & HDSPE_CHAN_AIO_ALL) in hdspe_port_first_row()
118 ports &= HDSPE_CHAN_AIO_ALL; /* All AIO slots. */ in hdspe_port_first_row()
119 else if (ports & HDSPE_CHAN_RAY_ALL) in hdspe_port_first_row()
120 ports &= HDSPE_CHAN_RAY_ALL; /* All RayDAT slots. */ in hdspe_port_first_row()
123 ends = ports & (~(ports >> 1)); in hdspe_port_first_row()
[all …]
H A Dhdsp-pcm.c98 hdsp_port_slot_map(uint32_t ports, uint32_t speed) in hdsp_port_slot_map() argument
102 if (ports & HDSP_CHAN_9632_ALL) { in hdsp_port_slot_map()
104 if (ports & HDSP_CHAN_9632_ADAT) in hdsp_port_slot_map()
106 if (ports & HDSP_CHAN_9632_SPDIF) in hdsp_port_slot_map()
108 if (ports & HDSP_CHAN_9632_LINE) in hdsp_port_slot_map()
110 if (ports & HDSP_CHAN_9632_EXT) in hdsp_port_slot_map()
112 } else if ((ports & HDSP_CHAN_9652_ALL) && (speed <= 96000)) { in hdsp_port_slot_map()
114 if (ports & HDSP_CHAN_9652_ADAT1) in hdsp_port_slot_map()
116 if (ports & HDSP_CHAN_9652_ADAT2) in hdsp_port_slot_map()
118 if (ports & HDSP_CHAN_9652_ADAT3) in hdsp_port_slot_map()
[all …]
/freebsd/contrib/ofed/opensm/opensm/
H A Dosm_perfmgr_db.c114 node->ports[port].valid = TRUE; in mark_port_valid()
128 rc->ports = calloc(num_ports, sizeof(db_port_t)); in malloc_node()
129 if (!rc->ports) in malloc_node()
137 rc->ports[i].last_reset = cur_time; in malloc_node()
138 rc->ports[i].err_previous.time = cur_time; in malloc_node()
139 rc->ports[i].dc_previous.time = cur_time; in malloc_node()
140 rc->ports[i].valid = FALSE; in malloc_node()
158 if (node->ports) in free_node()
159 free(node->ports); in free_node()
370 p_port = &(node->ports[port]); in perfmgr_db_add_err_reading()
[all …]
H A Dosm_ucast_cache.c78 cache_port_t ports[0]; member
83 return p_sw->ports[0].remote_lid_ho; in cache_sw_get_base_lid_ho()
88 return p_sw->ports[0].is_leaf; in cache_sw_is_leaf()
93 p_sw->ports[0].is_leaf = TRUE; in cache_sw_set_leaf()
109 p_cache_sw->ports[0].remote_lid_ho = lid_ho; in cache_sw_new()
110 p_cache_sw->ports[0].is_leaf = FALSE; in cache_sw_new()
182 if (p_cache_sw->ports[p->port_num].remote_lid_ho == 0) { in cache_add_sw_link()
184 p_cache_sw->ports[p->port_num].remote_lid_ho = remote_lid_ho; in cache_add_sw_link()
185 p_cache_sw->ports[p->port_num].is_leaf = is_ca; in cache_add_sw_link()
209 if (p_sw->ports[port_num].remote_lid_ho) in cache_cleanup_switches()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/soundwire/
H A Dqcom,sdw.txt54 - qcom,dout-ports:
57 Definition: must be count of data out ports
59 - qcom,din-ports:
62 Definition: must be count of data in ports
64 - qcom,ports-offset1:
68 data port. Out ports followed by In ports.
73 - qcom,ports-offset2:
77 data port. Out ports followed by In ports.
82 - qcom,ports-sinterval-low:
86 Out ports followed by In ports. Used for Sample Interval
[all …]
/freebsd/sys/contrib/device-tree/src/arm64/hisilicon/
H A Dhi3660-coresight.dtsi21 out-ports {
38 out-ports {
55 out-ports {
72 out-ports {
88 out-ports {
97 in-ports {
137 in-ports {
146 out-ports {
164 out-ports {
181 out-ports {
[all …]
H A Dhi6220-coresight.dtsi19 out-ports {
28 in-ports {
44 in-ports {
53 out-ports {
68 in-ports {
77 out-ports {
105 in-ports {
121 in-ports {
137 out-ports {
146 in-ports {
[all …]
/freebsd/tools/tools/nanobsd/dhcpd/
H A Dcommon46 NANO_PORTS=$(realpath ${NANO_SRC}/../ports)
47 #NANO_PORTS=/usr/ports
55 NANO_PORTS=${NANO_PORTS:-/usr/ports}
130 # WITHOUT_TOOLCHAIN=true can't build ports
142 # Need to create ${NANO_OBJ}/ports in this add_pkg_${port} function
144 mkdir -p ${NANO_OBJ}/ports/distfiles
145 mkdir -p ${NANO_OBJ}/ports/packages
146 mkdir -p ${NANO_WORLDDIR}/usr/ports/packages
147 mkdir -p ${NANO_WORLDDIR}/usr/ports/distfiles
148 mount -t nullfs -o noatime ${NANO_OBJ}/ports/packages \
[all …]
/freebsd/usr.bin/systat/
H A Dnetcmds.c193 } *ports; variable
201 if (ports == NULL) in selectport()
203 free((char *)ports), ports = 0; in selectport()
207 for (p = ports; p < ports + nports; p++) in selectport()
213 ports = (struct pitem *)malloc(sizeof (*p)); in selectport()
215 ports = (struct pitem *)realloc(ports, (nports+1)*sizeof (*p)); in selectport()
216 p = &ports[nports++]; in selectport()
227 if (ports) in checkport()
228 for (p = ports; p < ports+nports; p++) in checkport()
240 for (p = ports; p < ports+nports; p++) { in showports()
/freebsd/sys/contrib/device-tree/src/arm/hisilicon/
H A Dhip04.dtsi277 in-ports {
292 in-ports {
307 in-ports {
322 in-ports {
337 in-ports {
352 out-ports {
356 /* replicator output ports */
372 in-ports {
387 out-ports {
391 /* replicator output ports */
[all …]
/freebsd/sys/dev/puc/
H A Dpuc_cfg.c72 switch (cfg->ports) { in puc_config()
135 if (cfg->ports == PUC_PORT_NONSTANDARD) in puc_config()
139 if (cfg->ports == PUC_PORT_1P || in puc_config()
140 cfg->ports == PUC_PORT_2P) in puc_config()
146 if (cfg->ports == PUC_PORT_1S1P || in puc_config()
147 cfg->ports == PUC_PORT_1S2P || in puc_config()
148 cfg->ports == PUC_PORT_2P) in puc_config()
154 if (cfg->ports == PUC_PORT_1S2P || in puc_config()
155 cfg->ports == PUC_PORT_2S1P) in puc_config()
161 if (cfg->ports == PUC_PORT_4S1P) in puc_config()
/freebsd/sys/dev/etherswitch/arswitch/
H A Darswitch_vlans.c105 ar8xxx_get_dot1q_vlan(struct arswitch_softc *sc, uint32_t *ports, in ar8xxx_get_dot1q_vlan() argument
118 *ports = 0; in ar8xxx_get_dot1q_vlan()
122 *ports = reg; in ar8xxx_get_dot1q_vlan()
128 ar8xxx_set_dot1q_vlan(struct arswitch_softc *sc, uint32_t ports, in ar8xxx_set_dot1q_vlan() argument
134 err = ar8xxx_vlan_op(sc, AR8X16_VLAN_OP_LOAD, vid, ports); in ar8xxx_set_dot1q_vlan()
141 ar8xxx_get_port_vlan(struct arswitch_softc *sc, uint32_t *ports, int vid) in ar8xxx_get_port_vlan() argument
150 *ports = (reg >> AR8X16_PORT_VLAN_DEST_PORTS_SHIFT); in ar8xxx_get_port_vlan()
151 *ports &= AR8X16_VLAN_MEMBER; in ar8xxx_get_port_vlan()
156 ar8xxx_set_port_vlan(struct arswitch_softc *sc, uint32_t ports, int vid) in ar8xxx_set_port_vlan() argument
165 (ports & AR8X16_VLAN_MEMBER) << AR8X16_PORT_VLAN_DEST_PORTS_SHIFT); in ar8xxx_set_port_vlan()
[all …]
/freebsd/sys/dev/etherswitch/ip17x/
H A Dip175c.c83 uint32_t ports[IP175X_NUM_PORTS], reg[IP175X_NUM_PORTS/2]; in ip175c_port_vlan_setup() local
90 memset(ports, 0, sizeof(ports)); in ip175c_port_vlan_setup()
94 ports[phy] = v->ports; in ip175c_port_vlan_setup()
99 if (ports[i] & (1 << sc->cpuport)) { in ip175c_port_vlan_setup()
100 ports[i] |= (1 << 7); in ip175c_port_vlan_setup()
101 ports[i] &= ~(1 << sc->cpuport); in ip175c_port_vlan_setup()
108 reg[i] = ports[i * 2] << 8 | ports[i * 2 + 1]; in ip175c_port_vlan_setup()
152 vlans[v->vlanid & ETHERSWITCH_VID_MASK] = v->ports; in ip175c_dot1q_vlan_setup()
H A Dip175d.c83 uint32_t ports[IP17X_MAX_VLANS]; in ip175d_hw_setup() local
92 ports[i] = 0; in ip175d_hw_setup()
101 ports[i] = 0x3f; in ip175d_hw_setup()
106 ports[i] = v->ports; in ip175d_hw_setup()
113 if ((ports[i] & (1 << j)) == 0) in ip175d_hw_setup()
125 ports[2 * i] | (ports[2 * i + 1] << 8)); in ip175d_hw_setup()
/freebsd/tools/tools/sysbuild/
H A DREADME17 that is where the sources and ports will be found.
58 Next, install ports and sources:
61 rm -rf ports src
63 ln -s /freebsd/ports
65 mkdir ports src packages
68 svn co https://svn0.us-east.FreeBSD.org/ports/head ports
108 # Mount ports distfiles from another machine
116 # We want these ports
118 /usr/ports/archivers/unzip
119 /usr/ports/archivers/zip
[all …]
H A Dsysbuild.sh62 PORTS_PATH=ports
82 PKG_DIR=/usr/ports/packages/All
184 cd /usr/ports
212 d=`cd /usr/ports && cd $d && /bin/pwd`
251 pd=`cd /usr/ports && /bin/pwd`
440 rm -rf /tmp/sysbuild/ports
441 mkdir -p /tmp/sysbuild/ports
442 ln -s ${distfile_cache} /tmp/sysbuild/ports/distfiles
479 rm -rf /usr/ports
480 ln -s /freebsd/${PORTS_PATH} /usr/ports
[all …]
/freebsd/contrib/netbsd-tests/ipf/expected/
H A Din41 map-block le0 10.0.0.0/24 -> 203.1.1.0/24 ports 0
2 map-block le0 10.0.0.0/24 -> 203.1.1.0/24 ports 0
3 map-block le0 10.0.0.0/24 -> 203.1.1.0/24 ports 256
4 map-block le0 10.0.0.0/24 -> 203.1.1.0/24 ports auto
5 map-block le0 10.0.0.0/16 -> 203.1.1.0/24 ports auto
H A Din4_61 map-block le0 inet6 10::/96 -> 203:1:1::/96 ports 0
2 map-block le0 inet6 10::/96 -> 203:1:1::/96 ports 0
3 map-block le0 inet6 10::/96 -> 203:1:1::/96 ports 256
4 map-block le0 inet6 10::/96 -> 203:1:1::/96 ports auto
5 map-block le0 inet6 10::/16 -> 203:1:1::/96 ports auto
/freebsd/sys/dev/etherswitch/felix/
H A Dfelix.c187 sc->ports[port].cpu_port = false; in felix_parse_port_fdt()
189 sc->ports[port].cpu_port = true; in felix_parse_port_fdt()
193 sc->ports[port].fixed_port = false; in felix_parse_port_fdt()
197 sc->ports[port].fixed_port = true; in felix_parse_port_fdt()
231 sc->ports[port].fixed_link_status = status; in felix_parse_port_fdt()
242 sc->ports[port].ifp = if_alloc(IFT_ETHER); in felix_init_interface()
243 if_setsoftc(sc->ports[port].ifp, sc); in felix_init_interface()
244 if_setflags(sc->ports[port].ifp, IFF_UP | IFF_BROADCAST | IFF_MULTICAST | in felix_init_interface()
246 sc->ports[port].ifname = malloc(strlen(name) + 1, M_FELIX, M_NOWAIT); in felix_init_interface()
247 if (sc->ports[port].ifname == NULL) { in felix_init_interface()
[all …]
/freebsd/sys/contrib/device-tree/src/arm64/sprd/
H A Dsc9863a.dtsi193 out-ports {
201 in-ports {
217 in-ports {
233 out-ports {
242 in-ports {
282 out-ports {
307 out-ports {
316 in-ports {
332 out-ports {
341 in-ports {
[all …]
H A Dsc9860.dtsi306 out-ports {
314 in-ports {
341 out-ports {
358 out-ports {
373 out-ports {
382 in-ports {
421 out-ports {
430 in-ports {
470 out-ports {
479 in-ports {
[all …]
H A Dsc9836.dtsi52 in-ports {
67 out-ports {
75 in-ports {
113 /* Other input ports aren't connected to anyone */
124 out-ports {
140 out-ports {
156 out-ports {
172 out-ports {
188 out-ports {
/freebsd/sys/contrib/device-tree/Bindings/pinctrl/
H A Dabilis,tb10x-iomux.txt25 - GPIO ports: gpioa, gpiob, gpioc, gpiod, gpioe, gpiof, gpiog,
27 - Serial TS input ports: mis0, mis1, mis2, mis3, mis4, mis5, mis6, mis7
28 - Parallel TS input ports: mip1, mip3, mip5, mip7
29 - Serial TS output ports: mos0, mos1, mos2, mos3
33 - Smart card ports: stc0, stc1
34 - UART ports: uart0, uart1
35 - SPI ports: spi1, spi3
38 All other ports of the chip are not multiplexed and thus not managed by this
45 The named pin groups of GPIO ports can be used to define GPIO ranges as
/freebsd/sys/contrib/device-tree/Bindings/net/dsa/
H A Docelot.txt25 For the external switch ports, depending on board configuration, "phy-mode" and
27 5 are fixed as internal ports in the NXP LS1028A instantiation.
49 * phy_mode = "internal": on ports 4 and 5
50 * phy_mode = "sgmii": on ports 0, 1, 2, 3
51 * phy_mode = "qsgmii": on ports 0, 1, 2, 3
52 * phy_mode = "usxgmii": on ports 0, 1, 2, 3
53 * phy_mode = "2500base-x": on ports 0, 1, 2, 3
70 ports {
74 /* External ports */
132 * phy_mode = "internal": on ports 8 and 9
[all …]
/freebsd/contrib/ofed/libibumad/
H A Dumad.c225 if (!ca->ports[i]) in release_ca()
227 release_port(ca->ports[i]); in release_ca()
228 free(ca->ports[i]); in release_ca()
229 ca->ports[i] = NULL; in release_ca()
262 if (!ca.ports[*port]) { in resolve_ca_port()
266 if (strcmp(ca.ports[*port]->link_layer, "InfiniBand") && in resolve_ca_port()
267 strcmp(ca.ports[*port]->link_layer, "IB")) { in resolve_ca_port()
271 if (ca.ports[*port]->state == 4) { in resolve_ca_port()
275 if (ca.ports[*port]->phys_state != 3) in resolve_ca_port()
283 if (!ca.ports[i]) in resolve_ca_port()
[all …]

12345678910>>...55