Searched refs:glbl_sec (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/drivers/accel/habanalabs/common/ |
D | security.c | 313 struct hl_block_glbl_sec *glbl_sec; in hl_init_pb_with_mask() local 315 glbl_sec = kcalloc(blocks_array_size, in hl_init_pb_with_mask() 318 if (!glbl_sec) in hl_init_pb_with_mask() 321 hl_secure_block(hdev, glbl_sec, blocks_array_size); in hl_init_pb_with_mask() 323 pb_blocks, glbl_sec, blocks_array_size); in hl_init_pb_with_mask() 333 hl_config_glbl_sec(hdev, pb_blocks, glbl_sec, in hl_init_pb_with_mask() 339 kfree(glbl_sec); in hl_init_pb_with_mask() 394 struct hl_block_glbl_sec *glbl_sec; in hl_init_pb_ranges_with_mask() local 396 glbl_sec = kcalloc(blocks_array_size, in hl_init_pb_ranges_with_mask() 399 if (!glbl_sec) in hl_init_pb_ranges_with_mask() [all …]
|
/linux-6.12.1/drivers/accel/habanalabs/gaudi2/ |
D | gaudi2_security.c | 2600 struct hl_block_glbl_sec *glbl_sec; member 2609 hl_config_glbl_sec(hdev, gaudi2_pb_dcr0_tpc0, pb_data->glbl_sec, in gaudi2_config_tpcs_glbl_sec() 2617 struct hl_block_glbl_sec *glbl_sec; in gaudi2_init_pb_tpc() local 2623 glbl_sec = kcalloc(block_array_size, sizeof(struct hl_block_glbl_sec), GFP_KERNEL); in gaudi2_init_pb_tpc() 2624 if (!glbl_sec) in gaudi2_init_pb_tpc() 2631 hl_secure_block(hdev, glbl_sec, block_array_size); in gaudi2_init_pb_tpc() 2634 0, gaudi2_pb_dcr0_tpc0, glbl_sec, in gaudi2_init_pb_tpc() 2643 glbl_sec, block_array_size); in gaudi2_init_pb_tpc() 2651 gaudi2_pb_dcr0_tpc0, glbl_sec, block_array_size); in gaudi2_init_pb_tpc() 2657 i * stride, gaudi2_pb_dcr0_tpc0, glbl_sec, in gaudi2_init_pb_tpc() [all …]
|