• Home
  • Raw
  • Download

Lines Matching refs:master

74 	struct spi_master	*master;  member
375 int (*prepare_transfer_hardware)(struct spi_master *master);
376 int (*transfer_one_message)(struct spi_master *master,
378 int (*unprepare_transfer_hardware)(struct spi_master *master);
383 static inline void *spi_master_get_devdata(struct spi_master *master) in spi_master_get_devdata() argument
385 return dev_get_drvdata(&master->dev); in spi_master_get_devdata()
388 static inline void spi_master_set_devdata(struct spi_master *master, void *data) in spi_master_set_devdata() argument
390 dev_set_drvdata(&master->dev, data); in spi_master_set_devdata()
393 static inline struct spi_master *spi_master_get(struct spi_master *master) in spi_master_get() argument
395 if (!master || !get_device(&master->dev)) in spi_master_get()
397 return master; in spi_master_get()
400 static inline void spi_master_put(struct spi_master *master) in spi_master_put() argument
402 if (master) in spi_master_put()
403 put_device(&master->dev); in spi_master_put()
407 extern int spi_master_suspend(struct spi_master *master);
408 extern int spi_master_resume(struct spi_master *master);
411 extern struct spi_message *spi_get_next_queued_message(struct spi_master *master);
412 extern void spi_finalize_current_message(struct spi_master *master);
418 extern int spi_register_master(struct spi_master *master);
419 extern void spi_unregister_master(struct spi_master *master);
668 extern int spi_bus_lock(struct spi_master *master);
669 extern int spi_bus_unlock(struct spi_master *master);
901 spi_alloc_device(struct spi_master *master);