|
| #define | crypto_msleep osal_msleep |
| |
| #define | crypto_udelay osal_udelay |
| |
| #define | crypto_ioremap_nocache osal_ioremap_nocache |
| |
| #define | crypto_iounmap osal_iounmap |
| |
| #define | crypto_mutex osal_mutex |
| |
| #define | crypto_mutex_init osal_mutex_init |
| |
| #define | crypto_mutex_destroy osal_mutex_destroy |
| |
| #define | crypto_mutex_lock osal_mutex_lock |
| |
| #define | crypto_mutex_unlock osal_mutex_unlock |
| |
| #define | crypto_service_preprocess() |
| |
| #define | crypto_service_postprocess() |
| |
| #define | crypto_print osal_printk |
| |
| #define | crypto_log_fmt(LOG_LEVEL_LABEL, fmt, ...) crypto_print("[%s:%d]" LOG_LEVEL_LABEL ": " fmt, __func__, __LINE__, ##__VA_ARGS__) |
| |
| #define | CRYPTO_LOG_LEVEL 0 |
| |
| #define | crypto_log_err(fmt, ...) crypto_log_fmt("ERROR", fmt, ##__VA_ARGS__) |
| |
| #define | crypto_log_warn(fmt, ...) |
| |
| #define | crypto_log_notice(fmt, ...) |
| |
| #define | crypto_log_dbg(fmt, ...) |
| |
| #define | crypto_log_trace(fmt, ...) |
| |
| #define | crypto_malloc(x) (((x) > 0) ? osal_kmalloc((x), OSAL_GFP_KERNEL) : TD_NULL) |
| |
| #define | crypto_free(x) {if (((x) != TD_NULL)) osal_kfree(x);} |
| |
| #define | crypto_addr_align_check(addr) ((((addr) % 4) != 0) ? TD_FALSE : TD_TRUE) |
| |
| #define | crypto_ioctl_cmd osal_ioctl_cmd |
| |