Lines Matching refs:sc18is602
19 enum chips { sc18is602, sc18is602b, sc18is603 }; enumerator
32 struct sc18is602 { struct
49 static int sc18is602_wait_ready(struct sc18is602 *hw, int len) in sc18is602_wait_ready() argument
64 static int sc18is602_txrx(struct sc18is602 *hw, struct spi_message *msg, in sc18is602_txrx()
129 static int sc18is602_setup_transfer(struct sc18is602 *hw, u32 hz, u8 mode) in sc18is602_setup_transfer()
185 struct sc18is602 *hw = spi_controller_get_devdata(host); in sc18is602_transfer_one()
228 struct sc18is602 *hw = spi_controller_get_devdata(spi->controller); in sc18is602_setup()
231 if (hw->id == sc18is602 && (spi_get_chipselect(spi, 0) == 2)) in sc18is602_setup()
243 struct sc18is602 *hw; in sc18is602_probe()
250 host = devm_spi_alloc_host(dev, sizeof(struct sc18is602)); in sc18is602_probe()
274 case sc18is602: in sc18is602_probe()
310 { "sc18is602", sc18is602 },
320 .data = (void *)sc18is602