Searched refs:drate (Results 1 – 3 of 3) sorted by relevance
534 int drate; in ds1pchan_setblocksize() local537 drate = ch->spd * sndbuf_getalign(ch->buffer); in ds1pchan_setblocksize()538 blocksize = roundup2((drate << 8) / DS1_IRQHZ, 4); in ds1pchan_setblocksize()662 int drate; in ds1rchan_setblocksize() local665 drate = ch->spd * sndbuf_getalign(ch->buffer); in ds1rchan_setblocksize()666 blocksize = roundup2((drate << 8) / DS1_IRQHZ, 4); in ds1rchan_setblocksize()
1025 uint64_t drate; in hatm_init_cs_block_cm() local1087 drate = (uint64_t)(1 << expt) * 1000 * (mant + 512) / 512; in hatm_init_cs_block_cm()1088 if (drate < 10 * 1000) in hatm_init_cs_block_cm()1089 drate = 10 * 1000; in hatm_init_cs_block_cm()1092 while (drate >= *rg && rg-- > &sc->rate_grid[0][0]) in hatm_init_cs_block_cm()1098 buf = drate * sc->tx_numbuffs / (cellrate * 2) / 1000; in hatm_init_cs_block_cm()
57678 drate