Lines Matching defs:trf7970a
28 /* There are 3 ways the host can communicate with the trf7970a:
32 * The trf7970a is very timing sensitive and the VIN, EN2, and EN
36 * version of the trf7970a that requires that EN2 remain low no matter
40 * indicates that trf7970a currently being used has the erratum and
45 * from the trf7970a (or tag). Using this mechanism creates a race with
145 /* Erratum: When reading IRQ Status register on trf7970a, we must issue a
423 struct trf7970a {
456 static int trf7970a_cmd(struct trf7970a *trf, u8 opcode)
470 static int trf7970a_read(struct trf7970a *trf, u8 reg, u8 *val)
485 static int trf7970a_read_cont(struct trf7970a *trf, u8 reg, u8 *buf,
514 static int trf7970a_write(struct trf7970a *trf, u8 reg, u8 val)
529 static int trf7970a_read_irqstatus(struct trf7970a *trf, u8 *status)
553 static int trf7970a_read_target_proto(struct trf7970a *trf, u8 *target_proto)
572 static int trf7970a_mode_detect(struct trf7970a *trf, u8 *rf_tech)
605 static void trf7970a_send_upstream(struct trf7970a *trf)
611 print_hex_dump_debug("trf7970a rx data: ", DUMP_PREFIX_NONE,
633 static void trf7970a_send_err_upstream(struct trf7970a *trf, int errno)
645 static int trf7970a_transmit(struct trf7970a *trf, struct sk_buff *skb,
654 print_hex_dump_debug("trf7970a tx data: ", DUMP_PREFIX_NONE,
703 static void trf7970a_fill_fifo(struct trf7970a *trf)
738 static void trf7970a_drain_fifo(struct trf7970a *trf, u8 status)
801 * for the trf7970a to generate another RX interrupt.
822 struct trf7970a *trf = dev_id;
982 static void trf7970a_issue_eof(struct trf7970a *trf)
1007 struct trf7970a *trf = container_of(work, struct trf7970a,
1027 static int trf7970a_init(struct trf7970a *trf)
1079 static void trf7970a_switch_rf_off(struct trf7970a *trf)
1098 static int trf7970a_switch_rf_on(struct trf7970a *trf)
1125 struct trf7970a *trf = nfc_digital_get_drvdata(ddev);
1169 static int trf7970a_in_config_rf_tech(struct trf7970a *trf, int tech)
1229 static int trf7970a_is_rf_field(struct trf7970a *trf, bool *is_rf_field)
1263 static int trf7970a_in_config_framing(struct trf7970a *trf, int framing)
1341 struct trf7970a *trf = nfc_digital_get_drvdata(ddev);
1390 static int trf7970a_per_cmd_config(struct trf7970a *trf, struct sk_buff *skb)
1462 struct trf7970a *trf = nfc_digital_get_drvdata(ddev);
1562 static int trf7970a_tg_config_rf_tech(struct trf7970a *trf, int tech)
1621 static int trf7970a_tg_config_framing(struct trf7970a *trf, int framing)
1683 struct trf7970a *trf = nfc_digital_get_drvdata(ddev);
1720 struct trf7970a *trf = nfc_digital_get_drvdata(ddev);
1794 struct trf7970a *trf = nfc_digital_get_drvdata(ddev);
1806 struct trf7970a *trf = nfc_digital_get_drvdata(ddev);
1827 struct trf7970a *trf = nfc_digital_get_drvdata(ddev);
1839 struct trf7970a *trf = nfc_digital_get_drvdata(ddev);
1876 static int trf7970a_power_up(struct trf7970a *trf)
1908 static int trf7970a_power_down(struct trf7970a *trf)
1938 static int trf7970a_startup(struct trf7970a *trf)
1953 static void trf7970a_shutdown(struct trf7970a *trf)
1991 struct trf7970a *trf;
2050 dev_dbg(trf->dev, "trf7970a configured for 27MHz crystal\n");
2058 "trf7970a", trf);
2099 dev_dbg(trf->dev, "trf7970a config vdd_io to 1.8V\n");
2148 struct trf7970a *trf = spi_get_drvdata(spi);
2170 struct trf7970a *trf = spi_get_drvdata(spi);
2186 struct trf7970a *trf = spi_get_drvdata(spi);
2205 struct trf7970a *trf = spi_get_drvdata(spi);
2222 struct trf7970a *trf = spi_get_drvdata(spi);
2242 {.compatible = "ti,trf7970a",},
2249 {"trf7970a", 0},
2260 .name = "trf7970a",
2270 MODULE_DESCRIPTION("TI trf7970a RFID/NFC Transceiver Driver");