Home
last modified time | relevance | path

Searched full:preset (Results 1 – 25 of 369) sorted by relevance

12345678910>>...15

/kernel/linux/linux-4.19/Documentation/ABI/testing/
Dsysfs-bus-iio-counter-104-quad-817 normal, range limit, non-recycle, and modulo-n. The preset value
26 the preset value, while the lower limit is set to 0. The
27 counter freezes at count = preset when counting up, and
35 new count value is loaded to the counter via a preset
39 A count boundary is set between 0 and the preset value.
40 The counter is reset to 0 at count = preset when
41 counting up, while the counter is set to the preset
58 If the counter device supports preset registers, the preset
86 Whether to set channel Y counter with channel Y preset value
Dsysfs-bus-iio-timer-stm3287 Reading returns the current preset value.
88 Writing sets the preset value.
90 event when reach preset value.
91 When counting down the counter start from preset value
Dsysfs-bus-iio-lptimer-stm325 Reading returns the current preset value. Writing sets the
6 preset value. Encoder counts continuously from 0 to preset
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dsysfs-bus-iio-counter-104-quad-821 normal, range limit, non-recycle, and modulo-n. The preset value
30 the preset value, while the lower limit is set to 0. The
31 counter freezes at count = preset when counting up, and
39 new count value is loaded to the counter via a preset
43 A count boundary is set between 0 and the preset value.
44 The counter is reset to 0 at count = preset when
45 counting up, while the counter is set to the preset
66 If the counter device supports preset registers, the preset
98 Whether to set channel Y counter with channel Y preset value
Dsysfs-bus-counter45 new count value is loaded to the counter via a preset
157 What: /sys/bus/counter/devices/counterX/countY/preset
161 If the counter device supports preset registers -- registers
163 preset operation trigger events -- the preset count for channel
170 Whether channel Y counter preset operation is enabled. Valid
Dsysfs-bus-iio-timer-stm32105 Reading returns the current preset value.
106 Writing sets the preset value.
108 event when reach preset value.
109 When counting down the counter start from preset value
Dsysfs-bus-iio-lptimer-stm325 Reading returns the current preset value. Writing sets the
6 preset value. Encoder counts continuously from 0 to preset
/kernel/linux/linux-4.19/drivers/iio/counter/
D104-quad-8.c40 * @preset: array of preset values
51 unsigned int preset[QUAD8_NUM_COUNTERS]; member
88 /* Preset Register to Counter */
160 /* Counter can only be set via Preset Register */ in quad8_write_raw()
164 /* Transfer Preset Register to Counter */ in quad8_write_raw()
170 /* Set Preset Register back to original value */ in quad8_write_raw()
171 val = priv->preset[chan->channel]; in quad8_write_raw()
232 return snprintf(buf, PAGE_SIZE, "%u\n", priv->preset[chan->channel]); in quad8_read_preset()
240 unsigned int preset; in quad8_write_preset() local
244 ret = kstrtouint(buf, 0, &preset); in quad8_write_preset()
[all …]
Dstm32-lptimer-cnt.c23 u32 preset; member
57 ret = regmap_write(priv->regmap, STM32_LPTIM_ARR, priv->preset); in stm32_lptim_set_enable_state()
257 return snprintf(buf, PAGE_SIZE, "%u\n", priv->preset); in stm32_lptim_cnt_get_preset()
271 ret = kstrtouint(buf, 0, &priv->preset); in stm32_lptim_cnt_set_preset()
275 if (priv->preset > STM32_LPTIM_MAX_ARR) in stm32_lptim_cnt_set_preset()
284 .name = "preset",
310 .name = "preset",
347 priv->preset = STM32_LPTIM_MAX_ARR; in stm32_lptim_cnt_probe()
/kernel/linux/linux-5.10/drivers/counter/
D104-quad-8.c35 * @preset: array of preset values
50 unsigned int preset[QUAD8_NUM_COUNTERS]; member
89 /* Preset Register to Counter */
93 /* Transfer Preset Register LSB to FCK Prescaler */
173 /* Counter can only be set via Preset Register */ in quad8_write_raw()
177 /* Transfer Preset Register to Counter */ in quad8_write_raw()
183 /* Set Preset Register back to original value */ in quad8_write_raw()
184 val = priv->preset[chan->channel]; in quad8_write_raw()
260 return snprintf(buf, PAGE_SIZE, "%u\n", priv->preset[chan->channel]); in quad8_read_preset()
268 unsigned int preset; in quad8_write_preset() local
[all …]
/kernel/linux/linux-4.19/drivers/media/i2c/
Ds5k6aa.c260 struct s5k6aa_preset *preset; member
317 struct s5k6aa_preset *preset = &s5k6aa->presets[0]; in s5k6aa_presets_data_init() local
321 preset->mbus_fmt.width = S5K6AA_OUT_WIDTH_DEF; in s5k6aa_presets_data_init()
322 preset->mbus_fmt.height = S5K6AA_OUT_HEIGHT_DEF; in s5k6aa_presets_data_init()
323 preset->mbus_fmt.code = s5k6aa_formats[0].code; in s5k6aa_presets_data_init()
324 preset->index = i; in s5k6aa_presets_data_init()
325 preset->clk_id = 0; in s5k6aa_presets_data_init()
326 preset++; in s5k6aa_presets_data_init()
330 s5k6aa->preset = &s5k6aa->presets[0]; in s5k6aa_presets_data_init()
471 int index = s5k6aa->preset->index; in s5k6aa_set_mirror()
[all …]
/kernel/linux/linux-5.10/drivers/media/i2c/
Ds5k6aa.c256 struct s5k6aa_preset *preset; member
313 struct s5k6aa_preset *preset = &s5k6aa->presets[0]; in s5k6aa_presets_data_init() local
317 preset->mbus_fmt.width = S5K6AA_OUT_WIDTH_DEF; in s5k6aa_presets_data_init()
318 preset->mbus_fmt.height = S5K6AA_OUT_HEIGHT_DEF; in s5k6aa_presets_data_init()
319 preset->mbus_fmt.code = s5k6aa_formats[0].code; in s5k6aa_presets_data_init()
320 preset->index = i; in s5k6aa_presets_data_init()
321 preset->clk_id = 0; in s5k6aa_presets_data_init()
322 preset++; in s5k6aa_presets_data_init()
326 s5k6aa->preset = &s5k6aa->presets[0]; in s5k6aa_presets_data_init()
467 int index = s5k6aa->preset->index; in s5k6aa_set_mirror()
[all …]
/kernel/linux/linux-4.19/sound/pci/hda/
Dhda_bind.c33 codec->preset = list; in hda_codec_match()
88 if (WARN_ON(!codec->preset)) in hda_codec_driver_probe()
91 err = snd_hda_codec_set_name(codec, codec->preset->name); in hda_codec_driver_probe()
103 patch = (hda_codec_patch_t)codec->preset->driver_data; in hda_codec_driver_probe()
182 return device_attach(hda_codec_dev(codec)) > 0 && codec->preset; in codec_probed()
296 if (!codec->preset) in snd_hda_codec_configure()
298 if (!codec->preset) { in snd_hda_codec_configure()
/kernel/linux/linux-5.10/sound/pci/hda/
Dhda_bind.c34 codec->preset = list; in hda_codec_match()
99 if (WARN_ON(!codec->preset)) in hda_codec_driver_probe()
102 err = snd_hda_codec_set_name(codec, codec->preset->name); in hda_codec_driver_probe()
114 patch = (hda_codec_patch_t)codec->preset->driver_data; in hda_codec_driver_probe()
199 return device_attach(hda_codec_dev(codec)) > 0 && codec->preset; in codec_probed()
318 if (!codec->preset) in snd_hda_codec_configure()
320 if (!codec->preset) { in snd_hda_codec_configure()
/kernel/linux/linux-5.10/sound/synth/emux/
Dsoundfont.c54 int bank, int preset, int key);
56 int preset, int bank, struct snd_sf_zone **table,
207 /* check if specified type is special font (GUS or preset-alias) */
1108 /* rebuild preset now */ in load_guspatch()
1128 * Rebuild the preset table. This is like a hash table in that it allows
1129 * quick access to the zone information. For each preset there are zone
1131 * link for this preset, and latter is the link for zone (i.e. instrument/
1140 /* clear preset table */ in rebuild_presets()
1160 * add the given zone to preset table
1187 cur->next_instr = sflist->presets[index]; /* preset table link */ in add_preset()
[all …]
/kernel/linux/linux-4.19/sound/synth/emux/
Dsoundfont.c67 int bank, int preset, int key);
69 int preset, int bank, struct snd_sf_zone **table,
220 /* check if specified type is special font (GUS or preset-alias) */
1119 /* rebuild preset now */ in load_guspatch()
1139 * Rebuild the preset table. This is like a hash table in that it allows
1140 * quick access to the zone information. For each preset there are zone
1142 * link for this preset, and latter is the link for zone (i.e. instrument/
1151 /* clear preset table */ in rebuild_presets()
1171 * add the given zone to preset table
1198 cur->next_instr = sflist->presets[index]; /* preset table link */ in add_preset()
[all …]
/kernel/linux/linux-5.10/drivers/iio/magnetometer/
Dbmc150_magn.c693 struct bmc150_magn_preset preset; in bmc150_magn_init() local
715 preset = bmc150_magn_presets_table[BMC150_MAGN_DEFAULT_PRESET]; in bmc150_magn_init()
716 ret = bmc150_magn_set_odr(data, preset.odr); in bmc150_magn_init()
719 preset.odr); in bmc150_magn_init()
724 BMC150_MAGN_REPXY_TO_REGVAL(preset.rep_xy)); in bmc150_magn_init()
727 preset.rep_xy); in bmc150_magn_init()
732 BMC150_MAGN_REPZ_TO_REGVAL(preset.rep_z)); in bmc150_magn_init()
735 preset.rep_z); in bmc150_magn_init()
739 ret = bmc150_magn_set_max_odr(data, preset.rep_xy, preset.rep_z, in bmc150_magn_init()
740 preset.odr); in bmc150_magn_init()
/kernel/linux/linux-4.19/drivers/iio/magnetometer/
Dbmc150_magn.c685 struct bmc150_magn_preset preset; in bmc150_magn_init() local
707 preset = bmc150_magn_presets_table[BMC150_MAGN_DEFAULT_PRESET]; in bmc150_magn_init()
708 ret = bmc150_magn_set_odr(data, preset.odr); in bmc150_magn_init()
711 preset.odr); in bmc150_magn_init()
716 BMC150_MAGN_REPXY_TO_REGVAL(preset.rep_xy)); in bmc150_magn_init()
719 preset.rep_xy); in bmc150_magn_init()
724 BMC150_MAGN_REPZ_TO_REGVAL(preset.rep_z)); in bmc150_magn_init()
727 preset.rep_z); in bmc150_magn_init()
731 ret = bmc150_magn_set_max_odr(data, preset.rep_xy, preset.rep_z, in bmc150_magn_init()
732 preset.odr); in bmc150_magn_init()
/kernel/linux/linux-5.10/sound/usb/
Dcard.c336 * Profile name preset table
467 const struct usb_audio_device_name *preset; in usb_audio_make_shortname() local
470 preset = lookup_device_name(chip->usb_id); in usb_audio_make_shortname()
471 if (preset && preset->product_name) in usb_audio_make_shortname()
472 s = preset->product_name; in usb_audio_make_shortname()
498 const struct usb_audio_device_name *preset; in usb_audio_make_longname() local
502 preset = lookup_device_name(chip->usb_id); in usb_audio_make_longname()
505 if (preset && preset->profile_name) in usb_audio_make_longname()
506 s = preset->profile_name; in usb_audio_make_longname()
512 if (preset && preset->vendor_name) in usb_audio_make_longname()
[all …]
/kernel/linux/linux-4.19/Documentation/isdn/
DINTERFACE12 to preset some of the fields of isdn_if. The LL sets the rest of
55 Also to be preset by the HL-driver. With this value the HL-driver
60 To be preset by the HL-driver. Using this field, the HL-driver
72 To be preset by the HL-driver, if it supports sk_buff's. The driver
112 This field has to be preset by the HL-driver. It points to a function,
132 This field has to be preset by the HL-driver. The given function will
152 This field has to be preset by the HL-driver. The given function will be
176 This field has to be preset by the HL-driver. The given function will be
201 This string has to be preset by the HL-driver. Its purpose is for
/kernel/linux/linux-5.10/Documentation/userspace-api/media/v4l/
Dpixfmt-meta-d4xx.rst73 * - __u32 Preset
74 - Preset selector value, default: 0, unless changed by the user
142 0x00000040 Preset
/kernel/linux/linux-5.10/Documentation/hwmon/
Dw83792d.rst160 slowly to 0 or a preset stop value until the temperature exceeds the low
161 limit. (The preset stop value handling is not yet implemented in driver)
167 available. When related temperature sensors detects the temperature in preset
/kernel/linux/linux-4.19/Documentation/hwmon/
Dw83792d152 slowly to 0 or a preset stop value until the temperature exceeds the low
153 limit. (The preset stop value handling is not yet implemented in driver)
159 available. When related temperature sensors detects the temperature in preset
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_ethtool.c692 static int __bnx2x_get_preset_regs_len(struct bnx2x *bp, u32 preset) in __bnx2x_get_preset_regs_len() argument
695 return dump_num_registers[0][preset-1]; in __bnx2x_get_preset_regs_len()
697 return dump_num_registers[1][preset-1]; in __bnx2x_get_preset_regs_len()
699 return dump_num_registers[2][preset-1]; in __bnx2x_get_preset_regs_len()
701 return dump_num_registers[3][preset-1]; in __bnx2x_get_preset_regs_len()
703 return dump_num_registers[4][preset-1]; in __bnx2x_get_preset_regs_len()
713 /* Calculate the total preset regs length */ in __bnx2x_get_regs_len()
844 * @preset: the preset value
851 static void bnx2x_read_pages_regs(struct bnx2x *bp, u32 *p, u32 preset) in bnx2x_read_pages_regs() argument
875 preset)) { in bnx2x_read_pages_regs()
[all …]
/kernel/linux/linux-5.10/drivers/media/i2c/m5mols/
Dm5mols_reg.h189 /* EV (scenemode) preset for MONITOR */
191 /* EV (scenemode) preset for CAPTURE */
237 #define REG_AWB_PRESET 0x02 /* AWB preset */
239 /* Manual WB (preset) */

12345678910>>...15