Searched refs:st95context (Results 1 – 1 of 1) sorted by relevance
/drivers/nfc/st95hf/ |
D | core.c | 243 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 [all …]
|