Searched refs:bitcnt (Results 1 - 6 of 6) sorted by relevance
/linux-4.1.27/drivers/isdn/hisax/ |
H A D | netjet.c | 190 bitcnt++; \ 199 if (bitcnt == 8) { \ 201 bitcnt = 0; \ 206 bitcnt++; \ 209 if (bitcnt == 8) { \ 211 bitcnt = 0; \ 223 register u_char bitcnt = 0; make_raw_data() local 244 bitcnt++; make_raw_data() 250 if (bitcnt == 8) { make_raw_data() 252 bitcnt = 0; make_raw_data() 258 bcs->tx_skb->len, s_cnt, bitcnt); make_raw_data() 259 if (bitcnt) { make_raw_data() 260 while (8 > bitcnt++) { make_raw_data() 276 bitcnt++; \ 285 if (bitcnt == 7) { \ 289 bitcnt = 0; \ 294 bitcnt++; \ 297 if (bitcnt == 7) { \ 301 bitcnt = 0; \ 313 register u_char bitcnt = 0; make_raw_data_56k() local 322 bitcnt++; make_raw_data_56k() 328 if (bitcnt == 7) { make_raw_data_56k() 332 bitcnt = 0; make_raw_data_56k() 349 bitcnt++; make_raw_data_56k() 355 if (bitcnt == 7) { make_raw_data_56k() 359 bitcnt = 0; make_raw_data_56k() 365 bcs->tx_skb->len, s_cnt, bitcnt); make_raw_data_56k() 366 if (bitcnt) { make_raw_data_56k() 367 while (8 > bitcnt++) { make_raw_data_56k() 406 register u_int bitcnt = bcs->hw.tiger.r_bitcnt; read_raw() local 427 bitcnt = 0; read_raw() 450 bitcnt = 0; read_raw() 467 bitcnt++; read_raw() 471 bitcnt = 0; read_raw() 479 bitcnt++; read_raw() 484 !(bitcnt & 7)) { read_raw() 499 bitcnt = 0; read_raw() 503 bitcnt++; read_raw() 509 bitcnt++; read_raw() 510 if (bitcnt & 7) { read_raw() 522 got_frame(bcs, (bitcnt >> 3) - 3); read_raw() 527 (bitcnt >> 3) - 1, "rec"); read_raw() 536 bitcnt = 0; read_raw() 544 bitcnt++; read_raw() 549 !(bitcnt & 7)) { read_raw() 550 if ((bitcnt >> 3) >= HSCX_BUFMAX) { read_raw() 559 bcs->hw.tiger.rcvbuf[(bitcnt >> 3) - 1] = r_val; read_raw() 572 bcs->hw.tiger.r_bitcnt = bitcnt; read_raw()
|
/linux-4.1.27/sound/soc/tegra/ |
H A D | tegra20_i2s.c | 136 int ret, sample_size, srate, i2sclock, bitcnt; tegra20_i2s_hw_params() local 172 bitcnt = (i2sclock / (2 * srate)) - 1; tegra20_i2s_hw_params() 173 if (bitcnt < 0 || bitcnt > TEGRA20_I2S_TIMING_CHANNEL_BIT_COUNT_MASK_US) tegra20_i2s_hw_params() 175 val = bitcnt << TEGRA20_I2S_TIMING_CHANNEL_BIT_COUNT_SHIFT; tegra20_i2s_hw_params()
|
H A D | tegra30_i2s.c | 141 int ret, sample_size, srate, i2sclock, bitcnt; tegra30_i2s_hw_params() local 164 bitcnt = (i2sclock / (2 * srate)) - 1; tegra30_i2s_hw_params() 165 if (bitcnt < 0 || bitcnt > TEGRA30_I2S_TIMING_CHANNEL_BIT_COUNT_MASK_US) tegra30_i2s_hw_params() 174 val = bitcnt << TEGRA30_I2S_TIMING_CHANNEL_BIT_COUNT_SHIFT; tegra30_i2s_hw_params()
|
/linux-4.1.27/drivers/media/pci/zoran/ |
H A D | zr36050.c | 432 long bitcnt, tmp; zr36050_init() local 501 bitcnt = sum << 3; /* need the size in bits */ zr36050_init() 503 tmp = bitcnt >> 16; zr36050_init() 506 ptr->name, sum, ptr->real_code_vol, bitcnt, tmp); zr36050_init() 509 tmp = bitcnt & 0xffff; zr36050_init() 513 bitcnt -= bitcnt >> 7; // bits without stuffing zr36050_init() 514 bitcnt -= ((bitcnt * 5) >> 6); // bits without eob zr36050_init() 516 tmp = bitcnt >> 16; zr36050_init() 518 ptr->name, bitcnt, tmp); zr36050_init() 521 tmp = bitcnt & 0xffff; zr36050_init()
|
H A D | zr36060.c | 425 long bitcnt, tmp; zr36060_init() local 487 bitcnt = sum << 3; /* need the size in bits */ zr36060_init() 489 tmp = bitcnt >> 16; zr36060_init() 492 ptr->name, sum, ptr->real_code_vol, bitcnt, tmp); zr36060_init() 495 tmp = bitcnt & 0xffff; zr36060_init() 499 bitcnt -= bitcnt >> 7; // bits without stuffing zr36060_init() 500 bitcnt -= ((bitcnt * 5) >> 6); // bits without eob zr36060_init() 502 tmp = bitcnt >> 16; zr36060_init() 504 ptr->name, bitcnt, tmp); zr36060_init() 507 tmp = bitcnt & 0xffff; zr36060_init()
|
/linux-4.1.27/drivers/net/ethernet/broadcom/ |
H A D | sb1250-mac.c | 322 int bitcnt); 383 * SBMAC_MII_SENDDATA(sbm_mdio, data, bitcnt) 391 * bitcnt - number of bits to send 395 int bitcnt) sbmac_mii_senddata() 407 curmask = 1 << (bitcnt - 1); sbmac_mii_senddata() 409 for (i = 0; i < bitcnt; i++) { sbmac_mii_senddata() 394 sbmac_mii_senddata(void __iomem *sbm_mdio, unsigned int data, int bitcnt) sbmac_mii_senddata() argument
|
Completed in 205 milliseconds