preset 47 drivers/counter/104-quad-8.c unsigned int preset[QUAD8_NUM_COUNTERS]; preset 177 drivers/counter/104-quad-8.c val = priv->preset[chan->channel]; preset 253 drivers/counter/104-quad-8.c return snprintf(buf, PAGE_SIZE, "%u\n", priv->preset[chan->channel]); preset 261 drivers/counter/104-quad-8.c unsigned int preset; preset 265 drivers/counter/104-quad-8.c ret = kstrtouint(buf, 0, &preset); preset 270 drivers/counter/104-quad-8.c if (preset > 0xFFFFFF) preset 275 drivers/counter/104-quad-8.c priv->preset[chan->channel] = preset; preset 282 drivers/counter/104-quad-8.c outb(preset >> (8 * i), base_offset); preset 705 drivers/counter/104-quad-8.c position = priv->preset[count->id]; preset 1147 drivers/counter/104-quad-8.c return sprintf(buf, "%u\n", priv->preset[count->id]); preset 1151 drivers/counter/104-quad-8.c unsigned int preset) preset 1156 drivers/counter/104-quad-8.c quad8iio->preset[id] = preset; preset 1163 drivers/counter/104-quad-8.c outb(preset >> (8 * i), base_offset); preset 1170 drivers/counter/104-quad-8.c unsigned int preset; preset 1173 drivers/counter/104-quad-8.c ret = kstrtouint(buf, 0, &preset); preset 1178 drivers/counter/104-quad-8.c if (preset > 0xFFFFFF) preset 1183 drivers/counter/104-quad-8.c quad8_preset_register_set(priv, count->id, preset); preset 1202 drivers/counter/104-quad-8.c return sprintf(buf, "%u\n", priv->preset[count->id]); preset 693 drivers/iio/magnetometer/bmc150_magn.c struct bmc150_magn_preset preset; preset 715 drivers/iio/magnetometer/bmc150_magn.c preset = bmc150_magn_presets_table[BMC150_MAGN_DEFAULT_PRESET]; preset 716 drivers/iio/magnetometer/bmc150_magn.c ret = bmc150_magn_set_odr(data, preset.odr); preset 719 drivers/iio/magnetometer/bmc150_magn.c preset.odr); preset 724 drivers/iio/magnetometer/bmc150_magn.c BMC150_MAGN_REPXY_TO_REGVAL(preset.rep_xy)); preset 727 drivers/iio/magnetometer/bmc150_magn.c preset.rep_xy); preset 732 drivers/iio/magnetometer/bmc150_magn.c BMC150_MAGN_REPZ_TO_REGVAL(preset.rep_z)); preset 735 drivers/iio/magnetometer/bmc150_magn.c preset.rep_z); preset 739 drivers/iio/magnetometer/bmc150_magn.c ret = bmc150_magn_set_max_odr(data, preset.rep_xy, preset.rep_z, preset 740 drivers/iio/magnetometer/bmc150_magn.c preset.odr); preset 637 drivers/iio/trigger/stm32-timer-trigger.c unsigned int preset; preset 640 drivers/iio/trigger/stm32-timer-trigger.c ret = kstrtouint(buf, 0, &preset); preset 646 drivers/iio/trigger/stm32-timer-trigger.c regmap_write(priv->regmap, TIM_ARR, preset); preset 256 drivers/media/i2c/s5k6aa.c struct s5k6aa_preset *preset; preset 313 drivers/media/i2c/s5k6aa.c struct s5k6aa_preset *preset = &s5k6aa->presets[0]; preset 317 drivers/media/i2c/s5k6aa.c preset->mbus_fmt.width = S5K6AA_OUT_WIDTH_DEF; preset 318 drivers/media/i2c/s5k6aa.c preset->mbus_fmt.height = S5K6AA_OUT_HEIGHT_DEF; preset 319 drivers/media/i2c/s5k6aa.c preset->mbus_fmt.code = s5k6aa_formats[0].code; preset 320 drivers/media/i2c/s5k6aa.c preset->index = i; preset 321 drivers/media/i2c/s5k6aa.c preset->clk_id = 0; preset 322 drivers/media/i2c/s5k6aa.c preset++; preset 326 drivers/media/i2c/s5k6aa.c s5k6aa->preset = &s5k6aa->presets[0]; preset 467 drivers/media/i2c/s5k6aa.c int index = s5k6aa->preset->index; preset 629 drivers/media/i2c/s5k6aa.c struct s5k6aa_preset *preset) preset 632 drivers/media/i2c/s5k6aa.c int fmt_index = s5k6aa_get_pixfmt_index(s5k6aa, &preset->mbus_fmt); preset 635 drivers/media/i2c/s5k6aa.c ret = s5k6aa_write(client, REG_P_OUT_WIDTH(preset->index), preset 636 drivers/media/i2c/s5k6aa.c preset->mbus_fmt.width); preset 638 drivers/media/i2c/s5k6aa.c ret = s5k6aa_write(client, REG_P_OUT_HEIGHT(preset->index), preset 639 drivers/media/i2c/s5k6aa.c preset->mbus_fmt.height); preset 641 drivers/media/i2c/s5k6aa.c ret = s5k6aa_write(client, REG_P_FMT(preset->index), preset 732 drivers/media/i2c/s5k6aa.c struct s5k6aa_preset *preset) preset 735 drivers/media/i2c/s5k6aa.c int idx = preset->index; preset 744 drivers/media/i2c/s5k6aa.c ret = s5k6aa_set_output_framefmt(s5k6aa, preset); preset 753 drivers/media/i2c/s5k6aa.c preset->clk_id); preset 923 drivers/media/i2c/s5k6aa.c ret = s5k6aa_set_prev_config(s5k6aa, s5k6aa->preset); preset 949 drivers/media/i2c/s5k6aa.c struct v4l2_mbus_framefmt *mbus_fmt = &s5k6aa->preset->mbus_fmt; preset 1106 drivers/media/i2c/s5k6aa.c fmt->format = s5k6aa->preset->mbus_fmt; preset 1116 drivers/media/i2c/s5k6aa.c struct s5k6aa_preset *preset = s5k6aa->preset; preset 1131 drivers/media/i2c/s5k6aa.c mf = &preset->mbus_fmt; preset 1204 drivers/media/i2c/s5k6aa.c mf = &s5k6aa->preset->mbus_fmt; preset 1267 drivers/media/i2c/s5k6aa.c idx = s5k6aa->preset->index; preset 1509 drivers/mmc/host/sdhci.c u16 preset = 0; preset 1513 drivers/mmc/host/sdhci.c preset = sdhci_readw(host, SDHCI_PRESET_FOR_SDR12); preset 1516 drivers/mmc/host/sdhci.c preset = sdhci_readw(host, SDHCI_PRESET_FOR_SDR25); preset 1519 drivers/mmc/host/sdhci.c preset = sdhci_readw(host, SDHCI_PRESET_FOR_SDR50); preset 1523 drivers/mmc/host/sdhci.c preset = sdhci_readw(host, SDHCI_PRESET_FOR_SDR104); preset 1527 drivers/mmc/host/sdhci.c preset = sdhci_readw(host, SDHCI_PRESET_FOR_DDR50); preset 1530 drivers/mmc/host/sdhci.c preset = sdhci_readw(host, SDHCI_PRESET_FOR_HS400); preset 1535 drivers/mmc/host/sdhci.c preset = sdhci_readw(host, SDHCI_PRESET_FOR_SDR12); preset 1538 drivers/mmc/host/sdhci.c return preset; preset 2023 drivers/mmc/host/sdhci.c u16 preset; preset 2026 drivers/mmc/host/sdhci.c preset = sdhci_get_preset_value(host); preset 2027 drivers/mmc/host/sdhci.c ios->drv_type = (preset & SDHCI_PRESET_DRV_MASK) preset 127 drivers/mtd/nand/raw/mxc_nand.c void (*preset)(struct mtd_info *); preset 1350 drivers/mtd/nand/raw/mxc_nand.c host->devtype_data->preset(mtd); preset 1463 drivers/mtd/nand/raw/mxc_nand.c .preset = preset_v1, preset 1487 drivers/mtd/nand/raw/mxc_nand.c .preset = preset_v1, preset 1512 drivers/mtd/nand/raw/mxc_nand.c .preset = preset_v2, preset 1538 drivers/mtd/nand/raw/mxc_nand.c .preset = preset_v3, preset 1564 drivers/mtd/nand/raw/mxc_nand.c .preset = preset_v3, preset 1713 drivers/mtd/nand/raw/mxc_nand.c host->devtype_data->preset(mtd); preset 41 drivers/net/ethernet/broadcom/bnx2x/bnx2x_dump.h u32 preset; preset 692 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c static int __bnx2x_get_preset_regs_len(struct bnx2x *bp, u32 preset) preset 695 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c return dump_num_registers[0][preset-1]; preset 697 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c return dump_num_registers[1][preset-1]; preset 699 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c return dump_num_registers[2][preset-1]; preset 701 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c return dump_num_registers[3][preset-1]; preset 703 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c return dump_num_registers[4][preset-1]; preset 850 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c static void bnx2x_read_pages_regs(struct bnx2x *bp, u32 *p, u32 preset) preset 874 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c preset)) { preset 886 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c static int __bnx2x_get_preset_regs(struct bnx2x *bp, u32 *p, u32 preset) preset 905 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c IS_REG_IN_PRESET(idle_reg_addrs[i].presets, preset)) { preset 914 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c IS_REG_IN_PRESET(reg_addrs[i].presets, preset)) { preset 922 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c IS_REG_IN_PRESET(wreg_addr_p->presets, preset)) { preset 939 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c bnx2x_read_pages_regs(bp, p, preset); preset 983 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c dump_hdr.preset = DUMP_ALL_PRESETS; preset 1018 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c static int bnx2x_get_preset_regs_len(struct net_device *dev, u32 preset) preset 1023 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c regdump_len = __bnx2x_get_preset_regs_len(bp, preset); preset 1072 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c dump_hdr.preset = bp->dump_preset_idx; preset 1075 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c DP(BNX2X_MSG_ETHTOOL, "Get dump data of preset %d\n", dump_hdr.preset); preset 1097 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c __bnx2x_get_preset_regs(bp, p, dump_hdr.preset); preset 184 include/sound/hda_codec.h const struct hda_device_id *preset; preset 103 include/sound/soundfont.h int preset, int bank, preset 34 sound/pci/hda/hda_bind.c codec->preset = list; preset 95 sound/pci/hda/hda_bind.c if (WARN_ON(!codec->preset)) preset 98 sound/pci/hda/hda_bind.c err = snd_hda_codec_set_name(codec, codec->preset->name); preset 110 sound/pci/hda/hda_bind.c patch = (hda_codec_patch_t)codec->preset->driver_data; preset 195 sound/pci/hda/hda_bind.c return device_attach(hda_codec_dev(codec)) > 0 && codec->preset; preset 309 sound/pci/hda/hda_bind.c if (!codec->preset) preset 311 sound/pci/hda/hda_bind.c if (!codec->preset) { preset 777 sound/pci/hda/hda_codec.c codec->preset = NULL; preset 3100 sound/pci/hda/patch_hdmi.c switch (codec->preset->vendor_id) { preset 3419 sound/pci/hda/patch_hdmi.c switch (codec->preset->vendor_id) { preset 346 sound/soc/codecs/hdac_hda.c ret = snd_hda_codec_set_name(hcodec, hcodec->preset->name); preset 348 sound/soc/codecs/hdac_hda.c dev_err(&hdev->dev, "name failed %s\n", hcodec->preset->name); preset 358 sound/soc/codecs/hdac_hda.c patch = (hda_codec_patch_t)hcodec->preset->driver_data; preset 893 sound/synth/emux/emux_synth.c int preset, bank, def_preset, def_bank; preset 896 sound/synth/emux/emux_synth.c preset = chan->midi_program; preset 902 sound/synth/emux/emux_synth.c def_preset = preset; preset 906 sound/synth/emux/emux_synth.c return snd_soundfont_search_zone(emu->sflist, notep, vel, preset, bank, preset 54 sound/synth/emux/soundfont.c int bank, int preset, int key); preset 56 sound/synth/emux/soundfont.c int preset, int bank, struct snd_sf_zone **table, preset 1222 sound/synth/emux/soundfont.c int preset, int bank, preset 1238 sound/synth/emux/soundfont.c nvoices = search_zones(sflist, notep, vel, preset, bank, preset 1241 sound/synth/emux/soundfont.c if (preset != def_preset || bank != def_bank) preset 1255 sound/synth/emux/soundfont.c search_first_zone(struct snd_sf_list *sflist, int bank, int preset, int key) preset 1260 sound/synth/emux/soundfont.c if ((index = get_index(bank, preset, key)) < 0) preset 1263 sound/synth/emux/soundfont.c if (zp->instr == preset && zp->bank == bank) preset 1275 sound/synth/emux/soundfont.c int preset, int bank, struct snd_sf_zone **table, preset 1281 sound/synth/emux/soundfont.c zp = search_first_zone(sflist, bank, preset, *notep); preset 1289 sound/synth/emux/soundfont.c preset = zp->v.start; preset 1297 sound/synth/emux/soundfont.c preset, bank, table,