Home
last modified time | relevance | path

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

/openbmc/linux/drivers/crypto/hisilicon/sec2/
H A Dsec_main.c99 #define SEC_DBGFS_VAL_MAX_LEN 20 macro
720 char tbuf[SEC_DBGFS_VAL_MAX_LEN]; in sec_debug_read()
742 ret = snprintf(tbuf, SEC_DBGFS_VAL_MAX_LEN, "%u\n", val); in sec_debug_read()
755 char tbuf[SEC_DBGFS_VAL_MAX_LEN]; in sec_debug_write()
763 if (count >= SEC_DBGFS_VAL_MAX_LEN) in sec_debug_write()
766 len = simple_write_to_buffer(tbuf, SEC_DBGFS_VAL_MAX_LEN - 1, in sec_debug_write()