Lines Matching refs:comm_block
335 static unsigned int chsc_key_1(void *comm_block) in chsc_key_1() argument
345 : [comm_block] "d" (comm_block) in chsc_key_1()
352 static void init_comm_block(uint16_t *comm_block) in init_comm_block() argument
354 memset(comm_block, 0, PAGE_SIZE); in init_comm_block()
356 comm_block[0] = 0x10; in init_comm_block()
357 comm_block[1] = 0x10; in init_comm_block()
358 comm_block[9] = 0; in init_comm_block()
363 uint16_t *comm_block = (uint16_t *)&pagebuf; in test_channel_subsystem_call() local
369 init_comm_block(comm_block); in test_channel_subsystem_call()
370 set_storage_key(comm_block, 0x10, 0); in test_channel_subsystem_call()
375 : [comm_block] "d" (comm_block) in test_channel_subsystem_call()
379 report(cc == 0 && comm_block[9], chsc_msg); in test_channel_subsystem_call()
383 init_comm_block(comm_block); in test_channel_subsystem_call()
384 set_storage_key(comm_block, 0x10, 0); in test_channel_subsystem_call()
385 cc = chsc_key_1(comm_block); in test_channel_subsystem_call()
386 report(cc == 0 && comm_block[9], chsc_msg); in test_channel_subsystem_call()
392 init_comm_block(comm_block); in test_channel_subsystem_call()
393 set_storage_key(comm_block, 0x20, 0); in test_channel_subsystem_call()
395 chsc_key_1(comm_block); in test_channel_subsystem_call()
400 init_comm_block(comm_block); in test_channel_subsystem_call()
401 set_storage_key(comm_block, 0x28, 0); in test_channel_subsystem_call()
403 chsc_key_1(comm_block); in test_channel_subsystem_call()
410 set_storage_key(comm_block, 0x20, 0); in test_channel_subsystem_call()
411 init_comm_block(comm_block); in test_channel_subsystem_call()
413 chsc_key_1(comm_block); in test_channel_subsystem_call()
418 init_comm_block(comm_block); in test_channel_subsystem_call()
419 set_storage_key(comm_block, 0x90, 0); in test_channel_subsystem_call()
420 cc = chsc_key_1(comm_block); in test_channel_subsystem_call()
421 report(cc == 0 && comm_block[9], chsc_msg); in test_channel_subsystem_call()
427 init_comm_block(comm_block); in test_channel_subsystem_call()
428 set_storage_key(comm_block, 0x90, 0); in test_channel_subsystem_call()
430 chsc_key_1(comm_block); in test_channel_subsystem_call()
436 set_storage_key(comm_block, 0x00, 0); in test_channel_subsystem_call()