/drivers/acpi/acpica/ |
H A D | dsfield.c | 223 u64 position; local 245 position = (u64) info->field_bit_position 248 if (position > ACPI_UINT32_MAX) { 254 info->field_bit_position = (u32) position; 357 /* Keep track of bit position for the next field */ 359 position = (u64) info->field_bit_position 362 if (position > ACPI_UINT32_MAX) {
|
H A D | utdecode.c | 130 * Position - bit position of the digit within the 146 char acpi_ut_hex_to_ascii_char(u64 integer, u32 position) argument 149 return (acpi_gbl_hex_to_ascii[(integer >> position) & 0xF]);
|
H A D | utmisc.c | 246 * Construct encoded ID from the index and bit position 608 * Position - Byte position (0-3) 621 u8 acpi_ut_valid_acpi_char(char character, u32 position) argument 627 /* Allow a '!' in the last position */ 629 if (character == '!' && position == 3) { 839 /* Divide the digit into the correct position */
|
/drivers/ide/ |
H A D | ide-cd_ioctl.c | 185 int ide_cdrom_tray_move(struct cdrom_device_info *cdi, int position) argument 190 if (position) { 197 return cdrom_eject(drive, !position, &sense);
|
H A D | ide-tape.c | 168 /* Read position information */ 826 int seek, position; local 830 position = ide_tape_read_position(drive); 831 seek = position > 0 ? position : 0; 1376 int block_offset = 0, position = tape->first_frame; local 1388 position = ide_tape_read_position(drive); 1389 if (position < 0) 1400 mtget.mt_blkno = position / tape->user_bs_factor - block_offset; 1412 mtpos.mt_blkno = position / tap [all...] |
/drivers/media/dvb/frontends/ |
H A D | nxt200x.c | 418 u16 rambase, position, crc = 0; local 437 for (position = 0; position < fw->size; position++) { 441 buf[0] = ((rambase + position) >> 8); 442 buf[1] = (rambase + position) & 0xFF; 451 nxt200x_writebytes(state, chunkpos, &fw->data[position-3], 4); 453 crc = nxt200x_crc(crc, fw->data[position]); 455 if ((written == 255) || (position+1 == fw->size)) { 458 &fw->data[position 485 u16 rambase, position, crc=0; local [all...] |
H A D | stv0367.c | 78 s8 echo_pos; /* echo position */ 832 u8 position = 0, i = 0; local 836 while ((position == 0) && (i < 8)) { 837 position = ((*mask) >> i) & 0x01;
|
H A D | stv0900_core.c | 182 u8 position = 0, i = 0; local 186 while ((position == 0) && (i < 8)) { 187 position = ((*mask) >> i) & 0x01;
|
/drivers/mtd/ |
H A D | mtdconcat.c | 856 uint64_t begin, position; local 876 begin = position = 0; 888 tmp64 = position - begin; 891 begin = position; 896 position += subdev[i]->size; 907 tmp64 = position - begin; 910 begin = position; 917 position += 926 tmp64 = position - begin;
|
/drivers/firmware/ |
H A D | dmi-sysfs.c | 36 int position; member in struct:dmi_sysfs_entry 502 return sprintf(buf, "%d\n", entry->position); 509 static DMI_SYSFS_ATTR(entry, position); 598 entry->position = position_count++;
|
/drivers/md/persistent-data/ |
H A D | dm-space-map-common.c | 330 unsigned position; local 349 bit_end, &position); 367 *result = i * ll->entries_per_block + (dm_block_t) position;
|
/drivers/net/ethernet/smsc/ |
H A D | smc9194.c | 448 int position; local 451 position = ether_crc_le(6, ha->addr) & 0x3f; 454 multicast_table[invert3[position&7]] |= 455 (1<<invert3[(position>>3)&7]);
|
H A D | smc911x.c | 1352 u32 position; local 1355 position = ether_crc(ETH_ALEN, ha->addr)>>26; 1357 multicast_table[position>>5] |= 1 << (position&0x1f);
|
H A D | smc91x.c | 1426 int position; local 1429 position = crc32_le(~0, ha->addr, 6) & 0x3f; 1432 multicast_table[invert3[position&7]] |= 1433 (1<<invert3[(position>>3)&7]);
|
H A D | smc91c92_cs.c | 1567 u_int position = ether_crc(6, ha->addr); local 1568 multicast_table[position >> 29] |= 1 << ((position >> 26) & 7);
|
/drivers/block/paride/ |
H A D | pcd.c | 177 static int pcd_tray_move(struct cdrom_device_info *cdi, int position); 526 static int pcd_tray_move(struct cdrom_device_info *cdi, int position) argument 528 char ej_cmd[12] = { 0x1b, 0, 0, 0, 3 - position, 0, 0, 0, 0, 0, 0, 0 }; 531 position ? "eject" : "close tray");
|
/drivers/gpu/drm/radeon/ |
H A D | radeon_display.c | 310 * scanout position we know that the current frame is 1437 * Retrieve current video scanout position of crtc on a given gpu. 1441 * \param *vpos Location where vertical scanout position should be stored. 1442 * \param *hpos Location where horizontal scanout position should go. 1453 * DRM_SCANOUTPOS_ACCURATE = Returned position is accurate. A lack of 1454 * this flag means that returned position may be offset by a constant but 1455 * unknown small number of scanlines wrt. real scanout position. 1460 u32 stat_crtc = 0, vbl = 0, position = 0; local 1470 position = RREG32(EVERGREEN_CRTC_STATUS_POSITION + 1477 position [all...] |
/drivers/md/ |
H A D | dm-verity.c | 148 * Return hash position of a specified block at a specified tree level 150 * The lowest "hash_per_block_bits"-bits of the result denote hash position 162 sector_t position = verity_position_at_level(v, block, level); local 165 *hash_block = v->hash_level_block[level] + (position >> v->hash_per_block_bits); 170 idx = position & ((1 << v->hash_per_block_bits) - 1);
|
/drivers/misc/lis3lv02d/ |
H A D | lis3lv02d.c | 164 int position[3]; local 172 position[i] = (s16)le16_to_cpu(data[i]); 178 position[i] = (s8)data[i * 2]; 181 position[0] = lis3->read_data(lis3, OUTX); 182 position[1] = lis3->read_data(lis3, OUTY); 183 position[2] = lis3->read_data(lis3, OUTZ); 187 position[i] = (position[i] * lis3->scale) / LIS3_ACCURACY; 189 *x = lis3lv02d_get_axis(lis3->ac.x, position); 190 *y = lis3lv02d_get_axis(lis3->ac.y, position); [all...] |
/drivers/net/wireless/zd1211rw/ |
H A D | zd_mac.c | 511 int i, position = 0; local 523 position ++; 561 for (i=1; i<=position; i++) { 565 i == position ? tx_status : NULL); 983 int i, position = 0; local 993 position ++; 1007 for (i=1; i<position; i++) {
|
/drivers/gpu/drm/i915/ |
H A D | i915_irq.c | 205 u32 vbl = 0, position = 0; local 221 * scanout position from Display scan line register. 223 position = I915_READ(PIPEDSL(pipe)); 225 /* Decode into vertical scanout position. Don't have 226 * horizontal scanout position. 228 *vpos = position & 0x1fff; 233 * scanout position. 235 position = (I915_READ(PIPEFRAMEPIXEL(pipe)) & PIPE_PIXEL_MASK) >> PIPE_PIXEL_SHIFT; 238 *vpos = position / htotal; 239 *hpos = position [all...] |
/drivers/net/wireless/ath/ath5k/ |
H A D | phy.c | 195 u8 offset, bank, num_bits, col, position; local 236 position = (first_bit - 1) % 8; 242 position = 0, entry++) { 244 last_bit = (position + bits_left > 8) ? 8 : 245 position + bits_left; 247 mask = (((1 << last_bit) - 1) ^ ((1 << position) - 1)) << 252 rfb[entry] |= ((data << position) << (col * 8)) & mask; 253 data >>= (8 - position); 255 data |= (((rfb[entry] & mask) >> (col * 8)) >> position) 257 bits_shifted += last_bit - position; [all...] |
/drivers/staging/comedi/drivers/ |
H A D | adl_pci9111.c | 1044 int position = 0; local 1047 while (position < num_samples) { 1055 num_samples - position) 1058 position; 1064 + position, 1072 num_samples - position) 1075 position; 1081 position += to_read;
|
/drivers/usb/serial/ |
H A D | io_edgeport.c | 571 int position; local 624 position = 2; 626 while ((position < length) && 628 txCredits = data[position] | (data[position+1] << 8); 654 position += 2;
|
/drivers/media/video/saa7134/ |
H A D | saa7134-video.c | 747 __u16 position; member in struct:cliplist 761 if (i < 15 && cl[i].position == cl[i+1].position) 764 saa_writeb(reg + 2, cl[i].position & 0xff); 765 saa_writeb(reg + 3, cl[i].position >> 8); 767 name,winbits,cl[i].position); 785 /* Sort into smallest position first order */ 790 if (cla->position < clb->position) 792 if (cla->position > cl [all...] |