Lines Matching refs:spi_controller

119 	struct spi_controller *ctlr = container_of(dev,			\
120 struct spi_controller, dev); \
290 struct spi_controller *ctlr) in spi_statistics_add_transfer_stats()
538 static struct spi_device *spi_alloc_device(struct spi_controller *ctlr) in spi_alloc_device()
596 struct spi_controller *ctlr = spi->controller; in __spi_add_device()
659 struct spi_controller *ctlr = spi->controller; in spi_add_device()
681 struct spi_controller *ctlr = spi->controller; in spi_add_device_locked()
712 struct spi_device *spi_new_device(struct spi_controller *ctlr, in spi_new_device()
787 static void spi_match_controller_to_boardinfo(struct spi_controller *ctlr, in spi_match_controller_to_boardinfo()
835 struct spi_controller *ctlr; in spi_register_board_info()
917 static void spi_res_release(struct spi_controller *ctlr, struct spi_message *message) in spi_res_release()
1003 int spi_map_buf(struct spi_controller *ctlr, struct device *dev, in spi_map_buf()
1084 void spi_unmap_buf(struct spi_controller *ctlr, struct device *dev, in spi_unmap_buf()
1093 static int __spi_map_msg(struct spi_controller *ctlr, struct spi_message *msg) in __spi_map_msg()
1145 static int __spi_unmap_msg(struct spi_controller *ctlr, struct spi_message *msg) in __spi_unmap_msg()
1176 static inline int __spi_map_msg(struct spi_controller *ctlr, in __spi_map_msg()
1182 static inline int __spi_unmap_msg(struct spi_controller *ctlr, in __spi_unmap_msg()
1189 static inline int spi_unmap_msg(struct spi_controller *ctlr, in spi_unmap_msg()
1208 static int spi_map_msg(struct spi_controller *ctlr, struct spi_message *msg) in spi_map_msg()
1261 static int spi_transfer_wait(struct spi_controller *ctlr, in spi_transfer_wait()
1416 static int spi_transfer_one_message(struct spi_controller *ctlr, in spi_transfer_one_message()
1525 void spi_finalize_current_transfer(struct spi_controller *ctlr) in spi_finalize_current_transfer()
1531 static void spi_idle_runtime_pm(struct spi_controller *ctlr) in spi_idle_runtime_pm()
1552 static void __spi_pump_messages(struct spi_controller *ctlr, bool in_kthread) in __spi_pump_messages()
1713 struct spi_controller *ctlr = in spi_pump_messages()
1714 container_of(work, struct spi_controller, pump_messages); in spi_pump_messages()
1740 void spi_take_timestamp_pre(struct spi_controller *ctlr, in spi_take_timestamp_pre()
1777 void spi_take_timestamp_post(struct spi_controller *ctlr, in spi_take_timestamp_post()
1819 static void spi_set_thread_rt(struct spi_controller *ctlr) in spi_set_thread_rt()
1826 static int spi_init_queue(struct spi_controller *ctlr) in spi_init_queue()
1862 struct spi_message *spi_get_next_queued_message(struct spi_controller *ctlr) in spi_get_next_queued_message()
1884 void spi_finalize_current_message(struct spi_controller *ctlr) in spi_finalize_current_message()
1938 static int spi_start_queue(struct spi_controller *ctlr) in spi_start_queue()
1958 static int spi_stop_queue(struct spi_controller *ctlr) in spi_stop_queue()
1992 static int spi_destroy_queue(struct spi_controller *ctlr) in spi_destroy_queue()
2018 struct spi_controller *ctlr = spi->controller; in __spi_queued_transfer()
2050 static int spi_controller_initialize_queue(struct spi_controller *ctlr) in spi_controller_initialize_queue()
2089 void spi_flush_queue(struct spi_controller *ctlr) in spi_flush_queue()
2098 static int of_spi_parse_dt(struct spi_controller *ctlr, struct spi_device *spi, in of_spi_parse_dt()
2191 of_register_spi_device(struct spi_controller *ctlr, struct device_node *nc) in of_register_spi_device()
2244 static void of_register_spi_devices(struct spi_controller *ctlr) in of_register_spi_devices()
2264 static void of_register_spi_devices(struct spi_controller *ctlr) { } in of_register_spi_devices()
2318 struct spi_controller *ctlr;
2358 struct spi_controller *ctlr = lookup->ctlr; in acpi_spi_add_resource()
2414 static acpi_status acpi_register_spi_device(struct spi_controller *ctlr, in acpi_register_spi_device()
2486 struct spi_controller *ctlr = data; in acpi_spi_add_device()
2497 static void acpi_register_spi_devices(struct spi_controller *ctlr) in acpi_register_spi_devices()
2513 static inline void acpi_register_spi_devices(struct spi_controller *ctlr) {} in acpi_register_spi_devices()
2518 struct spi_controller *ctlr; in spi_controller_release()
2520 ctlr = container_of(dev, struct spi_controller, dev); in spi_controller_release()
2539 struct spi_controller *ctlr = spi->controller; in spi_slave_abort()
2556 struct spi_controller *ctlr = container_of(dev, struct spi_controller, in slave_show()
2568 struct spi_controller *ctlr = container_of(dev, struct spi_controller, in slave_store()
2656 struct spi_controller *__spi_alloc_controller(struct device *dev, in __spi_alloc_controller()
2659 struct spi_controller *ctlr; in __spi_alloc_controller()
2693 spi_controller_put(*(struct spi_controller **)ctlr); in devm_spi_release_controller()
2711 struct spi_controller *__devm_spi_alloc_controller(struct device *dev, in __devm_spi_alloc_controller()
2715 struct spi_controller **ptr, *ctlr; in __devm_spi_alloc_controller()
2736 static int of_spi_get_gpio_numbers(struct spi_controller *ctlr) in of_spi_get_gpio_numbers()
2769 static int of_spi_get_gpio_numbers(struct spi_controller *ctlr) in of_spi_get_gpio_numbers()
2779 static int spi_get_gpio_descs(struct spi_controller *ctlr) in spi_get_gpio_descs()
2850 static int spi_controller_check_ops(struct spi_controller *ctlr) in spi_controller_check_ops()
2893 int spi_register_controller(struct spi_controller *ctlr) in spi_register_controller()
3047 struct spi_controller *ctlr) in devm_spi_register_controller()
3077 void spi_unregister_controller(struct spi_controller *ctlr) in spi_unregister_controller()
3079 struct spi_controller *found; in spi_unregister_controller()
3119 int spi_controller_suspend(struct spi_controller *ctlr) in spi_controller_suspend()
3135 int spi_controller_resume(struct spi_controller *ctlr) in spi_controller_resume()
3154 static void __spi_replace_transfers_release(struct spi_controller *ctlr, in __spi_replace_transfers_release()
3281 static int __spi_split_transfer_maxsize(struct spi_controller *ctlr, in __spi_split_transfer_maxsize()
3357 int spi_split_transfers_maxsize(struct spi_controller *ctlr, in spi_split_transfers_maxsize()
3390 static int __spi_validate_bits_per_word(struct spi_controller *ctlr, in __spi_validate_bits_per_word()
3569 struct spi_controller *ctlr = spi->controller; in __spi_validate()
3717 struct spi_controller *ctlr = spi->controller; in __spi_async()
3777 struct spi_controller *ctlr = spi->controller; in spi_async()
3831 struct spi_controller *ctlr = spi->controller; in spi_async_locked()
3865 struct spi_controller *ctlr = spi->controller; in __spi_sync()
3985 int spi_bus_lock(struct spi_controller *ctlr) in spi_bus_lock()
4014 int spi_bus_unlock(struct spi_controller *ctlr) in spi_bus_unlock()
4115 static struct spi_controller *of_find_spi_controller_by_node(struct device_node *node) in of_find_spi_controller_by_node()
4126 return container_of(dev, struct spi_controller, dev); in of_find_spi_controller_by_node()
4133 struct spi_controller *ctlr; in of_spi_notify()
4192 static struct spi_controller *acpi_spi_find_controller_by_adev(struct acpi_device *adev) in acpi_spi_find_controller_by_adev()
4204 return container_of(dev, struct spi_controller, dev); in acpi_spi_find_controller_by_adev()
4219 struct spi_controller *ctlr; in acpi_spi_notify()