/drivers/acpi/acpica/ |
H A D | uthex.c | 61 * position - bit position of the digit within the 70 char acpi_ut_hex_to_ascii_char(u64 integer, u32 position) argument 73 return (acpi_gbl_hex_to_ascii[(integer >> position) & 0xF]);
|
H A D | acmacros.h | 268 * MASK_BITS_ABOVE creates a mask starting AT the position and above 269 * MASK_BITS_BELOW creates a mask starting one bit BELOW the position 271 #define ACPI_MASK_BITS_ABOVE(position) (~((ACPI_UINT64_MAX) << ((u32) (position)))) 272 #define ACPI_MASK_BITS_BELOW(position) ((ACPI_UINT64_MAX) << ((u32) (position))) 287 #define ACPI_GET_BITS(source_ptr, position, mask) \ 288 ((*source_ptr >> position) & mask) 290 #define ACPI_SET_BITS(target_ptr, position, mask, value) \ 291 (*target_ptr |= ((value & mask) << position)) [all...] |
H A D | dsfield.c | 291 u64 position; local 313 position = (u64) info->field_bit_position 316 if (position > ACPI_UINT32_MAX) { 322 info->field_bit_position = (u32) position; 426 /* Keep track of bit position for the next field */ 428 position = (u64) info->field_bit_position 431 if (position > ACPI_UINT32_MAX) {
|
H A D | utstring.c | 293 /* Divide the digit into the correct position */ 431 * position - Byte position (0-3) 444 u8 acpi_ut_valid_acpi_char(char character, u32 position) argument 450 /* Allow a '!' in the last position */ 452 if (character == '!' && position == 3) {
|
/drivers/media/dvb-frontends/ |
H A D | nxt200x.c | 427 u16 rambase, position, crc = 0; local 446 for (position = 0; position < fw->size; position++) { 450 buf[0] = ((rambase + position) >> 8); 451 buf[1] = (rambase + position) & 0xFF; 460 nxt200x_writebytes(state, chunkpos, &fw->data[position-3], 4); 462 crc = nxt200x_crc(crc, fw->data[position]); 464 if ((written == 255) || (position+1 == fw->size)) { 467 &fw->data[position 494 u16 rambase, position, crc=0; local [all...] |
/drivers/scsi/aic7xxx/aicasm/ |
H A D | aicasm_macro_gram.y | 67 static void add_macro_arg(const char *argtext, int position);
|
/drivers/misc/ |
H A D | vexpress-syscfg.c | 155 u32 site, position, dcc; local 160 &position, &dcc); 180 position = 0; 219 func, site, position, dcc, 224 func->template[i] |= SYS_CFGCTRL_POSITION(position);
|
/drivers/bus/ |
H A D | vexpress-config.c | 70 u32 *position, u32 *dcc) 77 vexpress_config_find_prop(node, "arm,vexpress,position", position); 69 vexpress_config_get_topo(struct device_node *node, u32 *site, u32 *position, u32 *dcc) argument
|
/drivers/misc/lis3lv02d/ |
H A D | lis3lv02d.c | 186 int position[3]; local 194 position[i] = (s16)le16_to_cpu(data[i]); 200 position[i] = (s8)data[i * 2]; 203 position[0] = lis3->read_data(lis3, OUTX); 204 position[1] = lis3->read_data(lis3, OUTY); 205 position[2] = lis3->read_data(lis3, OUTZ); 209 position[i] = (position[i] * lis3->scale) / LIS3_ACCURACY; 211 *x = lis3lv02d_get_axis(lis3->ac.x, position); 212 *y = lis3lv02d_get_axis(lis3->ac.y, position); [all...] |
/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/gpu/drm/radeon/ |
H A D | radeon_display.c | 330 * scanout position we know that the current frame is 1757 * Retrieve current video scanout position of crtc on a given gpu, and 1763 * \param *vpos Location where vertical scanout position should be stored. 1764 * \param *hpos Location where horizontal scanout position should go. 1766 * scanout position query. Can be NULL to skip timestamp. 1768 * scanout position query. Can be NULL to skip timestamp. 1779 * DRM_SCANOUTPOS_ACCURATE = Returned position is accurate. A lack of 1780 * this flag means that returned position may be offset by a constant but 1781 * unknown small number of scanlines wrt. real scanout position. 1787 u32 stat_crtc = 0, vbl = 0, position local [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/gpu/drm/i915/ |
H A D | i915_irq.c | 886 int position, vtotal; local 893 position = __raw_i915_read32(dev_priv, PIPEDSL(pipe)) & DSL_LINEMASK_GEN2; 895 position = __raw_i915_read32(dev_priv, PIPEDSL(pipe)) & DSL_LINEMASK_GEN3; 901 return (position + crtc->scanline_offset) % vtotal; 912 int position; local 953 * scanout position from Display scan line register. 955 position = __intel_get_crtc_scanline(intel_crtc); 959 * scanout position. 961 position = (__raw_i915_read32(dev_priv, PIPEFRAMEPIXEL(pipe)) & PIPE_PIXEL_MASK) >> PIPE_PIXEL_SHIFT; 971 * the reported position fro 1032 int position; local [all...] |
/drivers/media/pci/saa7134/ |
H A D | saa7134-video.c | 599 __u16 position; member in struct:cliplist 613 if (i < 15 && cl[i].position == cl[i+1].position) 616 saa_writeb(reg + 2, cl[i].position & 0xff); 617 saa_writeb(reg + 3, cl[i].position >> 8); 619 name,winbits,cl[i].position); 637 /* Sort into smallest position first order */ 642 if (cla->position < clb->position) 644 if (cla->position > cl [all...] |
/drivers/net/wireless/zd1211rw/ |
H A D | zd_mac.c | 510 int i, position = 0; local 522 position ++; 559 for (i=1; i<=position; i++) { 563 i == position ? tx_status : NULL); 983 int i, position = 0; local 993 position ++; 1007 for (i=1; i<position; i++) {
|
/drivers/gpu/drm/qxl/ |
H A D | qxl_dev.h | 320 uint32_t position; member in struct:qxl_surface_create 438 struct qxl_point_1_6 position; member in struct:qxl_cursor_cmd::__anon957::__anon958 446 struct qxl_point_1_6 position; member in union:qxl_cursor_cmd::__anon957
|
H A D | qxl_display.c | 345 cmd->u.set.position.x = qcrtc->cur_x; 346 cmd->u.set.position.y = qcrtc->cur_y; 409 cmd->u.position.x = qcrtc->cur_x; 410 cmd->u.position.y = qcrtc->cur_y;
|
/drivers/md/persistent-data/ |
H A D | dm-space-map-common.c | 343 unsigned position; local 362 bit_end, &position); 380 *result = i * ll->entries_per_block + (dm_block_t) position;
|
/drivers/net/wireless/ath/ath5k/ |
H A D | phy.c | 197 u8 offset, bank, num_bits, col, position; local 238 position = (first_bit - 1) % 8; 244 position = 0, entry++) { 246 last_bit = (position + bits_left > 8) ? 8 : 247 position + bits_left; 249 mask = (((1 << last_bit) - 1) ^ ((1 << position) - 1)) << 254 rfb[entry] |= ((data << position) << (col * 8)) & mask; 255 data >>= (8 - position); 257 data |= (((rfb[entry] & mask) >> (col * 8)) >> position) 259 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); 525 static int pcd_tray_move(struct cdrom_device_info *cdi, int position) argument 527 char ej_cmd[12] = { 0x1b, 0, 0, 0, 3 - position, 0, 0, 0, 0, 0, 0, 0 }; 530 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 | 433 int position; local 436 position = ether_crc_le(6, ha->addr) & 0x3f; 439 multicast_table[invert3[position&7]] |= 440 (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...] |