catpt_dev
int catpt_dmac_probe(struct catpt_dev *cdev);
void catpt_dmac_remove(struct catpt_dev *cdev);
struct dma_chan *catpt_dma_request_config_chan(struct catpt_dev *cdev);
int catpt_dma_memcpy_todsp(struct catpt_dev *cdev, struct dma_chan *chan,
int catpt_dma_memcpy_fromdsp(struct catpt_dev *cdev, struct dma_chan *chan,
void lpt_dsp_pll_shutdown(struct catpt_dev *cdev, bool enable);
void wpt_dsp_pll_shutdown(struct catpt_dev *cdev, bool enable);
int catpt_dsp_power_up(struct catpt_dev *cdev);
int catpt_dsp_power_down(struct catpt_dev *cdev);
int catpt_dsp_stall(struct catpt_dev *cdev, bool stall);
void catpt_dsp_update_srampge(struct catpt_dev *cdev, struct resource *sram,
int catpt_dsp_update_lpclock(struct catpt_dev *cdev);
int catpt_dsp_send_msg_timeout(struct catpt_dev *cdev,
int catpt_dsp_send_msg(struct catpt_dev *cdev, struct catpt_ipc_msg request,
int catpt_first_boot_firmware(struct catpt_dev *cdev);
int catpt_boot_firmware(struct catpt_dev *cdev, bool restore);
int catpt_store_streams_context(struct catpt_dev *cdev, struct dma_chan *chan);
int catpt_store_module_states(struct catpt_dev *cdev, struct dma_chan *chan);
int catpt_store_memdumps(struct catpt_dev *cdev, struct dma_chan *chan);
int catpt_coredump(struct catpt_dev *cdev);
struct catpt_dev;
int catpt_register_plat_component(struct catpt_dev *cdev);
void catpt_stream_update_position(struct catpt_dev *cdev,
catpt_stream_find(struct catpt_dev *cdev, u8 stream_hw_id);
int catpt_arm_stream_templates(struct catpt_dev *cdev);
void (*pll_shutdown)(struct catpt_dev *cdev, bool enable);
static int catpt_register_board(struct catpt_dev *cdev)
static int catpt_probe_components(struct catpt_dev *cdev)
static void catpt_dev_init(struct catpt_dev *cdev, struct device *dev,
struct catpt_dev *cdev;
struct catpt_dev *cdev = platform_get_drvdata(pdev);
struct catpt_dev *cdev = dev_get_drvdata(dev);
struct catpt_dev *cdev = dev_get_drvdata(dev);
int catpt_dma_memcpy_fromdsp(struct catpt_dev *cdev, struct dma_chan *chan,
int catpt_dmac_probe(struct catpt_dev *cdev)
void catpt_dmac_remove(struct catpt_dev *cdev)
static void catpt_dsp_set_srampge(struct catpt_dev *cdev, struct resource *sram,
void catpt_dsp_update_srampge(struct catpt_dev *cdev, struct resource *sram,
int catpt_dsp_stall(struct catpt_dev *cdev, bool stall)
static int catpt_dsp_reset(struct catpt_dev *cdev, bool reset)
void lpt_dsp_pll_shutdown(struct catpt_dev *cdev, bool enable)
void wpt_dsp_pll_shutdown(struct catpt_dev *cdev, bool enable)
static int catpt_dsp_select_lpclock(struct catpt_dev *cdev, bool lp, bool waiti)
struct dma_chan *catpt_dma_request_config_chan(struct catpt_dev *cdev)
int catpt_dsp_update_lpclock(struct catpt_dev *cdev)
static void catpt_dsp_set_regs_defaults(struct catpt_dev *cdev)
int catpt_dsp_power_down(struct catpt_dev *cdev)
int catpt_dsp_power_up(struct catpt_dev *cdev)
int catpt_coredump(struct catpt_dev *cdev)
static int catpt_dma_memcpy(struct catpt_dev *cdev, struct dma_chan *chan,
int catpt_dma_memcpy_todsp(struct catpt_dev *cdev, struct dma_chan *chan,
int catpt_dsp_send_msg_timeout(struct catpt_dev *cdev,
int catpt_dsp_send_msg(struct catpt_dev *cdev, struct catpt_ipc_msg request,
catpt_dsp_notify_stream(struct catpt_dev *cdev, union catpt_notify_msg msg)
static void catpt_dsp_copy_rx(struct catpt_dev *cdev, u32 header)
static void catpt_dsp_process_response(struct catpt_dev *cdev, u32 header)
struct catpt_dev *cdev = dev_id;
struct catpt_dev *cdev = dev_id;
static void catpt_dsp_send_tx(struct catpt_dev *cdev,
static int catpt_wait_msg_completion(struct catpt_dev *cdev, int timeout)
static int catpt_dsp_do_send_msg(struct catpt_dev *cdev,
int catpt_store_module_states(struct catpt_dev *cdev, struct dma_chan *chan)
int catpt_store_memdumps(struct catpt_dev *cdev, struct dma_chan *chan)
catpt_restore_streams_context(struct catpt_dev *cdev, struct dma_chan *chan)
static int catpt_restore_memdumps(struct catpt_dev *cdev, struct dma_chan *chan)
static int catpt_restore_fwimage(struct catpt_dev *cdev,
static int catpt_load_block(struct catpt_dev *cdev,
static int catpt_restore_basefw(struct catpt_dev *cdev,
static int catpt_restore_module(struct catpt_dev *cdev,
static int catpt_load_module(struct catpt_dev *cdev,
static int catpt_restore_firmware(struct catpt_dev *cdev,
static int catpt_load_firmware(struct catpt_dev *cdev,
static int catpt_load_image(struct catpt_dev *cdev, struct dma_chan *chan,
static int catpt_load_images(struct catpt_dev *cdev, bool restore)
int catpt_boot_firmware(struct catpt_dev *cdev, bool restore)
int catpt_first_boot_firmware(struct catpt_dev *cdev)
int catpt_store_streams_context(struct catpt_dev *cdev, struct dma_chan *chan)
int catpt_ipc_set_device_format(struct catpt_dev *cdev,
int catpt_ipc_enter_dxstate(struct catpt_dev *cdev, enum catpt_dx_state state,
int catpt_ipc_get_fw_version(struct catpt_dev *cdev,
int catpt_ipc_get_mixer_stream_info(struct catpt_dev *cdev,
int catpt_ipc_reset_stream(struct catpt_dev *cdev, u8 stream_hw_id)
int catpt_ipc_pause_stream(struct catpt_dev *cdev, u8 stream_hw_id)
int catpt_ipc_resume_stream(struct catpt_dev *cdev, u8 stream_hw_id)
int catpt_ipc_set_volume(struct catpt_dev *cdev, u8 stream_hw_id,
int catpt_ipc_set_write_pos(struct catpt_dev *cdev, u8 stream_hw_id,
int catpt_ipc_mute_loopback(struct catpt_dev *cdev, u8 stream_hw_id, bool mute)
int catpt_ipc_alloc_stream(struct catpt_dev *cdev,
int catpt_ipc_free_stream(struct catpt_dev *cdev, u8 stream_hw_id)
struct catpt_dev;
int catpt_ipc_alloc_stream(struct catpt_dev *cdev,
int catpt_ipc_free_stream(struct catpt_dev *cdev, u8 stream_hw_id);
int catpt_ipc_set_device_format(struct catpt_dev *cdev,
int catpt_ipc_enter_dxstate(struct catpt_dev *cdev, enum catpt_dx_state state,
int catpt_ipc_get_mixer_stream_info(struct catpt_dev *cdev,
int catpt_ipc_reset_stream(struct catpt_dev *cdev, u8 stream_hw_id);
int catpt_ipc_pause_stream(struct catpt_dev *cdev, u8 stream_hw_id);
int catpt_ipc_resume_stream(struct catpt_dev *cdev, u8 stream_hw_id);
int catpt_ipc_set_volume(struct catpt_dev *cdev, u8 stream_hw_id,
int catpt_ipc_set_write_pos(struct catpt_dev *cdev, u8 stream_hw_id,
int catpt_ipc_mute_loopback(struct catpt_dev *cdev, u8 stream_hw_id, bool mute);
int catpt_ipc_get_fw_version(struct catpt_dev *cdev,
catpt_stream_find(struct catpt_dev *cdev, u8 stream_hw_id)
struct catpt_dev *cdev = dev_get_drvdata(component->dev);
int catpt_arm_stream_templates(struct catpt_dev *cdev)
static void catpt_stream_read_position(struct catpt_dev *cdev,
int catpt_register_plat_component(struct catpt_dev *cdev)
static u32 catpt_stream_volume(struct catpt_dev *cdev,
static u32 catpt_mixer_volume(struct catpt_dev *cdev,
struct catpt_dev *cdev = dev_get_drvdata(dai->dev);
struct catpt_dev *cdev = dev_get_drvdata(dai->dev);
static int catpt_set_dspvol(struct catpt_dev *cdev, u8 stream_id, long *ctlvol);
struct catpt_dev *cdev = dev_get_drvdata(dai->dev);
struct catpt_dev *cdev = dev_get_drvdata(dai->dev);
struct catpt_dev *cdev = dev_get_drvdata(dai->dev);
struct catpt_dev *cdev = dev_get_drvdata(dai->dev);
struct catpt_dev *cdev = dev_get_drvdata(dai->dev);
void catpt_stream_update_position(struct catpt_dev *cdev,
struct catpt_dev *cdev = dev_get_drvdata(component->dev);
struct catpt_dev *cdev = dev_get_drvdata(component->dev);
struct catpt_dev *cdev = dev_get_drvdata(dai->dev);
static int catpt_set_dspvol(struct catpt_dev *cdev, u8 stream_id, long *ctlvol)
struct catpt_dev *cdev = dev_get_drvdata(component->dev);
struct catpt_dev *cdev = dev_get_drvdata(component->dev);
struct catpt_dev *cdev = dev_get_drvdata(component->dev);
struct catpt_dev *cdev = dev_get_drvdata(component->dev);
struct catpt_dev *cdev = dev_get_drvdata(dev);
struct catpt_dev *cdev = dev_get_drvdata(dev);