byt.c (f71f59dd450813684d838e0c1d6602186b7d2d8f) byt.c (97e22cbd0dc318f1cedb3546d2047403506bdc2d)
1// SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
2//
3// This file is provided under a dual BSD/GPLv2 license. When using or
4// redistributing this file, you may do so under either license.
5//
6// Copyright(c) 2018 Intel Corporation. All rights reserved.
7//
8// Author: Liam Girdwood <liam.r.girdwood@linux.intel.com>

--- 226 unchanged lines hidden (view full) ---

235 .irq_thread = atom_irq_thread,
236
237 /* ipc */
238 .send_msg = atom_send_msg,
239 .fw_ready = sof_fw_ready,
240 .get_mailbox_offset = atom_get_mailbox_offset,
241 .get_window_offset = atom_get_window_offset,
242
1// SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
2//
3// This file is provided under a dual BSD/GPLv2 license. When using or
4// redistributing this file, you may do so under either license.
5//
6// Copyright(c) 2018 Intel Corporation. All rights reserved.
7//
8// Author: Liam Girdwood <liam.r.girdwood@linux.intel.com>

--- 226 unchanged lines hidden (view full) ---

235 .irq_thread = atom_irq_thread,
236
237 /* ipc */
238 .send_msg = atom_send_msg,
239 .fw_ready = sof_fw_ready,
240 .get_mailbox_offset = atom_get_mailbox_offset,
241 .get_window_offset = atom_get_window_offset,
242
243 .ipc_msg_data = intel_ipc_msg_data,
244 .ipc_pcm_params = intel_ipc_pcm_params,
243 .ipc_msg_data = sof_ipc_msg_data,
244 .ipc_pcm_params = sof_ipc_pcm_params,
245
246 /* machine driver */
247 .machine_select = atom_machine_select,
248 .machine_register = sof_machine_register,
249 .machine_unregister = sof_machine_unregister,
250 .set_mach_params = atom_set_mach_params,
251
252 /* debug */
253 .debug_map = byt_debugfs,
254 .debug_map_count = ARRAY_SIZE(byt_debugfs),
255 .dbg_dump = atom_dump,
256 .debugfs_add_region_item = snd_sof_debugfs_add_region_item_iomem,
257
258 /* stream callbacks */
245
246 /* machine driver */
247 .machine_select = atom_machine_select,
248 .machine_register = sof_machine_register,
249 .machine_unregister = sof_machine_unregister,
250 .set_mach_params = atom_set_mach_params,
251
252 /* debug */
253 .debug_map = byt_debugfs,
254 .debug_map_count = ARRAY_SIZE(byt_debugfs),
255 .dbg_dump = atom_dump,
256 .debugfs_add_region_item = snd_sof_debugfs_add_region_item_iomem,
257
258 /* stream callbacks */
259 .pcm_open = intel_pcm_open,
260 .pcm_close = intel_pcm_close,
259 .pcm_open = sof_stream_pcm_open,
260 .pcm_close = sof_stream_pcm_close,
261
262 /* module loading */
263 .load_module = snd_sof_parse_module_memcpy,
264
265 /*Firmware loading */
266 .load_firmware = snd_sof_load_firmware_memcpy,
267
268 /* PM */

--- 48 unchanged lines hidden (view full) ---

317 .irq_thread = atom_irq_thread,
318
319 /* ipc */
320 .send_msg = atom_send_msg,
321 .fw_ready = sof_fw_ready,
322 .get_mailbox_offset = atom_get_mailbox_offset,
323 .get_window_offset = atom_get_window_offset,
324
261
262 /* module loading */
263 .load_module = snd_sof_parse_module_memcpy,
264
265 /*Firmware loading */
266 .load_firmware = snd_sof_load_firmware_memcpy,
267
268 /* PM */

--- 48 unchanged lines hidden (view full) ---

317 .irq_thread = atom_irq_thread,
318
319 /* ipc */
320 .send_msg = atom_send_msg,
321 .fw_ready = sof_fw_ready,
322 .get_mailbox_offset = atom_get_mailbox_offset,
323 .get_window_offset = atom_get_window_offset,
324
325 .ipc_msg_data = intel_ipc_msg_data,
326 .ipc_pcm_params = intel_ipc_pcm_params,
325 .ipc_msg_data = sof_ipc_msg_data,
326 .ipc_pcm_params = sof_ipc_pcm_params,
327
328 /* machine driver */
329 .machine_select = atom_machine_select,
330 .machine_register = sof_machine_register,
331 .machine_unregister = sof_machine_unregister,
332 .set_mach_params = atom_set_mach_params,
333
334 /* debug */
335 .debug_map = cht_debugfs,
336 .debug_map_count = ARRAY_SIZE(cht_debugfs),
337 .dbg_dump = atom_dump,
338 .debugfs_add_region_item = snd_sof_debugfs_add_region_item_iomem,
339
340 /* stream callbacks */
327
328 /* machine driver */
329 .machine_select = atom_machine_select,
330 .machine_register = sof_machine_register,
331 .machine_unregister = sof_machine_unregister,
332 .set_mach_params = atom_set_mach_params,
333
334 /* debug */
335 .debug_map = cht_debugfs,
336 .debug_map_count = ARRAY_SIZE(cht_debugfs),
337 .dbg_dump = atom_dump,
338 .debugfs_add_region_item = snd_sof_debugfs_add_region_item_iomem,
339
340 /* stream callbacks */
341 .pcm_open = intel_pcm_open,
342 .pcm_close = intel_pcm_close,
341 .pcm_open = sof_stream_pcm_open,
342 .pcm_close = sof_stream_pcm_close,
343
344 /* module loading */
345 .load_module = snd_sof_parse_module_memcpy,
346
347 /*Firmware loading */
348 .load_firmware = snd_sof_load_firmware_memcpy,
349
350 /* PM */

--- 117 unchanged lines hidden ---
343
344 /* module loading */
345 .load_module = snd_sof_parse_module_memcpy,
346
347 /*Firmware loading */
348 .load_firmware = snd_sof_load_firmware_memcpy,
349
350 /* PM */

--- 117 unchanged lines hidden ---