Home
last modified time | relevance | path

Searched refs:gtodev (Results 1 – 8 of 8) sorted by relevance

/hardware/st/secure_element2/secure_element/esehal/src/
Dspi.c45 ctx->t1.spi_fd = open(ctx->gtodev, O_RDWR); in spi_setup()
47 err("cannot use %s for spi device, errno = 0x%x\n", ctx->gtodev, errno); in spi_setup()
59 ctx->t1.spi_fd = open(ctx->gtodev, O_RDWR); in spi_setup()
61 err("cannot use %s for spi device\n", ctx->gtodev); in spi_setup()
73 warn("failed to close fd to %s, %s.\n", ctx->gtodev, strerror(errno)); in spi_teardown()
Dlibse-gto.c107 ctx->gtodev = SE_GTO_GTODEV; in se_gto_new()
152 return ctx->gtodev; in se_gto_get_gtodev()
156 se_gto_set_gtodev(struct se_gto_ctx *ctx, const char *gtodev) in se_gto_set_gtodev() argument
158 ctx->gtodev = strdup(gtodev); in se_gto_set_gtodev()
207 info("eSE GTO: using %s\n", ctx->gtodev); in se_gto_open()
275 if (strncmp(ctx->gtodev, "/dev/st54spi", 12) == 0 ) { in se_gto_close()
280 if (strncmp(ctx->gtodev, "/dev/st54spi", 12) == 0 ) { in se_gto_close()
286 if (strncmp(ctx->gtodev, "/dev/st54spi", 12) == 0 ) { in se_gto_close()
Dlibse-gto-private.h46 const char *gtodev; member
/hardware/st/secure_element2/secure_element/aidl/se-gto/
Dlibse-gto.h150 void se_gto_set_gtodev(struct se_gto_ctx *ctx, const char *gtodev);
/hardware/st/secure_element2/secure_element/esehal/src/se-gto/
Dlibse-gto.h150 void se_gto_set_gtodev(struct se_gto_ctx *ctx, const char *gtodev);
/hardware/st/secure_element2/secure_element/1.0/se-gto/
Dlibse-gto.h151 void se_gto_set_gtodev(struct se_gto_ctx *ctx, const char *gtodev);
/hardware/st/secure_element2/secure_element/1.2/se-gto/
Dlibse-gto.h151 void se_gto_set_gtodev(struct se_gto_ctx *ctx, const char *gtodev);
/hardware/st/secure_element2/secure_element/1.1/se-gto/
Dlibse-gto.h151 void se_gto_set_gtodev(struct se_gto_ctx *ctx, const char *gtodev);