Home
last modified time | relevance | path

Searched refs:preset (Results 1 – 25 of 42) sorted by relevance

12

/Linux-v5.4/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-iio-lptimer-stm325 Reading returns the current preset value. Writing sets the
6 preset value. Encoder counts continuously from 0 to preset
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-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
/Linux-v5.4/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 …]
/Linux-v5.4/sound/pci/hda/
Dhda_bind.c34 codec->preset = list; in hda_codec_match()
91 if (WARN_ON(!codec->preset)) in hda_codec_driver_probe()
94 err = snd_hda_codec_set_name(codec, codec->preset->name); in hda_codec_driver_probe()
106 patch = (hda_codec_patch_t)codec->preset->driver_data; in hda_codec_driver_probe()
191 return device_attach(hda_codec_dev(codec)) > 0 && codec->preset; in codec_probed()
305 if (!codec->preset) in snd_hda_codec_configure()
307 if (!codec->preset) { in snd_hda_codec_configure()
/Linux-v5.4/drivers/counter/
D104-quad-8.c46 unsigned int preset[QUAD8_NUM_COUNTERS]; member
170 val = priv->preset[chan->channel]; in quad8_write_raw()
231 return snprintf(buf, PAGE_SIZE, "%u\n", priv->preset[chan->channel]); in quad8_read_preset()
239 unsigned int preset; in quad8_write_preset() local
243 ret = kstrtouint(buf, 0, &preset); in quad8_write_preset()
248 if (preset > 0xFFFFFF) in quad8_write_preset()
251 priv->preset[chan->channel] = preset; in quad8_write_preset()
258 outb(preset >> (8 * i), base_offset); in quad8_write_preset()
647 position = priv->preset[count->id]; in quad8_count_write()
1058 return sprintf(buf, "%u\n", priv->preset[count->id]); in quad8_count_preset_read()
[all …]
DKconfig26 set, either directly or via the counter's preset attribute. Interrupts
/Linux-v5.4/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()
/Linux-v5.4/sound/synth/emux/
Dsoundfont.c54 int bank, int preset, int key);
56 int preset, int bank, struct snd_sf_zone **table,
1222 int preset, int bank, in snd_soundfont_search_zone() argument
1238 nvoices = search_zones(sflist, notep, vel, preset, bank, in snd_soundfont_search_zone()
1241 if (preset != def_preset || bank != def_bank) in snd_soundfont_search_zone()
1255 search_first_zone(struct snd_sf_list *sflist, int bank, int preset, int key) in search_first_zone() argument
1260 if ((index = get_index(bank, preset, key)) < 0) in search_first_zone()
1263 if (zp->instr == preset && zp->bank == bank) in search_first_zone()
1275 int preset, int bank, struct snd_sf_zone **table, in search_zones() argument
1281 zp = search_first_zone(sflist, bank, preset, *notep); in search_zones()
[all …]
Demux_synth.c893 int preset, bank, def_preset, def_bank; in get_zone() local
896 preset = chan->midi_program; in get_zone()
902 def_preset = preset; in get_zone()
906 return snd_soundfont_search_zone(emu->sflist, notep, vel, preset, bank, in get_zone()
/Linux-v5.4/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()
850 static void bnx2x_read_pages_regs(struct bnx2x *bp, u32 *p, u32 preset) in bnx2x_read_pages_regs() argument
874 preset)) { in bnx2x_read_pages_regs()
886 static int __bnx2x_get_preset_regs(struct bnx2x *bp, u32 *p, u32 preset) in __bnx2x_get_preset_regs() argument
905 IS_REG_IN_PRESET(idle_reg_addrs[i].presets, preset)) { in __bnx2x_get_preset_regs()
[all …]
Dbnx2x_dump.h41 u32 preset; member
/Linux-v5.4/sound/soc/codecs/
Dhdac_hda.c346 ret = snd_hda_codec_set_name(hcodec, hcodec->preset->name); in hdac_hda_codec_probe()
348 dev_err(&hdev->dev, "name failed %s\n", hcodec->preset->name); in hdac_hda_codec_probe()
358 patch = (hda_codec_patch_t)hcodec->preset->driver_data; in hdac_hda_codec_probe()
/Linux-v5.4/Documentation/devicetree/bindings/timer/
Dti,keystone-timer.txt10 when the counter reaches preset counter values.
Dti,davinci-timer.txt10 counter reaches preset counter values.
Dsamsung,exynos4210-mct.txt6 four preset counter values. The CPU local timers are 32-bit free running
/Linux-v5.4/include/sound/
Dsoundfont.h103 int preset, int bank,
/Linux-v5.4/Documentation/devicetree/bindings/watchdog/
Dsamsung-wdt.txt4 after a preset amount of time during which the WDT reset event has not
/Linux-v5.4/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
/Linux-v5.4/drivers/mtd/nand/raw/
Dmxc_nand.c127 void (*preset)(struct mtd_info *); member
1350 host->devtype_data->preset(mtd); in mxc_nand_command()
1463 .preset = preset_v1,
1487 .preset = preset_v1,
1512 .preset = preset_v2,
1538 .preset = preset_v3,
1564 .preset = preset_v3,
1713 host->devtype_data->preset(mtd); in mxcnd_attach_chip()
/Linux-v5.4/drivers/iio/trigger/
Dstm32-timer-trigger.c630 unsigned int preset; in stm32_count_set_preset() local
633 ret = kstrtouint(buf, 0, &preset); in stm32_count_set_preset()
639 regmap_write(priv->regmap, TIM_ARR, preset); in stm32_count_set_preset()
/Linux-v5.4/Documentation/media/uapi/v4l/
Dext-ctrls-camera.rst272 .. _v4l2-auto-n-preset-white-balance:
278 Sets white balance to automatic, manual or a preset. The presets
299 - White balance preset for fluorescent lighting. It corresponds
308 - White balance preset for daylight (with clear sky). It corresponds
315 - White balance preset for moderately overcast sky. This option
319 - White balance preset for shade or heavily overcast sky. It
/Linux-v5.4/Documentation/media/v4l-drivers/
Dmax2175.rst40 The Rx mode controls a number of preset parameters of the tuner like
/Linux-v5.4/drivers/mmc/host/
Dsdhci.c1506 u16 preset = 0; in sdhci_get_preset_value() local
1510 preset = sdhci_readw(host, SDHCI_PRESET_FOR_SDR12); in sdhci_get_preset_value()
1513 preset = sdhci_readw(host, SDHCI_PRESET_FOR_SDR25); in sdhci_get_preset_value()
1516 preset = sdhci_readw(host, SDHCI_PRESET_FOR_SDR50); in sdhci_get_preset_value()
1520 preset = sdhci_readw(host, SDHCI_PRESET_FOR_SDR104); in sdhci_get_preset_value()
1524 preset = sdhci_readw(host, SDHCI_PRESET_FOR_DDR50); in sdhci_get_preset_value()
1527 preset = sdhci_readw(host, SDHCI_PRESET_FOR_HS400); in sdhci_get_preset_value()
1532 preset = sdhci_readw(host, SDHCI_PRESET_FOR_SDR12); in sdhci_get_preset_value()
1535 return preset; in sdhci_get_preset_value()
2022 u16 preset; in sdhci_set_ios() local
[all …]

12