cthardware.h (a8f4310be59a2e7fc80fba945bcb32b18f4ad54f) | cthardware.h (29959a09cc1aabd2d5f4f03afc0305de6bd29248) |
---|---|
1/** 2 * Copyright (C) 2008, Creative Technology Ltd. All Rights Reserved. 3 * 4 * This source file is released under GPL v2 license (no other versions). 5 * See the COPYING file included in the main directory of this source 6 * distribution for the license terms and conditions. 7 * 8 * @File cthardware.h --- 50 unchanged lines hidden (view full) --- 59 unsigned int rsr; /* reference sample rate in Hzs*/ 60 unsigned int msr; /* master sample rate in rsrs */ 61}; 62 63struct hw { 64 int (*card_init)(struct hw *hw, struct card_conf *info); 65 int (*card_stop)(struct hw *hw); 66 int (*pll_init)(struct hw *hw, unsigned int rsr); | 1/** 2 * Copyright (C) 2008, Creative Technology Ltd. All Rights Reserved. 3 * 4 * This source file is released under GPL v2 license (no other versions). 5 * See the COPYING file included in the main directory of this source 6 * distribution for the license terms and conditions. 7 * 8 * @File cthardware.h --- 50 unchanged lines hidden (view full) --- 59 unsigned int rsr; /* reference sample rate in Hzs*/ 60 unsigned int msr; /* master sample rate in rsrs */ 61}; 62 63struct hw { 64 int (*card_init)(struct hw *hw, struct card_conf *info); 65 int (*card_stop)(struct hw *hw); 66 int (*pll_init)(struct hw *hw, unsigned int rsr); |
67#ifdef CONFIG_PM 68 int (*suspend)(struct hw *hw, pm_message_t state); 69 int (*resume)(struct hw *hw, struct card_conf *info); 70#endif |
|
67 int (*is_adc_source_selected)(struct hw *hw, enum ADCSRC source); 68 int (*select_adc_source)(struct hw *hw, enum ADCSRC source); 69 int (*have_digit_io_switch)(struct hw *hw); 70 71 /* SRC operations */ 72 int (*src_rsc_get_ctrl_blk)(void **rblk); 73 int (*src_rsc_put_ctrl_blk)(void *blk); 74 int (*src_set_state)(void *blk, unsigned int state); --- 125 unchanged lines hidden --- | 71 int (*is_adc_source_selected)(struct hw *hw, enum ADCSRC source); 72 int (*select_adc_source)(struct hw *hw, enum ADCSRC source); 73 int (*have_digit_io_switch)(struct hw *hw); 74 75 /* SRC operations */ 76 int (*src_rsc_get_ctrl_blk)(void **rblk); 77 int (*src_rsc_put_ctrl_blk)(void *blk); 78 int (*src_set_state)(void *blk, unsigned int state); --- 125 unchanged lines hidden --- |