| /kernel/linux/linux-5.10/sound/pci/ice1712/ |
| D | wtm.c | 27 /* rate change needs atomic mute/unmute of all dacs*/ 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() [all …]
|
| D | prodigy192.c | 57 /* rate change needs atomic mute/unmute of all dacs*/ 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() [all …]
|
| 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 …]
|
| /kernel/linux/linux-4.19/sound/pci/ice1712/ |
| D | wtm.c | 41 /* rate change needs atomic mute/unmute of all dacs*/ 82 int id, idx, change; in stac9460_dac_mute_all() local 93 change = (new != old); in stac9460_dac_mute_all() 94 if (change) { in stac9460_dac_mute_all() 112 change = (new != old); in stac9460_dac_mute_all() 113 if (change) { in stac9460_dac_mute_all() 160 int change; in stac9460_dac_mute_put() local 167 change = (new != old); in stac9460_dac_mute_put() 168 if (change) { in stac9460_dac_mute_put() 181 change = (new != old); in stac9460_dac_mute_put() [all …]
|
| D | prodigy192.c | 71 /* rate change needs atomic mute/unmute of all dacs*/ 96 int change; in stac9460_dac_mute() local 99 change = (new != old); in stac9460_dac_mute() 100 if (change) in stac9460_dac_mute() 103 return change; in stac9460_dac_mute() 127 int idx, change; in stac9460_dac_mute_put() local 139 change = stac9460_dac_mute(ice, idx, ucontrol->value.integer.value[0]); in stac9460_dac_mute_put() 141 return change; in stac9460_dac_mute_put() 177 int change; in stac9460_dac_vol_put() local 186 change = (ovol != nvol); in stac9460_dac_vol_put() [all …]
|
| /kernel/linux/linux-4.19/sound/soc/ |
| D | soc-io.c | 77 unsigned int mask, unsigned int val, bool *change) in snd_soc_component_update_bits_legacy() argument 89 *change = old != new; in snd_soc_component_update_bits_legacy() 90 if (*change) in snd_soc_component_update_bits_legacy() 106 * changed, 0 if the operation was successful, but the value did not change. 112 bool change; in snd_soc_component_update_bits() local 117 val, &change); in snd_soc_component_update_bits() 120 mask, val, &change); in snd_soc_component_update_bits() 124 return change; in snd_soc_component_update_bits() 142 * changed, 0 if the operation was successful, but the value did not change. 148 bool change; in snd_soc_component_update_bits_async() local [all …]
|
| /kernel/linux/linux-4.19/drivers/media/v4l2-core/ |
| D | v4l2-mc.c | 274 * pipeline_pm_power_one - Apply power change to an entity 276 * @change: Use count change 278 * Change the entity use count by @change. If the entity is a subdev update its 284 static int pipeline_pm_power_one(struct media_entity *entity, int change) in pipeline_pm_power_one() argument 292 if (entity->use_count == 0 && change > 0 && subdev != NULL) { in pipeline_pm_power_one() 298 entity->use_count += change; in pipeline_pm_power_one() 301 if (entity->use_count == 0 && change < 0 && subdev != NULL) in pipeline_pm_power_one() 308 * pipeline_pm_power - Apply power change to all entities in a pipeline 310 * @change: Use count change 317 static int pipeline_pm_power(struct media_entity *entity, int change, in pipeline_pm_power() argument [all …]
|
| /kernel/linux/linux-4.19/arch/arm/plat-samsung/ |
| D | pm-gpio.c | 106 * { IN => OUT } Change DAT first 107 * { IN => SFN } Change CON first 108 * { OUT => SFN } Change CON first, so new data will not glitch 109 * { OUT => IN } Change CON first, so new data will not glitch 110 * { SFN => IN } Change CON first 111 * { SFN => OUT } Change DAT first, so new data will not glitch [1] 114 * weak resistors, so a small delay in change should not need to bring 143 /* If there is no change, then skip */ in samsung_gpio_pm_2bit_resume() 153 /* Change is IN => OUT, do not change now */ in samsung_gpio_pm_2bit_resume() 158 /* Change is SFN => OUT, do not change now */ in samsung_gpio_pm_2bit_resume() [all …]
|
| /kernel/linux/linux-5.10/arch/arm/mach-s3c/ |
| D | pm-gpio.c | 106 * { IN => OUT } Change DAT first 107 * { IN => SFN } Change CON first 108 * { OUT => SFN } Change CON first, so new data will not glitch 109 * { OUT => IN } Change CON first, so new data will not glitch 110 * { SFN => IN } Change CON first 111 * { SFN => OUT } Change DAT first, so new data will not glitch [1] 114 * weak resistors, so a small delay in change should not need to bring 143 /* If there is no change, then skip */ in samsung_gpio_pm_2bit_resume() 153 /* Change is IN => OUT, do not change now */ in samsung_gpio_pm_2bit_resume() 158 /* Change is SFN => OUT, do not change now */ in samsung_gpio_pm_2bit_resume() [all …]
|
| /kernel/linux/linux-4.19/arch/sh/include/asm/ |
| D | hd64461.h | 129 #define HD64461_PCC0CSCR HD64461_IO_OFFSET(0x2004) /* socket 0 card status change */ 130 #define HD64461_PCC0CSCIER HD64461_IO_OFFSET(0x2006) /* socket 0 card status change interrupt enabl… 135 #define HD64461_PCC1CSCR HD64461_IO_OFFSET(0x2014) /* socket 1 card status change */ 136 #define HD64461_PCC1CSCIER HD64461_IO_OFFSET(0x2016) /* socket 1 card status change interrupt enabl… 166 /* PCC Card Status Change Register */ 170 #define HD64461_PCCCSCR_SC 0x10 /* STSCHG (status change) pin */ 171 #define HD64461_PCCCSCR_CDC 0x08 /* CD (card detect) change */ 172 #define HD64461_PCCCSCR_RC 0x04 /* READY change */ 173 #define HD64461_PCCCSCR_BW 0x02 /* battery warning change */ 174 #define HD64461_PCCCSCR_BD 0x01 /* battery dead change */ [all …]
|
| /kernel/linux/linux-5.10/arch/sh/include/asm/ |
| D | hd64461.h | 129 #define HD64461_PCC0CSCR HD64461_IO_OFFSET(0x2004) /* socket 0 card status change */ 130 #define HD64461_PCC0CSCIER HD64461_IO_OFFSET(0x2006) /* socket 0 card status change interrupt enabl… 135 #define HD64461_PCC1CSCR HD64461_IO_OFFSET(0x2014) /* socket 1 card status change */ 136 #define HD64461_PCC1CSCIER HD64461_IO_OFFSET(0x2016) /* socket 1 card status change interrupt enabl… 166 /* PCC Card Status Change Register */ 170 #define HD64461_PCCCSCR_SC 0x10 /* STSCHG (status change) pin */ 171 #define HD64461_PCCCSCR_CDC 0x08 /* CD (card detect) change */ 172 #define HD64461_PCCCSCR_RC 0x04 /* READY change */ 173 #define HD64461_PCCCSCR_BW 0x02 /* battery warning change */ 174 #define HD64461_PCCCSCR_BD 0x01 /* battery dead change */ [all …]
|
| /kernel/linux/linux-5.10/sound/ppc/ |
| D | daca.c | 98 int change; in daca_put_deemphasis() local 102 change = mix->deemphasis != ucontrol->value.integer.value[0]; in daca_put_deemphasis() 103 if (change) { in daca_put_deemphasis() 107 return change; in daca_put_deemphasis() 139 int change; in daca_put_volume() local 147 change = mix->left_vol != vol[0] || in daca_put_volume() 149 if (change) { in daca_put_volume() 154 return change; in daca_put_volume() 176 int change; in daca_put_amp() local 180 change = mix->amp_on != ucontrol->value.integer.value[0]; in daca_put_amp() [all …]
|
| /kernel/linux/linux-5.10/drivers/watchdog/ |
| D | ar7_wdt.c | 52 u32 change; member 105 WRITE_REG(ar7_wdt->change, value); in ar7_wdt_change() 109 pr_err("failed to unlock WDT change reg\n"); in ar7_wdt_change() 130 u32 change; in ar7_wdt_update_margin() local 134 change = new_margin * (vbus_rate / prescale_value); in ar7_wdt_update_margin() 135 if (change < 1) in ar7_wdt_update_margin() 136 change = 1; in ar7_wdt_update_margin() 137 if (change > 0xffff) in ar7_wdt_update_margin() 138 change = 0xffff; in ar7_wdt_update_margin() 139 ar7_wdt_change(change); in ar7_wdt_update_margin() [all …]
|
| /kernel/linux/linux-4.19/drivers/watchdog/ |
| D | ar7_wdt.c | 52 u32 change; member 105 WRITE_REG(ar7_wdt->change, value); in ar7_wdt_change() 109 pr_err("failed to unlock WDT change reg\n"); in ar7_wdt_change() 130 u32 change; in ar7_wdt_update_margin() local 134 change = new_margin * (vbus_rate / prescale_value); in ar7_wdt_update_margin() 135 if (change < 1) in ar7_wdt_update_margin() 136 change = 1; in ar7_wdt_update_margin() 137 if (change > 0xffff) in ar7_wdt_update_margin() 138 change = 0xffff; in ar7_wdt_update_margin() 139 ar7_wdt_change(change); in ar7_wdt_update_margin() [all …]
|
| /kernel/linux/linux-5.10/sound/soc/sof/ |
| 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()
|
| /kernel/linux/linux-5.10/sound/i2c/ |
| 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() 119 change = err; in snd_tea6330t_put_master_volume() 122 return change; in snd_tea6330t_put_master_volume() 148 int change, err; in snd_tea6330t_put_master_switch() local 157 change = val1 != oval1 || val2 != oval2; in snd_tea6330t_put_master_switch() 164 change = err; in snd_tea6330t_put_master_switch() 166 return change; in snd_tea6330t_put_master_switch() 199 int change, err; in snd_tea6330t_put_bass() local 207 change = tea->regs[TEA6330T_SADDR_BASS] != val1; in snd_tea6330t_put_bass() [all …]
|
| /kernel/linux/linux-5.10/drivers/media/v4l2-core/ |
| D | v4l2-mc.c | 450 * pipeline_pm_power_one - Apply power change to an entity 452 * @change: Use count change 454 * Change the entity use count by @change. If the entity is a subdev update its 460 static int pipeline_pm_power_one(struct media_entity *entity, int change) in pipeline_pm_power_one() argument 468 if (entity->use_count == 0 && change > 0 && subdev != NULL) { in pipeline_pm_power_one() 474 entity->use_count += change; in pipeline_pm_power_one() 477 if (entity->use_count == 0 && change < 0 && subdev != NULL) in pipeline_pm_power_one() 484 * pipeline_pm_power - Apply power change to all entities in a pipeline 486 * @change: Use count change 493 static int pipeline_pm_power(struct media_entity *entity, int change, in pipeline_pm_power() argument [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn10/ |
| D | dcn10_hubbub.c | 153 * 0: Pipe0 Plane0 Allow Pstate Change in hubbub1_verify_allow_pstate_change_high() 154 * 1: Pipe0 Plane1 Allow Pstate Change in hubbub1_verify_allow_pstate_change_high() 155 * 2: Pipe0 Cursor0 Allow Pstate Change in hubbub1_verify_allow_pstate_change_high() 156 * 3: Pipe0 Cursor1 Allow Pstate Change in hubbub1_verify_allow_pstate_change_high() 157 * 4: Pipe1 Plane0 Allow Pstate Change in hubbub1_verify_allow_pstate_change_high() 158 * 5: Pipe1 Plane1 Allow Pstate Change in hubbub1_verify_allow_pstate_change_high() 159 * 6: Pipe1 Cursor0 Allow Pstate Change in hubbub1_verify_allow_pstate_change_high() 160 * 7: Pipe1 Cursor1 Allow Pstate Change in hubbub1_verify_allow_pstate_change_high() 161 * 8: Pipe2 Plane0 Allow Pstate Change in hubbub1_verify_allow_pstate_change_high() 162 * 9: Pipe2 Plane1 Allow Pstate Change in hubbub1_verify_allow_pstate_change_high() [all …]
|
| /kernel/linux/linux-4.19/sound/ppc/ |
| D | daca.c | 111 int change; in daca_put_deemphasis() local 115 change = mix->deemphasis != ucontrol->value.integer.value[0]; in daca_put_deemphasis() 116 if (change) { in daca_put_deemphasis() 120 return change; in daca_put_deemphasis() 152 int change; in daca_put_volume() local 160 change = mix->left_vol != vol[0] || in daca_put_volume() 162 if (change) { in daca_put_volume() 167 return change; in daca_put_volume() 189 int change; in daca_put_amp() local 193 change = mix->amp_on != ucontrol->value.integer.value[0]; in daca_put_amp() [all …]
|
| /kernel/linux/linux-4.19/tools/testing/selftests/powerpc/stringloops/ |
| D | memcmp.c | 95 unsigned long change; in testcase() local 106 /* change one byte */ in testcase() 107 change = random() % comp_size; in testcase() 108 rand_s2[change] = random() & 0xff; in testcase() 121 unsigned long change; in testcase() local 132 /* change multiple bytes, 1/8 of total */ in testcase() 134 change = random() % comp_size; in testcase() 135 s2[change] = random() & 0xff; in testcase()
|
| /kernel/linux/linux-4.19/sound/i2c/ |
| D | tea6330t.c | 112 int change, count, err; in snd_tea6330t_put_master_volume() local 119 change = val1 != tea->mleft || val2 != tea->mright; in snd_tea6330t_put_master_volume() 134 change = err; in snd_tea6330t_put_master_volume() 137 return change; in snd_tea6330t_put_master_volume() 163 int change, err; in snd_tea6330t_put_master_switch() local 172 change = val1 != oval1 || val2 != oval2; in snd_tea6330t_put_master_switch() 179 change = err; in snd_tea6330t_put_master_switch() 181 return change; in snd_tea6330t_put_master_switch() 214 int change, err; in snd_tea6330t_put_bass() local 222 change = tea->regs[TEA6330T_SADDR_BASS] != val1; in snd_tea6330t_put_bass() [all …]
|
| /kernel/linux/linux-4.19/sound/soc/intel/common/ |
| D | sst-dsp.c | 165 bool change; in sst_dsp_shim_update_bits_unlocked() local 174 change = (old != new); in sst_dsp_shim_update_bits_unlocked() 175 if (change) in sst_dsp_shim_update_bits_unlocked() 178 return change; in sst_dsp_shim_update_bits_unlocked() 185 bool change; in sst_dsp_shim_update_bits64_unlocked() local 192 change = (old != new); in sst_dsp_shim_update_bits64_unlocked() 193 if (change) in sst_dsp_shim_update_bits64_unlocked() 196 return change; in sst_dsp_shim_update_bits64_unlocked() 220 bool change; in sst_dsp_shim_update_bits() local 223 change = sst_dsp_shim_update_bits_unlocked(sst, offset, mask, value); in sst_dsp_shim_update_bits() [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/powerpc/stringloops/ |
| D | memcmp.c | 100 unsigned long change; in testcase() local 111 /* change one byte */ in testcase() 112 change = random() % comp_size; in testcase() 113 rand_s2[change] = random() & 0xff; in testcase() 126 unsigned long change; in testcase() local 137 /* change multiple bytes, 1/8 of total */ in testcase() 139 change = random() % comp_size; in testcase() 140 s2[change] = random() & 0xff; in testcase()
|
| /kernel/linux/linux-4.19/include/linux/platform_data/ |
| D | si5351.h | 11 * @SI5351_PLL_SRC_DEFAULT: default, do not change eeprom config 23 * @SI5351_MULTISYNTH_SRC_DEFAULT: default, do not change eeprom config 35 * @SI5351_CLKOUT_SRC_DEFAULT: default, do not change eeprom config 52 * @SI5351_DRIVE_DEFAULT: default, do not change eeprom config 68 * @SI5351_DISABLE_DEFAULT: default, do not change eeprom config 88 * @pll_master: if true, clkout can also change pll rate
|
| /kernel/linux/linux-5.10/include/linux/platform_data/ |
| D | si5351.h | 11 * @SI5351_PLL_SRC_DEFAULT: default, do not change eeprom config 23 * @SI5351_MULTISYNTH_SRC_DEFAULT: default, do not change eeprom config 35 * @SI5351_CLKOUT_SRC_DEFAULT: default, do not change eeprom config 52 * @SI5351_DRIVE_DEFAULT: default, do not change eeprom config 68 * @SI5351_DISABLE_DEFAULT: default, do not change eeprom config 88 * @pll_master: if true, clkout can also change pll rate
|