Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/misc/habanalabs/gaudi2/
Dgaudi2_security.c1775 mmNIC0_UMR0_0_UNSECURE_DOORBELL0_BASE + HL_BLOCK_SIZE * 1, /* UMR0_1 */
1776 mmNIC0_UMR0_0_UNSECURE_DOORBELL0_BASE + HL_BLOCK_SIZE * 2, /* UMR0_2 */
1777 mmNIC0_UMR0_0_UNSECURE_DOORBELL0_BASE + HL_BLOCK_SIZE * 3, /* UMR0_3 */
1778 mmNIC0_UMR0_0_UNSECURE_DOORBELL0_BASE + HL_BLOCK_SIZE * 4, /* UMR0_4 */
1779 mmNIC0_UMR0_0_UNSECURE_DOORBELL0_BASE + HL_BLOCK_SIZE * 5, /* UMR0_5 */
1780 mmNIC0_UMR0_0_UNSECURE_DOORBELL0_BASE + HL_BLOCK_SIZE * 6, /* UMR0_6 */
1781 mmNIC0_UMR0_0_UNSECURE_DOORBELL0_BASE + HL_BLOCK_SIZE * 7, /* UMR0_7 */
1782 mmNIC0_UMR0_0_UNSECURE_DOORBELL0_BASE + HL_BLOCK_SIZE * 8, /* UMR0_8 */
1783 mmNIC0_UMR0_0_UNSECURE_DOORBELL0_BASE + HL_BLOCK_SIZE * 9, /* UMR0_9 */
1784 mmNIC0_UMR0_0_UNSECURE_DOORBELL0_BASE + HL_BLOCK_SIZE * 10, /* UMR0_10 */
[all …]
Dgaudi2.c2760 HL_USR_MAPPED_BLK_INIT(&blocks[start_idx++], mmDCORE0_DEC0_CMD_BASE, HL_BLOCK_SIZE); in gaudi2_user_mapped_dec_init()
2761 HL_USR_MAPPED_BLK_INIT(&blocks[start_idx++], mmDCORE0_DEC1_CMD_BASE, HL_BLOCK_SIZE); in gaudi2_user_mapped_dec_init()
2762 HL_USR_MAPPED_BLK_INIT(&blocks[start_idx++], mmDCORE1_DEC0_CMD_BASE, HL_BLOCK_SIZE); in gaudi2_user_mapped_dec_init()
2763 HL_USR_MAPPED_BLK_INIT(&blocks[start_idx++], mmDCORE1_DEC1_CMD_BASE, HL_BLOCK_SIZE); in gaudi2_user_mapped_dec_init()
2764 HL_USR_MAPPED_BLK_INIT(&blocks[start_idx++], mmDCORE2_DEC0_CMD_BASE, HL_BLOCK_SIZE); in gaudi2_user_mapped_dec_init()
2765 HL_USR_MAPPED_BLK_INIT(&blocks[start_idx++], mmDCORE2_DEC1_CMD_BASE, HL_BLOCK_SIZE); in gaudi2_user_mapped_dec_init()
2766 HL_USR_MAPPED_BLK_INIT(&blocks[start_idx++], mmDCORE3_DEC0_CMD_BASE, HL_BLOCK_SIZE); in gaudi2_user_mapped_dec_init()
2767 HL_USR_MAPPED_BLK_INIT(&blocks[start_idx++], mmDCORE3_DEC1_CMD_BASE, HL_BLOCK_SIZE); in gaudi2_user_mapped_dec_init()
2768 HL_USR_MAPPED_BLK_INIT(&blocks[start_idx++], mmPCIE_DEC0_CMD_BASE, HL_BLOCK_SIZE); in gaudi2_user_mapped_dec_init()
2769 HL_USR_MAPPED_BLK_INIT(&blocks[start_idx], mmPCIE_DEC1_CMD_BASE, HL_BLOCK_SIZE); in gaudi2_user_mapped_dec_init()
[all …]
/Linux-v6.1/drivers/misc/habanalabs/common/
Dsecurity.c27 end_addr = start_addr + HL_BLOCK_SIZE; in hl_get_pb_block()
49 if ((reg_offset >= HL_BLOCK_SIZE) || (reg_offset & 0x3)) { in hl_unset_pb_in_block()
52 reg_offset, HL_BLOCK_SIZE); in hl_unset_pb_in_block()
57 (reg_offset & (HL_BLOCK_SIZE - 1)) >> 2); in hl_unset_pb_in_block()
Dhabanalabs.h212 #define HL_BLOCK_SIZE 0x1000 macro
217 #define HL_BLOCK_GLBL_SEC_SIZE (HL_BLOCK_SIZE - HL_BLOCK_GLBL_SEC_OFFS)