Home
last modified time | relevance | path

Searched refs:bitcnt (Results 1 – 6 of 6) sorted by relevance

/Linux-v4.19/drivers/isdn/hisax/
Dnetjet.c190 bitcnt++; \
199 if (bitcnt == 8) { \
201 bitcnt = 0; \
206 bitcnt++; \
209 if (bitcnt == 8) { \
211 bitcnt = 0; \
223 register u_char bitcnt = 0; in make_raw_data() local
244 bitcnt++; in make_raw_data()
250 if (bitcnt == 8) { in make_raw_data()
252 bitcnt = 0; in make_raw_data()
[all …]
/Linux-v4.19/drivers/staging/media/zoran/
Dzr36050.c428 long bitcnt, tmp; in zr36050_init() local
497 bitcnt = sum << 3; /* need the size in bits */ in zr36050_init()
499 tmp = bitcnt >> 16; in zr36050_init()
502 ptr->name, sum, ptr->real_code_vol, bitcnt, tmp); in zr36050_init()
505 tmp = bitcnt & 0xffff; in zr36050_init()
509 bitcnt -= bitcnt >> 7; // bits without stuffing in zr36050_init()
510 bitcnt -= ((bitcnt * 5) >> 6); // bits without eob in zr36050_init()
512 tmp = bitcnt >> 16; in zr36050_init()
514 ptr->name, bitcnt, tmp); in zr36050_init()
517 tmp = bitcnt & 0xffff; in zr36050_init()
Dzr36060.c421 long bitcnt, tmp; in zr36060_init() local
483 bitcnt = sum << 3; /* need the size in bits */ in zr36060_init()
485 tmp = bitcnt >> 16; in zr36060_init()
488 ptr->name, sum, ptr->real_code_vol, bitcnt, tmp); in zr36060_init()
491 tmp = bitcnt & 0xffff; in zr36060_init()
495 bitcnt -= bitcnt >> 7; // bits without stuffing in zr36060_init()
496 bitcnt -= ((bitcnt * 5) >> 6); // bits without eob in zr36060_init()
498 tmp = bitcnt >> 16; in zr36060_init()
500 ptr->name, bitcnt, tmp); in zr36060_init()
503 tmp = bitcnt & 0xffff; in zr36060_init()
/Linux-v4.19/sound/soc/tegra/
Dtegra20_i2s.c136 int ret, sample_size, srate, i2sclock, bitcnt; in tegra20_i2s_hw_params() local
172 bitcnt = (i2sclock / (2 * srate)) - 1; in tegra20_i2s_hw_params()
173 if (bitcnt < 0 || bitcnt > TEGRA20_I2S_TIMING_CHANNEL_BIT_COUNT_MASK_US) in tegra20_i2s_hw_params()
175 val = bitcnt << TEGRA20_I2S_TIMING_CHANNEL_BIT_COUNT_SHIFT; in tegra20_i2s_hw_params()
Dtegra30_i2s.c141 int ret, sample_size, srate, i2sclock, bitcnt; in tegra30_i2s_hw_params() local
164 bitcnt = (i2sclock / (2 * srate)) - 1; in tegra30_i2s_hw_params()
165 if (bitcnt < 0 || bitcnt > TEGRA30_I2S_TIMING_CHANNEL_BIT_COUNT_MASK_US) in tegra30_i2s_hw_params()
174 val = bitcnt << TEGRA30_I2S_TIMING_CHANNEL_BIT_COUNT_SHIFT; in tegra30_i2s_hw_params()
/Linux-v4.19/drivers/net/ethernet/broadcom/
Dsb1250-mac.c321 int bitcnt);
394 int bitcnt) in sbmac_mii_senddata() argument
406 curmask = 1 << (bitcnt - 1); in sbmac_mii_senddata()
408 for (i = 0; i < bitcnt; i++) { in sbmac_mii_senddata()