Home
last modified time | relevance | path

Searched refs:st95context (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/nfc/st95hf/
H A Dcore.c244 static int st95hf_send_recv_cmd(struct st95hf_context *st95context, in st95hf_send_recv_cmd() argument
252 struct device *dev = &st95context->spicontext.spidev->dev; in st95hf_send_recv_cmd()
275 ret = st95hf_spi_send(&st95context->spicontext, in st95hf_send_recv_cmd()
287 ret = st95hf_spi_recv_response(&st95context->spicontext, in st95hf_send_recv_cmd()
305 static int st95hf_echo_command(struct st95hf_context *st95context) in st95hf_echo_command() argument
310 result = st95hf_send_recv_cmd(st95context, CMD_ECHO, 0, NULL, false); in st95hf_echo_command()
315 result = st95hf_spi_recv_echo_res(&st95context->spicontext, in st95hf_echo_command()
318 dev_err(&st95context->spicontext.spidev->dev, in st95hf_echo_command()
326 dev_err(&st95context->spicontext.spidev->dev, "err: echo res is 0x%x\n", in st95hf_echo_command()
474 static int st95hf_send_spi_reset_sequence(struct st95hf_context *st95context) in st95hf_send_spi_reset_sequence() argument
501 st95hf_por_sequence(struct st95hf_context *st95context) st95hf_por_sequence() argument
533 iso14443_config_fdt(struct st95hf_context *st95context, int wtxm) iso14443_config_fdt() argument
1072 struct st95hf_context *st95context; st95hf_probe() local
[all...]
/kernel/linux/linux-6.6/drivers/nfc/st95hf/
H A Dcore.c243 static int st95hf_send_recv_cmd(struct st95hf_context *st95context, in st95hf_send_recv_cmd() argument
251 struct device *dev = &st95context->spicontext.spidev->dev; in st95hf_send_recv_cmd()
274 ret = st95hf_spi_send(&st95context->spicontext, in st95hf_send_recv_cmd()
286 ret = st95hf_spi_recv_response(&st95context->spicontext, in st95hf_send_recv_cmd()
304 static int st95hf_echo_command(struct st95hf_context *st95context) in st95hf_echo_command() argument
309 result = st95hf_send_recv_cmd(st95context, CMD_ECHO, 0, NULL, false); in st95hf_echo_command()
314 result = st95hf_spi_recv_echo_res(&st95context->spicontext, in st95hf_echo_command()
317 dev_err(&st95context->spicontext.spidev->dev, in st95hf_echo_command()
325 dev_err(&st95context->spicontext.spidev->dev, "err: echo res is 0x%x\n", in st95hf_echo_command()
473 static int st95hf_send_spi_reset_sequence(struct st95hf_context *st95context) in st95hf_send_spi_reset_sequence() argument
500 st95hf_por_sequence(struct st95hf_context *st95context) st95hf_por_sequence() argument
532 iso14443_config_fdt(struct st95hf_context *st95context, int wtxm) iso14443_config_fdt() argument
1068 struct st95hf_context *st95context; st95hf_probe() local
[all...]

Completed in 3 milliseconds