Searched refs:bitshift (Results 1 – 11 of 11) sorted by relevance
/linux-2.6.39/drivers/staging/comedi/drivers/ |
D | ni_65xx.c | 428 int bitshift; in ni_65xx_dio_insn_bits() local 434 bitshift = base_port_channel - base_bitfield_channel; in ni_65xx_dio_insn_bits() 435 if (bitshift >= 32 || bitshift <= -32) in ni_65xx_dio_insn_bits() 437 if (bitshift > 0) { in ni_65xx_dio_insn_bits() 438 port_mask >>= bitshift; in ni_65xx_dio_insn_bits() 439 port_data >>= bitshift; in ni_65xx_dio_insn_bits() 441 port_mask <<= -bitshift; in ni_65xx_dio_insn_bits() 442 port_data <<= -bitshift; in ni_65xx_dio_insn_bits() 468 if (bitshift > 0) in ni_65xx_dio_insn_bits() 469 port_read_bits <<= bitshift; in ni_65xx_dio_insn_bits() [all …]
|
/linux-2.6.39/drivers/mmc/host/ |
D | mmc_spi.c | 266 int bitshift; in mmc_spi_response_get() local 313 bitshift = 0; in mmc_spi_response_get() 327 bitshift++; in mmc_spi_response_get() 377 if (bitshift) { in mmc_spi_response_get() 379 rotator |= *cp << bitshift; in mmc_spi_response_get() 400 if (bitshift) { in mmc_spi_response_get() 401 rotator |= *cp++ << bitshift; in mmc_spi_response_get() 788 unsigned int bitshift; in mmc_spi_readblock() local 809 bitshift = 7; in mmc_spi_readblock() 812 bitshift--; in mmc_spi_readblock() [all …]
|
/linux-2.6.39/drivers/net/wireless/rtlwifi/rtl8192ce/ |
D | phy.c | 45 u32 original_value, readback_value, bitshift; in rtl92ce_phy_query_rf_reg() local 63 bitshift = _rtl92c_phy_calculate_bit_shift(bitmask); in rtl92ce_phy_query_rf_reg() 64 readback_value = (original_value & bitmask) >> bitshift; in rtl92ce_phy_query_rf_reg() 82 u32 original_value, bitshift; in rtl92ce_phy_set_rf_reg() local 96 bitshift = _rtl92c_phy_calculate_bit_shift(bitmask); in rtl92ce_phy_set_rf_reg() 99 (data << bitshift)); in rtl92ce_phy_set_rf_reg() 108 bitshift = _rtl92c_phy_calculate_bit_shift(bitmask); in rtl92ce_phy_set_rf_reg() 111 (data << bitshift)); in rtl92ce_phy_set_rf_reg()
|
/linux-2.6.39/drivers/net/wireless/rtlwifi/rtl8192cu/ |
D | phy.c | 44 u32 original_value, readback_value, bitshift; in rtl92cu_phy_query_rf_reg() local 57 bitshift = _rtl92c_phy_calculate_bit_shift(bitmask); in rtl92cu_phy_query_rf_reg() 58 readback_value = (original_value & bitmask) >> bitshift; in rtl92cu_phy_query_rf_reg() 72 u32 original_value, bitshift; in rtl92cu_phy_set_rf_reg() local 82 bitshift = _rtl92c_phy_calculate_bit_shift(bitmask); in rtl92cu_phy_set_rf_reg() 85 (data << bitshift)); in rtl92cu_phy_set_rf_reg() 93 bitshift = _rtl92c_phy_calculate_bit_shift(bitmask); in rtl92cu_phy_set_rf_reg() 96 (data << bitshift)); in rtl92cu_phy_set_rf_reg()
|
/linux-2.6.39/drivers/input/joystick/ |
D | twidjoy.c | 69 int bitshift; member 113 int value = (button_bits & (bp->bitmask << bp->bitshift)) >> bp->bitshift; in twidjoy_process_packet()
|
/linux-2.6.39/Documentation/ABI/obsolete/ |
D | proc-pid-oom_adj | 9 implemented as a bitshift on a score generated by the badness() 12 task allocating pages, so using a bitshift which grows the score
|
/linux-2.6.39/drivers/staging/rtl8712/ |
D | rtl871x_mp.c | 200 static u32 bitshift(u32 bitmask) in bitshift() function 215 bit_shift = bitshift(bitmask); in get_bb_reg() 226 bit_shift = bitshift(bitmask); in set_bb_reg() 239 bit_shift = bitshift(bitmask); in get_rf_reg() 251 bit_shift = bitshift(bitmask); in set_rf_reg()
|
/linux-2.6.39/drivers/net/wireless/rtlwifi/rtl8192c/ |
D | phy_common.c | 42 u32 returnvalue, originalvalue, bitshift; in rtl92c_phy_query_bb_reg() local 48 bitshift = _rtl92c_phy_calculate_bit_shift(bitmask); in rtl92c_phy_query_bb_reg() 49 returnvalue = (originalvalue & bitmask) >> bitshift; in rtl92c_phy_query_bb_reg() 64 u32 originalvalue, bitshift; in rtl92c_phy_set_bb_reg() local 72 bitshift = _rtl92c_phy_calculate_bit_shift(bitmask); in rtl92c_phy_set_bb_reg() 73 data = ((originalvalue & (~bitmask)) | (data << bitshift)); in rtl92c_phy_set_bb_reg()
|
/linux-2.6.39/fs/xfs/linux-2.6/ |
D | xfs_super.c | 561 unsigned int bitshift = BITS_PER_LONG - 1; in xfs_max_file_offset() local 581 bitshift = BITS_PER_LONG; in xfs_max_file_offset() 587 return (((__uint64_t)pagefactor) << bitshift) - 1; in xfs_max_file_offset()
|
/linux-2.6.39/fs/ocfs2/ |
D | super.c | 584 unsigned int bitshift = 32; in ocfs2_max_file_offset() local 605 bitshift = 31; in ocfs2_max_file_offset() 614 bitshift = 31; in ocfs2_max_file_offset() 623 return (((unsigned long long)bytes) << bitshift) - trim; in ocfs2_max_file_offset()
|
/linux-2.6.39/Documentation/ |
D | feature-removal-schedule.txt | 154 implemented as a bitshift on a score generated by the badness() 157 task allocating pages, so using a bitshift which grows the score
|