Lines Matching defs:ns
94 static int __atcspi200_spi_set_speed(struct nds_spi_slave *ns) in __atcspi200_spi_set_speed()
117 static int __atcspi200_spi_claim_bus(struct nds_spi_slave *ns) in __atcspi200_spi_claim_bus()
133 static int __atcspi200_spi_release_bus(struct nds_spi_slave *ns) in __atcspi200_spi_release_bus()
139 static int __atcspi200_spi_start(struct nds_spi_slave *ns) in __atcspi200_spi_start()
168 static int __atcspi200_spi_stop(struct nds_spi_slave *ns) in __atcspi200_spi_stop()
178 static void __nspi_espi_tx(struct nds_spi_slave *ns, const void *dout) in __nspi_espi_tx()
183 static int __nspi_espi_rx(struct nds_spi_slave *ns, void *din, unsigned int bytes) in __nspi_espi_rx()
190 static int __atcspi200_spi_xfer(struct nds_spi_slave *ns, in __atcspi200_spi_xfer()
288 struct nds_spi_slave *ns = dev_get_priv(bus); in atcspi200_spi_set_speed() local
300 struct nds_spi_slave *ns = dev_get_priv(bus); in atcspi200_spi_set_mode() local
313 struct nds_spi_slave *ns = dev_get_priv(bus); in atcspi200_spi_claim_bus() local
325 struct nds_spi_slave *ns = dev_get_priv(dev->parent); in atcspi200_spi_release_bus() local
335 struct nds_spi_slave *ns = dev_get_priv(bus); in atcspi200_spi_xfer() local
342 struct nds_spi_slave *ns = dev_get_priv(bus); in atcspi200_spi_get_clk() local
363 struct nds_spi_slave *ns = dev_get_priv(bus); in atcspi200_spi_probe() local
375 struct nds_spi_slave *ns = dev_get_priv(bus); in atcspi200_ofdata_to_platadata() local