Searched refs:pcr (Results 1 - 25 of 32) sorted by relevance

12

/freebsd-10.0-release/sbin/atm/atmconfig/
H A Datmconfig_device.h50 uint32_t pcr; member in struct:atmif
H A Datmconfig.help203 ubr [<pcr>]
204 cbr <pcr>
205 vbr <pcr> <scr> <mbs>
206 abr <pcr> <mcr> <icr> <tbe> <nrm> <trm> <adtf> <rif> <rdf> <cdf>
H A Dnatm.c67 u_int pcr, scr, mbs, icr, mcr; member in struct:natm_route
151 r->pcr = 0;
161 r->pcr = GET3();
164 r->pcr = 0;
172 r->pcr = GET3();
181 r->pcr = GET3();
195 r->pcr = GET3();
417 num = parse_num(argv[1], "PCR", aif->mib.pcr);
430 num = parse_num(argv[1], "PCR", aif->mib.pcr);
443 num = parse_num(argv[1], "PCR", aif->mib.pcr);
[all...]
H A Datmconfig_device.c59 SNMP_SYNTAX_GAUGE, offsetof(struct atmif, pcr) },
180 aif->ifname, aif->pcr,
H A Ddiag.c452 aif->index, aif->ifname, aif->mib.pcr, (1 << aif->mib.vpi_bits) - 1,
940 printf("%u", v->tparam.pcr);
944 printf("%-8u %u", v->tparam.pcr,
949 printf("%-8u%-8u%-8u", v->tparam.pcr, v->tparam.scr,
955 v->tparam.pcr, v->tparam.mcr);
/freebsd-10.0-release/sys/powerpc/cpufreq/
H A Dpcr.c71 "pcr",
77 DRIVER_MODULE(pcr, cpu, pcr_driver, pcr_devclass, 0, 0);
171 if (device_find_child(parent, "pcr", -1) != NULL)
178 if (BUS_ADD_CHILD(parent, 10, "pcr", -1) == NULL)
179 device_printf(parent, "add pcr child failed\n");
185 if (resource_disabled("pcr", 0))
263 register_t pcr, msr; local
272 pcr = SCOM_PCR_BIT;
275 pcr |= sc->pcr_vals[0];
277 pcr |
[all...]
/freebsd-10.0-release/contrib/ngatm/snmp_atm/
H A Dsnmp_atm.h71 u_int pcr; /* supported peak cell rate */ member in struct:atmif_mib
H A Dsnmp_atm.c430 if ((*aifp)->pub.mib->pcr == 0) {
479 value->v.uint32 = aif->pub.mib->pcr;
/freebsd-10.0-release/sys/dev/hatm/
H A Dif_hatm_tx.c588 if (t->pcr == 0 || t->pcr > line_rate)
589 t->pcr = line_rate;
600 if (t->pcr < 10)
601 t->pcr = 10;
602 if (sc->cbr_bw + t->pcr > line_rate)
609 rc = cps_to_rate(sc, t->pcr);
629 sc->cbr_bw += t->pcr;
633 if (t->pcr > line_rate)
634 t->pcr
782 u_int i, pcr = 0; local
[all...]
H A Dif_hatm.c140 hatm_cps2atmf(uint32_t pcr) argument
144 if (pcr == 0)
146 pcr <<= 9;
148 while (pcr > (1024 - 1)) {
150 pcr >>= 1;
152 return ((1 << 14) | (e << 9) | (pcr & 0x1ff));
691 IFP2IFATM(sc->ifp)->mib.pcr = ATM_RATE_155M;
696 IFP2IFATM(sc->ifp)->mib.pcr = ATM_RATE_155M;
702 IFP2IFATM(sc->ifp)->mib.pcr = ATM_RATE_622M;
708 IFP2IFATM(sc->ifp)->mib.pcr
[all...]
/freebsd-10.0-release/sys/netgraph/atm/
H A Dng_atm.h63 uint32_t pcr; /* peak cell rate */ member in struct:ngm_atm_config
71 { "pcr", &ng_parse_uint32_type }, \
85 { "pcr", &ng_parse_uint32_type }, \
139 uint32_t pcr; /* Peak cell rate */ member in struct:ngm_atm_cpcs_init
163 { "pcr", &ng_parse_uint32_type }, \
H A Dng_atm.c708 data.param.tparam.pcr = arg->pcr;
710 if (arg->mcr > arg->pcr)
736 if (arg->scr > arg->pcr)
746 if (arg->icr > arg->pcr || arg->icr < arg->mcr)
891 sbuf_printf(&sbuf, "pcr=%u vpi_bits=%u vci_bits=%u max_vpcs=%u "
892 "max_vccs=%u\n", mib->pcr, mib->vpi_bits, mib->vci_bits,
959 config->pcr = mib->pcr;
/freebsd-10.0-release/sys/dev/patm/
H A Dif_patm_tx.c122 vcc->vcc.tparam.pcr + IFP2IFATM(sc->ifp)->mib.pcr - 1) / IFP2IFATM(sc->ifp)->mib.pcr));
128 return ((slots * IFP2IFATM(sc->ifp)->mib.pcr + sc->mmap->tst_size - 2) /
152 if (vcc->vcc.tparam.pcr > IFP2IFATM(sc->ifp)->mib.pcr)
154 if (vcc->vcc.tparam.scr > vcc->vcc.tparam.pcr ||
164 if (vcc->vcc.tparam.pcr > IFP2IFATM(sc->ifp)->mib.pcr ||
165 vcc->vcc.tparam.icr > vcc->vcc.tparam.pcr ||
848 get_air_table(struct patm_softc *sc, u_int rif, u_int pcr) argument
[all...]
H A Dif_patm_attach.c325 IFP2IFATM(sc->ifp)->mib.pcr = ATM_RATE_25_6M;
333 IFP2IFATM(sc->ifp)->mib.pcr = ATM_RATE_155M;
344 IFP2IFATM(sc->ifp)->mib.pcr = ATM_RATE_25_6M;
352 IFP2IFATM(sc->ifp)->mib.pcr = ATM_RATE_155M;
/freebsd-10.0-release/sys/dev/mii/
H A Drgephy.c494 uint16_t pcr, ssr; local
506 pcr = PHY_READ(sc, RGEPHY_MII_PCR);
507 if ((pcr & RGEPHY_PCR_MDIX_AUTO) == 0) {
508 pcr &= ~RGEPHY_PCR_MDI_MASK;
509 pcr |= RGEPHY_PCR_MDIX_AUTO;
510 PHY_WRITE(sc, RGEPHY_MII_PCR, pcr);
/freebsd-10.0-release/sys/dev/ppc/
H A Dppc.c428 int ptr, pcr, val, i; local
574 pcr = inb(idport + 1);
584 if (pcr & PC873_EPPEN) {
590 if (pcr & PC873_EPP19)
603 } else if (pcr & PC873_ECPEN) {
608 if (pcr & PC873_ECPCLK) { /* XXX */
630 pcr &= ~PC873_EPPEN;
631 pcr |= (PC873_ECPEN | PC873_ECPCLK); /* XXX */
632 outb(idport + 1, pcr);
633 outb(idport + 1, pcr);
[all...]
/freebsd-10.0-release/sys/netinet/
H A Dif_atm.c178 GET3BYTE(op.param.tparam.pcr,
185 GET3BYTE(op.param.tparam.pcr, addr, alen);
191 GET3BYTE(op.param.tparam.pcr, addr, alen);
199 GET3BYTE(op.param.tparam.pcr, addr, alen);
/freebsd-10.0-release/contrib/wpa/src/crypto/
H A Ddes-internal.c276 u8 pc1m[56], pcr[56]; local
295 pcr[j] = pc1m[l];
297 pcr[j] = pc1m[l - 28];
302 pcr[j] = pc1m[l];
304 pcr[j] = pc1m[l - 28];
307 if ((int) pcr[(int) pc2[j]] != 0)
309 if ((int) pcr[(int) pc2[j + 24]] != 0)
/freebsd-10.0-release/sys/net/
H A Dif_atm.h89 uint32_t pcr; /* supported peak cell rate */ member in struct:ifatm_mib
104 uint32_t pcr; /* 24bit: Peak Cell Rate */ member in struct:atmio_tparam
/freebsd-10.0-release/usr.sbin/bsnmpd/modules/snmp_atm/
H A Datm_sys.c296 aif->pub.mib->pcr = mib->pcr;
/freebsd-10.0-release/sys/contrib/ngatm/netnatm/api/
H A Datmapi.h244 uint32_t pcr; member in struct:atm_port_info
H A Dcc_conn.c2025 struct uniapi_party_created *pcr = uni_msg_rptr(msg, local
2028 party = cc_party_find(conn, pcr->epref.epref);
2037 pcr->epref.epref, 1);
2046 pcr->epref.epref, 0);
2070 struct uniapi_party_destroyed *pcr = uni_msg_rptr(msg, local
2073 party = cc_party_find(conn, pcr->epref.epref);
2076 pcr->epref.flag, pcr->epref.epref);
/freebsd-10.0-release/sys/netpfil/pf/
H A Dpf_ioctl.c1359 struct pfioc_rule *pcr = (struct pfioc_rule *)addr; local
1367 if (pcr->action < PF_CHANGE_ADD_HEAD ||
1368 pcr->action > PF_CHANGE_GET_TICKET) {
1372 if (pcr->rule.return_icmp >> 8 > ICMP_MAXTYPE) {
1377 if (pcr->action != PF_CHANGE_REMOVE) {
1379 if (pcr->rule.af == AF_INET) {
1385 if (pcr->rule.af == AF_INET6) {
1391 bcopy(&pcr->rule, newrule, sizeof(struct pf_rule));
1406 if (!(pcr->action == PF_CHANGE_REMOVE ||
1407 pcr
[all...]
/freebsd-10.0-release/sys/dev/ic/
H A Dhd64570.h130 unsigned char pcr; /* rw */ member in struct:sca_regs
/freebsd-10.0-release/sys/dev/fatm/
H A Dif_fatm.c1285 IFP2IFATM(sc->ifp)->mib.pcr = 227273;
1290 IFP2IFATM(sc->ifp)->mib.pcr = 318181;
1295 IFP2IFATM(sc->ifp)->mib.pcr = 353207;
1301 IFP2IFATM(sc->ifp)->mib.pcr = 353207;
1307 IFP2IFATM(sc->ifp)->mib.pcr = 353207;
1313 IFP2IFATM(sc->ifp)->mib.pcr = 353207;
1316 sc->ifp->if_baudrate = 53 * 8 * IFP2IFATM(sc->ifp)->mib.pcr;
2010 if (rate_table[i].cell_rate < vc->param.tparam.pcr)
2272 if (op->param.tparam.pcr == 0 ||
2273 op->param.tparam.pcr > IFP2IFAT
[all...]

Completed in 370 milliseconds

12