/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...] |
/drivers/acpi/acpica/ |
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 | 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 | acmacros.h | 272 * MASK_BITS_ABOVE creates a mask starting AT the position and above 273 * MASK_BITS_BELOW creates a mask starting one bit BELOW the position 275 #define ACPI_MASK_BITS_ABOVE(position) (~((ACPI_UINT64_MAX) << ((u32) (position)))) 276 #define ACPI_MASK_BITS_BELOW(position) ((ACPI_UINT64_MAX) << ((u32) (position)))
|
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 */
|
H A D | acutils.h | 138 char acpi_ut_hex_to_ascii_char(u64 integer, u32 position); 486 u8 acpi_ut_valid_acpi_char(char character, u32 position);
|
/drivers/scsi/aic7xxx/aicasm/ |
H A D | aicasm_macro_gram.y | 67 static void add_macro_arg(const char *argtext, int position);
|
/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/staging/tidspbridge/core/ |
H A D | _tiomap.h | 312 #define SET_GROUP_BITS16(reg, position, width, value) \ 314 reg &= ~((0xFFFF >> (16 - (width))) << (position)) ; \ 315 reg |= ((value & (0xFFFF >> (16 - (width)))) << (position)); \
|
/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/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/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/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/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/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...] |
/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/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/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/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/isdn/hardware/eicon/ |
H A D | dsp_defs.h | 42 long 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]);
|
/drivers/scsi/ |
H A D | osst.c | 1147 position; 1185 position = osst_get_frame_position(STp, aSRpnt); 1186 if (position >= 0xbae && position < 0xbb8) 1187 position = 0xbb8; 1188 else if (position > STp->eod_frame_ppos || ++bad == 10) { 1189 position = STp->read_error_frame - 1; 1193 position += 29; 1198 name, position); 1200 osst_set_frame_position(STp, aSRpnt, position, 1145 position; local 2552 int position, ppos; local [all...] |
/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/ethernet/micrel/ |
H A D | ks8851_mll.c | 1086 u32 index, position, value; local 1091 position = (ether_gen_crc(6, ks->mcast_lst[i]) >> 26) & 0x3f; 1092 index = position >> 3; 1093 value = 1 << (position & 7);
|