Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/media/pci/zoran/
Dzr36050.c371 long bitcnt, tmp; in zr36050_init() local
442 bitcnt = sum << 3; /* need the size in bits */ in zr36050_init()
444 tmp = bitcnt >> 16; in zr36050_init()
447 ptr->name, sum, ptr->real_code_vol, bitcnt, tmp); in zr36050_init()
450 tmp = bitcnt & 0xffff; in zr36050_init()
454 bitcnt -= bitcnt >> 7; // bits without stuffing in zr36050_init()
455 bitcnt -= ((bitcnt * 5) >> 6); // bits without eob in zr36050_init()
457 tmp = bitcnt >> 16; in zr36050_init()
459 ptr->name, bitcnt, tmp); in zr36050_init()
462 tmp = bitcnt & 0xffff; in zr36050_init()
Dzr36060.c326 long bitcnt, tmp; in zr36060_init() local
380 bitcnt = sum << 3; /* need the size in bits */ in zr36060_init()
382 tmp = bitcnt >> 16; in zr36060_init()
385 ptr->name, sum, ptr->real_code_vol, bitcnt, tmp); in zr36060_init()
388 tmp = bitcnt & 0xffff; in zr36060_init()
392 bitcnt -= bitcnt >> 7; // bits without stuffing in zr36060_init()
393 bitcnt -= ((bitcnt * 5) >> 6); // bits without eob in zr36060_init()
395 tmp = bitcnt >> 16; in zr36060_init()
397 ptr->name, bitcnt, tmp); in zr36060_init()
400 tmp = bitcnt & 0xffff; in zr36060_init()
/Linux-v6.6/sound/soc/tegra/
Dtegra20_i2s.c147 int ret, sample_size, srate, i2sclock, bitcnt; in tegra20_i2s_hw_params() local
183 bitcnt = (i2sclock / (2 * srate)) - 1; in tegra20_i2s_hw_params()
184 if (bitcnt < 0 || bitcnt > TEGRA20_I2S_TIMING_CHANNEL_BIT_COUNT_MASK_US) in tegra20_i2s_hw_params()
186 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-v6.6/drivers/net/ethernet/broadcom/
Dsb1250-mac.c308 int bitcnt);
381 int bitcnt) in sbmac_mii_senddata() argument
393 curmask = 1 << (bitcnt - 1); in sbmac_mii_senddata()
395 for (i = 0; i < bitcnt; i++) { in sbmac_mii_senddata()