Home
last modified time | relevance | path

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

12

/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-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-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
/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-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/usb/
Dcard.c475 const struct usb_audio_device_name *preset; in usb_audio_make_shortname() local
478 preset = lookup_device_name(chip->usb_id); in usb_audio_make_shortname()
479 if (preset && preset->product_name) in usb_audio_make_shortname()
480 s = preset->product_name; in usb_audio_make_shortname()
506 const struct usb_audio_device_name *preset; in usb_audio_make_longname() local
510 preset = lookup_device_name(chip->usb_id); in usb_audio_make_longname()
513 if (preset && preset->profile_name) in usb_audio_make_longname()
514 s = preset->profile_name; in usb_audio_make_longname()
520 if (preset && preset->vendor_name) in usb_audio_make_longname()
521 s = preset->vendor_name; in usb_audio_make_longname()
/kernel/linux/linux-5.10/drivers/counter/
D104-quad-8.c50 unsigned int preset[QUAD8_NUM_COUNTERS]; member
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
272 ret = kstrtouint(buf, 0, &preset); in quad8_write_preset()
277 if (preset > 0xFFFFFF) in quad8_write_preset()
282 priv->preset[chan->channel] = preset; in quad8_write_preset()
289 outb(preset >> (8 * i), base_offset); in quad8_write_preset()
699 val = priv->preset[count->id]; in quad8_count_write()
1141 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
/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-5.10/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()
/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()
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()
887 static int __bnx2x_get_preset_regs(struct bnx2x *bp, u32 *p, u32 preset) in __bnx2x_get_preset_regs() argument
906 IS_REG_IN_PRESET(idle_reg_addrs[i].presets, preset)) { in __bnx2x_get_preset_regs()
[all …]
Dbnx2x_dump.h41 u32 preset; member
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/timer/
Dti,keystone-timer.txt10 when the counter reaches preset counter values.
Dti,davinci-timer.txt10 counter reaches preset counter values.
/kernel/linux/linux-5.10/include/sound/
Dsoundfont.h103 int preset, int bank,
/kernel/linux/linux-5.10/sound/soc/codecs/
Dhdac_hda.c436 ret = snd_hda_codec_set_name(hcodec, hcodec->preset->name); in hdac_hda_codec_probe()
438 dev_err(&hdev->dev, "name failed %s\n", hcodec->preset->name); in hdac_hda_codec_probe()
448 patch = (hda_codec_patch_t)hcodec->preset->driver_data; in hdac_hda_codec_probe()
/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-5.10/drivers/mtd/nand/raw/
Dmxc_nand.c127 void (*preset)(struct mtd_info *); member
1351 host->devtype_data->preset(mtd); in mxc_nand_command()
1464 .preset = preset_v1,
1488 .preset = preset_v1,
1513 .preset = preset_v2,
1539 .preset = preset_v3,
1565 .preset = preset_v3,
1719 host->devtype_data->preset(mtd); in mxcnd_attach_chip()
/kernel/linux/linux-5.10/drivers/memory/tegra/
Dtegra30-emc.c420 bool preset = false; in emc_dqs_preset() local
430 preset = true; in emc_dqs_preset()
441 preset = true; in emc_dqs_preset()
453 preset = true; in emc_dqs_preset()
457 return preset; in emc_dqs_preset()
/kernel/linux/linux-5.10/Documentation/userspace-api/media/drivers/
Dmax2175.rst40 The Rx mode controls a number of preset parameters of the tuner like
/kernel/linux/linux-5.10/drivers/iio/trigger/
Dstm32-timer-trigger.c677 unsigned int preset; in stm32_count_set_preset() local
680 ret = kstrtouint(buf, 0, &preset); in stm32_count_set_preset()
686 regmap_write(priv->regmap, TIM_ARR, preset); in stm32_count_set_preset()
/kernel/linux/linux-5.10/Documentation/userspace-api/media/v4l/
Dext-ctrls-camera.rst265 .. _v4l2-auto-n-preset-white-balance:
271 Sets white balance to automatic, manual or a preset. The presets
292 - White balance preset for fluorescent lighting. It corresponds
301 - White balance preset for daylight (with clear sky). It corresponds
308 - White balance preset for moderately overcast sky. This option
312 - White balance preset for shade or heavily overcast sky. It
Dvidioc-query-dv-timings.rst13 VIDIOC_QUERY_DV_TIMINGS - VIDIOC_SUBDEV_QUERY_DV_TIMINGS - Sense the DV preset received by the curr…
/kernel/linux/linux-5.10/drivers/mmc/host/
Dsdhci.c1827 u16 preset = 0; in sdhci_get_preset_value() local
1832 preset = sdhci_readw(host, SDHCI_PRESET_FOR_HIGH_SPEED); in sdhci_get_preset_value()
1835 preset = sdhci_readw(host, SDHCI_PRESET_FOR_SDR12); in sdhci_get_preset_value()
1838 preset = sdhci_readw(host, SDHCI_PRESET_FOR_SDR25); in sdhci_get_preset_value()
1841 preset = sdhci_readw(host, SDHCI_PRESET_FOR_SDR50); in sdhci_get_preset_value()
1845 preset = sdhci_readw(host, SDHCI_PRESET_FOR_SDR104); in sdhci_get_preset_value()
1849 preset = sdhci_readw(host, SDHCI_PRESET_FOR_DDR50); in sdhci_get_preset_value()
1852 preset = sdhci_readw(host, SDHCI_PRESET_FOR_HS400); in sdhci_get_preset_value()
1857 preset = sdhci_readw(host, SDHCI_PRESET_FOR_SDR12); in sdhci_get_preset_value()
1860 return preset; in sdhci_get_preset_value()
[all …]

12