• Home
  • Raw
  • Download

Lines Matching defs:host

55 void sdhci_dumpregs(struct sdhci_host *host)  in sdhci_dumpregs()
127 static void sdhci_do_enable_v4_mode(struct sdhci_host *host) in sdhci_do_enable_v4_mode()
143 void sdhci_enable_v4_mode(struct sdhci_host *host) in sdhci_enable_v4_mode()
155 static void sdhci_set_card_detection(struct sdhci_host *host, bool enable) in sdhci_set_card_detection()
177 static void sdhci_enable_card_detection(struct sdhci_host *host) in sdhci_enable_card_detection()
182 static void sdhci_disable_card_detection(struct sdhci_host *host) in sdhci_disable_card_detection()
187 static void sdhci_runtime_pm_bus_on(struct sdhci_host *host) in sdhci_runtime_pm_bus_on()
195 static void sdhci_runtime_pm_bus_off(struct sdhci_host *host) in sdhci_runtime_pm_bus_off()
203 void sdhci_reset(struct sdhci_host *host, u8 mask) in sdhci_reset()
236 static void sdhci_do_reset(struct sdhci_host *host, u8 mask) in sdhci_do_reset()
258 static void sdhci_set_default_irqs(struct sdhci_host *host) in sdhci_set_default_irqs()
274 static void sdhci_config_dma(struct sdhci_host *host) in sdhci_config_dma()
320 static void sdhci_init(struct sdhci_host *host, int soft) in sdhci_init()
347 static void sdhci_reinit(struct sdhci_host *host) in sdhci_reinit()
364 static void __sdhci_led_activate(struct sdhci_host *host) in __sdhci_led_activate()
376 static void __sdhci_led_deactivate(struct sdhci_host *host) in __sdhci_led_deactivate()
392 struct sdhci_host *host = container_of(led, struct sdhci_host, led); in sdhci_led_control() local
408 static int sdhci_led_register(struct sdhci_host *host) in sdhci_led_register()
426 static void sdhci_led_unregister(struct sdhci_host *host) in sdhci_led_unregister()
434 static inline void sdhci_led_activate(struct sdhci_host *host) in sdhci_led_activate()
438 static inline void sdhci_led_deactivate(struct sdhci_host *host) in sdhci_led_deactivate()
444 static inline int sdhci_led_register(struct sdhci_host *host) in sdhci_led_register()
449 static inline void sdhci_led_unregister(struct sdhci_host *host) in sdhci_led_unregister()
453 static inline void sdhci_led_activate(struct sdhci_host *host) in sdhci_led_activate()
458 static inline void sdhci_led_deactivate(struct sdhci_host *host) in sdhci_led_deactivate()
465 static void sdhci_mod_timer(struct sdhci_host *host, struct mmc_request *mrq, in sdhci_mod_timer()
474 static void sdhci_del_timer(struct sdhci_host *host, struct mmc_request *mrq) in sdhci_del_timer()
482 static inline bool sdhci_has_requests(struct sdhci_host *host) in sdhci_has_requests()
493 static void sdhci_read_block_pio(struct sdhci_host *host) in sdhci_read_block_pio()
537 static void sdhci_write_block_pio(struct sdhci_host *host) in sdhci_write_block_pio()
582 static void sdhci_transfer_pio(struct sdhci_host *host) in sdhci_transfer_pio()
620 static int sdhci_pre_dma_transfer(struct sdhci_host *host, in sdhci_pre_dma_transfer()
687 void sdhci_adma_write_desc(struct sdhci_host *host, void **desc, in sdhci_adma_write_desc()
704 static inline void __sdhci_adma_write_desc(struct sdhci_host *host, in __sdhci_adma_write_desc()
722 static void sdhci_adma_table_pre(struct sdhci_host *host, in sdhci_adma_table_pre()
814 static void sdhci_adma_table_post(struct sdhci_host *host, in sdhci_adma_table_post()
855 static void sdhci_set_adma_addr(struct sdhci_host *host, dma_addr_t addr) in sdhci_set_adma_addr()
862 static dma_addr_t sdhci_sdma_address(struct sdhci_host *host) in sdhci_sdma_address()
870 static void sdhci_set_sdma_addr(struct sdhci_host *host, dma_addr_t addr) in sdhci_set_sdma_addr()
878 static unsigned int sdhci_target_timeout(struct sdhci_host *host, in sdhci_target_timeout()
907 static void sdhci_calc_sw_timeout(struct sdhci_host *host, in sdhci_calc_sw_timeout()
940 static u8 sdhci_calc_timeout(struct sdhci_host *host, struct mmc_command *cmd, in sdhci_calc_timeout()
1001 static void sdhci_set_transfer_irqs(struct sdhci_host *host) in sdhci_set_transfer_irqs()
1020 void sdhci_set_data_timeout_irq(struct sdhci_host *host, bool enable) in sdhci_set_data_timeout_irq()
1031 void __sdhci_set_timeout(struct sdhci_host *host, struct mmc_command *cmd) in __sdhci_set_timeout()
1048 static void sdhci_set_timeout(struct sdhci_host *host, struct mmc_command *cmd) in sdhci_set_timeout()
1056 static void sdhci_initialize_data(struct sdhci_host *host, in sdhci_initialize_data()
1071 static inline void sdhci_set_block_info(struct sdhci_host *host, in sdhci_set_block_info()
1092 static void sdhci_prepare_data(struct sdhci_host *host, struct mmc_command *cmd) in sdhci_prepare_data()
1188 static int sdhci_external_dma_init(struct sdhci_host *host) in sdhci_external_dma_init()
1218 static struct dma_chan *sdhci_external_dma_channel(struct sdhci_host *host, in sdhci_external_dma_channel()
1224 static int sdhci_external_dma_setup(struct sdhci_host *host, in sdhci_external_dma_setup()
1279 static void sdhci_external_dma_release(struct sdhci_host *host) in sdhci_external_dma_release()
1294 static void __sdhci_external_dma_prepare_data(struct sdhci_host *host, in __sdhci_external_dma_prepare_data()
1307 static void sdhci_external_dma_prepare_data(struct sdhci_host *host, in sdhci_external_dma_prepare_data()
1320 static void sdhci_external_dma_pre_transfer(struct sdhci_host *host, in sdhci_external_dma_pre_transfer()
1335 static inline int sdhci_external_dma_init(struct sdhci_host *host) in sdhci_external_dma_init()
1340 static inline void sdhci_external_dma_release(struct sdhci_host *host) in sdhci_external_dma_release()
1344 static inline void sdhci_external_dma_prepare_data(struct sdhci_host *host, in sdhci_external_dma_prepare_data()
1351 static inline void sdhci_external_dma_pre_transfer(struct sdhci_host *host, in sdhci_external_dma_pre_transfer()
1356 static inline struct dma_chan *sdhci_external_dma_channel(struct sdhci_host *host, in sdhci_external_dma_channel()
1364 void sdhci_switch_external_dma(struct sdhci_host *host, bool en) in sdhci_switch_external_dma()
1370 static inline bool sdhci_auto_cmd12(struct sdhci_host *host, in sdhci_auto_cmd12()
1377 static inline bool sdhci_auto_cmd23(struct sdhci_host *host, in sdhci_auto_cmd23()
1383 static inline bool sdhci_manual_cmd23(struct sdhci_host *host, in sdhci_manual_cmd23()
1389 static inline void sdhci_auto_cmd_select(struct sdhci_host *host, in sdhci_auto_cmd_select()
1428 static void sdhci_set_transfer_mode(struct sdhci_host *host, in sdhci_set_transfer_mode()
1469 static bool sdhci_needs_reset(struct sdhci_host *host, struct mmc_request *mrq) in sdhci_needs_reset()
1478 static void sdhci_set_mrq_done(struct sdhci_host *host, struct mmc_request *mrq) in sdhci_set_mrq_done()
1499 static void __sdhci_finish_mrq(struct sdhci_host *host, struct mmc_request *mrq) in __sdhci_finish_mrq()
1524 static void sdhci_finish_mrq(struct sdhci_host *host, struct mmc_request *mrq) in sdhci_finish_mrq()
1531 static void __sdhci_finish_data(struct sdhci_host *host, bool sw_data_timeout) in __sdhci_finish_data()
1602 static void sdhci_finish_data(struct sdhci_host *host) in sdhci_finish_data()
1607 static bool sdhci_send_command(struct sdhci_host *host, struct mmc_command *cmd) in sdhci_send_command()
1699 static bool sdhci_present_error(struct sdhci_host *host, in sdhci_present_error()
1710 static bool sdhci_send_command_retry(struct sdhci_host *host, in sdhci_send_command_retry()
1751 static void sdhci_read_rsp_136(struct sdhci_host *host, struct mmc_command *cmd) in sdhci_read_rsp_136()
1771 static void sdhci_finish_command(struct sdhci_host *host) in sdhci_finish_command()
1825 static u16 sdhci_get_preset_value(struct sdhci_host *host) in sdhci_get_preset_value()
1863 u16 sdhci_calc_clk(struct sdhci_host *host, unsigned int clock, in sdhci_calc_clk()
1955 void sdhci_enable_clk(struct sdhci_host *host, u16 clk) in sdhci_enable_clk()
2007 void sdhci_set_clock(struct sdhci_host *host, unsigned int clock) in sdhci_set_clock()
2023 static void sdhci_set_power_reg(struct sdhci_host *host, unsigned char mode, in sdhci_set_power_reg()
2036 void sdhci_set_power_noreg(struct sdhci_host *host, unsigned char mode, in sdhci_set_power_noreg()
2116 void sdhci_set_power(struct sdhci_host *host, unsigned char mode, in sdhci_set_power()
2132 void sdhci_set_power_and_bus_voltage(struct sdhci_host *host, in sdhci_set_power_and_bus_voltage()
2153 struct sdhci_host *host = mmc_priv(mmc); in sdhci_request() local
2185 struct sdhci_host *host = mmc_priv(mmc); in sdhci_request_atomic() local
2217 void sdhci_set_bus_width(struct sdhci_host *host, int width) in sdhci_set_bus_width()
2237 void sdhci_set_uhs_signaling(struct sdhci_host *host, unsigned timing) in sdhci_set_uhs_signaling()
2276 static bool sdhci_preset_needed(struct sdhci_host *host, unsigned char timing) in sdhci_preset_needed()
2282 static bool sdhci_presetable_values_change(struct sdhci_host *host, struct mmc_ios *ios) in sdhci_presetable_values_change()
2295 struct sdhci_host *host = mmc_priv(mmc); in sdhci_set_ios() local
2464 struct sdhci_host *host = mmc_priv(mmc); in sdhci_get_cd() local
2489 static int sdhci_check_ro(struct sdhci_host *host) in sdhci_check_ro()
2517 struct sdhci_host *host = mmc_priv(mmc); in sdhci_get_ro() local
2536 struct sdhci_host *host = mmc_priv(mmc); in sdhci_hw_reset() local
2542 static void sdhci_enable_sdio_irq_nolock(struct sdhci_host *host, int enable) in sdhci_enable_sdio_irq_nolock()
2557 struct sdhci_host *host = mmc_priv(mmc); in sdhci_enable_sdio_irq() local
2574 struct sdhci_host *host = mmc_priv(mmc); in sdhci_ack_sdio_irq() local
2585 struct sdhci_host *host = mmc_priv(mmc); in sdhci_start_signal_voltage_switch() local
2679 struct sdhci_host *host = mmc_priv(mmc); in sdhci_card_busy() local
2690 struct sdhci_host *host = mmc_priv(mmc); in sdhci_prepare_hs400_tuning() local
2700 void sdhci_start_tuning(struct sdhci_host *host) in sdhci_start_tuning()
2725 void sdhci_end_tuning(struct sdhci_host *host) in sdhci_end_tuning()
2732 void sdhci_reset_tuning(struct sdhci_host *host) in sdhci_reset_tuning()
2743 void sdhci_abort_tuning(struct sdhci_host *host, u32 opcode) in sdhci_abort_tuning()
2763 void sdhci_send_tuning(struct sdhci_host *host, u32 opcode) in sdhci_send_tuning()
2818 static int __sdhci_execute_tuning(struct sdhci_host *host, u32 opcode) in __sdhci_execute_tuning()
2859 struct sdhci_host *host = mmc_priv(mmc); in sdhci_execute_tuning() local
2926 static void sdhci_enable_preset_value(struct sdhci_host *host, bool enable) in sdhci_enable_preset_value()
2958 struct sdhci_host *host = mmc_priv(mmc); in sdhci_post_req() local
2970 struct sdhci_host *host = mmc_priv(mmc); in sdhci_pre_req() local
2983 static void sdhci_error_out_mrqs(struct sdhci_host *host, int err) in sdhci_error_out_mrqs()
2998 struct sdhci_host *host = mmc_priv(mmc); in sdhci_card_event() local
3049 static bool sdhci_request_done(struct sdhci_host *host) in sdhci_request_done()
3176 struct sdhci_host *host = container_of(work, struct sdhci_host, in sdhci_complete_work() local
3185 struct sdhci_host *host; in sdhci_timeout_timer() local
3206 struct sdhci_host *host; in sdhci_timeout_data_timer() local
3241 static void sdhci_cmd_irq(struct sdhci_host *host, u32 intmask, u32 *intmask_p) in sdhci_cmd_irq()
3311 static void sdhci_adma_show_error(struct sdhci_host *host) in sdhci_adma_show_error()
3343 static void sdhci_data_irq(struct sdhci_host *host, u32 intmask) in sdhci_data_irq()
3467 static inline bool sdhci_defer_done(struct sdhci_host *host, in sdhci_defer_done()
3481 struct sdhci_host *host = dev_id; in sdhci_irq() local
3620 struct sdhci_host *host = dev_id; in sdhci_thread_irq() local
3657 static bool sdhci_cd_irq_can_wakeup(struct sdhci_host *host) in sdhci_cd_irq_can_wakeup()
3672 static bool sdhci_enable_irq_wakeups(struct sdhci_host *host) in sdhci_enable_irq_wakeups()
3705 static void sdhci_disable_irq_wakeups(struct sdhci_host *host) in sdhci_disable_irq_wakeups()
3720 int sdhci_suspend_host(struct sdhci_host *host) in sdhci_suspend_host()
3739 int sdhci_resume_host(struct sdhci_host *host) in sdhci_resume_host()
3778 int sdhci_runtime_suspend_host(struct sdhci_host *host) in sdhci_runtime_suspend_host()
3800 int sdhci_runtime_resume_host(struct sdhci_host *host, int soft_reset) in sdhci_runtime_resume_host()
3861 struct sdhci_host *host = mmc_priv(mmc); in sdhci_cqe_enable() local
3905 struct sdhci_host *host = mmc_priv(mmc); in sdhci_cqe_disable() local
3927 bool sdhci_cqe_irq(struct sdhci_host *host, u32 intmask, int *cmd_error, in sdhci_cqe_irq()
3981 struct sdhci_host *host; in sdhci_alloc_host() local
4017 static int sdhci_set_dma_mask(struct sdhci_host *host) in sdhci_set_dma_mask()
4047 void __sdhci_read_caps(struct sdhci_host *host, const u16 *ver, in __sdhci_read_caps()
4102 static void sdhci_allocate_bounce_buffer(struct sdhci_host *host) in sdhci_allocate_bounce_buffer()
4162 static inline bool sdhci_can_64bit_dma(struct sdhci_host *host) in sdhci_can_64bit_dma()
4175 int sdhci_setup_host(struct sdhci_host *host) in sdhci_setup_host()
4728 void sdhci_cleanup_host(struct sdhci_host *host) in sdhci_cleanup_host()
4748 int __sdhci_add_host(struct sdhci_host *host) in __sdhci_add_host()
4817 int sdhci_add_host(struct sdhci_host *host) in sdhci_add_host()
4838 void sdhci_remove_host(struct sdhci_host *host, int dead) in sdhci_remove_host()
4892 void sdhci_free_host(struct sdhci_host *host) in sdhci_free_host()