Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/accel/habanalabs/common/
Dsecurity.c297 struct hl_block_glbl_sec *glbl_sec; in hl_init_pb_with_mask() local
299 glbl_sec = kcalloc(blocks_array_size, in hl_init_pb_with_mask()
302 if (!glbl_sec) in hl_init_pb_with_mask()
305 hl_secure_block(hdev, glbl_sec, blocks_array_size); in hl_init_pb_with_mask()
307 pb_blocks, glbl_sec, blocks_array_size); in hl_init_pb_with_mask()
317 hl_config_glbl_sec(hdev, pb_blocks, glbl_sec, in hl_init_pb_with_mask()
323 kfree(glbl_sec); in hl_init_pb_with_mask()
378 struct hl_block_glbl_sec *glbl_sec; in hl_init_pb_ranges_with_mask() local
380 glbl_sec = kcalloc(blocks_array_size, in hl_init_pb_ranges_with_mask()
383 if (!glbl_sec) in hl_init_pb_ranges_with_mask()
[all …]
/linux-6.6.21/drivers/accel/habanalabs/gaudi2/
Dgaudi2_security.c2598 struct hl_block_glbl_sec *glbl_sec; member
2607 hl_config_glbl_sec(hdev, gaudi2_pb_dcr0_tpc0, pb_data->glbl_sec, in gaudi2_config_tpcs_glbl_sec()
2615 struct hl_block_glbl_sec *glbl_sec; in gaudi2_init_pb_tpc() local
2621 glbl_sec = kcalloc(block_array_size, sizeof(struct hl_block_glbl_sec), GFP_KERNEL); in gaudi2_init_pb_tpc()
2622 if (!glbl_sec) in gaudi2_init_pb_tpc()
2629 hl_secure_block(hdev, glbl_sec, block_array_size); in gaudi2_init_pb_tpc()
2632 0, gaudi2_pb_dcr0_tpc0, glbl_sec, in gaudi2_init_pb_tpc()
2641 glbl_sec, block_array_size); in gaudi2_init_pb_tpc()
2649 gaudi2_pb_dcr0_tpc0, glbl_sec, block_array_size); in gaudi2_init_pb_tpc()
2655 i * stride, gaudi2_pb_dcr0_tpc0, glbl_sec, in gaudi2_init_pb_tpc()
[all …]