Lines Matching refs:tee
609 struct udevice *tee = NULL; in get_open_session() local
611 while (!ops_data->tee) { in get_open_session()
616 tee = tee_find_device(tee, NULL, NULL, NULL); in get_open_session()
617 if (!tee) in get_open_session()
622 rc = tee_open_session(tee, &arg, 0, NULL); in get_open_session()
624 ops_data->tee = tee; in get_open_session()
644 if (tee_invoke_func(ops_data->tee, &arg, num_param, param)) in invoke_func()
660 tee_close_session(ops_data->tee, ops_data->session); in invoke_func()
661 ops_data->tee = NULL; in invoke_func()
866 struct udevice *tee; in read_persistent_value() local
872 tee = ((struct AvbOpsData *)ops->user_data)->tee; in read_persistent_value()
874 rc = tee_shm_alloc(tee, name_size, in read_persistent_value()
879 rc = tee_shm_alloc(tee, buffer_size, in read_persistent_value()
927 struct udevice *tee; in write_persistent_value() local
933 tee = ((struct AvbOpsData *)ops->user_data)->tee; in write_persistent_value()
938 rc = tee_shm_alloc(tee, name_size, in write_persistent_value()
943 rc = tee_shm_alloc(tee, value_size, in write_persistent_value()
1019 if (ops_data->tee) in avb_ops_free()
1020 tee_close_session(ops_data->tee, ops_data->session); in avb_ops_free()