Home
last modified time | relevance | path

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

/drivers/crypto/cavium/zip/
Dzip_main.c122 union zip_cmd_ctl cmd_ctl; in zip_init_hw() local
134 cmd_ctl.u_reg64 = zip_reg_read(zip->reg_base + ZIP_CMD_CTL); in zip_init_hw()
135 cmd_ctl.s.forceclk = 1; in zip_init_hw()
136 zip_reg_write(cmd_ctl.u_reg64 & 0xFF, (zip->reg_base + ZIP_CMD_CTL)); in zip_init_hw()
314 union zip_cmd_ctl cmd_ctl; in zip_remove() local
321 cmd_ctl.u_reg64 = 0x0ull; in zip_remove()
322 cmd_ctl.s.reset = 1; /* Forces ZIP cores to do reset */ in zip_remove()
323 zip_reg_write(cmd_ctl.u_reg64, (zip->reg_base + ZIP_CMD_CTL)); in zip_remove()