/Linux-v4.19/sound/pci/ice1712/ |
D | wtm.c | 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() 182 if (change) { in stac9460_dac_mute_put() [all …]
|
D | prodigy192.c | 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() 187 if (change) { in stac9460_dac_vol_put() [all …]
|
D | aureon.c | 226 int change; in aureon_universe_inmux_put() local 233 change = (oval != nval); in aureon_universe_inmux_put() 234 if (change) { in aureon_universe_inmux_put() 239 return change; in aureon_universe_inmux_put() 390 int change; in aureon_ac97_vol_put() local 400 change = (ovol != nvol); in aureon_ac97_vol_put() 401 if (change) in aureon_ac97_vol_put() 406 return change; in aureon_ac97_vol_put() 431 int change; in aureon_ac97_mute_put() local 438 change = (ovol != nvol); in aureon_ac97_mute_put() [all …]
|
D | prodigy_hifi.c | 283 int change = 0; in ak4396_dac_vol_put() local 291 change = 1; in ak4396_dac_vol_put() 295 return change; in ak4396_dac_vol_put() 391 int i, idx, change = 0; in wm_dac_vol_put() local 400 change = 1; in wm_dac_vol_put() 404 return change; in wm_dac_vol_put() 441 int change = 0; in wm8766_vol_put() local 453 change = 1; in wm8766_vol_put() 457 return change; in wm8766_vol_put() 489 int ch, change = 0; in wm_master_vol_put() local [all …]
|
D | phase.c | 316 int change; in wm_pcm_mute_put() local 321 change = (nval != oval); in wm_pcm_mute_put() 322 if (change) in wm_pcm_mute_put() 326 return change; in wm_pcm_mute_put() 359 int ch, change = 0; in wm_master_vol_put() local 374 change = 1; in wm_master_vol_put() 378 return change; in wm_master_vol_put() 510 int change = 0; in wm_vol_put() local 526 change = 1; in wm_vol_put() 530 return change; in wm_vol_put() [all …]
|
D | pontis.c | 143 int i, idx, change = 0; in wm_dac_vol_put() local 154 change = 1; in wm_dac_vol_put() 158 return change; in wm_dac_vol_put() 198 int i, idx, change = 0; in wm_adc_vol_put() local 208 change = 1; in wm_adc_vol_put() 212 return change; in wm_adc_vol_put() 236 int change; in wm_adc_mux_put() local 244 change = nval != oval; in wm_adc_mux_put() 245 if (change) { in wm_adc_mux_put() 249 return change; in wm_adc_mux_put() [all …]
|
/Linux-v4.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() 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() 148 bool change; in snd_soc_component_update_bits_async() local 153 mask, val, &change); in snd_soc_component_update_bits_async() 156 mask, val, &change); in snd_soc_component_update_bits_async() [all …]
|
/Linux-v4.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 …]
|
D | tumbler.c | 283 int change; in tumbler_put_master_volume() local 290 change = mix->master_vol[0] != vol[0] || in tumbler_put_master_volume() 292 if (change) { in tumbler_put_master_volume() 297 return change; in tumbler_put_master_volume() 317 int change; in tumbler_put_master_switch() local 319 change = mix->master_switch[0] != ucontrol->value.integer.value[0] || in tumbler_put_master_switch() 321 if (change) { in tumbler_put_master_switch() 326 return change; in tumbler_put_master_switch() 431 int change; in tumbler_put_drc_value() local 443 change = mix->drc_range != val; in tumbler_put_drc_value() [all …]
|
/Linux-v4.19/drivers/watchdog/ |
D | ar7_wdt.c | 52 u32 change; member 105 WRITE_REG(ar7_wdt->change, value); 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() 140 margin = change * prescale_value / vbus_rate; in ar7_wdt_update_margin() [all …]
|
/Linux-v4.19/drivers/media/v4l2-core/ |
D | v4l2-mc.c | 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() 317 static int pipeline_pm_power(struct media_entity *entity, int change, in pipeline_pm_power() argument 323 if (!change) in pipeline_pm_power() 330 ret = pipeline_pm_power_one(entity, change); in pipeline_pm_power() 340 pipeline_pm_power_one(first, -change); in pipeline_pm_power() 348 int change = use ? 1 : -1; in v4l2_pipeline_pm_use() local 354 entity->use_count += change; in v4l2_pipeline_pm_use() [all …]
|
/Linux-v4.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 …]
|
/Linux-v4.19/sound/pci/emu10k1/ |
D | emumixer.c | 711 int change = 0; in snd_emu1010_internal_clock_put() local 717 change = (emu->emu1010.internal_clock != val); in snd_emu1010_internal_clock_put() 718 if (change) { in snd_emu1010_internal_clock_put() 795 return change; in snd_emu1010_internal_clock_put() 834 int change = 0; in snd_emu1010_optical_out_put() local 840 change = (emu->emu1010.optical_out != val); in snd_emu1010_optical_out_put() 841 if (change) { in snd_emu1010_optical_out_put() 847 return change; in snd_emu1010_optical_out_put() 885 int change = 0; in snd_emu1010_optical_in_put() local 891 change = (emu->emu1010.optical_in != val); in snd_emu1010_optical_in_put() [all …]
|
/Linux-v4.19/sound/isa/sb/ |
D | sb_mixer.c | 94 int change; in snd_sbmixer_put_single() local 101 change = val != oval; in snd_sbmixer_put_single() 102 if (change) in snd_sbmixer_put_single() 105 return change; in snd_sbmixer_put_single() 152 int change; in snd_sbmixer_put_double() local 161 change = left != oleft; in snd_sbmixer_put_double() 162 if (change) in snd_sbmixer_put_double() 169 change = left != oleft || right != oright; in snd_sbmixer_put_double() 170 if (change) { in snd_sbmixer_put_double() 176 return change; in snd_sbmixer_put_double() [all …]
|
/Linux-v4.19/arch/um/os-Linux/drivers/ |
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()
|
/Linux-v4.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 …]
|
/Linux-v4.19/tools/testing/selftests/powerpc/stringloops/ |
D | memcmp.c | 95 unsigned long change; in testcase() local 107 change = random() % comp_size; in testcase() 108 rand_s2[change] = random() & 0xff; in testcase() 121 unsigned long change; in testcase() local 134 change = random() % comp_size; in testcase() 135 s2[change] = random() & 0xff; in testcase()
|
/Linux-v4.19/sound/pci/ca0106/ |
D | ca0106_mixer.c | 174 int change = 0; in snd_ca0106_shared_spdif_put() local 177 change = (emu->spdif_enable != val); in snd_ca0106_shared_spdif_put() 178 if (change) { in snd_ca0106_shared_spdif_put() 182 return change; in snd_ca0106_shared_spdif_put() 209 int change = 0; in snd_ca0106_capture_source_put() local 214 change = (emu->capture_source != val); in snd_ca0106_capture_source_put() 215 if (change) { in snd_ca0106_capture_source_put() 219 return change; in snd_ca0106_capture_source_put() 246 int change = 0; in snd_ca0106_i2c_capture_source_put() local 254 change = (emu->i2c_capture_source != source_id); in snd_ca0106_i2c_capture_source_put() [all …]
|
/Linux-v4.19/sound/isa/msnd/ |
D | msnd_pinnacle_mixer.c | 88 int change; in snd_msndmix_set_mux() local 107 change = newrecsrc != chip->recsrc; in snd_msndmix_set_mux() 108 if (change) { in snd_msndmix_set_mux() 109 change = 0; in snd_msndmix_set_mux() 113 change = 1; in snd_msndmix_set_mux() 116 return change; in snd_msndmix_set_mux() 259 int change, addr = kcontrol->private_value; in snd_msndmix_volume_put() local 266 change = msnd->left_levels[addr] != left in snd_msndmix_volume_put() 270 return change; in snd_msndmix_volume_put()
|
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | port_buffer.c | 187 bool *change) in update_buffer_lossy() argument 225 *change = true; in update_buffer_lossy() 232 u32 change, unsigned int mtu, in mlx5e_port_manual_buffer_config() argument 247 mlx5e_dbg(HW, priv, "%s: change=%x\n", __func__, change); in mlx5e_port_manual_buffer_config() 253 if (change & MLX5E_PORT_BUFFER_CABLE_LEN) { in mlx5e_port_manual_buffer_config() 260 if (change & MLX5E_PORT_BUFFER_PFC) { in mlx5e_port_manual_buffer_config() 271 if (change & MLX5E_PORT_BUFFER_PRIO2BUFFER) { in mlx5e_port_manual_buffer_config() 283 if (change & MLX5E_PORT_BUFFER_SIZE) { in mlx5e_port_manual_buffer_config()
|
/Linux-v4.19/fs/gfs2/ |
D | inode.h | 62 static inline void gfs2_add_inode_blocks(struct inode *inode, s64 change) in gfs2_add_inode_blocks() argument 64 gfs2_assert(GFS2_SB(inode), (change >= 0 || inode->i_blocks > -change)); in gfs2_add_inode_blocks() 65 change *= (GFS2_SB(inode)->sd_sb.sb_bsize/GFS2_BASIC_BLOCK); in gfs2_add_inode_blocks() 66 inode->i_blocks += change; in gfs2_add_inode_blocks()
|
/Linux-v4.19/drivers/usb/wusbcore/ |
D | rh.c | 95 port->change |= USB_PORT_STAT_C_RESET; in wusbhc_rh_port_reset() 104 port->change |= USB_PORT_STAT_C_RESET | USB_PORT_STAT_C_ENABLE; in wusbhc_rh_port_reset() 141 if (wusb_port_by_idx(wusbhc, cnt)->change) { in wusbhc_rh_status_data() 292 wusb_port_by_idx(wusbhc, port_idx)->change &= ~USB_PORT_STAT_C_RESET; in wusbhc_rh_clear_port_feat() 295 wusb_port_by_idx(wusbhc, port_idx)->change &= ~USB_PORT_STAT_C_CONNECTION; in wusbhc_rh_clear_port_feat() 301 wusb_port_by_idx(wusbhc, port_idx)->change &= ~USB_PORT_STAT_C_ENABLE; in wusbhc_rh_clear_port_feat() 335 buf[1] = cpu_to_le16(wusb_port_by_idx(wusbhc, port_idx)->change); in wusbhc_rh_get_port_status()
|
/Linux-v4.19/sound/isa/gus/ |
D | gus_mixer.c | 58 int change; in snd_gf1_put_single() local 68 change = nval != oval; in snd_gf1_put_single() 72 return change; in snd_gf1_put_single() 111 int change; in snd_ics_put_double() local 119 change = val1 != oval1 || val2 != oval2; in snd_ics_put_double() 135 return change; in snd_ics_put_double()
|
/Linux-v4.19/sound/isa/cs423x/ |
D | cs4236_lib.c | 444 int change; in snd_cs4236_put_single() local 453 change = val != chip->eimage[CS4236_REG(reg)]; in snd_cs4236_put_single() 456 return change; in snd_cs4236_put_single() 490 int change; in snd_cs4236_put_singlec() local 499 change = val != chip->cimage[reg]; in snd_cs4236_put_singlec() 502 return change; in snd_cs4236_put_singlec() 564 int change; in snd_cs4236_put_double() local 579 …change = val1 != chip->eimage[CS4236_REG(left_reg)] || val2 != chip->eimage[CS4236_REG(right_reg)]; in snd_cs4236_put_double() 584 change = val1 != chip->eimage[CS4236_REG(left_reg)]; in snd_cs4236_put_double() 588 return change; in snd_cs4236_put_double() [all …]
|
/Linux-v4.19/include/linux/ |
D | tty_flip.h | 22 int change; in tty_insert_flip_char() local 24 change = (tb->flags & TTYB_NORMAL) && (flag != TTY_NORMAL); in tty_insert_flip_char() 25 if (!change && tb->used < tb->size) { in tty_insert_flip_char()
|