Home
last modified time | relevance | path

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

12

/Linux-v4.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-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
/Linux-v4.19/sound/pci/hda/
Dhda_bind.c33 codec->preset = list; in hda_codec_match()
84 if (WARN_ON(!codec->preset)) in hda_codec_driver_probe()
87 err = snd_hda_codec_set_name(codec, codec->preset->name); in hda_codec_driver_probe()
99 patch = (hda_codec_patch_t)codec->preset->driver_data; in hda_codec_driver_probe()
177 return device_attach(hda_codec_dev(codec)) > 0 && codec->preset; in codec_probed()
291 if (!codec->preset) in snd_hda_codec_configure()
293 if (!codec->preset) { in snd_hda_codec_configure()
/Linux-v4.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 …]
/Linux-v4.19/drivers/iio/counter/
D104-quad-8.c51 unsigned int preset[QUAD8_NUM_COUNTERS]; member
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()
249 if (preset > 0xFFFFFF) in quad8_write_preset()
252 priv->preset[chan->channel] = preset; in quad8_write_preset()
259 outb(preset >> (8 * i), base_offset); in quad8_write_preset()
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()
347 priv->preset = STM32_LPTIM_MAX_ARR; in stm32_lptim_cnt_probe()
DKconfig19 or via a counter's preset attribute. Interrupts are not supported by
/Linux-v4.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()
/Linux-v4.19/sound/synth/emux/
Dsoundfont.c67 int bank, int preset, int key);
69 int preset, int bank, struct snd_sf_zone **table,
1233 int preset, int bank, in snd_soundfont_search_zone() argument
1249 nvoices = search_zones(sflist, notep, vel, preset, bank, in snd_soundfont_search_zone()
1252 if (preset != def_preset || bank != def_bank) in snd_soundfont_search_zone()
1266 search_first_zone(struct snd_sf_list *sflist, int bank, int preset, int key) in search_first_zone() argument
1271 if ((index = get_index(bank, preset, key)) < 0) in search_first_zone()
1274 if (zp->instr == preset && zp->bank == bank) in search_first_zone()
1286 int preset, int bank, struct snd_sf_zone **table, in search_zones() argument
1292 zp = search_first_zone(sflist, bank, preset, *notep); in search_zones()
[all …]
Demux_synth.c907 int preset, bank, def_preset, def_bank; in get_zone() local
910 preset = chan->midi_program; in get_zone()
916 def_preset = preset; in get_zone()
920 return snd_soundfont_search_zone(emu->sflist, notep, vel, preset, bank, in get_zone()
/Linux-v4.19/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_ethtool.c690 static int __bnx2x_get_preset_regs_len(struct bnx2x *bp, u32 preset) in __bnx2x_get_preset_regs_len() argument
693 return dump_num_registers[0][preset-1]; in __bnx2x_get_preset_regs_len()
695 return dump_num_registers[1][preset-1]; in __bnx2x_get_preset_regs_len()
697 return dump_num_registers[2][preset-1]; in __bnx2x_get_preset_regs_len()
699 return dump_num_registers[3][preset-1]; in __bnx2x_get_preset_regs_len()
701 return dump_num_registers[4][preset-1]; in __bnx2x_get_preset_regs_len()
848 static void bnx2x_read_pages_regs(struct bnx2x *bp, u32 *p, u32 preset) in bnx2x_read_pages_regs() argument
872 preset)) { in bnx2x_read_pages_regs()
884 static int __bnx2x_get_preset_regs(struct bnx2x *bp, u32 *p, u32 preset) in __bnx2x_get_preset_regs() argument
903 IS_REG_IN_PRESET(idle_reg_addrs[i].presets, preset)) { in __bnx2x_get_preset_regs()
[all …]
Dbnx2x_dump.h41 u32 preset; member
/Linux-v4.19/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-v4.19/include/sound/
Dsoundfont.h116 int preset, int bank,
/Linux-v4.19/Documentation/devicetree/bindings/watchdog/
Dsamsung-wdt.txt4 after a preset amount of time during which the WDT reset event has not
/Linux-v4.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
/Linux-v4.19/drivers/mtd/nand/raw/
Dmxc_nand.c127 void (*preset)(struct mtd_info *); member
1367 host->devtype_data->preset(mtd); in mxc_nand_command()
1480 .preset = preset_v1,
1504 .preset = preset_v1,
1529 .preset = preset_v2,
1555 .preset = preset_v3,
1581 .preset = preset_v3,
1730 host->devtype_data->preset(mtd); in mxcnd_attach_chip()
/Linux-v4.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
/Linux-v4.19/Documentation/media/v4l-drivers/
Dmax2175.rst38 The Rx mode controls a number of preset parameters of the tuner like
/Linux-v4.19/drivers/iio/trigger/
Dstm32-timer-trigger.c710 unsigned int preset; in stm32_count_set_preset() local
713 ret = kstrtouint(buf, 0, &preset); in stm32_count_set_preset()
719 regmap_write(priv->regmap, TIM_ARR, preset); in stm32_count_set_preset()
/Linux-v4.19/drivers/mmc/host/
Dsdhci.c1364 u16 preset = 0; in sdhci_get_preset_value() local
1368 preset = sdhci_readw(host, SDHCI_PRESET_FOR_SDR12); in sdhci_get_preset_value()
1371 preset = sdhci_readw(host, SDHCI_PRESET_FOR_SDR25); in sdhci_get_preset_value()
1374 preset = sdhci_readw(host, SDHCI_PRESET_FOR_SDR50); in sdhci_get_preset_value()
1378 preset = sdhci_readw(host, SDHCI_PRESET_FOR_SDR104); in sdhci_get_preset_value()
1382 preset = sdhci_readw(host, SDHCI_PRESET_FOR_DDR50); in sdhci_get_preset_value()
1385 preset = sdhci_readw(host, SDHCI_PRESET_FOR_HS400); in sdhci_get_preset_value()
1390 preset = sdhci_readw(host, SDHCI_PRESET_FOR_SDR12); in sdhci_get_preset_value()
1393 return preset; in sdhci_get_preset_value()
1851 u16 preset; in sdhci_set_ios() local
[all …]
/Linux-v4.19/Documentation/media/uapi/v4l/
Dvidioc-query-dv-timings.rst12 VIDIOC_QUERY_DV_TIMINGS - VIDIOC_SUBDEV_QUERY_DV_TIMINGS - Sense the DV preset received by the curr…

12