Lines Matching defs:sc18is602
17 #include <linux/platform_data/sc18is602.h>
20 enum chips { sc18is602, sc18is602b, sc18is603 };
33 struct sc18is602 {
50 static int sc18is602_wait_ready(struct sc18is602 *hw, int len)
65 static int sc18is602_txrx(struct sc18is602 *hw, struct spi_message *msg,
130 static int sc18is602_setup_transfer(struct sc18is602 *hw, u32 hz, u8 mode)
186 struct sc18is602 *hw = spi_master_get_devdata(master);
224 struct sc18is602 *hw = spi_master_get_devdata(spi->master);
227 if (hw->id == sc18is602 && spi->chip_select == 2)
239 struct sc18is602 *hw;
246 master = devm_spi_alloc_master(dev, sizeof(struct sc18is602));
270 case sc18is602:
304 { "sc18is602", sc18is602 },
313 .compatible = "nxp,sc18is602",
314 .data = (void *)sc18is602
330 .name = "sc18is602",