/linux-3.4.99/sound/pcmcia/pdaudiocf/ |
D | pdaudiocf_irq.c | 63 register u16 val1, val2; in pdacf_transfer_mono32() local 66 val1 = inw(rdp_port); in pdacf_transfer_mono32() 69 *dst++ = ((((u32)val2 & 0xff) << 24) | ((u32)val1 << 8)) ^ xor; in pdacf_transfer_mono32() 83 register u16 val1, val2, val3; in pdacf_transfer_stereo32() local 86 val1 = inw(rdp_port); in pdacf_transfer_stereo32() 89 *dst++ = ((((u32)val2 & 0xff) << 24) | ((u32)val1 << 8)) ^ xor; in pdacf_transfer_stereo32() 104 register u16 val1, val2; in pdacf_transfer_mono32sw() local 107 val1 = inw(rdp_port); in pdacf_transfer_mono32sw() 110 *dst++ = swab32((((val2 & 0xff) << 24) | ((u32)val1 << 8)) ^ xor); in pdacf_transfer_mono32sw() 124 register u16 val1, val2, val3; in pdacf_transfer_stereo32sw() local [all …]
|
/linux-3.4.99/arch/arm/kernel/ |
D | kprobes-test.h | 231 #define TEST_RR(code1, reg1, val1, code2, reg2, val2, code3) \ argument 233 TEST_ARG_REG(reg1, val1) \ 239 #define TEST_RRR(code1, reg1, val1, code2, reg2, val2, code3, reg3, val3, code4)\ argument 241 TEST_ARG_REG(reg1, val1) \ 248 #define TEST_RRRR(code1, reg1, val1, code2, reg2, val2, code3, reg3, val3, code4, reg4, val4) \ argument 250 TEST_ARG_REG(reg1, val1) \ 258 #define TEST_P(code1, reg1, val1, code2) \ argument 260 TEST_ARG_PTR(reg1, val1) \ 265 #define TEST_PR(code1, reg1, val1, code2, reg2, val2, code3) \ argument 267 TEST_ARG_PTR(reg1, val1) \ [all …]
|
/linux-3.4.99/arch/sh/boards/mach-dreamcast/ |
D | rtc.c | 35 unsigned long val1, val2; in aica_rtc_gettimeofday() local 38 val1 = ((__raw_readl(AICA_RTC_SECS_H) & 0xffff) << 16) | in aica_rtc_gettimeofday() 43 } while (val1 != val2); in aica_rtc_gettimeofday() 45 ts->tv_sec = val1 - TWENTY_YEARS; in aica_rtc_gettimeofday() 59 unsigned long val1, val2; in aica_rtc_settimeofday() local 66 val1 = ((__raw_readl(AICA_RTC_SECS_H) & 0xffff) << 16) | in aica_rtc_settimeofday() 71 } while (val1 != val2); in aica_rtc_settimeofday()
|
/linux-3.4.99/arch/ia64/lib/ |
D | copy_user.S | 78 .rotr val1[PIPE_DEPTH],val2[PIPE_DEPTH] 113 EX(.failure_in_pipe1,(p16) ld1 val1[0]=[src1],1) 114 EX(.failure_out,(EPI) st1 [dst1]=val1[PIPE_DEPTH-1],1) 195 EX(.failure_in_pipe2,(p16) ld1 val1[0]=[src1],1) 196 EX(.failure_out,(EPI) st1 [dst1]=val1[PIPE_DEPTH-1],1) 240 (EPI_1) shrp tmp=val1[PIPE_DEPTH-2],val1[PIPE_DEPTH-1],rshift; \ 241 EX(3f,(p16) ld8 val1[1]=[src1],8); \ 242 (p16) mov val1[0]=r0; \ 248 (EPI_1) shrp tmp=val1[PIPE_DEPTH-2],val1[PIPE_DEPTH-1],rshift; \ 250 (p16) mov val1[1]=r0; \ [all …]
|
D | strlen.S | 78 #define val1 r22 macro 113 czx1.r val1=v[1] // search 0 byte from right 117 cmp.eq.and p6,p0=8,val1 // p6 = p6 and val1==8 128 cmp.eq p8,p9=8,val1 // p6 = val1 had zero (disambiguate) 129 tnat.nz p6,p7=val1 // test NaT on val1 135 cmp.eq.and p7,p0=8,val1// val1==8? 139 (p8) mov val1=val2 // the other test got us out of the loop 144 sub tmp=8,val1 // which byte in word 180 czx1.r val1=val // search 0 byte from right 182 cmp.eq p6,p0=8,val1 // val1==8 ? [all …]
|
D | strlen_user.S | 80 #define val1 r22 macro 116 czx1.r val1=v[1] // search 0 byte from right 120 cmp.eq.and p6,p0=8,val1 // p6 = p6 and val1==8 131 cmp.eq p8,p9=8,val1 // p6 = val1 had zero (disambiguate) 132 tnat.nz p6,p7=val1 // test NaT on val1 138 cmp.eq.and p7,p0=8,val1// val1==8? 142 (p8) mov val1=val2 // val2 contains the value 147 sub tmp=7,val1 // 7=8-1 because this strlen returns strlen+1 177 czx1.r val1=val // search 0 byte from right 179 cmp.eq p6,p0=8,val1 // val1==8 ? [all …]
|
/linux-3.4.99/sound/i2c/ |
D | tea6330t.c | 114 unsigned char val1, val2; in snd_tea6330t_put_master_volume() local 116 val1 = (ucontrol->value.integer.value[0] % 44) + 0x14; in snd_tea6330t_put_master_volume() 119 change = val1 != tea->mleft || val2 != tea->mright; in snd_tea6330t_put_master_volume() 120 tea->mleft = val1; in snd_tea6330t_put_master_volume() 165 unsigned char oval1, oval2, val1, val2; in snd_tea6330t_put_master_switch() local 167 val1 = ucontrol->value.integer.value[0] & 1; in snd_tea6330t_put_master_switch() 172 change = val1 != oval1 || val2 != oval2; in snd_tea6330t_put_master_switch() 173 tea->regs[TEA6330T_SADDR_VOLUME_LEFT] = val1 ? tea->mleft : 0; in snd_tea6330t_put_master_switch() 216 unsigned char val1; in snd_tea6330t_put_bass() local 218 val1 = ucontrol->value.integer.value[0] % (tea->max_bass + 1); in snd_tea6330t_put_bass() [all …]
|
/linux-3.4.99/sound/isa/cs423x/ |
D | cs4236_lib.c | 568 unsigned short val1, val2; in snd_cs4236_put_double() local 570 val1 = ucontrol->value.integer.value[0] & mask; in snd_cs4236_put_double() 573 val1 = mask - val1; in snd_cs4236_put_double() 576 val1 <<= shift_left; in snd_cs4236_put_double() 580 val1 = (chip->eimage[CS4236_REG(left_reg)] & ~(mask << shift_left)) | val1; in snd_cs4236_put_double() 582 …change = val1 != chip->eimage[CS4236_REG(left_reg)] || val2 != chip->eimage[CS4236_REG(right_reg)]; in snd_cs4236_put_double() 583 snd_cs4236_ext_out(chip, left_reg, val1); in snd_cs4236_put_double() 586 …val1 = (chip->eimage[CS4236_REG(left_reg)] & ~((mask << shift_left) | (mask << shift_right))) | va… in snd_cs4236_put_double() 587 change = val1 != chip->eimage[CS4236_REG(left_reg)]; in snd_cs4236_put_double() 588 snd_cs4236_ext_out(chip, left_reg, val1); in snd_cs4236_put_double() [all …]
|
/linux-3.4.99/sound/i2c/other/ |
D | pt2258.c | 112 int val0, val1; in pt2258_stereo_volume_put() local 115 val1 = 79 - ucontrol->value.integer.value[1]; in pt2258_stereo_volume_put() 116 if (val0 < 0 || val0 > 79 || val1 < 0 || val1 > 79) in pt2258_stereo_volume_put() 118 if (val0 == pt->volume[base] && val1 == pt->volume[base + 1]) in pt2258_stereo_volume_put() 129 pt->volume[base + 1] = val1; in pt2258_stereo_volume_put() 130 bytes[0] = pt2258_channel_code[2 * base + 2] | (val1 / 10); in pt2258_stereo_volume_put() 131 bytes[1] = pt2258_channel_code[2 * base + 3] | (val1 % 10); in pt2258_stereo_volume_put()
|
/linux-3.4.99/sound/isa/gus/ |
D | gus_mixer.c | 112 unsigned char val1, val2, oval1, oval2, tmp; in snd_ics_put_double() local 114 val1 = ucontrol->value.integer.value[0] & 127; in snd_ics_put_double() 119 change = val1 != oval1 || val2 != oval2; in snd_ics_put_double() 120 gus->gf1.ics_regs[addr][0] = val1; in snd_ics_put_double() 124 tmp = val1; in snd_ics_put_double() 125 val1 = val2; in snd_ics_put_double() 132 outb((unsigned char) val1, GUSP(gus, MIXDATAPORT)); in snd_ics_put_double()
|
/linux-3.4.99/sound/isa/sb/ |
D | emu8000.c | 847 unsigned short val1; in mixer_bass_treble_put() local 849 val1 = ucontrol->value.integer.value[0] % 12; in mixer_bass_treble_put() 852 change = val1 != emu->treble_level; in mixer_bass_treble_put() 853 emu->treble_level = val1; in mixer_bass_treble_put() 855 change = val1 != emu->bass_level; in mixer_bass_treble_put() 856 emu->bass_level = val1; in mixer_bass_treble_put() 908 unsigned short val1; in mixer_chorus_reverb_put() local 912 val1 = ucontrol->value.integer.value[0] % SNDRV_EMU8000_CHORUS_NUMBERS; in mixer_chorus_reverb_put() 913 change = val1 != emu->chorus_mode; in mixer_chorus_reverb_put() 914 emu->chorus_mode = val1; in mixer_chorus_reverb_put() [all …]
|
D | sb_mixer.c | 426 unsigned char val1, val2; in snd_sb16mixer_get_input_sw() local 429 val1 = snd_sbmixer_read(sb, reg1); in snd_sb16mixer_get_input_sw() 432 ucontrol->value.integer.value[0] = (val1 >> left_shift) & 0x01; in snd_sb16mixer_get_input_sw() 434 ucontrol->value.integer.value[2] = (val1 >> right_shift) & 0x01; in snd_sb16mixer_get_input_sw() 448 unsigned char val1, val2, oval1, oval2; in snd_sb16mixer_put_input_sw() local 453 val1 = oval1 & ~((1 << left_shift) | (1 << right_shift)); in snd_sb16mixer_put_input_sw() 455 val1 |= (ucontrol->value.integer.value[0] & 1) << left_shift; in snd_sb16mixer_put_input_sw() 457 val1 |= (ucontrol->value.integer.value[2] & 1) << right_shift; in snd_sb16mixer_put_input_sw() 459 change = val1 != oval1 || val2 != oval2; in snd_sb16mixer_put_input_sw() 461 snd_sbmixer_write(sb, reg1, val1); in snd_sb16mixer_put_input_sw()
|
/linux-3.4.99/include/linux/mtd/ |
D | map.h | 273 static inline int map_word_equal(struct map_info *map, map_word val1, map_word val2) in map_word_equal() argument 277 if (val1.x[i] != val2.x[i]) in map_word_equal() 283 static inline map_word map_word_and(struct map_info *map, map_word val1, map_word val2) in map_word_and() argument 289 r.x[i] = val1.x[i] & val2.x[i]; in map_word_and() 294 static inline map_word map_word_clr(struct map_info *map, map_word val1, map_word val2) in map_word_clr() argument 300 r.x[i] = val1.x[i] & ~val2.x[i]; in map_word_clr() 305 static inline map_word map_word_or(struct map_info *map, map_word val1, map_word val2) in map_word_or() argument 311 r.x[i] = val1.x[i] | val2.x[i]; in map_word_or() 318 static inline int map_word_bitsset(struct map_info *map, map_word val1, map_word val2) in map_word_bitsset() argument 323 if (val1.x[i] & val2.x[i]) in map_word_bitsset()
|
/linux-3.4.99/arch/mips/pci/ |
D | ops-titan-ht.c | 108 uint32_t val1, val2, mask; in titan_ht_config_write() local 112 val1 = val << ((offset & 3) << 3); in titan_ht_config_write() 116 titan_ht_config_write_dword(bus, devfn, offset, val1 | val2); in titan_ht_config_write()
|
/linux-3.4.99/sound/isa/es1688/ |
D | es1688_lib.c | 914 unsigned char val1, val2, oval1, oval2; in snd_es1688_put_double() local 916 val1 = ucontrol->value.integer.value[0] & mask; in snd_es1688_put_double() 919 val1 = mask - val1; in snd_es1688_put_double() 922 val1 <<= shift_left; in snd_es1688_put_double() 934 val1 = (oval1 & ~(mask << shift_left)) | val1; in snd_es1688_put_double() 936 change = val1 != oval1 || val2 != oval2; in snd_es1688_put_double() 939 snd_es1688_mixer_write(chip, left_reg, val1); in snd_es1688_put_double() 941 snd_es1688_write(chip, left_reg, val1); in snd_es1688_put_double() 943 snd_es1688_mixer_write(chip, right_reg, val1); in snd_es1688_put_double() 945 snd_es1688_write(chip, right_reg, val1); in snd_es1688_put_double() [all …]
|
/linux-3.4.99/arch/alpha/kernel/ |
D | sys_sable.c | 111 int port, val1, val2; in sable_ack_irq_hw() local 115 val1 = 0xE0 | (bit - 16); in sable_ack_irq_hw() 119 val1 = 0xE0 | (bit - 8); in sable_ack_irq_hw() 123 val1 = 0xE0 | (bit - 0); in sable_ack_irq_hw() 127 outb(val1, port); /* ack the slave */ in sable_ack_irq_hw()
|
/linux-3.4.99/drivers/platform/x86/ |
D | amilo-rfkill.c | 60 u8 val1 = blocked ? M7440_RADIO_OFF1 : M7440_RADIO_ON1; in amilo_m7440_rfkill_set_block() local 63 outb(val1, M7440_PORT1); in amilo_m7440_rfkill_set_block() 67 if (inb(M7440_PORT1) != val1 || inb(M7440_PORT2) != val2) in amilo_m7440_rfkill_set_block()
|
/linux-3.4.99/drivers/misc/ |
D | fsa9480.c | 269 int val1, val2, ctrl; in fsa9480_detect_dev() local 273 val1 = fsa9480_read_reg(client, FSA9480_REG_DEV_T1); in fsa9480_detect_dev() 278 intr, val1, val2); in fsa9480_detect_dev() 285 if (val1 & DEV_T1_USB_MASK || val2 & DEV_T2_USB_MASK) { in fsa9480_detect_dev() 296 if (val1 & DEV_T1_UART_MASK || val2 & DEV_T2_UART_MASK) { in fsa9480_detect_dev() 307 if (val1 & DEV_T1_CHARGER_MASK) { in fsa9480_detect_dev() 345 usbsw->dev1 = val1; in fsa9480_detect_dev()
|
/linux-3.4.99/sound/isa/ |
D | opl3sa2.c | 444 unsigned short val1, val2, oval1, oval2; in snd_opl3sa2_put_double() local 446 val1 = ucontrol->value.integer.value[0] & mask; in snd_opl3sa2_put_double() 449 val1 = mask - val1; in snd_opl3sa2_put_double() 452 val1 <<= shift_left; in snd_opl3sa2_put_double() 458 val1 = (oval1 & ~(mask << shift_left)) | val1; in snd_opl3sa2_put_double() 460 change = val1 != oval1 || val2 != oval2; in snd_opl3sa2_put_double() 461 __snd_opl3sa2_write(chip, left_reg, val1); in snd_opl3sa2_put_double() 465 val1 = (oval1 & ~((mask << shift_left) | (mask << shift_right))) | val1 | val2; in snd_opl3sa2_put_double() 466 change = val1 != oval1; in snd_opl3sa2_put_double() 467 __snd_opl3sa2_write(chip, left_reg, val1); in snd_opl3sa2_put_double()
|
/linux-3.4.99/drivers/input/joystick/ |
D | walkera0701.c | 69 int val1, val2, val3, val4, val5, val6, val7, val8; in walkera0701_parse_frame() local 88 val1 = ((w->buf[0] & 7) * 256 + w->buf[1] * 16 + w->buf[2]) >> 2; in walkera0701_parse_frame() 89 val1 *= ((w->buf[0] >> 2) & 2) - 1; /* sign */ in walkera0701_parse_frame() 112 val1, val2, val3, val4, val5, val6, val7, val8, magic, in walkera0701_parse_frame() 117 input_report_abs(w->input_dev, ABS_Y, val1); in walkera0701_parse_frame()
|
/linux-3.4.99/drivers/media/dvb/dvb-usb/ |
D | mxl111sf-demod.c | 390 u8 val1, val2, val3; in mxl111sf_demod_read_ber() local 395 ret = mxl111sf_demod_read_reg(state, V6_RS_AVG_ERRORS_LSB_REG, &val1); in mxl111sf_demod_read_ber() 405 *ber = CALCULATE_BER((val1 | (val2 << 8)), val3); in mxl111sf_demod_read_ber() 413 u8 val1, val2; in mxl111sf_demod_calc_snr() local 418 ret = mxl111sf_demod_read_reg(state, V6_SNR_RB_LSB_REG, &val1); in mxl111sf_demod_calc_snr() 425 *snr = CALCULATE_SNR(val1 | ((val2 & 0x03) << 8)); in mxl111sf_demod_calc_snr()
|
/linux-3.4.99/arch/x86/include/asm/ |
D | msr.h | 148 #define rdmsr(msr, val1, val2) \ argument 151 (void)((val1) = (u32)__val); \ 262 #define write_tsc(val1, val2) wrmsr(MSR_IA32_TSC, (val1), (val2)) argument
|
/linux-3.4.99/fs/ubifs/ |
D | lprops.c | 65 int val1, val2, hpos; in move_up_lpt_heap() local 70 val1 = get_heap_comp_val(lprops, cat); in move_up_lpt_heap() 76 if (val2 >= val1) in move_up_lpt_heap() 102 int val1, val2, val3, cpos; in adjust_lpt_heap() local 104 val1 = get_heap_comp_val(lprops, cat); in adjust_lpt_heap() 110 if (val1 > val2) { in adjust_lpt_heap() 122 if (val1 <= val2) in adjust_lpt_heap() 136 if (val1 < val2) { in adjust_lpt_heap() 156 if (val1 < val3) { in adjust_lpt_heap() 185 int cpos, val1, val2; in add_to_lpt_heap() local [all …]
|
/linux-3.4.99/drivers/media/common/tuners/ |
D | qt1010.c | 260 u8 i, val1, val2; in qt1010_init_meas1() local 281 val1 = val2; in qt1010_init_meas1() 284 dprintk("compare reg:%02x %02x %02x", reg, val1, val2); in qt1010_init_meas1() 285 } while (val1 != val2); in qt1010_init_meas1() 286 *retval = val1; in qt1010_init_meas1()
|
/linux-3.4.99/drivers/hwmon/ |
D | w83781d.c | 863 int i, val1 = 0, id; in w83781d_detect_subclients() local 889 val1 = w83781d_read_value(data, W83781D_REG_I2C_SUBADDR); in w83781d_detect_subclients() 890 sc_addr[0] = 0x48 + (val1 & 0x07); in w83781d_detect_subclients() 898 sc_addr[1] = 0x48 + ((val1 >> 4) & 0x07); in w83781d_detect_subclients() 1101 int val1, val2; in w83781d_detect() local 1125 val1 = i2c_smbus_read_byte_data(client, W83781D_REG_BANK); in w83781d_detect() 1128 if (!(val1 & 0x07) && in w83781d_detect() 1129 ((!(val1 & 0x80) && val2 != 0xa3 && val2 != 0xc3) || in w83781d_detect() 1130 ((val1 & 0x80) && val2 != 0x5c && val2 != 0x12))) { in w83781d_detect() 1139 if ((!(val1 & 0x80) && val2 == 0xa3) || in w83781d_detect() [all …]
|