/trusty/kernel/lib/trusty/ |
D | uirq.c | 57 int uirq_register_sw_irq(const struct uirq* uirq, in uirq_register_sw_irq() argument 64 ASSERT(uirq); in uirq_register_sw_irq() 67 LTRACEF("registering uirq '%s'\n", uirq->name); in uirq_register_sw_irq() 69 rc = event_source_create(uirq->name, ops, ops_arg, uirq->uuids, in uirq_register_sw_irq() 70 uirq->uuids_num, uirq->cfg_flags, &h); in uirq_register_sw_irq() 72 LTRACEF("failed (%d) to create uirq event '%s'\n", rc, uirq->name); in uirq_register_sw_irq() 78 LTRACEF("failed (%d) to publish uirq event '%s'\n", rc, uirq->name); in uirq_register_sw_irq() 88 const struct uirq* uirq, in uirq_register_hw_irq() argument 93 ASSERT(uirq); in uirq_register_hw_irq() 96 LTRACEF("registering uirq '%s'\n", uirq->name); in uirq_register_hw_irq() [all …]
|
D | rules.mk | 42 $(LOCAL_DIR)/uirq.c \
|
/trusty/kernel/lib/trusty/include/lib/trusty/ |
D | uirq.h | 41 struct uirq { struct 64 int uirq_register_sw_irq(const struct uirq* uirq, 78 const struct uirq* uirq,
|
/trusty/kernel/app/uirqtest/ |
D | uirq_test.c | 39 struct uirq uirq; member 55 .uirq = UIRQ_INITIALIZER("test-uirq-10ms", 63 .uirq = UIRQ_INITIALIZER("test-uirq-no-access", 137 rc = uirq_register_sw_irq(&u->uirq, &_tm_evt_ops, u, &u->handle); in uirq_test_init() 140 u->uirq.name); in uirq_test_init()
|
D | uevt_test.c | 36 typedef struct uirq { struct 46 TEST_F_SETUP(uirq) { in TEST_F_SETUP() argument 50 TEST_F_TEARDOWN(uirq) { in TEST_F_TEARDOWN() argument 80 TEST_F(uirq, event_source_create_invalid) { in TEST_F() argument 91 TEST_F(uirq, event_source_create_close) { in TEST_F() argument 108 TEST_F(uirq, event_source_create_existing) { in TEST_F() argument 136 TEST_F(uirq, event_source_wait_no_clients) { in TEST_F() argument 168 TEST_F(uirq, event_client_open_invalid) { in TEST_F() argument 188 TEST_F(uirq, event_client_open_close) { in TEST_F() argument 213 TEST_F(uirq, event_client_wait_single) { in TEST_F() argument [all …]
|
/trusty/user/base/lib/uirq/test/ |
D | main.c | 35 typedef struct uirq { struct 42 TEST_F_SETUP(uirq) { in TEST_F_SETUP() argument 49 TEST_F_TEARDOWN(uirq) { in TEST_F_TEARDOWN() argument 56 TEST_F(uirq, uirq_test_open_no_access) { in TEST_F() argument 64 TEST_F(uirq, uirq_test_handle_single) { in TEST_F() argument 88 TEST_F(uirq, uirq_test_handle_multiple) { in TEST_F() argument 146 TEST(uirq, invalid_ack_handled) { in TEST() argument 173 PORT_TEST(uirq, "com.android.uirq-unittest");
|
D | rules.mk | 28 trusty/user/base/lib/uirq \
|
/trusty/user/base/lib/uirq/ |
D | rules.mk | 21 MODULE_SRCS := $(LOCAL_DIR)/uirq.c
|
/trusty/kernel/ |
D | build-config-kerneltests | 34 porttest("com.android.kernel.uirq-unittest"),
|
/trusty/user/base/ |
D | build-config-usertests | 54 porttest("com.android.uirq-unittest"),
|
D | usertests-inc.mk | 46 trusty/user/base/lib/uirq/test \
|