summaryrefslogtreecommitdiffstats
AgeCommit message (Expand)Author
2016-03-09Remove unnecessary call to SCT_set1_extensions(sct, "", 0) in ct_test.cRob Percival
2016-03-09Reset SCT validation_status if the SCT is modifiedRob Percival
2016-03-09Use SCT_VERSION_V1 in place of literal 0 in ct_test.cRob Percival
2016-03-09Fixes "usuable" typo in ct_locl.hRob Percival
2016-03-09Treat boolean functions as booleansRob Percival
2016-03-09Make parameters of CTLOG_get* constRob Percival
2016-03-09Extensive application of __owur to CT functions that return a booleanRob Percival
2016-03-09Makes SCT_LIST_set_source return the number of successesRob Percival
2016-03-09Fix locking in ssl_cert_dup()Todd Short
2016-03-09Restore building out of source with the unified build schemeRichard Levitte
2016-03-09CT test can't run without EC, so skip it on that algo as wellRichard Levitte
2016-03-09Fix ct_test to not assume it's in the source directoryRichard Levitte
2016-03-09Update CHANGES and NEWSMatt Caswell
2016-03-09Fix classic buildMatt Caswell
2016-03-09In build.info, an IF within a clause that's skipped over shouldn't applyRichard Levitte
2016-03-09Add an entry in NEWS about the new threading APIMatt Caswell
2016-03-09Update CHANGES for the new threading APIMatt Caswell
2016-03-09Remove the old threading APIMatt Caswell
2016-03-09Remove use of the old CRYPTO_LOCK_X5O9_STOREMatt Caswell
2016-03-09Don't call ENGINE_cleanup when configured "no-engine"Richard Levitte
2016-03-09Don't add engines if configured "no-engine"Richard Levitte
2016-03-09Don't add afalg engine if configured "no-engine"Richard Levitte
2016-03-09Don't check the conditions to build e_afalg if configured "no-engine"Richard Levitte
2016-03-09Have Configure display the value of SHARED_CFLAGRichard Levitte
2016-03-09Make sure the effect of "pic" / "no-pic" is used with assembler compilationsRichard Levitte
2016-03-09Touch the correct variables for the system; shlib_wrap.sh on SolarisRichard Levitte
2016-03-09Recognise 32-bit Solaris in util/shlib_wrap.shRichard Levitte
2016-03-09Check gcc version to see if it supports -MM and friendsRichard Levitte
2016-03-09Add extra include directory for includers of ppc_arch.hRichard Levitte
2016-03-09Adapt INSTALL and related notes for WindowsRichard Levitte
2016-03-09Adapt appveyor.yml for the new unified buildRichard Levitte
2016-03-09Adapt the Windows makefile template to source generationRichard Levitte
2016-03-09Don't run the TLSProxy based tests in native WindowsRichard Levitte
2016-03-09Unified - name native Windows shared libraries like MingW builds doRichard Levitte
2016-03-09Unified - extract settings from util/pl/VC-32.pl and make the config settingsRichard Levitte
2016-03-09Unified - a native Windows makefile templateRichard Levitte
2016-03-09ec/asm/ecp_nistz256-sparcv9.pl: get corner logic right.Andy Polyakov
2016-03-09Adapt mk1mf.pl and companions to changed perlasm script semanticsRichard Levitte
2016-03-09Unified - adapt the generation of whirlpool assembler to use GENERATERichard Levitte
2016-03-09Unified - adapt the generation of sha assembler to use GENERATERichard Levitte
2016-03-09Unified - adapt the generation of rc4 assembler to use GENERATERichard Levitte
2016-03-09Unified - adapt the generation of rc5 assembler to use GENERATERichard Levitte
2016-03-09Unified - adapt the generation of ripemd assembler to use GENERATERichard Levitte
2016-03-09Unified - adapt the generation of md5 assembler to use GENERATERichard Levitte
2016-03-09Unified - adapt the generation of modes assembler to use GENERATERichard Levitte
2016-03-09Unified - adapt the generation of poly1305 assembler to use GENERATERichard Levitte
2016-03-09Unified - adapt the generation of des assembler to use GENERATERichard Levitte
2016-03-09Unified - adapt the generation of ec assembler to use GENERATERichard Levitte
2016-03-09Unified - adapt the generation of camellia assembler to use GENERATERichard Levitte
2016-03-09Unified - adapt the generation of cast assembler to use GENERATERichard Levitte
class="w"> <asm/prom.h> #include <asm/machdep.h> /* maximum number of fragments */ #define PMAC_MAX_FRAGS 32 #define PMAC_SUPPORT_AUTOMUTE /* * DBDMA space */ struct pmac_dbdma { dma_addr_t dma_base; dma_addr_t addr; struct dbdma_cmd __iomem *cmds; void *space; int size; }; /* * playback/capture stream */ struct pmac_stream { int running; /* boolean */ int stream; /* PLAYBACK/CAPTURE */ int dma_size; /* in bytes */ int period_size; /* in bytes */ int buffer_size; /* in kbytes */ int nperiods, cur_period; struct pmac_dbdma cmd; volatile struct dbdma_regs __iomem *dma; struct snd_pcm_substream *substream; unsigned int cur_freqs; /* currently available frequencies */ unsigned int cur_formats; /* currently available formats */ }; /* */ enum snd_pmac_model { PMAC_AWACS, PMAC_SCREAMER, PMAC_BURGUNDY, PMAC_DACA, PMAC_TUMBLER, PMAC_SNAPPER }; struct snd_pmac { struct snd_card *card; /* h/w info */ struct device_node *node; struct pci_dev *pdev; unsigned int revision; unsigned int manufacturer; unsigned int subframe; unsigned int device_id; enum snd_pmac_model model; unsigned int has_iic : 1; unsigned int is_pbook_3400 : 1; unsigned int is_pbook_G3 : 1; unsigned int is_k2 : 1; unsigned int can_byte_swap : 1; unsigned int can_duplex : 1; unsigned int can_capture : 1; unsigned int auto_mute : 1; unsigned int initialized : 1; unsigned int feature_is_set : 1; unsigned int requested; struct resource rsrc[3]; int num_freqs; int *freq_table; unsigned int freqs_ok; /* bit flags */ unsigned int formats_ok; /* pcm hwinfo */ int active; int rate_index; int format; /* current format */ spinlock_t reg_lock; volatile struct awacs_regs __iomem *awacs; int awacs_reg[8]; /* register cache */ unsigned int hp_stat_mask; unsigned char __iomem *latch_base; unsigned char __iomem *macio_base; struct pmac_stream playback; struct pmac_stream capture; struct pmac_dbdma extra_dma; int irq, tx_irq, rx_irq; struct snd_pcm *pcm; struct pmac_beep *beep; unsigned int control_mask; /* control mask */ /* mixer stuffs */ void *mixer_data; void (*mixer_free)(struct snd_pmac *); struct snd_kcontrol *master_sw_ctl; struct snd_kcontrol *speaker_sw_ctl; struct snd_kcontrol *drc_sw_ctl; /* only used for tumbler -ReneR */ struct snd_kcontrol *hp_detect_ctl; struct snd_kcontrol *lineout_sw_ctl; /* lowlevel callbacks */ void (*set_format)(struct snd_pmac *chip); void (*update_automute)(struct snd_pmac *chip, int do_notify); int (*detect_headphone)(struct snd_pmac *chip); #ifdef CONFIG_PM void (*suspend)(struct snd_pmac *chip); void (*resume)(struct snd_pmac *chip); #endif }; /* exported functions */ int snd_pmac_new(struct snd_card *card, struct snd_pmac **chip_return); int snd_pmac_pcm_new(struct snd_pmac *chip); int snd_pmac_attach_beep(struct snd_pmac *chip); void snd_pmac_detach_beep(struct snd_pmac *chip); void snd_pmac_beep_stop(struct snd_pmac *chip); unsigned int snd_pmac_rate_index(struct snd_pmac *chip, struct pmac_stream *rec, unsigned int rate); void snd_pmac_beep_dma_start(struct snd_pmac *chip, int bytes, unsigned long addr, int speed); void snd_pmac_beep_dma_stop(struct snd_pmac *chip); #ifdef CONFIG_PM void snd_pmac_suspend(struct snd_pmac *chip); void snd_pmac_resume(struct snd_pmac *chip); #endif /* initialize mixer */ int snd_pmac_awacs_init(struct snd_pmac *chip); int snd_pmac_burgundy_init(struct snd_pmac *chip); int snd_pmac_daca_init(struct snd_pmac *chip); int snd_pmac_tumbler_init(struct snd_pmac *chip); int snd_pmac_tumbler_post_init(void); /* i2c functions */ struct pmac_keywest { int addr; struct i2c_client *client; int id; int (*init_client)(struct pmac_keywest *i2c); char *name; }; int snd_pmac_keywest_init(struct pmac_keywest *i2c); void snd_pmac_keywest_cleanup(struct pmac_keywest *i2c); /* misc */ int snd_pmac_boolean_stereo_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo); int snd_pmac_boolean_mono_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo); int snd_pmac_add_automute(struct snd_pmac *chip); #endif /* __PMAC_H */