/Linux-v6.1/drivers/hwtracing/coresight/ |
D | coresight-config.c | 138 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()
|
D | coresight-syscfg-configfs.c | 113 cscfg_config_sysfs_set_preset(fs_config->preset); in cscfg_cfg_enable_store() 124 return scnprintf(page, PAGE_SIZE, "%d\n", fs_config->preset); in cscfg_cfg_preset_show() 132 int preset, err; in cscfg_cfg_preset_store() local 134 err = kstrtoint(page, 0, &preset); in cscfg_cfg_preset_store() 140 if ((preset < 1) || (preset > fs_config->config_desc->nr_presets)) in cscfg_cfg_preset_store() 146 fs_config->preset = preset; in cscfg_cfg_preset_store() 149 cscfg_config_sysfs_set_preset(fs_config->preset); in cscfg_cfg_preset_store() 153 CONFIGFS_ATTR(cscfg_cfg_, preset);
|
D | coresight-syscfg.h | 109 void cscfg_config_sysfs_set_preset(int preset); 123 unsigned long cfg_hash, int preset); 125 void cscfg_config_sysfs_get_active_cfg(unsigned long *cfg_hash, int *preset);
|
D | coresight-syscfg.c | 969 void cscfg_config_sysfs_set_preset(int preset) in cscfg_config_sysfs_set_preset() argument 972 cscfg_mgr->sysfs_active_preset = preset; in cscfg_config_sysfs_set_preset() 980 void cscfg_config_sysfs_get_active_cfg(unsigned long *cfg_hash, int *preset) in cscfg_config_sysfs_get_active_cfg() argument 983 *preset = cscfg_mgr->sysfs_active_preset; in cscfg_config_sysfs_get_active_cfg() 1047 unsigned long cfg_hash, int preset) in cscfg_csdev_enable_active_config() argument 1083 err = cscfg_csdev_enable_config(config_csdev_active, preset); in cscfg_csdev_enable_active_config()
|
D | coresight-syscfg-configfs.h | 19 int preset; member
|
D | coresight-config.h | 256 int cscfg_csdev_enable_config(struct cscfg_config_csdev *config_csdev, int preset);
|
/Linux-v6.1/drivers/media/i2c/ |
D | s5k6aa.c | 256 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-v6.1/sound/pci/hda/ |
D | hda_bind.c | 35 codec->preset = list; in hda_codec_match() 100 if (WARN_ON(!codec->preset)) in hda_codec_driver_probe() 103 err = snd_hda_codec_set_name(codec, codec->preset->name); in hda_codec_driver_probe() 115 patch = (hda_codec_patch_t)codec->preset->driver_data; in hda_codec_driver_probe() 203 return device_attach(hda_codec_dev(codec)) > 0 && codec->preset; in codec_probed() 329 if (!codec->preset) in snd_hda_codec_configure() 331 if (!codec->preset) { in snd_hda_codec_configure()
|
/Linux-v6.1/Documentation/trace/coresight/ |
D | coresight-config.rst | 87 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 159 enable preset preset2 preset4 preset6 preset8 165 Each preset declared has a 'preset<n>' subdirectory declared. The values for 166 the preset can be examined:: 173 The 'enable' and 'preset' files allow the control of a configuration when 236 A preset to override the current parameter values can also be selected:: 238 $ perf record -e cs_etm/autofdo,preset=1/u --per-thread <application> [all …]
|
/Linux-v6.1/sound/usb/ |
D | card.c | 499 const struct usb_audio_device_name *preset; in usb_audio_make_shortname() local 502 preset = lookup_device_name(chip->usb_id); in usb_audio_make_shortname() 503 if (preset && preset->product_name) in usb_audio_make_shortname() 504 s = preset->product_name; in usb_audio_make_shortname() 530 const struct usb_audio_device_name *preset; in usb_audio_make_longname() local 534 preset = lookup_device_name(chip->usb_id); in usb_audio_make_longname() 537 if (preset && preset->profile_name) in usb_audio_make_longname() 538 s = preset->profile_name; in usb_audio_make_longname() 544 if (preset && preset->vendor_name) in usb_audio_make_longname() 545 s = preset->vendor_name; in usb_audio_make_longname()
|
/Linux-v6.1/drivers/counter/ |
D | 104-quad-8.c | 87 unsigned int preset[QUAD8_NUM_COUNTERS]; member 214 val = priv->preset[count->id]; in quad8_count_write() 778 struct counter_count *count, u64 *preset) in quad8_count_preset_read() argument 782 *preset = priv->preset[count->id]; in quad8_count_preset_read() 788 const unsigned int preset) in quad8_preset_register_set() argument 793 priv->preset[id] = preset; in quad8_preset_register_set() 800 iowrite8(preset >> (8 * i), &chan->data); in quad8_preset_register_set() 804 struct counter_count *count, u64 preset) in quad8_count_preset_write() argument 810 if (preset > 0xFFFFFF) in quad8_count_preset_write() 815 quad8_preset_register_set(priv, count->id, preset); in quad8_count_preset_write() [all …]
|
/Linux-v6.1/drivers/iio/magnetometer/ |
D | bmc150_magn.c | 695 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-v6.1/Documentation/ABI/testing/ |
D | sysfs-bus-iio-timer-stm32 | 97 Reading returns the current preset value. 98 Writing sets the preset value. 100 event when reach preset value. 101 When counting down the counter start from preset value
|
D | sysfs-bus-counter | 51 new count value is loaded to the counter via a preset 173 What: /sys/bus/counter/devices/counterX/countY/preset 177 If the counter device supports preset registers -- registers 179 preset operation trigger events -- the preset count for channel 186 Whether channel Y counter preset operation is enabled. Valid
|
/Linux-v6.1/sound/synth/emux/ |
D | soundfont.c | 54 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() 1265 search_first_zone(struct snd_sf_list *sflist, int bank, int preset, int key) in search_first_zone() argument 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() [all …]
|
D | emux_synth.c | 893 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-v6.1/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_ethtool.c | 692 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 …]
|
D | bnx2x_dump.h | 41 u32 preset; member
|
/Linux-v6.1/sound/soc/codecs/ |
D | hda.c | 202 ret = snd_hda_codec_set_name(codec, codec->preset->name); in hda_codec_probe() 204 dev_err(&hdev->dev, "name failed %s\n", codec->preset->name); in hda_codec_probe() 214 patch = (hda_codec_patch_t)codec->preset->driver_data; in hda_codec_probe()
|
D | hdac_hda.c | 441 ret = snd_hda_codec_set_name(hcodec, hcodec->preset->name); in hdac_hda_codec_probe() 443 dev_err(&hdev->dev, "name failed %s\n", hcodec->preset->name); in hdac_hda_codec_probe() 453 patch = (hda_codec_patch_t)hcodec->preset->driver_data; in hdac_hda_codec_probe()
|
/Linux-v6.1/Documentation/devicetree/bindings/timer/ |
D | ti,keystone-timer.txt | 10 when the counter reaches preset counter values.
|
D | ti,davinci-timer.txt | 10 counter reaches preset counter values.
|
/Linux-v6.1/include/sound/ |
D | soundfont.h | 103 int preset, int bank,
|
/Linux-v6.1/Documentation/hwmon/ |
D | w83792d.rst | 160 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-v6.1/drivers/mtd/nand/raw/ |
D | mxc_nand.c | 126 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()
|