Home
last modified time | relevance | path

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

123

/linux/drivers/media/i2c/
A Ds5k6aa.c256 struct s5k6aa_preset *preset; member
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()
636 preset->mbus_fmt.width); in s5k6aa_set_output_framefmt()
639 preset->mbus_fmt.height); in s5k6aa_set_output_framefmt()
735 int idx = preset->index; in s5k6aa_set_prev_config()
753 preset->clk_id); in s5k6aa_set_prev_config()
1119 struct s5k6aa_preset *preset = s5k6aa->preset; in s5k6aa_set_fmt() local
1134 mf = &preset->mbus_fmt; in s5k6aa_set_fmt()
[all …]
/linux/drivers/hwtracing/coresight/
A Dcoresight-config.c138 static int cscfg_update_presets(struct cscfg_config_csdev *config_csdev, int preset) in cscfg_update_presets() argument
149 if (preset < 1 || preset > config_desc->nr_presets) in cscfg_update_presets()
159 preset_base = &config_desc->presets[(preset - 1) * nr_cfg_params]; in cscfg_update_presets()
256 int cscfg_csdev_enable_config(struct cscfg_config_csdev *config_csdev, int preset) in cscfg_csdev_enable_config() argument
260 if (preset) in cscfg_csdev_enable_config()
261 err = cscfg_update_presets(config_csdev, preset); in cscfg_csdev_enable_config()
A Dcoresight-syscfg.h78 unsigned long cfg_hash, int preset);
A Dcoresight-config.h247 int cscfg_csdev_enable_config(struct cscfg_config_csdev *config_csdev, int preset);
/linux/sound/pci/hda/
A 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()
196 return device_attach(hda_codec_dev(codec)) > 0 && codec->preset; in codec_probed()
315 if (!codec->preset) in snd_hda_codec_configure()
317 if (!codec->preset) { in snd_hda_codec_configure()
/linux/sound/usb/
A Dcard.c491 const struct usb_audio_device_name *preset; in usb_audio_make_shortname() local
494 preset = lookup_device_name(chip->usb_id); in usb_audio_make_shortname()
495 if (preset && preset->product_name) in usb_audio_make_shortname()
496 s = preset->product_name; in usb_audio_make_shortname()
522 const struct usb_audio_device_name *preset; in usb_audio_make_longname() local
526 preset = lookup_device_name(chip->usb_id); in usb_audio_make_longname()
529 if (preset && preset->profile_name) in usb_audio_make_longname()
530 s = preset->profile_name; in usb_audio_make_longname()
536 if (preset && preset->vendor_name) in usb_audio_make_longname()
537 s = preset->vendor_name; in usb_audio_make_longname()
/linux/Documentation/trace/coresight/
A Dcoresight-config.rst87 as well as any preset values that can be used to override default parameter
95 that the configuration uses. The number of values in a single preset set, equals
99 a single parameter, and another has no parameters. A single preset set will
103 If no preset is selected, then the parameter values defined in the feature
165 Each preset declared has a preset<n> subdirectory declared. The values for
166 the preset can be examined::
239 A preset to override the current parameter values can also be selected::
241 $ perf record -e cs_etm/autofdo,preset=1/u --per-thread <application>
/linux/drivers/counter/
A D104-quad-8.c57 unsigned int preset[QUAD8_NUM_COUNTERS]; member
191 val = priv->preset[count->id]; in quad8_count_write()
711 struct counter_count *count, u64 *preset) in quad8_count_preset_read() argument
715 *preset = priv->preset[count->id]; in quad8_count_preset_read()
721 const unsigned int preset) in quad8_preset_register_set() argument
726 priv->preset[id] = preset; in quad8_preset_register_set()
733 outb(preset >> (8 * i), base_offset); in quad8_preset_register_set()
737 struct counter_count *count, u64 preset) in quad8_count_preset_write() argument
743 if (preset > 0xFFFFFF) in quad8_count_preset_write()
748 quad8_preset_register_set(priv, count->id, preset); in quad8_count_preset_write()
[all …]
/linux/drivers/iio/magnetometer/
A Dbmc150_magn.c695 struct bmc150_magn_preset preset; in bmc150_magn_init() local
729 preset = bmc150_magn_presets_table[BMC150_MAGN_DEFAULT_PRESET]; in bmc150_magn_init()
730 ret = bmc150_magn_set_odr(data, preset.odr); in bmc150_magn_init()
733 preset.odr); in bmc150_magn_init()
738 BMC150_MAGN_REPXY_TO_REGVAL(preset.rep_xy)); in bmc150_magn_init()
741 preset.rep_xy); in bmc150_magn_init()
746 BMC150_MAGN_REPZ_TO_REGVAL(preset.rep_z)); in bmc150_magn_init()
749 preset.rep_z); in bmc150_magn_init()
753 ret = bmc150_magn_set_max_odr(data, preset.rep_xy, preset.rep_z, in bmc150_magn_init()
754 preset.odr); in bmc150_magn_init()
/linux/Documentation/ABI/testing/
A 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
A Dsysfs-bus-counter45 new count value is loaded to the counter via a preset
167 What: /sys/bus/counter/devices/counterX/countY/preset
171 If the counter device supports preset registers -- registers
173 preset operation trigger events -- the preset count for channel
180 Whether channel Y counter preset operation is enabled. Valid
/linux/sound/synth/emux/
A Dsoundfont.c54 int bank, int preset, int key);
56 int preset, int bank, struct snd_sf_zone **table,
1232 int preset, int bank, in snd_soundfont_search_zone() argument
1248 nvoices = search_zones(sflist, notep, vel, preset, bank, in snd_soundfont_search_zone()
1251 if (preset != def_preset || bank != def_bank) in snd_soundfont_search_zone()
1270 index = get_index(bank, preset, key); 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()
1300 preset = zp->v.start; in search_zones()
[all …]
A 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/drivers/net/ethernet/broadcom/bnx2x/
A Dbnx2x_ethtool.c695 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()
875 preset)) { in bnx2x_read_pages_regs()
923 IS_REG_IN_PRESET(wreg_addr_p->presets, preset)) { in __bnx2x_get_preset_regs()
940 bnx2x_read_pages_regs(bp, p, preset); in __bnx2x_get_preset_regs()
984 dump_hdr.preset = DUMP_ALL_PRESETS; in bnx2x_get_regs()
1073 dump_hdr.preset = bp->dump_preset_idx; in bnx2x_get_dump_data()
[all …]
A Dbnx2x_dump.h41 u32 preset; member
/linux/sound/soc/codecs/
A 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()
/linux/drivers/mtd/nand/raw/
A Dmxc_nand.c126 void (*preset)(struct mtd_info *); member
1349 host->devtype_data->preset(mtd); in mxc_nand_command()
1462 .preset = preset_v1,
1486 .preset = preset_v1,
1511 .preset = preset_v2,
1537 .preset = preset_v3,
1563 .preset = preset_v3,
1663 host->devtype_data->preset(mtd); in mxcnd_attach_chip()
/linux/Documentation/hwmon/
A 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/Documentation/devicetree/bindings/timer/
A Dti,keystone-timer.txt10 when the counter reaches preset counter values.
A Dti,davinci-timer.txt10 counter reaches preset counter values.
/linux/include/sound/
A Dsoundfont.h103 int preset, int bank,
/linux/Documentation/devicetree/bindings/watchdog/
A Dsamsung-wdt.yaml14 after a preset amount of time during which the WDT reset event has not
/linux/Documentation/userspace-api/media/v4l/
A Dext-ctrls-camera.rst266 .. _v4l2-auto-n-preset-white-balance:
272 Sets white balance to automatic, manual or a preset. The presets
293 - White balance preset for fluorescent lighting. It corresponds
302 - White balance preset for daylight (with clear sky). It corresponds
309 - White balance preset for moderately overcast sky. This option
313 - White balance preset for shade or heavily overcast sky. It
/linux/Documentation/userspace-api/media/drivers/
A Dmax2175.rst40 The Rx mode controls a number of preset parameters of the tuner like
/linux/drivers/memory/tegra/
A Dtegra30-emc.c446 bool preset = false; in emc_dqs_preset() local
456 preset = true; in emc_dqs_preset()
467 preset = true; in emc_dqs_preset()
479 preset = true; in emc_dqs_preset()
483 return preset; in emc_dqs_preset()

Completed in 54 milliseconds

123