Home
last modified time | relevance | path

Searched refs:HPRE_DBGFS_VAL_MAX_LEN (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/crypto/hisilicon/hpre/
H A Dhpre_main.c69 #define HPRE_DBGFS_VAL_MAX_LEN 20 macro
828 char tbuf[HPRE_DBGFS_VAL_MAX_LEN]; in hpre_ctrl_debug_read()
850 ret = snprintf(tbuf, HPRE_DBGFS_VAL_MAX_LEN, "%u\n", val); in hpre_ctrl_debug_read()
864 char tbuf[HPRE_DBGFS_VAL_MAX_LEN]; in hpre_ctrl_debug_write()
871 if (count >= HPRE_DBGFS_VAL_MAX_LEN) in hpre_ctrl_debug_write()
874 len = simple_write_to_buffer(tbuf, HPRE_DBGFS_VAL_MAX_LEN - 1, in hpre_ctrl_debug_write()
994 char buf[HPRE_DBGFS_VAL_MAX_LEN]; in hpre_cluster_debugfs_init()
1002 ret = snprintf(buf, HPRE_DBGFS_VAL_MAX_LEN, "cluster%d", i); in hpre_cluster_debugfs_init()
1003 if (ret >= HPRE_DBGFS_VAL_MAX_LEN) in hpre_cluster_debugfs_init()