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

/drivers/atm/
H A Dhorizon.c160 int pcr; desired PCR in cells per second
171 CBR(pcr) pcr bandwidth always available
172 rtVBR(pcr,scr,mbs) scr bandwidth always available, up to pcr at mbs too
176 nrtVBR(pcr,scr,mbs) scr bandwidth always available, up to pcr at mbs too
178 ABR(mcr,pcr) mcr bandwidth always available, up to pcr (depending) too
181 pcr an
2100 atm_pcr_check(struct atm_trafprm * tp, unsigned int pcr) argument
2262 int pcr = atm_pcr_goal (txtp); local
2393 int pcr = atm_pcr_goal (rxtp); local
[all...]
H A Diphase.c162 if (iavcc_r->pcr < dev->rate_limit) {
360 srv_p->pcr = dev->LineRate;
387 if (srv_p->pcr == 0)
389 if (srv_p->pcr > dev->LineRate)
390 srv_p->pcr = dev->LineRate;
393 if (srv_p->mcr > srv_p->pcr)
396 srv_p->icr = srv_p->pcr;
397 if ((srv_p->icr < srv_p->mcr) || (srv_p->icr > srv_p->pcr))
429 f_abr_vc->f_pcr = cellrate_to_float(srv_p->pcr);
447 air = srv_p->pcr << (1
[all...]
H A Dzatm.c786 static int alloc_shaper(struct atm_dev *dev,int *pcr,int min,int max,int ubr) argument
803 *pcr = 0;
832 *pcr = i*ATM_OC3_PCR/m;
834 if ((min && *pcr < min) || (max && *pcr > max)) return -EINVAL;
835 if (zatm_dev->tx_bw < *pcr) return -EAGAIN;
836 zatm_dev->tx_bw -= *pcr;
839 DPRINTK("i = %d, m = %d, PCR = %d\n",i,m,*pcr);
940 int uninitialized_var(pcr);
943 if ((zatm_vcc->shaper = alloc_shaper(vcc->dev,&pcr,
[all...]
H A Dfirestream.c984 int pcr = atm_pcr_goal (txtp); local
986 fs_dprintk (FS_DEBUG_OPEN, "pcr = %d.\n", pcr);
991 if (pcr > 51840000/53/8) pcr = 51840000/53/8;
993 if (pcr > 155520000/53/8) pcr = 155520000/53/8;
995 if (!pcr) {
1000 if (pcr < 0) {
1002 pcr
[all...]
H A Dambassador.c1061 int pcr = atm_pcr_goal (txtp); local
1062 if (!pcr) {
1069 if (pcr < 0) {
1071 pcr = -pcr;
1075 error = make_rate (pcr, r, &tx_rate_bits, NULL);
1085 pcr = atm_pcr_goal (txtp);
1086 PRINTD (DBG_QOS, "pcr goal = %d", pcr);
1125 pcr
[all...]
H A Deni.c1247 static int comp_tx(struct eni_dev *eni_dev,int *pcr,int reserved,int *pre, argument
1255 if (*pcr > 0) {
1259 if (TS_CLOCK/pre_div[*pre]/64 <= *pcr) break;
1260 div = pre_div[*pre]**pcr;
1267 if (!*pcr) *pcr = eni_dev->tx_bw+reserved;
1269 if (TS_CLOCK/pre_div[*pre]/64 > -*pcr) break;
1271 div = pre_div[*pre]*-*pcr;
1278 *pcr = TS_CLOCK/pre_div[*pre]/(*res+1);
1279 DPRINTK("out pcr
[all...]
H A Dlanai.c2090 int x, icg, pcr = atm_pcr_goal(&qos->txtp); local
2091 if (pcr == 0) /* Use maximum bandwidth */
2093 if (pcr < 0) {
2095 pcr = -pcr;
2097 x = pcr * 27;
2104 DPRINTK("pcr_to_cbricg: pcr=%d rounddown=%c icg=%d\n",
2105 pcr, rounddown ? 'Y' : 'N', icg);
H A Didt77252.c2070 idt77252_rate_logindex(struct idt77252_dev *card, int pcr) argument
2074 afp = idt77252_int_to_atmfp(pcr < 0 ? -pcr : pcr);
2075 if (pcr < 0)
2124 idt77252_init_est(struct vc_map *vc, int pcr) argument
2131 est->maxcps = pcr < 0 ? -pcr : pcr;
2156 (qos->txtp.pcr
[all...]
H A Diphase.h212 u32 pcr; member in struct:ia_vcc
250 u_short pcr; member in struct:main_vc
811 u32 pcr; /* Peak Cell Rate (24-bit) */ member in struct:srv_cls_param
H A Dhe.h246 long pcr; member in struct:he_cs_stper
H A Dhe.c1522 he_dev->cs_stper[i].pcr = -1;
2230 he_dev->cs_stper[reg].pcr == pcr_goal)
2243 he_dev->cs_stper[reg].pcr = pcr_goal;
2495 he_dev->total_bw -= he_dev->cs_stper[reg].pcr;
2790 return sprintf(page, "rate controller periods (cbr)\n pcr #vc\n");
2795 he_dev->cs_stper[i].pcr,
H A Dnicstar.c1298 if (vcc->qos.txtp.max_pcr == 0 && vcc->qos.txtp.pcr == 0
/drivers/video/
H A Dimxfb.c151 u_int pcr; member in struct:imxfb_info
316 u32 pcr = 0; local
352 pcr = (unsigned int)tmp;
354 if (--pcr > 0x3F) {
355 pcr = 0x3F;
357 lcd_clk / pcr);
362 pcr |= PCR_BPIX_18;
368 pcr |= PCR_BPIX_12;
370 pcr |= PCR_BPIX_16;
372 if (imxfb_mode->pcr
[all...]
/drivers/media/video/omap3isp/
H A Disph3a_af.c42 u32 pcr; local
117 pcr = conf->rgb_pos << AF_RGBPOS_SHIFT;
120 pcr |= AF_FVMODE;
123 pcr |= AF_ALAW_EN;
127 pcr |= AF_MED_EN;
129 pcr |= conf->hmf.threshold << AF_MED_TH_SHIFT;
133 AF_PCR_MASK, pcr);
H A Disph3a_aewb.c41 u32 pcr; local
57 pcr = conf->saturation_limit << ISPH3A_PCR_AEW_AVE2LMT_SHIFT;
58 pcr |= !!conf->alaw_enable << ISPH3A_PCR_AEW_ALAW_EN_SHIFT;
83 ISPH3A_PCR_AEW_MASK, pcr);
/drivers/pinctrl/
H A Dpinctrl-coh901.c109 u32 pcr; member in struct:u300_gpio
376 val = readl(U300_PIN_REG(offset, pcr));
379 writel(val, U300_PIN_REG(offset, pcr));
393 val = readl(U300_PIN_REG(offset, pcr));
406 writel(val, U300_PIN_REG(offset, pcr));
437 drmode = readl(U300_PIN_REG(offset, pcr));
502 val = readl(U300_PIN_REG(offset, pcr));
507 writel(val, U300_PIN_REG(offset, pcr));
510 val = readl(U300_PIN_REG(offset, pcr));
515 writel(val, U300_PIN_REG(offset, pcr));
[all...]
/drivers/tty/serial/
H A Dsunsab.h36 u8 pcr; /* Port Configuration Register */ member in struct:sab82532_async_rd_regs
72 u8 pcr; member in struct:sab82532_async_wr_regs
108 u8 pcr; member in struct:sab82532_async_rw_regs
H A Dsunsab.c985 writeb(~((1 << 1) | (1 << 2) | (1 << 4)), &up->regs->w.pcr);
/drivers/net/wan/
H A Dn2.c342 u8 cnt, pcr; local
421 pcr = PCR_ENWIN | PCR_VPM | (USE_BUS16BITS ? PCR_BUS16 : 0);
422 outb(pcr, io + N2_PCR);
446 pcr |= PCR_RUNSCA; /* run SCA */
447 outb(pcr, io + N2_PCR);
/drivers/scsi/qla2xxx/
H A Dqla_dbg.c584 WRT_REG_WORD(&reg->pcr, 0x2000);
587 WRT_REG_WORD(&reg->pcr, 0x2200);
590 WRT_REG_WORD(&reg->pcr, 0x2400);
593 WRT_REG_WORD(&reg->pcr, 0x2600);
596 WRT_REG_WORD(&reg->pcr, 0x2800);
599 WRT_REG_WORD(&reg->pcr, 0x2A00);
602 WRT_REG_WORD(&reg->pcr, 0x2C00);
605 WRT_REG_WORD(&reg->pcr, 0x2E00);
739 WRT_REG_WORD(&reg->pcr, 0x2000);
742 WRT_REG_WORD(&reg->pcr,
[all...]
H A Dqla_def.h402 uint16_t pcr; /* Processor Control Register. */ member in struct:device_reg_2xxx
/drivers/spi/
H A Dspi-au1550.c157 u32 pcr; local
162 pcr = hw->regs->psc_spipcr;
164 } while (pcr != 0);
/drivers/net/tokenring/
H A Dlanstreamer.c246 u16 pcr; local
356 pci_read_config_word (pdev, PCI_COMMAND, &pcr);
357 pcr |= PCI_COMMAND_SERR;
358 pci_write_config_word (pdev, PCI_COMMAND, pcr);
/drivers/media/dvb/ttusb-dec/
H A Dttusb_dec.c401 __be16 pcr = htons(dec->pid[DMX_PES_PCR]); local
407 memcpy(&b[0], &pcr, 2);

Completed in 439 milliseconds