aboutsummaryrefslogtreecommitdiffstats
path: root/block
Commit message (Expand)AuthorAge
* [PATCH] kobj_map semaphore to mutex conversionJes Sorensen2006-03-20
* [PATCH] fix rmmod problems with elevator attributes, clean them upAl Viro2006-03-18
* [PATCH] elevator_t lifetime rules and sysfs fixesAl Viro2006-03-18
* [PATCH] noise removal: cfq-iosched.cAl Viro2006-03-18
* [PATCH] don't bother with refcounting for cfq_dataAl Viro2006-03-18
* [PATCH] fix sysfs interaction and lifetime rules handling for queuesAl Viro2006-03-18
* [PATCH] fix cfq_get_queue()/ioprio_set(2) racesAl Viro2006-03-18
* [PATCH] deal with rmmod/put_io_context() racesAl Viro2006-03-18
* [PATCH] stop elv_unregister() from rogering other iosched's data, fix lockingAl Viro2006-03-18
* [PATCH] stop cfq from pinning queue downAl Viro2006-03-18
* [PATCH] make cfq_exit_queue() prune the cfq_io_context for that queueAl Viro2006-03-18
* [PATCH] fix the exclusion for ioprio_set()Al Viro2006-03-18
* [PATCH] keep sync and async cfq_queue separateAl Viro2006-03-18
* [PATCH] switch to use of ->key to get cfq_data by cfq_io_contextAl Viro2006-03-18
* [PATCH] stop leaking cfq_data in cfq_set_request()Al Viro2006-03-18
* [PATCH] fix cfq hash lookupsAl Viro2006-03-18
* [PATCH] fix locking in queue_requests_store()Al Viro2006-03-18
* [PATCH] fix double-free in blk_init_queue_node()Al Viro2006-03-18
* [PATCH] block: disable block layer bouncing for most memory on 64bit systemsAndi Kleen2006-03-08
* [PATCH] cfq-iosched: slice expiry fixupsJens Axboe2006-02-28
* Merge branch 'for-linus' of git://brick.kernel.dk/data/git/linux-2.6-blockLinus Torvalds2006-02-08
|\
| * [PATCH] blk: Fix SG_IO ioctl failure retry loopingJens Axboe2006-02-08
* | [PATCH] block: implement elv_insert and use it (fix ordcolor flipping bug)Tejun Heo2006-02-08
|/
* [PATCH] block: request_queue->ordcolor must not be flipped on SOFTBARRIERTejun Heo2006-02-05
* [PATCH] fix ordering on requeued request drainageJens Axboe2006-02-05
* [PATCH] percpu data: only iterate over possible CPUsEric Dumazet2006-02-05
* [PATCH] device-mapper disk statistics: timingJun'ichi "Nick" Nomura2006-02-01
* [BLOCK] A few kerneldoc fixupsJens Axboe2006-01-31
* [BLOCK] ll_rw_blk: fix setting of ->ordered on initTetsuo Takata2006-01-24
* [BLOCK] elevator: allow default scheduler to potentially be modularNate Diller2006-01-24
* [BLOCK] elevator: default choice selectionNate Diller2006-01-24
* [BLOCK] ll_rw_blk: use preempt-disabling disk_stat_add() in completionJens Axboe2006-01-24
* [BLOCK] ll_rw_blk: make max_sectors and max_hw_sectors unsigned intsJens Axboe2006-01-24
* [BLOCK] elevator: if specified scheduler is not found, fall back to defaultJens Axboe2006-01-16
* [BLOCK] elevator: Make elevator=as work again for anticipatoryChuck Ebbert2006-01-16
* [PATCH] convert /proc/devices to use seq_file interfaceNeil Horman2006-01-14
* [PATCH] fix queue stalling while barrier sequencingTejun Heo2006-01-12
* [PATCH] move capable() to capability.hRandy.Dunlap2006-01-11
* Merge branch 'blk-softirq' of git://brick.kernel.dk/data/git/linux-2.6-blockLinus Torvalds2006-01-09
|\
| * [BLOCK] ll_rw_blk: Enable out-of-order request completions through softirqJens Axboe2006-01-09
* | [BLOCK] Kill blk_attempt_remerge()Jens Axboe2006-01-09
* | [BLOCK] scsi_ioctl: file can be NULL from ioctl_by_bdev()Jens Axboe2006-01-09
* | make elv_try_merge() static, kill the dead declaration ofCoywolf Qi Hunt2006-01-09
* | [BLOCK][TRIVIAL] ll_rw_blk: header included twiceNicolas Kaiser2006-01-09
|/
* [PATCH] Add block_device_operations.getgeo block device methodChristoph Hellwig2006-01-08
* Merge branch 'post-2.6.15' of git://brick.kernel.dk/data/git/linux-2.6-blockLinus Torvalds2006-01-06
|\
| * [BLOCK] reimplement handling of barrier requestTejun Heo2006-01-06
| * [BLOCK] ll_rw_blk: separate out bio init part from __make_requestTejun Heo2006-01-06
| * [BLOCK] add @uptodate to end_that_request_last() and @error to rq_end_io_fn()Tejun Heo2006-01-06
| * [BLOCK] mark some block/ variables consArjan van de Ven2006-01-06
* Master Clock Directions */ #define SND_SOC_CLOCK_IN 0 #define SND_SOC_CLOCK_OUT 1 struct snd_soc_dai_ops; struct snd_soc_dai; struct snd_ac97_bus_ops; /* Digital Audio Interface registration */ int snd_soc_register_dai(struct snd_soc_dai *dai); void snd_soc_unregister_dai(struct snd_soc_dai *dai); int snd_soc_register_dais(struct snd_soc_dai *dai, size_t count); void snd_soc_unregister_dais(struct snd_soc_dai *dai, size_t count); /* Digital Audio Interface clocking API.*/ int snd_soc_dai_set_sysclk(struct snd_soc_dai *dai, int clk_id, unsigned int freq, int dir); int snd_soc_dai_set_clkdiv(struct snd_soc_dai *dai, int div_id, int div); int snd_soc_dai_set_pll(struct snd_soc_dai *dai, int pll_id, unsigned int freq_in, unsigned int freq_out); /* Digital Audio interface formatting */ int snd_soc_dai_set_fmt(struct snd_soc_dai *dai, unsigned int fmt); int snd_soc_dai_set_tdm_slot(struct snd_soc_dai *dai, unsigned int mask, int slots); int snd_soc_dai_set_tristate(struct snd_soc_dai *dai, int tristate); /* Digital Audio Interface mute */ int snd_soc_dai_digital_mute(struct snd_soc_dai *dai, int mute); /* * Digital Audio Interface. * * Describes the Digital Audio Interface in terms of it's ALSA, DAI and AC97 * operations an capabilities. Codec and platfom drivers will register a this * structure for every DAI they have. * * This structure covers the clocking, formating and ALSA operations for each * interface a */ struct snd_soc_dai_ops { /* * DAI clocking configuration, all optional. * Called by soc_card drivers, normally in their hw_params. */ int (*set_sysclk)(struct snd_soc_dai *dai, int clk_id, unsigned int freq, int dir); int (*set_pll)(struct snd_soc_dai *dai, int pll_id, unsigned int freq_in, unsigned int freq_out); int (*set_clkdiv)(struct snd_soc_dai *dai, int div_id, int div); /* * DAI format configuration * Called by soc_card drivers, normally in their hw_params. */ int (*set_fmt)(struct snd_soc_dai *dai, unsigned int fmt); int (*set_tdm_slot)(struct snd_soc_dai *dai, unsigned int mask, int slots); int (*set_tristate)(struct snd_soc_dai *dai, int tristate); /* * DAI digital mute - optional. * Called by soc-core to minimise any pops. */ int (*digital_mute)(struct snd_soc_dai *dai, int mute); /* * ALSA PCM audio operations - all optional. * Called by soc-core during audio PCM operations. */ int (*startup)(struct snd_pcm_substream *, struct snd_soc_dai *); void (*shutdown)(struct snd_pcm_substream *, struct snd_soc_dai *); int (*hw_params)(struct snd_pcm_substream *, struct snd_pcm_hw_params *, struct snd_soc_dai *); int (*hw_free)(struct snd_pcm_substream *, struct snd_soc_dai *); int (*prepare)(struct snd_pcm_substream *, struct snd_soc_dai *); int (*trigger)(struct snd_pcm_substream *, int, struct snd_soc_dai *); }; /* * Digital Audio Interface runtime data. * * Holds runtime data for a DAI. */ struct snd_soc_dai { /* DAI description */ char *name; unsigned int id; int ac97_control; struct device *dev; /* DAI callbacks */ int (*probe)(struct platform_device *pdev, struct snd_soc_dai *dai); void (*remove)(struct platform_device *pdev, struct snd_soc_dai *dai); int (*suspend)(struct snd_soc_dai *dai); int (*resume)(struct snd_soc_dai *dai); /* ops */ struct snd_soc_dai_ops *ops; /* DAI capabilities */ struct snd_soc_pcm_stream capture; struct snd_soc_pcm_stream playback; /* DAI runtime info */ struct snd_pcm_runtime *runtime; struct snd_soc_codec *codec; unsigned int active; unsigned char pop_wait:1; void *dma_data; /* DAI private data */ void *private_data; /* parent codec/platform */ union { struct snd_soc_codec *codec; struct snd_soc_platform *platform; }; struct list_head list; }; #endif