Searched refs:num_bits (Results 1 - 11 of 11) sorted by relevance
/drivers/input/mouse/ |
H A D | alps.h | 92 int num_bits; member in struct:alps_bitmap_point
|
H A D | alps.c | 342 point->num_bits = 0; 345 point->num_bits++; 388 i = (x_low.num_bits - 1) / 2; 389 x_low.num_bits = x_low.num_bits - i; 391 x_high.num_bits = max(i, 1); 394 i = (y_low.num_bits - 1) / 2; 395 y_low.num_bits = y_low.num_bits - i; 397 y_high.num_bits [all...] |
/drivers/staging/comedi/drivers/ |
H A D | cb_pcidda.c | 184 unsigned int num_bits) 189 for (i = 1; i <= num_bits; i++) { 191 if (value & (1 << (num_bits - i))) 183 cb_pcidda_serial_out(struct comedi_device *dev, unsigned int value, unsigned int num_bits) argument
|
H A D | cb_pcidas64.c | 1624 unsigned int num_bits = 8; local 1626 for (bit = 1 << (num_bits - 1); bit; bit >>= 1) {
|
/drivers/net/ethernet/realtek/ |
H A D | atp.c | 403 int num_bits = EE_CMD_SIZE; local 405 while (--num_bits >= 0) { 406 char outval = (cmd & (1<<num_bits)) ? EE_DATA_WRITE : 0;
|
/drivers/net/wireless/ath/ath5k/ |
H A D | phy.c | 197 u8 offset, bank, num_bits, col, position; local 221 num_bits = rfreg->field.len; 232 if (!(col <= 3 && num_bits <= 32 && first_bit + num_bits <= 319)) { 241 data = ath5k_hw_bitswap(val, num_bits); 243 for (bits_shifted = 0, bits_left = num_bits; bits_left > 0; 265 data = set ? 1 : ath5k_hw_bitswap(data, num_bits);
|
/drivers/gpu/drm/gma500/ |
H A D | psb_intel_sdvo.c | 1930 unsigned int num_bits; 1953 num_bits = hweight16(mask); 1955 if (num_bits > 3) 1956 num_bits = 3; 1959 sdvo->ddc_bus = 1 << num_bits;
|
/drivers/gpu/drm/i915/ |
H A D | intel_sdvo.c | 2266 unsigned int num_bits; local 2289 num_bits = hweight16(mask); 2291 if (num_bits > 3) 2292 num_bits = 3; 2295 sdvo->ddc_bus = 1 << num_bits;
|
/drivers/net/ethernet/ti/ |
H A D | tlan.c | 2937 * num_bits The number of bits in data that are to 2945 static void tlan_mii_send_data(u16 base_port, u32 data, unsigned num_bits) argument 2950 if (num_bits == 0) 2957 for (i = (0x1 << (num_bits - 1)); i; i >>= 1) {
|
/drivers/scsi/be2iscsi/ |
H A D | be_cmds.h | 988 u32 num_bits; member in struct:fragnum_bits_for_sgl_cra_in
|
/drivers/gpu/drm/radeon/ |
H A D | si_dpm.c | 3776 u32 data, num_bits, num_levels; local 3783 num_bits = hweight32(data); 3785 if (num_bits == 0) 3788 num_levels = (1 << num_bits);
|
Completed in 583 milliseconds