2 ## cyandevice_export.h - Linux Antioch device driver file
4 ## ===========================
5 ## Copyright (C) 2010 Cypress Semiconductor
7 ## This program is free software; you can redistribute it and/or
8 ## modify it under the terms of the GNU General Public License
9 ## as published by the Free Software Foundation; either version 2
10 ## of the License, or (at your option) any later version.
12 ## This program is distributed in the hope that it will be useful,
13 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
14 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 ## GNU General Public License for more details.
17 ## You should have received a copy of the GNU General Public License
18 ## along with this program; if not, write to the Free Software
19 ## Foundation, Inc., 51 Franklin Street
20 ## Fifth Floor, Boston, MA 02110-1301, USA.
21 ## ===========================
25 * Export Misc APIs that can be used from the other driver modules.
26 * The APIs to create a device handle and download firmware are not exported
27 * because they are expected to be used only by this kernel module.
29 EXPORT_SYMBOL(cy_as_misc_get_firmware_version
);
30 EXPORT_SYMBOL(cy_as_misc_read_m_c_u_register
);
31 EXPORT_SYMBOL(cy_as_misc_reset
);
32 EXPORT_SYMBOL(cy_as_misc_acquire_resource
);
33 EXPORT_SYMBOL(cy_as_misc_release_resource
);
34 EXPORT_SYMBOL(cy_as_misc_enter_standby
);
35 EXPORT_SYMBOL(cy_as_misc_leave_standby
);
36 EXPORT_SYMBOL(cy_as_misc_enter_suspend
);
37 EXPORT_SYMBOL(cy_as_misc_leave_suspend
);
38 EXPORT_SYMBOL(cy_as_misc_storage_changed
);
39 EXPORT_SYMBOL(cy_as_misc_heart_beat_control
);
40 EXPORT_SYMBOL(cy_as_misc_get_gpio_value
);
41 EXPORT_SYMBOL(cy_as_misc_set_gpio_value
);
42 EXPORT_SYMBOL(cy_as_misc_set_low_speed_sd_freq
);
43 EXPORT_SYMBOL(cy_as_misc_set_high_speed_sd_freq
);
46 * Export the USB APIs that can be used by the dependent kernel modules.
48 EXPORT_SYMBOL(cy_as_usb_set_end_point_config
);
49 EXPORT_SYMBOL(cy_as_usb_read_data_async
);
50 EXPORT_SYMBOL(cy_as_usb_write_data_async
);
51 EXPORT_SYMBOL(cy_as_usb_cancel_async
);
52 EXPORT_SYMBOL(cy_as_usb_set_stall
);
53 EXPORT_SYMBOL(cy_as_usb_clear_stall
);
54 EXPORT_SYMBOL(cy_as_usb_connect
);
55 EXPORT_SYMBOL(cy_as_usb_disconnect
);
56 EXPORT_SYMBOL(cy_as_usb_start
);
57 EXPORT_SYMBOL(cy_as_usb_stop
);
58 EXPORT_SYMBOL(cy_as_usb_set_enum_config
);
59 EXPORT_SYMBOL(cy_as_usb_get_enum_config
);
60 EXPORT_SYMBOL(cy_as_usb_set_physical_configuration
);
61 EXPORT_SYMBOL(cy_as_usb_register_callback
);
62 EXPORT_SYMBOL(cy_as_usb_commit_config
);
63 EXPORT_SYMBOL(cy_as_usb_set_descriptor
);
64 EXPORT_SYMBOL(cy_as_usb_clear_descriptors
);
65 EXPORT_SYMBOL(cy_as_usb_get_descriptor
);
66 EXPORT_SYMBOL(cy_as_usb_get_end_point_config
);
67 EXPORT_SYMBOL(cy_as_usb_read_data
);
68 EXPORT_SYMBOL(cy_as_usb_write_data
);
69 EXPORT_SYMBOL(cy_as_usb_get_stall
);
70 EXPORT_SYMBOL(cy_as_usb_set_nak
);
71 EXPORT_SYMBOL(cy_as_usb_clear_nak
);
72 EXPORT_SYMBOL(cy_as_usb_get_nak
);
73 EXPORT_SYMBOL(cy_as_usb_signal_remote_wakeup
);
74 EXPORT_SYMBOL(cy_as_usb_set_m_s_report_threshold
);
75 EXPORT_SYMBOL(cy_as_usb_select_m_s_partitions
);
78 * Export all Storage APIs that can be used by dependent kernel modules.
80 EXPORT_SYMBOL(cy_as_storage_start
);
81 EXPORT_SYMBOL(cy_as_storage_stop
);
82 EXPORT_SYMBOL(cy_as_storage_register_callback
);
83 EXPORT_SYMBOL(cy_as_storage_query_bus
);
84 EXPORT_SYMBOL(cy_as_storage_query_media
);
85 EXPORT_SYMBOL(cy_as_storage_query_device
);
86 EXPORT_SYMBOL(cy_as_storage_query_unit
);
87 EXPORT_SYMBOL(cy_as_storage_device_control
);
88 EXPORT_SYMBOL(cy_as_storage_claim
);
89 EXPORT_SYMBOL(cy_as_storage_release
);
90 EXPORT_SYMBOL(cy_as_storage_read
);
91 EXPORT_SYMBOL(cy_as_storage_write
);
92 EXPORT_SYMBOL(cy_as_storage_read_async
);
93 EXPORT_SYMBOL(cy_as_storage_write_async
);
94 EXPORT_SYMBOL(cy_as_storage_cancel_async
);
95 EXPORT_SYMBOL(cy_as_storage_sd_register_read
);
96 EXPORT_SYMBOL(cy_as_storage_create_p_partition
);
97 EXPORT_SYMBOL(cy_as_storage_remove_p_partition
);
98 EXPORT_SYMBOL(cy_as_storage_get_transfer_amount
);
99 EXPORT_SYMBOL(cy_as_storage_erase
);
101 EXPORT_SYMBOL(cy_as_sdio_query_card
);
102 EXPORT_SYMBOL(cy_as_sdio_init_function
);
103 EXPORT_SYMBOL(cy_as_sdio_set_blocksize
);
104 EXPORT_SYMBOL(cy_as_sdio_direct_read
);
105 EXPORT_SYMBOL(cy_as_sdio_direct_write
);
106 EXPORT_SYMBOL(cy_as_sdio_extended_read
);
107 EXPORT_SYMBOL(cy_as_sdio_extended_write
);
109 EXPORT_SYMBOL(cy_as_hal_alloc
);
110 EXPORT_SYMBOL(cy_as_hal_free
);
111 EXPORT_SYMBOL(cy_as_hal_sleep
);
112 EXPORT_SYMBOL(cy_as_hal_create_sleep_channel
);
113 EXPORT_SYMBOL(cy_as_hal_destroy_sleep_channel
);
114 EXPORT_SYMBOL(cy_as_hal_sleep_on
);
115 EXPORT_SYMBOL(cy_as_hal_wake
);
116 EXPORT_SYMBOL(cy_as_hal_mem_set
);
118 EXPORT_SYMBOL(cy_as_mtp_storage_only_start
);
119 EXPORT_SYMBOL(cy_as_mtp_storage_only_stop
);
120 EXPORT_SYMBOL(cy_as_mtp_start
);
121 EXPORT_SYMBOL(cy_as_mtp_init_send_object
);
122 EXPORT_SYMBOL(cy_as_mtp_init_get_object
);
123 EXPORT_SYMBOL(cy_as_mtp_cancel_send_object
);
124 EXPORT_SYMBOL(cy_as_mtp_cancel_get_object
);
126 #ifdef __CY_ASTORIA_SCM_KERNEL_HAL__
127 /* Functions in the SCM kernel HAL implementation only. */
128 EXPORT_SYMBOL(cy_as_hal_enable_scatter_list
);
129 EXPORT_SYMBOL(cy_as_hal_disable_scatter_list
);