/drivers/media/dvb/frontends/ |
D | nxt200x.c | 418 u16 rambase, position, crc = 0; in nxt2002_load_firmware() local 437 for (position = 0; position < fw->size; position++) { in nxt2002_load_firmware() 441 buf[0] = ((rambase + position) >> 8); in nxt2002_load_firmware() 442 buf[1] = (rambase + position) & 0xFF; in nxt2002_load_firmware() 451 nxt200x_writebytes(state, chunkpos, &fw->data[position-3], 4); in nxt2002_load_firmware() 453 crc = nxt200x_crc(crc, fw->data[position]); in nxt2002_load_firmware() 455 if ((written == 255) || (position+1 == fw->size)) { in nxt2002_load_firmware() 458 &fw->data[position-(written %4) + 1], in nxt2002_load_firmware() 485 u16 rambase, position, crc=0; in nxt2004_load_firmware() local 498 for (position = 0; position < fw->size; position++) { in nxt2004_load_firmware() [all …]
|
/drivers/hwmon/ |
D | lis3lv02d.c | 90 int position[3]; in lis3lv02d_get_xyz() local 92 position[0] = adev.read_data(handle, OUTX); in lis3lv02d_get_xyz() 93 position[1] = adev.read_data(handle, OUTY); in lis3lv02d_get_xyz() 94 position[2] = adev.read_data(handle, OUTZ); in lis3lv02d_get_xyz() 96 *x = lis3lv02d_get_axis(adev.ac.x, position); in lis3lv02d_get_xyz() 97 *y = lis3lv02d_get_axis(adev.ac.y, position); in lis3lv02d_get_xyz() 98 *z = lis3lv02d_get_axis(adev.ac.z, position); in lis3lv02d_get_xyz() 444 static DEVICE_ATTR(position, S_IRUGO, lis3lv02d_position_show, NULL);
|
D | hdaps.c | 448 static DEVICE_ATTR(position, 0444, hdaps_position_show, NULL);
|
/drivers/acpi/acpica/ |
D | dsfield.c | 220 acpi_integer position; in acpi_ds_get_field_names() local 240 position = (acpi_integer) info->field_bit_position in acpi_ds_get_field_names() 243 if (position > ACPI_UINT32_MAX) { in acpi_ds_get_field_names() 249 info->field_bit_position = (u32) position; in acpi_ds_get_field_names() 305 position = (acpi_integer) info->field_bit_position in acpi_ds_get_field_names() 308 if (position > ACPI_UINT32_MAX) { in acpi_ds_get_field_names()
|
D | acmacros.h | 275 #define ACPI_MASK_BITS_ABOVE(position) (~((ACPI_INTEGER_MAX) << ((u32) (position)))) argument 276 #define ACPI_MASK_BITS_BELOW(position) ((ACPI_INTEGER_MAX) << ((u32) (position))) argument
|
D | utglobal.c | 229 char acpi_ut_hex_to_ascii_char(acpi_integer integer, u32 position) in acpi_ut_hex_to_ascii_char() argument 232 return (acpi_gbl_hex_to_ascii[(integer >> position) & 0xF]); in acpi_ut_hex_to_ascii_char()
|
D | acutils.h | 137 char acpi_ut_hex_to_ascii_char(acpi_integer integer, u32 position); 452 u8 acpi_ut_valid_acpi_char(char character, u32 position);
|
D | utmisc.c | 593 u8 acpi_ut_valid_acpi_char(char character, u32 position) in acpi_ut_valid_acpi_char() argument 601 if (character == '!' && position == 3) { in acpi_ut_valid_acpi_char()
|
/drivers/mtd/ |
D | mtdconcat.c | 852 uint64_t begin, position; in mtd_concat_create() local 872 begin = position = 0; in mtd_concat_create() 884 tmp64 = position - begin; in mtd_concat_create() 887 begin = position; in mtd_concat_create() 892 position += subdev[i]->size; in mtd_concat_create() 903 tmp64 = position - begin; in mtd_concat_create() 906 begin = position; in mtd_concat_create() 913 position += in mtd_concat_create() 922 tmp64 = position - begin; in mtd_concat_create()
|
/drivers/net/wireless/ath5k/ |
D | phy.c | 1114 u32 mask, entry, last, data, shift, position; in ath5k_hw_rfregs_op() local 1130 position = (first - 1) % 8; in ath5k_hw_rfregs_op() 1135 for (i = shift = 0, left = bits; left > 0; position = 0, entry++, i++) { in ath5k_hw_rfregs_op() 1136 last = (position + left > 8) ? 8 : position + left; in ath5k_hw_rfregs_op() 1137 mask = (((1 << last) - 1) ^ ((1 << position) - 1)) << (col * 8); in ath5k_hw_rfregs_op() 1141 rf[entry] |= ((data << position) << (col * 8)) & mask; in ath5k_hw_rfregs_op() 1142 data >>= (8 - position); in ath5k_hw_rfregs_op() 1144 data = (((rf[entry] & mask) >> (col * 8)) >> position) in ath5k_hw_rfregs_op() 1146 shift += last - position; in ath5k_hw_rfregs_op() 1149 left -= 8 - position; in ath5k_hw_rfregs_op()
|
/drivers/ide/ |
D | ide-cd_ioctl.c | 178 int ide_cdrom_tray_move(struct cdrom_device_info *cdi, int position) in ide_cdrom_tray_move() argument 183 if (position) { in ide_cdrom_tray_move() 190 return cdrom_eject(drive, !position, &sense); in ide_cdrom_tray_move()
|
D | ide-tape.c | 1113 int position; in idetape_read_position() local 1120 position = tape->first_frame; in idetape_read_position() 1121 return position; in idetape_read_position() 1183 int seek, position; in ide_tape_discard_merge_buffer() local 1187 position = idetape_read_position(drive); in ide_tape_discard_merge_buffer() 1188 seek = position > 0 ? position : 0; in ide_tape_discard_merge_buffer() 1839 int block_offset = 0, position = tape->first_frame; in idetape_chrdev_ioctl() local 1851 position = idetape_read_position(drive); in idetape_chrdev_ioctl() 1852 if (position < 0) in idetape_chrdev_ioctl() 1863 mtget.mt_blkno = position / tape->user_bs_factor - block_offset; in idetape_chrdev_ioctl() [all …]
|
/drivers/media/video/saa7134/ |
D | saa7134-video.c | 749 __u16 position; member 763 if (i < 15 && cl[i].position == cl[i+1].position) in set_cliplist() 766 saa_writeb(reg + 2, cl[i].position & 0xff); in set_cliplist() 767 saa_writeb(reg + 3, cl[i].position >> 8); in set_cliplist() 769 name,winbits,cl[i].position); in set_cliplist() 792 if (cla->position < clb->position) in cliplist_cmp() 794 if (cla->position > clb->position) in cliplist_cmp() 809 col[cols].position = clip_range(clips[i].c.left); in setup_clipping() 812 col[cols].position = clip_range(clips[i].c.left+clips[i].c.width); in setup_clipping() 815 row[rows].position = clip_range(clips[i].c.top / div); in setup_clipping() [all …]
|
/drivers/scsi/aic7xxx/aicasm/ |
D | aicasm_macro_gram.y | 67 static void add_macro_arg(const char *argtext, int position);
|
/drivers/block/paride/ |
D | pcd.c | 174 static int pcd_tray_move(struct cdrom_device_info *cdi, int position); 510 static int pcd_tray_move(struct cdrom_device_info *cdi, int position) in pcd_tray_move() argument 512 char ej_cmd[12] = { 0x1b, 0, 0, 0, 3 - position, 0, 0, 0, 0, 0, 0, 0 }; in pcd_tray_move() 515 position ? "eject" : "close tray"); in pcd_tray_move()
|
/drivers/net/ |
D | smc9194.c | 448 int position; in smc_setmulticast() local 459 position = ether_crc_le(6, cur_addr->dmi_addr) & 0x3f; in smc_setmulticast() 462 multicast_table[invert3[position&7]] |= in smc_setmulticast() 463 (1<<invert3[(position>>3)&7]); in smc_setmulticast()
|
D | smc91x.c | 1423 int position; in smc_set_multicast_list() local 1434 position = crc32_le(~0, cur_addr->dmi_addr, 6) & 0x3f; in smc_set_multicast_list() 1437 multicast_table[invert3[position&7]] |= in smc_set_multicast_list() 1438 (1<<invert3[(position>>3)&7]); in smc_set_multicast_list()
|
D | smc911x.c | 1355 u32 position; in smc911x_set_multicast_list() local 1366 position = ether_crc(ETH_ALEN, cur_addr->dmi_addr)>>26; in smc911x_set_multicast_list() 1368 multicast_table[position>>5] |= 1 << (position&0x1f); in smc911x_set_multicast_list()
|
/drivers/staging/rt2870/ |
D | rtmp_ckipmic.h | 45 UINT position; /* current position (byte offset) in message */ member
|
/drivers/staging/rt2860/ |
D | rtmp_ckipmic.h | 45 UINT position; /* current position (byte offset) in message */ member
|
/drivers/scsi/ |
D | osst.c | 1069 position; in osst_get_logical_frame() local 1107 position = osst_get_frame_position(STp, aSRpnt); in osst_get_logical_frame() 1108 if (position >= 0xbae && position < 0xbb8) in osst_get_logical_frame() 1109 position = 0xbb8; in osst_get_logical_frame() 1110 else if (position > STp->eod_frame_ppos || ++bad == 10) { in osst_get_logical_frame() 1111 position = STp->read_error_frame - 1; in osst_get_logical_frame() 1115 position += 29; in osst_get_logical_frame() 1120 name, position); in osst_get_logical_frame() 1122 osst_set_frame_position(STp, aSRpnt, position, 0); in osst_get_logical_frame() 1140 position = STp->read_error_frame - 1; in osst_get_logical_frame() [all …]
|
D | ips.c | 6688 int i, j, tmp, position = 0; in ips_order_controllers() local 6696 for (j = position; j < ips_num_controllers; j++) { in ips_order_controllers() 6701 ips_shift_controllers(position, in ips_order_controllers() 6703 position++; in ips_order_controllers() 6711 ips_shift_controllers(position, in ips_order_controllers() 6713 position++; in ips_order_controllers() 6721 ips_shift_controllers(position, in ips_order_controllers() 6723 position++; in ips_order_controllers() 6734 ips_shift_controllers(position, in ips_order_controllers() 6736 position++; in ips_order_controllers() [all …]
|
/drivers/isdn/hardware/eicon/ |
D | dsp_defs.h | 42 long position,
|
/drivers/usb/serial/ |
D | io_edgeport.c | 607 int position; in edge_interrupt_callback() local 661 position = 2; in edge_interrupt_callback() 663 while ((position < length) && in edge_interrupt_callback() 665 txCredits = data[position] | (data[position+1] << 8); in edge_interrupt_callback() 691 position += 2; in edge_interrupt_callback()
|
/drivers/net/pcmcia/ |
D | smc91c92_cs.c | 1705 u_int position = ether_crc(6, mc_addr->dmi_addr); in fill_multicast_tbl() local 1710 multicast_table[position >> 29] |= 1 << ((position >> 26) & 7); in fill_multicast_tbl()
|