Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/accel/habanalabs/gaudi/
Dgaudi_security.c479 u32 pb_addr = base - CFG_BASE + PROT_BITS_OFFS; in gaudi_pb_set_block() local
481 while (pb_addr & 0xFFF) { in gaudi_pb_set_block()
482 WREG32(pb_addr, 0); in gaudi_pb_set_block()
483 pb_addr += 4; in gaudi_pb_set_block()
489 u32 pb_addr, mask; in gaudi_init_mme_protection_bits() local
513 pb_addr = (mmMME0_CTRL_RESET & ~0xFFF) + PROT_BITS_OFFS; in gaudi_init_mme_protection_bits()
546 WREG32(pb_addr + word_offset, ~mask); in gaudi_init_mme_protection_bits()
548 pb_addr = (mmMME0_CTRL_SHADOW_0_STATUS & ~0xFFF) + PROT_BITS_OFFS; in gaudi_init_mme_protection_bits()
553 WREG32(pb_addr + word_offset, ~mask); in gaudi_init_mme_protection_bits()
555 pb_addr = (mmMME0_QM_GLBL_CFG0 & ~0xFFF) + PROT_BITS_OFFS; in gaudi_init_mme_protection_bits()
[all …]
/Linux-v6.6/drivers/accel/habanalabs/goya/
Dgoya_security.c20 u32 pb_addr = base - CFG_BASE + PROT_BITS_OFFS; in goya_pb_set_block() local
22 while (pb_addr & 0xFFF) { in goya_pb_set_block()
23 WREG32(pb_addr, 0); in goya_pb_set_block()
24 pb_addr += 4; in goya_pb_set_block()
30 u32 pb_addr, mask; in goya_init_mme_protection_bits() local
67 pb_addr = (mmMME_DUMMY & ~0xFFF) + PROT_BITS_OFFS; in goya_init_mme_protection_bits()
81 WREG32(pb_addr + word_offset, ~mask); in goya_init_mme_protection_bits()
83 pb_addr = (mmMME_STORE_MAX_CREDIT & ~0xFFF) + PROT_BITS_OFFS; in goya_init_mme_protection_bits()
104 WREG32(pb_addr + word_offset, ~mask); in goya_init_mme_protection_bits()
106 pb_addr = (mmMME_QM_GLBL_CFG0 & ~0xFFF) + PROT_BITS_OFFS; in goya_init_mme_protection_bits()
[all …]