/openbmc/linux/sound/pci/ice1712/ |
H A D | wtm.c | 68 int id, idx, change; in stac9460_dac_mute_all() local 79 change = (new != old); in stac9460_dac_mute_all() 80 if (change) { in stac9460_dac_mute_all() 98 change = (new != old); in stac9460_dac_mute_all() 99 if (change) { in stac9460_dac_mute_all() 146 int change; in stac9460_dac_mute_put() local 153 change = (new != old); in stac9460_dac_mute_put() 154 if (change) { in stac9460_dac_mute_put() 167 change = (new != old); in stac9460_dac_mute_put() 168 if (change) { in stac9460_dac_mute_put() [all …]
|
H A D | prodigy192.c | 82 int change; in stac9460_dac_mute() local 85 change = (new != old); in stac9460_dac_mute() 86 if (change) in stac9460_dac_mute() 89 return change; in stac9460_dac_mute() 113 int idx, change; in stac9460_dac_mute_put() local 125 change = stac9460_dac_mute(ice, idx, ucontrol->value.integer.value[0]); in stac9460_dac_mute_put() 127 return change; in stac9460_dac_mute_put() 163 int change; in stac9460_dac_vol_put() local 172 change = (ovol != nvol); in stac9460_dac_vol_put() 173 if (change) { in stac9460_dac_vol_put() [all …]
|
H A D | aureon.c | 212 int change; in aureon_universe_inmux_put() local 219 change = (oval != nval); in aureon_universe_inmux_put() 220 if (change) { in aureon_universe_inmux_put() 225 return change; in aureon_universe_inmux_put() 376 int change; in aureon_ac97_vol_put() local 386 change = (ovol != nvol); in aureon_ac97_vol_put() 387 if (change) in aureon_ac97_vol_put() 392 return change; in aureon_ac97_vol_put() 417 int change; in aureon_ac97_mute_put() local 424 change = (ovol != nvol); in aureon_ac97_mute_put() [all …]
|
H A D | pontis.c | 129 int i, idx, change = 0; in wm_dac_vol_put() local 140 change = 1; in wm_dac_vol_put() 144 return change; in wm_dac_vol_put() 184 int i, idx, change = 0; in wm_adc_vol_put() local 194 change = 1; in wm_adc_vol_put() 198 return change; in wm_adc_vol_put() 222 int change; in wm_adc_mux_put() local 230 change = nval != oval; in wm_adc_mux_put() 231 if (change) { in wm_adc_mux_put() 235 return change; in wm_adc_mux_put() [all …]
|
H A D | prodigy_hifi.c | 269 int change = 0; in ak4396_dac_vol_put() local 277 change = 1; in ak4396_dac_vol_put() 281 return change; in ak4396_dac_vol_put() 377 int i, idx, change = 0; in wm_dac_vol_put() local 386 change = 1; in wm_dac_vol_put() 390 return change; in wm_dac_vol_put() 427 int change = 0; in wm8766_vol_put() local 439 change = 1; in wm8766_vol_put() 443 return change; in wm8766_vol_put() 475 int ch, change = 0; in wm_master_vol_put() local [all …]
|
H A D | phase.c | 302 int change; in wm_pcm_mute_put() local 307 change = (nval != oval); in wm_pcm_mute_put() 308 if (change) in wm_pcm_mute_put() 312 return change; in wm_pcm_mute_put() 345 int ch, change = 0; in wm_master_vol_put() local 360 change = 1; in wm_master_vol_put() 364 return change; in wm_master_vol_put() 496 int change = 0; in wm_vol_put() local 512 change = 1; in wm_vol_put() 516 return change; in wm_vol_put() [all …]
|
/openbmc/linux/sound/soc/codecs/ |
H A D | sma1303.c | 256 unsigned int reg, unsigned int mask, unsigned int val, bool *change) in sma1303_regmap_update_bits() argument 263 mask, val, change); in sma1303_regmap_update_bits() 329 bool change = false, val = (bool)ucontrol->value.integer.value[0]; in sma1303_force_mute_put() local 332 change = false; in sma1303_force_mute_put() 334 change = true; in sma1303_force_mute_put() 340 return change; in sma1303_force_mute_put() 367 bool change; in sma1303_postscaler_put() local 370 SMA1303_90_POSTSCALER, 0x7E, (val << 1), &change); in sma1303_postscaler_put() 374 return change; in sma1303_postscaler_put() 402 bool change; in sma1303_tdm_slot_rx_put() local [all …]
|
/openbmc/linux/sound/pci/emu10k1/ |
H A D | emumixer.c | 655 int change; in snd_emu1010_output_source_put() local 661 change = (emu->emu1010.output_source[channel] != val); in snd_emu1010_output_source_put() 662 if (change) { in snd_emu1010_output_source_put() 666 return change; in snd_emu1010_output_source_put() 699 int change; in snd_emu1010_input_source_put() local 705 change = (emu->emu1010.input_source[channel] != val); in snd_emu1010_input_source_put() 706 if (change) { in snd_emu1010_input_source_put() 710 return change; in snd_emu1010_input_source_put() 767 int change; in snd_emu1010_adc_pads_put() local 775 change = (cache != emu->emu1010.adc_pads); in snd_emu1010_adc_pads_put() [all …]
|
/openbmc/linux/drivers/watchdog/ |
H A D | ar7_wdt.c | 52 u32 change; member 103 WRITE_REG(ar7_wdt->change, value); in ar7_wdt_change() 128 u32 change; in ar7_wdt_update_margin() local 132 change = new_margin * (vbus_rate / prescale_value); in ar7_wdt_update_margin() 133 if (change < 1) in ar7_wdt_update_margin() 134 change = 1; in ar7_wdt_update_margin() 135 if (change > 0xffff) in ar7_wdt_update_margin() 136 change = 0xffff; in ar7_wdt_update_margin() 137 ar7_wdt_change(change); in ar7_wdt_update_margin() 138 margin = change * prescale_value / vbus_rate; in ar7_wdt_update_margin() [all …]
|
/openbmc/linux/sound/ppc/ |
H A D | daca.c | 99 int change; in daca_put_deemphasis() local 104 change = mix->deemphasis != ucontrol->value.integer.value[0]; in daca_put_deemphasis() 105 if (change) { in daca_put_deemphasis() 109 return change; in daca_put_deemphasis() 142 int change; in daca_put_volume() local 151 change = mix->left_vol != vol[0] || in daca_put_volume() 153 if (change) { in daca_put_volume() 158 return change; in daca_put_volume() 181 int change; in daca_put_amp() local 186 change = mix->amp_on != ucontrol->value.integer.value[0]; in daca_put_amp() [all …]
|
/openbmc/dbus-sensors/src/ |
H A D | Thresholds.cpp | 392 for (const auto& change : changes) in checkThresholds() local 394 assertThresholds(sensor, change.assertValue, change.threshold.level, in checkThresholds() 395 change.threshold.direction, change.asserted); in checkThresholds() 396 if (change.threshold.level == thresholds::Level::CRITICAL && in checkThresholds() 397 change.asserted) in checkThresholds() 417 for (const auto& change : changes) in checkThresholdsPowerDelay() local 430 if (change.threshold.direction == thresholds::Direction::LOW) in checkThresholdsPowerDelay() 432 if (change.asserted || thresholdTimer.hasActiveTimer( in checkThresholdsPowerDelay() 433 change.threshold, !change.asserted)) in checkThresholdsPowerDelay() 435 thresholdTimer.startTimer(weakSensor, change.threshold, in checkThresholdsPowerDelay() [all …]
|
/openbmc/linux/sound/i2c/ |
H A D | tea6330t.c | 97 int change, count, err; in snd_tea6330t_put_master_volume() local 104 change = val1 != tea->mleft || val2 != tea->mright; in snd_tea6330t_put_master_volume() 120 change = err; in snd_tea6330t_put_master_volume() 123 return change; in snd_tea6330t_put_master_volume() 149 int change, err; in snd_tea6330t_put_master_switch() local 158 change = val1 != oval1 || val2 != oval2; in snd_tea6330t_put_master_switch() 166 change = err; in snd_tea6330t_put_master_switch() 168 return change; in snd_tea6330t_put_master_switch() 201 int change, err; in snd_tea6330t_put_bass() local 209 change = tea->regs[TEA6330T_SADDR_BASS] != val1; in snd_tea6330t_put_bass() [all …]
|
/openbmc/linux/sound/soc/sof/ |
H A D | ops.c | 42 bool change; in snd_sof_pci_update_bits() local 45 change = snd_sof_pci_update_bits_unlocked(sdev, offset, mask, value); in snd_sof_pci_update_bits() 47 return change; in snd_sof_pci_update_bits() 94 bool change; in snd_sof_dsp_update_bits() local 97 change = snd_sof_dsp_update_bits_unlocked(sdev, bar, offset, mask, in snd_sof_dsp_update_bits() 100 return change; in snd_sof_dsp_update_bits() 108 bool change; in snd_sof_dsp_update_bits64() local 111 change = snd_sof_dsp_update_bits64_unlocked(sdev, bar, offset, mask, in snd_sof_dsp_update_bits64() 114 return change; in snd_sof_dsp_update_bits64()
|
/openbmc/linux/sound/isa/sb/ |
H A D | sb_mixer.c | 79 int change; in snd_sbmixer_put_single() local 86 change = val != oval; in snd_sbmixer_put_single() 87 if (change) in snd_sbmixer_put_single() 90 return change; in snd_sbmixer_put_single() 137 int change; in snd_sbmixer_put_double() local 146 change = left != oleft; in snd_sbmixer_put_double() 147 if (change) in snd_sbmixer_put_double() 154 change = left != oleft || right != oright; in snd_sbmixer_put_double() 155 if (change) { in snd_sbmixer_put_double() 161 return change; in snd_sbmixer_put_double() [all …]
|
/openbmc/openbmc/meta-google/recipes-google/networking/files/ |
H A D | gbmc-ip-monitor.sh | 64 change=init 67 change=addr 91 change=route 102 change='link' 121 change=defer 145 if [ "$change" = 'init' ]; then
|
/openbmc/linux/arch/um/os-Linux/drivers/ |
H A D | ethertap_user.c | 39 struct addr_change change; in etap_change() local 43 change.what = op; in etap_change() 44 memcpy(change.addr, addr, sizeof(change.addr)); in etap_change() 45 memcpy(change.netmask, netmask, sizeof(change.netmask)); in etap_change() 46 CATCH_EINTR(n = write(fd, &change, sizeof(change))); in etap_change() 47 if (n != sizeof(change)) { in etap_change()
|
/openbmc/linux/drivers/net/ethernet/engleder/ |
H A D | tsnep_tc.c | 159 static u64 tsnep_set_gcl_change(struct tsnep_gcl *gcl, int index, u64 change, in tsnep_set_gcl_change() argument 169 change -= gcl->operation[index].interval; in tsnep_set_gcl_change() 180 return change; in tsnep_set_gcl_change() 204 u64 change, u32 interval) in tsnep_insert_gcl_operation() argument 216 return tsnep_set_gcl_change(gcl, ref, change, true); in tsnep_insert_gcl_operation() 289 u64 change; in tsnep_enable_gcl() local 293 change = tsnep_cut_gcl(curr, last, in tsnep_enable_gcl() 298 change = tsnep_extend_gcl(curr, last, in tsnep_enable_gcl() 301 change = tsnep_cut_gcl(curr, last, in tsnep_enable_gcl() 304 WARN_ON(change <= timeout); in tsnep_enable_gcl() [all …]
|
/openbmc/openbmc/meta-arm/meta-arm-bsp/recipes-bsp/trusted-firmware-m/files/corstone1000/ |
H A D | 0012-Platform-CS1000-Increase-BL2-partition-size.patch | 64 …--new=3:48:+4K --typecode=3:$FWU_METADATA_TYPE_UUID --partition-guid=3:$(uuidgen) --change-name=3:… 65 …--typecode=4:$PRIVATE_METADATA_TYPE_UUID --partition-guid=4:$(uuidgen) --change-name=4:'private_me… 66 …--typecode=5:$PRIVATE_METADATA_TYPE_UUID --partition-guid=5:$(uuidgen) --change-name=5:'private_me… 67 - --new=6:72:+100k --typecode=6:$SE_BL2_TYPE_UUID --partition-guid=6:$(uuidgen) --change-nam… 68 - --new=7:272:+368K --typecode=7:$TFM_TYPE_UUID --partition-guid=7:$(uuidgen) --change-name=… 69 - --new=8:32784:+100k --typecode=8:$SE_BL2_TYPE_UUID --partition-guid=8:$(uuidgen) --change-… 70 - --new=9:32984:+368K --typecode=9:$TFM_TYPE_UUID --partition-guid=9:$(uuidgen) --change-nam… 71 …TION_SIZE --typecode=6:$SE_BL2_TYPE_UUID --partition-guid=6:$(uuidgen) --change-name=6:'bl2_primar… 72 …RTITION_SIZE --typecode=7:$TFM_TYPE_UUID --partition-guid=7:$(uuidgen) --change-name=7:'tfm_primar… 73 …TION_SIZE --typecode=8:$SE_BL2_TYPE_UUID --partition-guid=8:$(uuidgen) --change-name=8:'bl2_second… [all …]
|
/openbmc/entity-manager/docs/ |
H A D | my_first_sensors.md | 102 .ADDRESS property u 80 emits-change 103 .BUS property u 18 emits-change 104 .Common_Format_Version property s "1" emits-change 105 .PRODUCT_ASSET_TAG property s "--" emits-change 106 .PRODUCT_FRU_VERSION_ID property s "??????" emits-change 107 .PRODUCT_LANGUAGE_CODE property s "0" emits-change 108 .PRODUCT_MANUFACTURER property s "Awesome" emits-change 109 .PRODUCT_PART_NUMBER property s "12345" emits-change 110 .PRODUCT_PRODUCT_NAME property s "Super Great" emits-change 111 .PRODUCT_SERIAL_NUMBER property s "12312490840" emits-change [all …]
|
/openbmc/u-boot/drivers/sound/ |
H A D | maxim_codec.c | 71 int change, ret = 0; in maxim_bic_or() local 77 change = (old != new) ? 1 : 0; in maxim_bic_or() 78 if (change) in maxim_bic_or() 83 return change; in maxim_bic_or()
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 133.out | 7 qemu-io: Cannot change the option 'node-name' 8 qemu-io: Cannot change the option 'node-name' 9 qemu-io: Cannot change the option 'node-name' 16 qemu-io: Cannot change the option 'driver' 17 qemu-io: Cannot change the option 'driver' 18 qemu-io: Cannot change the option 'driver'
|
/openbmc/linux/sound/pci/ca0106/ |
H A D | ca0106_mixer.c | 160 int change = 0; in snd_ca0106_shared_spdif_put() local 163 change = (emu->spdif_enable != val); in snd_ca0106_shared_spdif_put() 164 if (change) { in snd_ca0106_shared_spdif_put() 168 return change; in snd_ca0106_shared_spdif_put() 195 int change = 0; in snd_ca0106_capture_source_put() local 200 change = (emu->capture_source != val); in snd_ca0106_capture_source_put() 201 if (change) { in snd_ca0106_capture_source_put() 205 return change; in snd_ca0106_capture_source_put() 232 int change = 0; in snd_ca0106_i2c_capture_source_put() local 240 change = (emu->i2c_capture_source != source_id); in snd_ca0106_i2c_capture_source_put() [all …]
|
/openbmc/linux/drivers/media/v4l2-core/ |
H A D | v4l2-mc.c | 468 static int pipeline_pm_power_one(struct media_entity *entity, int change) in pipeline_pm_power_one() argument 476 if (entity->use_count == 0 && change > 0 && subdev != NULL) { in pipeline_pm_power_one() 482 entity->use_count += change; in pipeline_pm_power_one() 485 if (entity->use_count == 0 && change < 0 && subdev != NULL) in pipeline_pm_power_one() 501 static int pipeline_pm_power(struct media_entity *entity, int change, in pipeline_pm_power() argument 507 if (!change) in pipeline_pm_power() 514 ret = pipeline_pm_power_one(entity, change); in pipeline_pm_power() 524 pipeline_pm_power_one(first, -change); in pipeline_pm_power() 532 int change = use ? 1 : -1; in v4l2_pipeline_pm_use() local 538 entity->use_count += change; in v4l2_pipeline_pm_use() [all …]
|
/openbmc/u-boot/drivers/usb/emul/ |
H A D | sandbox_hub.c | 118 int change[SANDBOX_NUM_PORTS]; member 164 int *change = &priv->change[port]; in clrset_post_state() local 193 *change |= *status & clear; in clrset_post_state() 194 *change |= ~*status & set; in clrset_post_state() 195 *change &= 0x1f; in clrset_post_state() 237 portsts->wPortChange = priv->change[port]; in sandbox_hub_submit_control_msg() 276 priv->change[port] &= 1 << in sandbox_hub_submit_control_msg()
|
/openbmc/linux/tools/testing/selftests/powerpc/stringloops/ |
H A D | memcmp.c | 100 unsigned long change; in testcase() local 112 change = random() % comp_size; in testcase() 113 rand_s2[change] = random() & 0xff; in testcase() 126 unsigned long change; in testcase() local 139 change = random() % comp_size; in testcase() 140 s2[change] = random() & 0xff; in testcase()
|