/drivers/gpu/host1x/hw/ |
H A D | host1x01.c | 32 int host1x01_init(struct host1x *host) argument 34 host->channel_op = &host1x_channel_ops; 35 host->cdma_op = &host1x_cdma_ops; 36 host->cdma_pb_op = &host1x_pushbuffer_ops; 37 host->syncpt_op = &host1x_syncpt_ops; 38 host->intr_op = &host1x_intr_ops; 39 host->debug_op = &host1x_debug_ops;
|
H A D | host1x02.c | 32 int host1x02_init(struct host1x *host) argument 34 host->channel_op = &host1x_channel_ops; 35 host->cdma_op = &host1x_cdma_ops; 36 host->cdma_pb_op = &host1x_pushbuffer_ops; 37 host->syncpt_op = &host1x_syncpt_ops; 38 host->intr_op = &host1x_intr_ops; 39 host->debug_op = &host1x_debug_ops;
|
H A D | host1x04.c | 32 int host1x04_init(struct host1x *host) argument 34 host->channel_op = &host1x_channel_ops; 35 host->cdma_op = &host1x_cdma_ops; 36 host->cdma_pb_op = &host1x_pushbuffer_ops; 37 host->syncpt_op = &host1x_syncpt_ops; 38 host->intr_op = &host1x_intr_ops; 39 host->debug_op = &host1x_debug_ops;
|
H A D | intr_hw.c | 34 struct host1x *host = syncpt->host; local 36 host1x_sync_writel(host, BIT_MASK(id), 38 host1x_sync_writel(host, BIT_MASK(id), 41 queue_work(host->intr_wq, &syncpt->intr.work); 46 struct host1x *host = dev_id; local 50 for (i = 0; i < DIV_ROUND_UP(host->info->nb_pts, 32); i++) { 51 reg = host1x_sync_readl(host, 55 host->syncpt + (i * BITS_PER_LONG + id); 63 static void _host1x_intr_disable_all_syncpt_intrs(struct host1x *host) argument 75 _host1x_intr_init_host_sync(struct host1x *host, u32 cpm, void (*syncpt_thresh_work)(struct work_struct *)) argument 108 _host1x_intr_set_syncpt_threshold(struct host1x *host, u32 id, u32 thresh) argument 114 _host1x_intr_enable_syncpt_intr(struct host1x *host, u32 id) argument 120 _host1x_intr_disable_syncpt_intr(struct host1x *host, u32 id) argument 128 _host1x_free_syncpt_irq(struct host1x *host) argument [all...] |
/drivers/mmc/core/ |
H A D | host.c | 2 * linux/drivers/mmc/core/host.c 12 * MMC host class device management 26 #include <linux/mmc/host.h> 31 #include "host.h" 37 struct mmc_host *host = cls_dev_to_mmc_host(dev); local 38 mutex_destroy(&host->slot.lock); 39 kfree(host); 64 struct mmc_host *host = cls_dev_to_mmc_host(dev); local 65 return snprintf(buf, PAGE_SIZE, "%lu\n", host->clkgate_delay); 71 struct mmc_host *host local 90 mmc_host_clk_gate_delayed(struct mmc_host *host) argument 141 struct mmc_host *host = container_of(work, struct mmc_host, local 155 mmc_host_clk_hold(struct mmc_host *host) argument 202 mmc_host_clk_release(struct mmc_host *host) argument 221 mmc_host_clk_rate(struct mmc_host *host) argument 239 mmc_host_clk_init(struct mmc_host *host) argument 259 mmc_host_clk_exit(struct mmc_host *host) argument 273 mmc_host_clk_sysfs_init(struct mmc_host *host) argument 286 mmc_host_clk_init(struct mmc_host *host) argument 290 mmc_host_clk_exit(struct mmc_host *host) argument 294 mmc_host_clk_sysfs_init(struct mmc_host *host) argument 309 mmc_of_parse(struct mmc_host *host) argument 479 struct mmc_host *host; local 544 mmc_add_host(struct mmc_host *host) argument 579 mmc_remove_host(struct mmc_host *host) argument 605 mmc_free_host(struct mmc_host *host) argument [all...] |
H A D | core.h | 32 void mmc_attach_bus(struct mmc_host *host, const struct mmc_bus_ops *ops); 33 void mmc_detach_bus(struct mmc_host *host); 37 void mmc_set_chip_select(struct mmc_host *host, int mode); 38 void mmc_set_clock(struct mmc_host *host, unsigned int hz); 39 void mmc_gate_clock(struct mmc_host *host); 40 void mmc_ungate_clock(struct mmc_host *host); 41 void mmc_set_ungated(struct mmc_host *host); 42 void mmc_set_bus_mode(struct mmc_host *host, unsigned int mode); 43 void mmc_set_bus_width(struct mmc_host *host, unsigned int width); 44 u32 mmc_select_voltage(struct mmc_host *host, u3 [all...] |
H A D | core.c | 37 #include <linux/mmc/host.h> 44 #include "host.h" 96 static void mmc_should_fail_request(struct mmc_host *host, argument 111 !should_fail(&host->fail_mmc_request, data->blksz * data->blocks)) 120 static inline void mmc_should_fail_request(struct mmc_host *host, argument 129 * @host: MMC host which completed request 135 void mmc_request_done(struct mmc_host *host, struct mmc_request *mrq) argument 140 if (err && cmd->retries && mmc_host_is_spi(host)) { 145 if (err && cmd->retries && !mmc_card_removed(host 187 mmc_start_request(struct mmc_host *host, struct mmc_request *mrq) argument 340 __mmc_start_data_req(struct mmc_host *host, struct mmc_request *mrq) argument 354 __mmc_start_req(struct mmc_host *host, struct mmc_request *mrq) argument 378 mmc_wait_for_data_req_done(struct mmc_host *host, struct mmc_request *mrq, struct mmc_async_req *next_req) argument 424 mmc_wait_for_req_done(struct mmc_host *host, struct mmc_request *mrq) argument 474 mmc_pre_req(struct mmc_host *host, struct mmc_request *mrq, bool is_first_req) argument 493 mmc_post_req(struct mmc_host *host, struct mmc_request *mrq, int err) argument 519 mmc_start_req(struct mmc_host *host, struct mmc_async_req *areq, int *error) argument 585 mmc_wait_for_req(struct mmc_host *host, struct mmc_request *mrq) argument 669 mmc_wait_for_cmd(struct mmc_host *host, struct mmc_command *cmd, int retries) argument 885 __mmc_claim_host(struct mmc_host *host, atomic_t *abort) argument 927 mmc_release_host(struct mmc_host *host) argument 976 mmc_set_ios(struct mmc_host *host) argument 994 mmc_set_chip_select(struct mmc_host *host, int mode) argument 1006 __mmc_set_clock(struct mmc_host *host, unsigned int hz) argument 1017 mmc_set_clock(struct mmc_host *host, unsigned int hz) argument 1028 mmc_gate_clock(struct mmc_host *host) argument 1044 mmc_ungate_clock(struct mmc_host *host) argument 1060 mmc_set_ungated(struct mmc_host *host) argument 1074 mmc_set_ungated(struct mmc_host *host) argument 1082 mmc_set_bus_mode(struct mmc_host *host, unsigned int mode) argument 1093 mmc_set_bus_width(struct mmc_host *host, unsigned int width) argument 1355 mmc_select_voltage(struct mmc_host *host, u32 ocr) argument 1389 __mmc_set_signal_voltage(struct mmc_host *host, int signal_voltage) argument 1408 mmc_set_signal_voltage(struct mmc_host *host, int signal_voltage, u32 ocr) argument 1501 mmc_set_timing(struct mmc_host *host, unsigned int timing) argument 1512 mmc_set_driver_type(struct mmc_host *host, unsigned int drv_type) argument 1531 mmc_power_up(struct mmc_host *host, u32 ocr) argument 1577 mmc_power_off(struct mmc_host *host) argument 1606 mmc_power_cycle(struct mmc_host *host, u32 ocr) argument 1617 __mmc_release_bus(struct mmc_host *host) argument 1629 mmc_bus_get(struct mmc_host *host) argument 1642 mmc_bus_put(struct mmc_host *host) argument 1657 mmc_attach_bus(struct mmc_host *host, const struct mmc_bus_ops *ops) argument 1681 mmc_detach_bus(struct mmc_host *host) argument 1699 _mmc_detect_change(struct mmc_host *host, unsigned long delay, bool cd_irq) argument 1731 mmc_detect_change(struct mmc_host *host, unsigned long delay) argument 2136 struct mmc_host *host = card->host; local 2181 struct mmc_host *host = card->host; local 2237 mmc_hw_reset_for_init(struct mmc_host *host) argument 2259 mmc_do_hw_reset(struct mmc_host *host, int check) argument 2309 mmc_hw_reset(struct mmc_host *host) argument 2315 mmc_hw_reset_check(struct mmc_host *host) argument 2321 mmc_rescan_try_freq(struct mmc_host *host, unsigned freq) argument 2359 _mmc_detect_card_removed(struct mmc_host *host) argument 2391 mmc_detect_card_removed(struct mmc_host *host) argument 2428 struct mmc_host *host = local 2511 mmc_start_host(struct mmc_host *host) argument 2524 mmc_stop_host(struct mmc_host *host) argument 2560 mmc_power_save_host(struct mmc_host *host) argument 2586 mmc_power_restore_host(struct mmc_host *host) argument 2640 struct mmc_host *host = container_of( local 2694 mmc_init_context_info(struct mmc_host *host) argument 2704 mmc_set_embedded_sdio_data(struct mmc_host *host, struct sdio_cis *cis, struct sdio_cccr *cccr, struct sdio_embedded_func *funcs, int num_funcs) argument [all...] |
/drivers/mmc/host/ |
H A D | sdhci.c | 2 * linux/drivers/mmc/host/sdhci.c - Secure Digital Host Controller Interface driver 29 #include <linux/mmc/host.h> 57 static void sdhci_enable_preset_value(struct sdhci_host *host, bool enable); 60 static int sdhci_runtime_pm_get(struct sdhci_host *host); 61 static int sdhci_runtime_pm_put(struct sdhci_host *host); 62 static void sdhci_runtime_pm_bus_on(struct sdhci_host *host); 63 static void sdhci_runtime_pm_bus_off(struct sdhci_host *host); 65 static inline int sdhci_runtime_pm_get(struct sdhci_host *host) argument 69 static inline int sdhci_runtime_pm_put(struct sdhci_host *host) argument 73 static void sdhci_runtime_pm_bus_on(struct sdhci_host *host) argument 76 sdhci_runtime_pm_bus_off(struct sdhci_host *host) argument 81 sdhci_dumpregs(struct sdhci_host *host) argument 136 sdhci_set_card_detection(struct sdhci_host *host, bool enable) argument 158 sdhci_enable_card_detection(struct sdhci_host *host) argument 163 sdhci_disable_card_detection(struct sdhci_host *host) argument 168 sdhci_reset(struct sdhci_host *host, u8 mask) argument 198 sdhci_do_reset(struct sdhci_host *host, u8 mask) argument 221 sdhci_init(struct sdhci_host *host, int soft) argument 244 sdhci_reinit(struct sdhci_host *host) argument 263 sdhci_activate_led(struct sdhci_host *host) argument 272 sdhci_deactivate_led(struct sdhci_host *host) argument 285 struct sdhci_host *host = container_of(led, struct sdhci_host, led); local 308 sdhci_read_block_pio(struct sdhci_host *host) argument 353 sdhci_write_block_pio(struct sdhci_host *host) argument 399 sdhci_transfer_pio(struct sdhci_host *host) argument 465 sdhci_adma_table_pre(struct sdhci_host *host, struct mmc_data *data) argument 588 sdhci_adma_table_post(struct sdhci_host *host, struct mmc_data *data) argument 640 sdhci_calc_timeout(struct sdhci_host *host, struct mmc_command *cmd) argument 696 sdhci_set_transfer_irqs(struct sdhci_host *host) argument 710 sdhci_set_timeout(struct sdhci_host *host, struct mmc_command *cmd) argument 722 sdhci_prepare_data(struct sdhci_host *host, struct mmc_command *cmd) argument 885 sdhci_set_transfer_mode(struct sdhci_host *host, struct mmc_command *cmd) argument 924 sdhci_finish_data(struct sdhci_host *host) argument 978 sdhci_send_command(struct sdhci_host *host, struct mmc_command *cmd) argument 1058 sdhci_finish_command(struct sdhci_host *host) argument 1099 sdhci_get_preset_value(struct sdhci_host *host) argument 1129 sdhci_set_clock(struct sdhci_host *host, unsigned int clock) argument 1232 sdhci_set_power(struct sdhci_host *host, unsigned char mode, unsigned short vdd) argument 1313 struct sdhci_host *host; local 1407 sdhci_set_bus_width(struct sdhci_host *host, int width) argument 1428 sdhci_set_uhs_signaling(struct sdhci_host *host, unsigned timing) argument 1451 sdhci_do_set_ios(struct sdhci_host *host, struct mmc_ios *ios) argument 1600 struct sdhci_host *host = mmc_priv(mmc); local 1607 sdhci_do_get_cd(struct sdhci_host *host) argument 1629 struct sdhci_host *host = mmc_priv(mmc); local 1638 sdhci_check_ro(struct sdhci_host *host) argument 1662 sdhci_do_get_ro(struct sdhci_host *host) argument 1682 struct sdhci_host *host = mmc_priv(mmc); local 1690 struct sdhci_host *host = mmc_priv(mmc); local 1699 sdhci_enable_sdio_irq_nolock(struct sdhci_host *host, int enable) argument 1715 struct sdhci_host *host = mmc_priv(mmc); local 1732 sdhci_do_start_signal_voltage_switch(struct sdhci_host *host, struct mmc_ios *ios) argument 1822 struct sdhci_host *host = mmc_priv(mmc); local 1835 struct sdhci_host *host = mmc_priv(mmc); local 1848 struct sdhci_host *host = mmc_priv(mmc); local 2042 sdhci_enable_preset_value(struct sdhci_host *host, bool enable) argument 2073 struct sdhci_host *host = mmc_priv(mmc); local 2120 struct sdhci_host *host; local 2179 struct sdhci_host *host; local 2210 struct sdhci_host *host; local 2228 sdhci_cmd_irq(struct sdhci_host *host, u32 intmask, u32 *mask) argument 2285 sdhci_show_adma_error(struct sdhci_host *host) argument 2310 sdhci_show_adma_error(struct sdhci_host *host) argument 2313 sdhci_data_irq(struct sdhci_host *host, u32 intmask) argument 2430 struct sdhci_host *host = dev_id; local 2532 struct sdhci_host *host = dev_id; local 2565 sdhci_enable_irq_wakeups(struct sdhci_host *host) argument 2580 sdhci_disable_irq_wakeups(struct sdhci_host *host) argument 2591 sdhci_suspend_host(struct sdhci_host *host) argument 2615 sdhci_resume_host(struct sdhci_host *host) argument 2661 sdhci_runtime_pm_get(struct sdhci_host *host) argument 2666 sdhci_runtime_pm_put(struct sdhci_host *host) argument 2672 sdhci_runtime_pm_bus_on(struct sdhci_host *host) argument 2680 sdhci_runtime_pm_bus_off(struct sdhci_host *host) argument 2688 sdhci_runtime_suspend_host(struct sdhci_host *host) argument 2714 sdhci_runtime_resume_host(struct sdhci_host *host) argument 2772 struct sdhci_host *host; local 2788 sdhci_add_host(struct sdhci_host *host) argument 3302 sdhci_remove_host(struct sdhci_host *host, int dead) argument 3359 sdhci_free_host(struct sdhci_host *host) argument [all...] |
H A D | wbsd.c | 2 * linux/drivers/mmc/host/wbsd.c - Winbond W83L51xD SD/MMC driver 35 #include <linux/mmc/host.h> 87 static inline void wbsd_unlock_config(struct wbsd_host *host) argument 89 BUG_ON(host->config == 0); 91 outb(host->unlock_code, host->config); 92 outb(host->unlock_code, host->config); 95 static inline void wbsd_lock_config(struct wbsd_host *host) argument 97 BUG_ON(host 102 wbsd_write_config(struct wbsd_host *host, u8 reg, u8 value) argument 110 wbsd_read_config(struct wbsd_host *host, u8 reg) argument 118 wbsd_write_index(struct wbsd_host *host, u8 index, u8 value) argument 124 wbsd_read_index(struct wbsd_host *host, u8 index) argument 134 wbsd_init_device(struct wbsd_host *host) argument 193 wbsd_reset(struct wbsd_host *host) argument 207 wbsd_request_end(struct wbsd_host *host, struct mmc_request *mrq) argument 240 wbsd_init_sg(struct wbsd_host *host, struct mmc_data *data) argument 252 wbsd_next_sg(struct wbsd_host *host) argument 271 wbsd_sg_to_buffer(struct wbsd_host *host) argument 276 wbsd_sg_to_dma(struct wbsd_host *host, struct mmc_data *data) argument 293 wbsd_dma_to_sg(struct wbsd_host *host, struct mmc_data *data) argument 314 wbsd_get_short_reply(struct wbsd_host *host, struct mmc_command *cmd) argument 332 wbsd_get_long_reply(struct wbsd_host *host, struct mmc_command *cmd) argument 357 wbsd_send_command(struct wbsd_host *host, struct mmc_command *cmd) argument 417 wbsd_empty_fifo(struct wbsd_host *host) argument 479 wbsd_fill_fifo(struct wbsd_host *host) argument 541 wbsd_prepare_data(struct wbsd_host *host, struct mmc_data *data) argument 676 wbsd_finish_data(struct wbsd_host *host, struct mmc_data *data) argument 756 struct wbsd_host *host = mmc_priv(mmc); local 852 struct wbsd_host *host = mmc_priv(mmc); local 925 struct wbsd_host *host = mmc_priv(mmc); local 963 struct wbsd_host *host = (struct wbsd_host *)data; local 986 wbsd_get_data(struct wbsd_host *host) argument 1005 struct wbsd_host *host = (struct wbsd_host *)param; local 1054 struct wbsd_host *host = (struct wbsd_host *)param; local 1085 struct wbsd_host *host = (struct wbsd_host *)param; local 1109 struct wbsd_host *host = (struct wbsd_host *)param; local 1133 struct wbsd_host *host = (struct wbsd_host *)param; local 1158 struct wbsd_host *host = dev_id; local 1201 struct wbsd_host *host; local 1270 struct wbsd_host *host; local 1290 wbsd_scan(struct wbsd_host *host) argument 1346 wbsd_request_region(struct wbsd_host *host, int base) argument 1359 wbsd_release_regions(struct wbsd_host *host) argument 1376 wbsd_request_dma(struct wbsd_host *host, int dma) argument 1435 wbsd_release_dma(struct wbsd_host *host) argument 1454 wbsd_request_irq(struct wbsd_host *host, int irq) argument 1484 wbsd_release_irq(struct wbsd_host *host) argument 1504 wbsd_request_resources(struct wbsd_host *host, int base, int irq, int dma) argument 1535 wbsd_release_resources(struct wbsd_host *host) argument 1546 wbsd_chip_config(struct wbsd_host *host) argument 1590 wbsd_chip_validate(struct wbsd_host *host) argument 1630 wbsd_chip_poweroff(struct wbsd_host *host) argument 1649 struct wbsd_host *host = NULL; local 1735 struct wbsd_host *host; local 1815 struct wbsd_host *host; local 1831 struct wbsd_host *host; local 1867 struct wbsd_host *host; local [all...] |
H A D | sh_mmcif.c | 53 #include <linux/mmc/host.h> 260 static inline void sh_mmcif_bitset(struct sh_mmcif_host *host, argument 263 writel(val | readl(host->addr + reg), host->addr + reg); 266 static inline void sh_mmcif_bitclr(struct sh_mmcif_host *host, argument 269 writel(~val & readl(host->addr + reg), host->addr + reg); 274 struct sh_mmcif_host *host = arg; local 275 struct mmc_request *mrq = host->mrq; 277 dev_dbg(&host 286 sh_mmcif_start_dma_rx(struct sh_mmcif_host *host) argument 335 sh_mmcif_start_dma_tx(struct sh_mmcif_host *host) argument 385 sh_mmcif_request_dma_one(struct sh_mmcif_host *host, struct sh_mmcif_plat_data *pdata, enum dma_transfer_direction direction) argument 438 sh_mmcif_request_dma(struct sh_mmcif_host *host, struct sh_mmcif_plat_data *pdata) argument 462 sh_mmcif_release_dma(struct sh_mmcif_host *host) argument 480 sh_mmcif_clock_control(struct sh_mmcif_host *host, unsigned int clk) argument 500 sh_mmcif_sync_reset(struct sh_mmcif_host *host) argument 518 sh_mmcif_error_manage(struct sh_mmcif_host *host) argument 565 sh_mmcif_next_block(struct sh_mmcif_host *host, u32 *p) argument 585 sh_mmcif_single_read(struct sh_mmcif_host *host, struct mmc_request *mrq) argument 597 sh_mmcif_read_block(struct sh_mmcif_host *host) argument 619 sh_mmcif_multi_read(struct sh_mmcif_host *host, struct mmc_request *mrq) argument 638 sh_mmcif_mread_block(struct sh_mmcif_host *host) argument 663 sh_mmcif_single_write(struct sh_mmcif_host *host, struct mmc_request *mrq) argument 675 sh_mmcif_write_block(struct sh_mmcif_host *host) argument 697 sh_mmcif_multi_write(struct sh_mmcif_host *host, struct mmc_request *mrq) argument 716 sh_mmcif_mwrite_block(struct sh_mmcif_host *host) argument 741 sh_mmcif_get_response(struct sh_mmcif_host *host, struct mmc_command *cmd) argument 753 sh_mmcif_get_cmd12response(struct sh_mmcif_host *host, struct mmc_command *cmd) argument 759 sh_mmcif_set_cmd(struct sh_mmcif_host *host, struct mmc_request *mrq) argument 849 sh_mmcif_data_trans(struct sh_mmcif_host *host, struct mmc_request *mrq, u32 opc) argument 872 sh_mmcif_start_cmd(struct sh_mmcif_host *host, struct mmc_request *mrq) argument 918 sh_mmcif_stop_cmd(struct sh_mmcif_host *host, struct mmc_request *mrq) argument 939 struct sh_mmcif_host *host = mmc_priv(mmc); local 975 sh_mmcif_clk_update(struct sh_mmcif_host *host) argument 988 sh_mmcif_set_power(struct sh_mmcif_host *host, struct mmc_ios *ios) argument 1000 struct sh_mmcif_host *host = mmc_priv(mmc); local 1057 struct sh_mmcif_host *host = mmc_priv(mmc); local 1076 sh_mmcif_end_cmd(struct sh_mmcif_host *host) argument 1171 struct sh_mmcif_host *host = dev_id; local 1271 struct sh_mmcif_host *host = dev_id; local 1307 struct sh_mmcif_host *host = container_of(d, struct sh_mmcif_host, timeout_work); local 1356 sh_mmcif_init_ocr(struct sh_mmcif_host *host) argument 1376 struct sh_mmcif_host *host; local 1498 struct sh_mmcif_host *host = platform_get_drvdata(pdev); local 1527 struct sh_mmcif_host *host = dev_get_drvdata(dev); local [all...] |
H A D | s3cmci.c | 18 #include <linux/mmc/host.h> 135 #define dbg(host, channels, args...) \ 138 dev_err(&host->pdev->dev, args); \ 140 dev_info(&host->pdev->dev, args); \ 142 dev_dbg(&host->pdev->dev, args); \ 145 static void finalize_request(struct s3cmci_host *host); 147 static void s3cmci_reset(struct s3cmci_host *host); 151 static void dbg_dumpregs(struct s3cmci_host *host, char *prefix) argument 156 con = readl(host->base + S3C2410_SDICON); 157 pre = readl(host 188 prepare_dbgmsg(struct s3cmci_host *host, struct mmc_command *cmd, int stop) argument 207 dbg_dumpcmd(struct s3cmci_host *host, struct mmc_command *cmd, int fail) argument 235 dbg_dumpcmd(struct s3cmci_host *host, struct mmc_command *cmd, int fail) argument 238 prepare_dbgmsg(struct s3cmci_host *host, struct mmc_command *cmd, int stop) argument 241 dbg_dumpregs(struct s3cmci_host *host, char *prefix) argument 253 s3cmci_host_usedma(struct s3cmci_host *host) argument 262 enable_imask(struct s3cmci_host *host, u32 imask) argument 274 disable_imask(struct s3cmci_host *host, u32 imask) argument 286 clear_imask(struct s3cmci_host *host) argument 307 s3cmci_check_sdio_irq(struct s3cmci_host *host) argument 317 get_data_buffer(struct s3cmci_host *host, u32 *bytes, u32 **pointer) argument 346 fifo_count(struct s3cmci_host *host) argument 354 fifo_free(struct s3cmci_host *host) argument 375 s3cmci_enable_irq(struct s3cmci_host *host, bool more) argument 402 s3cmci_disable_irq(struct s3cmci_host *host, bool transfer) argument 420 do_pio_read(struct s3cmci_host *host) argument 503 do_pio_write(struct s3cmci_host *host) argument 554 struct s3cmci_host *host = (struct s3cmci_host *) data; local 611 struct s3cmci_host *host = dev_id; local 816 struct s3cmci_host *host = (struct s3cmci_host *)dev_id; local 827 struct s3cmci_host *host = arg; local 845 finalize_request(struct s3cmci_host *host) argument 940 s3cmci_send_command(struct s3cmci_host *host, struct mmc_command *cmd) argument 972 s3cmci_setup_data(struct s3cmci_host *host, struct mmc_data *data) argument 1064 s3cmci_prepare_pio(struct s3cmci_host *host, struct mmc_data *data) argument 1086 s3cmci_prepare_dma(struct s3cmci_host *host, struct mmc_data *data) argument 1131 struct s3cmci_host *host = mmc_priv(mmc); local 1183 struct s3cmci_host *host = mmc_priv(mmc); local 1196 struct s3cmci_host *host = mmc_priv(mmc); local 1210 s3cmci_set_clk(struct s3cmci_host *host, struct mmc_ios *ios) argument 1235 struct s3cmci_host *host = mmc_priv(mmc); local 1291 s3cmci_reset(struct s3cmci_host *host) argument 1301 struct s3cmci_host *host = mmc_priv(mmc); local 1316 struct s3cmci_host *host = mmc_priv(mmc); local 1374 struct s3cmci_host *host; local 1399 s3cmci_cpufreq_register(struct s3cmci_host *host) argument 1407 s3cmci_cpufreq_deregister(struct s3cmci_host *host) argument 1414 s3cmci_cpufreq_register(struct s3cmci_host *host) argument 1419 s3cmci_cpufreq_deregister(struct s3cmci_host *host) argument 1429 struct s3cmci_host *host = seq->private; local 1486 struct s3cmci_host *host = seq->private; local 1511 s3cmci_debugfs_attach(struct s3cmci_host *host) argument 1536 s3cmci_debugfs_remove(struct s3cmci_host *host) argument 1544 s3cmci_debugfs_attach(struct s3cmci_host *host) argument 1545 s3cmci_debugfs_remove(struct s3cmci_host *host) argument 1551 struct s3cmci_host *host; local 1813 struct s3cmci_host *host = mmc_priv(mmc); local 1827 struct s3cmci_host *host = mmc_priv(mmc); local [all...] |
H A D | usdhi6rol0.c | 19 #include <linux/mmc/host.h> 205 static void usdhi6_write(struct usdhi6_host *host, u32 reg, u32 data) argument 207 iowrite32(data, host->base + reg); 208 dev_vdbg(mmc_dev(host->mmc), "%s(0x%p + 0x%x) = 0x%x\n", __func__, 209 host->base, reg, data); 212 static void usdhi6_write16(struct usdhi6_host *host, u32 reg, u16 data) argument 214 iowrite16(data, host->base + reg); 215 dev_vdbg(mmc_dev(host->mmc), "%s(0x%p + 0x%x) = 0x%x\n", __func__, 216 host->base, reg, data); 219 static u32 usdhi6_read(struct usdhi6_host *host, u3 argument 227 usdhi6_read16(struct usdhi6_host *host, u32 reg) argument 235 usdhi6_irq_enable(struct usdhi6_host *host, u32 info1, u32 info2) argument 243 usdhi6_wait_for_resp(struct usdhi6_host *host) argument 250 usdhi6_wait_for_brwe(struct usdhi6_host *host, bool read) argument 257 usdhi6_only_cd(struct usdhi6_host *host) argument 263 usdhi6_mask_all(struct usdhi6_host *host) argument 268 usdhi6_error_code(struct usdhi6_host *host) argument 310 usdhi6_blk_bounce(struct usdhi6_host *host, struct scatterlist *sg) argument 338 usdhi6_sg_prep(struct usdhi6_host *host) argument 351 usdhi6_sg_map(struct usdhi6_host *host) argument 391 usdhi6_sg_unmap(struct usdhi6_host *host, bool force) argument 431 usdhi6_sg_advance(struct usdhi6_host *host) argument 513 usdhi6_dma_release(struct usdhi6_host *host) argument 528 usdhi6_dma_stop_unmap(struct usdhi6_host *host) argument 548 struct usdhi6_host *host = arg; local 562 usdhi6_dma_setup(struct usdhi6_host *host, struct dma_chan *chan, enum dma_transfer_direction dir) argument 611 usdhi6_dma_start(struct usdhi6_host *host) argument 622 usdhi6_dma_kill(struct usdhi6_host *host) argument 635 usdhi6_dma_check_error(struct usdhi6_host *host) argument 661 usdhi6_dma_kick(struct usdhi6_host *host) argument 669 usdhi6_dma_request(struct usdhi6_host *host, phys_addr_t start) argument 719 usdhi6_clk_set(struct usdhi6_host *host, struct mmc_ios *ios) argument 786 usdhi6_set_power(struct usdhi6_host *host, struct mmc_ios *ios) argument 796 usdhi6_reset(struct usdhi6_host *host) argument 812 struct usdhi6_host *host = mmc_priv(mmc); local 864 usdhi6_timeout_set(struct usdhi6_host *host) argument 893 usdhi6_request_done(struct usdhi6_host *host) argument 924 usdhi6_cmd_flags(struct usdhi6_host *host) argument 977 usdhi6_rq_start(struct usdhi6_host *host) argument 1085 struct usdhi6_host *host = mmc_priv(mmc); local 1103 struct usdhi6_host *host = mmc_priv(mmc); local 1119 struct usdhi6_host *host = mmc_priv(mmc); local 1135 struct usdhi6_host *host = mmc_priv(mmc); local 1160 usdhi6_resp_cmd12(struct usdhi6_host *host) argument 1166 usdhi6_resp_read(struct usdhi6_host *host) argument 1212 usdhi6_blk_read(struct usdhi6_host *host) argument 1252 usdhi6_blk_write(struct usdhi6_host *host) argument 1295 usdhi6_stop_cmd(struct usdhi6_host *host) argument 1317 usdhi6_end_cmd(struct usdhi6_host *host) argument 1357 usdhi6_read_block(struct usdhi6_host *host) argument 1376 usdhi6_mread_block(struct usdhi6_host *host) argument 1389 usdhi6_write_block(struct usdhi6_host *host) argument 1403 usdhi6_mwrite_block(struct usdhi6_host *host) argument 1420 struct usdhi6_host *host = dev_id; local 1533 struct usdhi6_host *host = dev_id; local 1585 struct usdhi6_host *host = dev_id; local 1602 struct usdhi6_host *host = dev_id; local 1634 struct usdhi6_host *host = container_of(d, struct usdhi6_host, timeout_work); local 1699 struct usdhi6_host *host; local 1819 struct usdhi6_host *host = platform_get_drvdata(pdev); local [all...] |
H A D | tmio_mmc_dma.c | 17 #include <linux/mmc/host.h> 26 void tmio_mmc_enable_dma(struct tmio_mmc_host *host, bool enable) argument 28 if (!host->chan_tx || !host->chan_rx) 31 if (host->pdata->flags & TMIO_MMC_HAVE_CTL_DMA_REG) 32 sd_ctrl_write16(host, CTL_DMA_ENABLE, enable ? 2 : 0); 35 void tmio_mmc_abort_dma(struct tmio_mmc_host *host) argument 37 tmio_mmc_enable_dma(host, false); 39 if (host->chan_rx) 40 dmaengine_terminate_all(host 47 tmio_mmc_start_dma_rx(struct tmio_mmc_host *host) argument 124 tmio_mmc_start_dma_tx(struct tmio_mmc_host *host) argument 205 tmio_mmc_start_dma(struct tmio_mmc_host *host, struct mmc_data *data) argument 219 struct tmio_mmc_host *host = (struct tmio_mmc_host *)priv; local 241 struct tmio_mmc_host *host = (struct tmio_mmc_host *)arg; local 262 tmio_mmc_request_dma(struct tmio_mmc_host *host, struct tmio_mmc_data *pdata) argument 342 tmio_mmc_release_dma(struct tmio_mmc_host *host) argument [all...] |
H A D | dw_mmc.c | 30 #include <linux/mmc/host.h> 85 static bool dw_mci_reset(struct dw_mci *host); 97 spin_lock_bh(&slot->host->lock); 123 spin_unlock_bh(&slot->host->lock); 169 struct dw_mci *host = slot->host; local 177 node = debugfs_create_file("regs", S_IRUSR, root, host, 187 node = debugfs_create_u32("state", S_IRUSR, root, (u32 *)&host->state); 192 (u32 *)&host->pending_events); 197 (u32 *)&host 214 struct dw_mci *host = slot->host; local 283 dw_mci_prep_stop_abort(struct dw_mci *host, struct mmc_command *cmd) argument 317 dw_mci_start_command(struct dw_mci *host, struct mmc_command *cmd, u32 cmd_flags) argument 331 send_stop_abort(struct dw_mci *host, struct mmc_data *data) argument 338 dw_mci_stop_dma(struct dw_mci *host) argument 358 dw_mci_dma_cleanup(struct dw_mci *host) argument 370 dw_mci_idmac_reset(struct dw_mci *host) argument 378 dw_mci_idmac_stop_dma(struct dw_mci *host) argument 395 dw_mci_idmac_complete_dma(struct dw_mci *host) argument 413 dw_mci_translate_sglist(struct dw_mci *host, struct mmc_data *data, unsigned int sg_len) argument 445 dw_mci_idmac_start_dma(struct dw_mci *host, unsigned int sg_len) argument 467 dw_mci_idmac_init(struct dw_mci *host) argument 504 dw_mci_pre_dma_transfer(struct dw_mci *host, struct mmc_data *data, bool next) argument 580 dw_mci_adjust_fifoth(struct dw_mci *host, struct mmc_data *data) argument 621 dw_mci_ctrl_rd_thld(struct dw_mci *host, struct mmc_data *data) argument 652 dw_mci_submit_data_dma(struct dw_mci *host, struct mmc_data *data) argument 699 dw_mci_submit_data(struct dw_mci *host, struct mmc_data *data) argument 756 struct dw_mci *host = slot->host; local 776 struct dw_mci *host = slot->host; local 839 __dw_mci_start_request(struct dw_mci *host, struct dw_mci_slot *slot, struct mmc_command *cmd) argument 884 dw_mci_start_request(struct dw_mci *host, struct dw_mci_slot *slot) argument 895 dw_mci_queue_request(struct dw_mci *host, struct dw_mci_slot *slot, struct mmc_request *mrq) argument 925 struct dw_mci *host = slot->host; local 1053 struct dw_mci *host = slot->host; local 1116 struct dw_mci *host = slot->host; local 1152 struct dw_mci *host = slot->host; local 1168 struct dw_mci *host = slot->host; local 1193 struct dw_mci *host = slot->host; local 1269 dw_mci_command_complete(struct dw_mci *host, struct mmc_command *cmd) argument 1308 dw_mci_data_complete(struct dw_mci *host, struct mmc_data *data) argument 1353 struct dw_mci *host = (struct dw_mci *)priv; local 1537 dw_mci_set_part_bytes(struct dw_mci *host, void *buf, int cnt) argument 1544 dw_mci_push_part_bytes(struct dw_mci *host, void *buf, int cnt) argument 1553 dw_mci_pull_part_bytes(struct dw_mci *host, void *buf, int cnt) argument 1566 dw_mci_pull_final_bytes(struct dw_mci *host, void *buf, int cnt) argument 1573 dw_mci_push_data16(struct dw_mci *host, void *buf, int cnt) argument 1624 dw_mci_pull_data16(struct dw_mci *host, void *buf, int cnt) argument 1656 dw_mci_push_data32(struct dw_mci *host, void *buf, int cnt) argument 1707 dw_mci_pull_data32(struct dw_mci *host, void *buf, int cnt) argument 1739 dw_mci_push_data64(struct dw_mci *host, void *buf, int cnt) argument 1791 dw_mci_pull_data64(struct dw_mci *host, void *buf, int cnt) argument 1823 dw_mci_pull_data(struct dw_mci *host, void *buf, int cnt) argument 1838 dw_mci_read_data_pio(struct dw_mci *host, bool dto) argument 1892 dw_mci_write_data_pio(struct dw_mci *host) argument 1946 dw_mci_cmd_interrupt(struct dw_mci *host, u32 status) argument 1959 struct dw_mci *host = dev_id; local 2061 struct dw_mci *host = container_of(work, struct dw_mci, card_work); local 2195 dw_mci_init_slot(struct dw_mci *host, unsigned int id) argument 2310 dw_mci_init_dma(struct dw_mci *host) argument 2351 dw_mci_ctrl_reset(struct dw_mci *host, u32 reset) argument 2374 dw_mci_reset(struct dw_mci *host) argument 2458 dw_mci_parse_dt(struct dw_mci *host) argument 2508 dw_mci_parse_dt(struct dw_mci *host) argument 2514 dw_mci_probe(struct dw_mci *host) argument 2748 dw_mci_remove(struct dw_mci *host) argument 2784 dw_mci_suspend(struct dw_mci *host) argument 2790 dw_mci_resume(struct dw_mci *host) argument [all...] |
H A D | omap_hsmmc.c | 2 * drivers/mmc/host/omap_hsmmc.c 36 #include <linux/mmc/host.h> 158 #define mmc_slot(host) (host->pdata->slots[host->slot_id]) 231 static void omap_hsmmc_start_dma_transfer(struct omap_hsmmc_host *host); 235 struct omap_hsmmc_host *host = dev_get_drvdata(dev); local 236 struct omap_mmc_platform_data *mmc = host->pdata; 244 struct omap_hsmmc_host *host = dev_get_drvdata(dev); local 245 struct omap_mmc_platform_data *mmc = host 253 struct omap_hsmmc_host *host = dev_get_drvdata(dev); local 264 struct omap_hsmmc_host *host = dev_get_drvdata(dev); local 273 struct omap_hsmmc_host *host = dev_get_drvdata(dev); local 292 struct omap_hsmmc_host *host = local 373 omap_hsmmc_reg_get(struct omap_hsmmc_host *host) argument 424 omap_hsmmc_reg_put(struct omap_hsmmc_host *host) argument 436 omap_hsmmc_reg_get(struct omap_hsmmc_host *host) argument 441 omap_hsmmc_reg_put(struct omap_hsmmc_host *host) argument 506 omap_hsmmc_start_clock(struct omap_hsmmc_host *host) argument 515 omap_hsmmc_stop_clock(struct omap_hsmmc_host *host) argument 523 omap_hsmmc_enable_irq(struct omap_hsmmc_host *host, struct mmc_command *cmd) argument 547 omap_hsmmc_disable_irq(struct omap_hsmmc_host *host) argument 563 calc_divisor(struct omap_hsmmc_host *host, struct mmc_ios *ios) argument 576 omap_hsmmc_set_clock(struct omap_hsmmc_host *host) argument 625 omap_hsmmc_set_bus_width(struct omap_hsmmc_host *host) argument 652 omap_hsmmc_set_bus_mode(struct omap_hsmmc_host *host) argument 670 omap_hsmmc_context_restore(struct omap_hsmmc_host *host) argument 736 omap_hsmmc_context_save(struct omap_hsmmc_host *host) argument 746 omap_hsmmc_context_restore(struct omap_hsmmc_host *host) argument 751 omap_hsmmc_context_save(struct omap_hsmmc_host *host) argument 761 send_init_stream(struct omap_hsmmc_host *host) argument 790 omap_hsmmc_cover_is_closed(struct omap_hsmmc_host *host) argument 804 struct omap_hsmmc_host *host = mmc_priv(mmc); local 817 struct omap_hsmmc_host *host = mmc_priv(mmc); local 828 omap_hsmmc_start_command(struct omap_hsmmc_host *host, struct mmc_command *cmd, struct mmc_data *data) argument 883 omap_hsmmc_get_dma_dir(struct omap_hsmmc_host *host, struct mmc_data *data) argument 891 omap_hsmmc_get_dma_chan(struct omap_hsmmc_host *host, struct mmc_data *data) argument 897 omap_hsmmc_request_done(struct omap_hsmmc_host *host, struct mmc_request *mrq) argument 919 omap_hsmmc_xfer_done(struct omap_hsmmc_host *host, struct mmc_data *data) argument 952 omap_hsmmc_cmd_done(struct omap_hsmmc_host *host, struct mmc_command *cmd) argument 984 omap_hsmmc_dma_cleanup(struct omap_hsmmc_host *host, int errno) argument 1013 omap_hsmmc_dbg_report_irq(struct omap_hsmmc_host *host, u32 status) argument 1038 omap_hsmmc_dbg_report_irq(struct omap_hsmmc_host *host, u32 status) argument 1051 omap_hsmmc_reset_controller_fsm(struct omap_hsmmc_host *host, unsigned long bit) argument 1081 hsmmc_command_incomplete(struct omap_hsmmc_host *host, int err, int end_cmd) argument 1097 omap_hsmmc_do_irq(struct omap_hsmmc_host *host, int status) argument 1148 struct omap_hsmmc_host *host = dev_id; local 1168 struct omap_hsmmc_host *host = dev_id; local 1182 set_sd_bus_power(struct omap_hsmmc_host *host) argument 1202 omap_hsmmc_switch_opcond(struct omap_hsmmc_host *host, int vdd) argument 1260 omap_hsmmc_protect_card(struct omap_hsmmc_host *host) argument 1288 struct omap_hsmmc_host *host = dev_id; local 1310 struct omap_hsmmc_host *host = param; local 1341 omap_hsmmc_pre_dma_transfer(struct omap_hsmmc_host *host, struct mmc_data *data, struct omap_hsmmc_next *next, struct dma_chan *chan) argument 1382 omap_hsmmc_setup_dma_transfer(struct omap_hsmmc_host *host, struct mmc_request *req) argument 1444 set_data_timeout(struct omap_hsmmc_host *host, unsigned int timeout_ns, unsigned int timeout_clks) argument 1481 omap_hsmmc_start_dma_transfer(struct omap_hsmmc_host *host) argument 1500 omap_hsmmc_prepare_data(struct omap_hsmmc_host *host, struct mmc_request *req) argument 1529 struct omap_hsmmc_host *host = mmc_priv(mmc); local 1544 struct omap_hsmmc_host *host = mmc_priv(mmc); local 1565 struct omap_hsmmc_host *host = mmc_priv(mmc); local 1613 struct omap_hsmmc_host *host = mmc_priv(mmc); local 1669 struct omap_hsmmc_host *host = mmc_priv(mmc); local 1678 struct omap_hsmmc_host *host = mmc_priv(mmc); local 1687 struct omap_hsmmc_host *host = mmc_priv(mmc); local 1695 struct omap_hsmmc_host *host = mmc_priv(mmc); local 1728 omap_hsmmc_configure_wake_irq(struct omap_hsmmc_host *host) argument 1790 omap_hsmmc_conf_bus_power(struct omap_hsmmc_host *host) argument 1815 struct omap_hsmmc_host *host = mmc_priv(mmc); local 1824 struct omap_hsmmc_host *host = mmc_priv(mmc); local 1860 struct omap_hsmmc_host *host = mmc_priv(mmc); local 2023 struct omap_hsmmc_host *host = NULL; local 2303 struct omap_hsmmc_host *host = platform_get_drvdata(pdev); local 2331 struct omap_hsmmc_host *host = dev_get_drvdata(dev); local 2341 struct omap_hsmmc_host *host = dev_get_drvdata(dev); local 2350 struct omap_hsmmc_host *host = dev_get_drvdata(dev); local 2380 struct omap_hsmmc_host *host = dev_get_drvdata(dev); local 2413 struct omap_hsmmc_host *host; local 2459 struct omap_hsmmc_host *host; local [all...] |
H A D | android-goldfish.c | 34 #include <linux/mmc/host.h> 58 #define GOLDFISH_MMC_READ(host, addr) (readl(host->reg_base + addr)) 59 #define GOLDFISH_MMC_WRITE(host, addr, x) (writel(x, host->reg_base + addr)) 135 goldfish_mmc_cover_is_open(struct goldfish_mmc_host *host) argument 144 struct goldfish_mmc_host *host = dev_get_drvdata(dev); local 146 return sprintf(buf, "%s\n", goldfish_mmc_cover_is_open(host) ? "open" : 153 goldfish_mmc_start_command(struct goldfish_mmc_host *host, struct mmc_command *cmd) argument 159 host 209 goldfish_mmc_xfer_done(struct goldfish_mmc_host *host, struct mmc_data *data) argument 251 goldfish_mmc_end_of_data(struct goldfish_mmc_host *host, struct mmc_data *data) argument 262 goldfish_mmc_cmd_done(struct goldfish_mmc_host *host, struct mmc_command *cmd) argument 292 struct goldfish_mmc_host *host = (struct goldfish_mmc_host *)dev_id; local 366 goldfish_mmc_prepare_data(struct goldfish_mmc_host *host, struct mmc_request *req) argument 415 struct goldfish_mmc_host *host = mmc_priv(mmc); local 434 struct goldfish_mmc_host *host = mmc_priv(mmc); local 443 struct goldfish_mmc_host *host = mmc_priv(mmc); local 458 struct goldfish_mmc_host *host = NULL; local 547 struct goldfish_mmc_host *host = platform_get_drvdata(pdev); local [all...] |
H A D | msm_sdcc.c | 2 * linux/drivers/mmc/host/msm_sdcc.c - Qualcomm MSM 7X00A SDCC Driver 28 #include <linux/mmc/host.h> 67 msmsdcc_disable_clocks(struct msmsdcc_host *host, int deferr) argument 69 WARN_ON(!host->clks_on); 71 BUG_ON(host->curr.mrq); 74 mod_timer(&host->busclk_timer, jiffies + BUSCLK_TIMEOUT); 76 del_timer_sync(&host->busclk_timer); 80 if (host->clks_on) { 81 clk_disable(host->clk); 82 clk_disable(host 89 msmsdcc_enable_clocks(struct msmsdcc_host *host) argument 112 msmsdcc_readl(struct msmsdcc_host *host, unsigned int reg) argument 118 msmsdcc_writel(struct msmsdcc_host *host, u32 data, unsigned int reg) argument 130 msmsdcc_reset_and_restore(struct msmsdcc_host *host) argument 165 msmsdcc_request_end(struct msmsdcc_host *host, struct mmc_request *mrq) argument 190 msmsdcc_stop_data(struct msmsdcc_host *host) argument 196 msmsdcc_fifo_addr(struct msmsdcc_host *host) argument 202 msmsdcc_start_command_exec(struct msmsdcc_host *host, u32 arg, u32 c) argument 210 struct msmsdcc_host *host = (struct msmsdcc_host *)cmd->data; local 230 struct msmsdcc_host *host = (struct msmsdcc_host *)data; local 310 struct msmsdcc_host *host = dma_data->host; local 319 validate_dma(struct msmsdcc_host *host, struct mmc_data *data) argument 331 msmsdcc_config_dma(struct msmsdcc_host *host, struct mmc_data *data) argument 446 msmsdcc_start_command_deferred(struct msmsdcc_host *host, struct mmc_command *cmd, u32 *c) argument 484 msmsdcc_start_data(struct msmsdcc_host *host, struct mmc_data *data, struct mmc_command *cmd, u32 c) argument 559 msmsdcc_start_command(struct msmsdcc_host *host, struct mmc_command *cmd, u32 c) argument 571 msmsdcc_data_err(struct msmsdcc_host *host, struct mmc_data *data, unsigned int status) argument 599 msmsdcc_pio_read(struct msmsdcc_host *host, char *buffer, unsigned int remain) argument 620 msmsdcc_pio_write(struct msmsdcc_host *host, char *buffer, unsigned int remain, u32 status) argument 648 msmsdcc_spin_on_status(struct msmsdcc_host *host, uint32_t mask, int maxspin) argument 662 struct msmsdcc_host *host = dev_id; local 739 msmsdcc_do_cmdirq(struct msmsdcc_host *host, uint32_t status) argument 789 msmsdcc_handle_irq_data(struct msmsdcc_host *host, u32 status, void __iomem *base) argument 855 struct msmsdcc_host *host = dev_id; local 900 struct msmsdcc_host *host = mmc_priv(mmc); local 948 msmsdcc_setup_gpio(struct msmsdcc_host *host, bool enable) argument 983 struct msmsdcc_host *host = mmc_priv(mmc); local 1049 struct msmsdcc_host *host = mmc_priv(mmc); local 1068 struct msmsdcc_host *host = mmc_priv(mmc); local 1084 struct msmsdcc_host *host = (struct msmsdcc_host *)data; local 1113 struct msmsdcc_host *host = dev_id; local 1123 struct msmsdcc_host *host = dev_id; local 1133 struct msmsdcc_host *host = (struct msmsdcc_host *) _data; local 1140 msmsdcc_init_dma(struct msmsdcc_host *host) argument 1170 struct msmsdcc_host *host; local 1425 struct msmsdcc_host *host = mmc_priv(mmc); local 1443 struct msmsdcc_host *host = mmc_priv(mmc); local [all...] |
H A D | pxamci.c | 2 * linux/drivers/mmc/host/pxa.c - PXA MMCI driver 28 #include <linux/mmc/host.h> 83 static inline void pxamci_init_ocr(struct pxamci_host *host) argument 86 host->vcc = regulator_get_optional(mmc_dev(host->mmc), "vmmc"); 88 if (IS_ERR(host->vcc)) 89 host->vcc = NULL; 91 host->mmc->ocr_avail = mmc_regulator_get_ocrmask(host->vcc); 92 if (host 105 pxamci_set_power(struct pxamci_host *host, unsigned char power_mode, unsigned int vdd) argument 136 pxamci_stop_clock(struct pxamci_host *host) argument 156 pxamci_enable_irq(struct pxamci_host *host, unsigned int mask) argument 166 pxamci_disable_irq(struct pxamci_host *host, unsigned int mask) argument 176 pxamci_setup_data(struct pxamci_host *host, struct mmc_data *data) argument 257 pxamci_start_cmd(struct pxamci_host *host, struct mmc_command *cmd, unsigned int cmdat) argument 291 pxamci_finish_request(struct pxamci_host *host, struct mmc_request *mrq) argument 299 pxamci_cmd_done(struct pxamci_host *host, unsigned int stat) argument 354 pxamci_data_done(struct pxamci_host *host, unsigned int stat) argument 396 struct pxamci_host *host = devid; local 422 struct pxamci_host *host = mmc_priv(mmc); local 451 struct pxamci_host *host = mmc_priv(mmc); local 470 struct pxamci_host *host = mmc_priv(mmc); local 538 pxamci_enable_sdio_irq(struct mmc_host *host, int enable) argument 557 struct pxamci_host *host = devid; local 573 struct pxamci_host *host = mmc_priv(devid); local 626 struct pxamci_host *host = NULL; local 838 struct pxamci_host *host = mmc_priv(mmc); local [all...] |
H A D | davinci_mmc.c | 29 #include <linux/mmc/host.h> 231 static void mmc_davinci_sg_to_buf(struct mmc_davinci_host *host) argument 233 host->buffer_bytes_left = sg_dma_len(host->sg); 234 host->buffer = sg_virt(host->sg); 235 if (host->buffer_bytes_left > host->bytes_left) 236 host->buffer_bytes_left = host 239 davinci_fifo_data_trans(struct mmc_davinci_host *host, unsigned int n) argument 282 mmc_davinci_start_command(struct mmc_davinci_host *host, struct mmc_command *cmd) argument 406 davinci_abort_dma(struct mmc_davinci_host *host) argument 418 mmc_davinci_send_dma_request(struct mmc_davinci_host *host, struct mmc_data *data) argument 478 mmc_davinci_start_dma_transfer(struct mmc_davinci_host *host, struct mmc_data *data) argument 509 davinci_release_dma_channels(struct mmc_davinci_host *host) argument 518 davinci_acquire_dma_channels(struct mmc_davinci_host *host) argument 554 mmc_davinci_prepare_data(struct mmc_davinci_host *host, struct mmc_request *req) argument 630 struct mmc_davinci_host *host = mmc_priv(mmc); local 655 calculate_freq_for_card(struct mmc_davinci_host *host, unsigned int mmc_req_freq) argument 687 struct mmc_davinci_host *host = mmc_priv(mmc); local 731 struct mmc_davinci_host *host = mmc_priv(mmc); local 809 mmc_davinci_xfer_done(struct mmc_davinci_host *host, struct mmc_data *data) argument 845 mmc_davinci_cmd_done(struct mmc_davinci_host *host, struct mmc_command *cmd) argument 872 mmc_davinci_reset_ctrl(struct mmc_davinci_host *host, int val) argument 888 davinci_abort_data(struct mmc_davinci_host *host, struct mmc_data *data) argument 896 struct mmc_davinci_host *host = dev_id; local 911 struct mmc_davinci_host *host = (struct mmc_davinci_host *)dev_id; local 1076 struct mmc_davinci_host *host = mmc_priv(mmc); local 1108 struct mmc_davinci_host *host; local 1127 mmc_davinci_cpufreq_register(struct mmc_davinci_host *host) argument 1135 mmc_davinci_cpufreq_deregister(struct mmc_davinci_host *host) argument 1141 mmc_davinci_cpufreq_register(struct mmc_davinci_host *host) argument 1146 mmc_davinci_cpufreq_deregister(struct mmc_davinci_host *host) argument 1150 init_mmcsd_host(struct mmc_davinci_host *host) argument 1232 struct mmc_davinci_host *host = NULL; local 1407 struct mmc_davinci_host *host = platform_get_drvdata(pdev); local 1436 struct mmc_davinci_host *host = platform_get_drvdata(pdev); local 1448 struct mmc_davinci_host *host = platform_get_drvdata(pdev); local [all...] |
H A D | mxcmmc.c | 2 * linux/drivers/mmc/host/mxcmmc.c - Freescale i.MX MMCI driver 28 #include <linux/mmc/host.h> 197 static inline int is_imx31_mmc(struct mxcmci_host *host) argument 199 return host->devtype == IMX31_MMC; 202 static inline int is_mpc512x_mmc(struct mxcmci_host *host) argument 204 return host->devtype == MPC512X_MMC; 207 static inline u32 mxcmci_readl(struct mxcmci_host *host, int reg) argument 210 return ioread32be(host->base + reg); 212 return readl(host->base + reg); 215 static inline void mxcmci_writel(struct mxcmci_host *host, u3 argument 223 mxcmci_readw(struct mxcmci_host *host, int reg) argument 231 mxcmci_writew(struct mxcmci_host *host, u16 val, int reg) argument 241 mxcmci_set_power(struct mxcmci_host *host, unsigned int vdd) argument 256 mxcmci_use_dma(struct mxcmci_host *host) argument 261 mxcmci_softreset(struct mxcmci_host *host) argument 301 mxcmci_setup_data(struct mxcmci_host *host, struct mmc_data *data) argument 370 struct mxcmci_host *host = data; local 386 mxcmci_start_cmd(struct mxcmci_host *host, struct mmc_command *cmd, unsigned int cmdat) argument 439 mxcmci_finish_request(struct mxcmci_host *host, struct mmc_request *req) argument 458 mxcmci_finish_data(struct mxcmci_host *host, unsigned int stat) argument 505 mxcmci_read_response(struct mxcmci_host *host, unsigned int stat) argument 538 mxcmci_poll_status(struct mxcmci_host *host, u32 mask) argument 558 mxcmci_pull(struct mxcmci_host *host, void *_buf, int bytes) argument 587 mxcmci_push(struct mxcmci_host *host, void *_buf, int bytes) argument 619 mxcmci_transfer_data(struct mxcmci_host *host) argument 651 struct mxcmci_host *host = container_of(work, struct mxcmci_host, local 669 mxcmci_data_done(struct mxcmci_host *host, unsigned int stat) argument 708 mxcmci_cmd_done(struct mxcmci_host *host, unsigned int stat) argument 729 struct mxcmci_host *host = devid; local 774 struct mxcmci_host *host = mmc_priv(mmc); local 807 mxcmci_set_clk_rate(struct mxcmci_host *host, unsigned int clk_ios) argument 842 struct mxcmci_host *host = mmc_priv(mmc); local 858 struct mxcmci_host *host = mmc_priv(mmc); local 917 struct mxcmci_host *host = mmc_priv(mmc); local 931 struct mxcmci_host *host = mmc_priv(mmc); local 948 mxcmci_init_card(struct mmc_host *host, struct mmc_card *card) argument 967 struct mxcmci_host *host = param; local 980 struct mxcmci_host *host = mmc_priv(mmc); local 1017 struct mxcmci_host *host; local 1195 struct mxcmci_host *host = mmc_priv(mmc); local 1216 struct mxcmci_host *host = mmc_priv(mmc); local 1226 struct mxcmci_host *host = mmc_priv(mmc); local [all...] |
/drivers/scsi/arm/ |
H A D | acornscsi.c | 179 static void acornscsi_done(AS_Host *host, struct scsi_cmnd **SCpntp, 181 static int acornscsi_reconnect_finish(AS_Host *host); 182 static void acornscsi_dma_cleanup(AS_Host *host); 183 static void acornscsi_abortcmd(AS_Host *host, unsigned char tag); 198 static inline void sbic_arm_write(AS_Host *host, unsigned int reg, unsigned int value) argument 200 writeb(reg, host->base + SBIC_REGIDX); 201 writeb(value, host->base + SBIC_REGVAL); 204 static inline int sbic_arm_read(AS_Host *host, unsigned int reg) argument 207 return readl(host->base + SBIC_REGIDX) & 255; 208 writeb(reg, host 224 dmac_address(AS_Host *host) argument 232 acornscsi_dumpdma(AS_Host *host, char *where) argument 256 acornscsi_sbic_xfcount(AS_Host *host) argument 268 acornscsi_sbic_wait(AS_Host *host, int stat_mask, int stat, int timeout, char *msg) argument 287 acornscsi_sbic_issuecmd(AS_Host *host, int command) argument 313 acornscsi_resetcard(AS_Host *host) argument 498 acornscsi_dumplogline(AS_Host *host, int target, int line) argument 545 acornscsi_dumplog(AS_Host *host, int target) argument 560 acornscsi_target(AS_Host *host) argument 697 acornscsi_kick(AS_Host *host) argument 790 acornscsi_done(AS_Host *host, struct scsi_cmnd **SCpntp, unsigned int result) argument 885 acornscsi_data_updateptr(AS_Host *host, struct scsi_pointer *SCp, unsigned int length) argument 905 acornscsi_data_read(AS_Host *host, char *ptr, unsigned int start_addr, unsigned int length) argument 950 acornscsi_data_write(AS_Host *host, char *ptr, unsigned int start_addr, unsigned int length) argument 996 acornscsi_dma_stop(AS_Host *host) argument 1015 acornscsi_dma_setup(AS_Host *host, dmadir_t direction) argument 1076 acornscsi_dma_cleanup(AS_Host *host) argument 1134 acornscsi_dma_intr(AS_Host *host) argument 1219 acornscsi_dma_xfer(AS_Host *host) argument 1235 acornscsi_dma_adjust(AS_Host *host) argument 1276 acornscsi_write_pio(AS_Host *host, char *bytes, int *ptr, int len, unsigned int max_timeout) argument 1306 acornscsi_sendcommand(AS_Host *host) argument 1324 acornscsi_sendmessage(AS_Host *host) argument 1407 acornscsi_readstatusbyte(AS_Host *host) argument 1420 acornscsi_readmessagebyte(AS_Host *host) argument 1444 acornscsi_message(AS_Host *host) argument 1682 acornscsi_buildmessages(AS_Host *host) argument 1735 acornscsi_starttransfer(AS_Host *host) argument 1767 acornscsi_reconnect(AS_Host *host) argument 1827 acornscsi_reconnect_finish(AS_Host *host) argument 1886 acornscsi_disconnect_unexpected(AS_Host *host) argument 1904 acornscsi_abortcmd(AS_Host *host, unsigned char tag) argument 1930 acornscsi_sbicintr(AS_Host *host, int in_irq) argument 2423 AS_Host *host = (AS_Host *)dev_id; local 2472 AS_Host *host = (AS_Host *)SCpnt->device->host->hostdata; local 2554 acornscsi_do_abort(AS_Host *host, struct scsi_cmnd *SCpnt) argument 2648 AS_Host *host = (AS_Host *) SCpnt->device->host->hostdata; local 2729 AS_Host *host = (AS_Host *)SCpnt->device->host->hostdata; local 2772 acornscsi_info(struct Scsi_Host *host) argument 2797 AS_Host *host; local 2897 struct Scsi_Host *host; local 2963 struct Scsi_Host *host = ecard_get_drvdata(ec); local [all...] |
/drivers/scsi/ |
H A D | initio.c | 28 * This is the Linux low-level SCSI driver for Initio INI-9X00U/UW SCSI host 147 static struct scsi_ctrl_blk *initio_find_busy_scb(struct initio_host * host, u16 tarlun); 148 static struct scsi_ctrl_blk *initio_find_done_scb(struct initio_host * host); 150 static int tulip_main(struct initio_host * host); 152 static int initio_next_state(struct initio_host * host); 153 static int initio_state_1(struct initio_host * host); 154 static int initio_state_2(struct initio_host * host); 155 static int initio_state_3(struct initio_host * host); 156 static int initio_state_4(struct initio_host * host); 157 static int initio_state_5(struct initio_host * host); 537 initio_stop_bm(struct initio_host * host) argument 557 initio_reset_scsi(struct initio_host * host, int seconds) argument 589 initio_init(struct initio_host * host, u8 *bios_addr) argument 686 initio_alloc_scb(struct initio_host *host) argument 713 initio_release_scb(struct initio_host * host, struct scsi_ctrl_blk * cmnd) argument 735 initio_append_pend_scb(struct initio_host * host, struct scsi_ctrl_blk * scbp) argument 753 initio_push_pend_scb(struct initio_host * host, struct scsi_ctrl_blk * scbp) argument 768 initio_find_first_pend_scb(struct initio_host * host) argument 795 initio_unlink_pend_scb(struct initio_host * host, struct scsi_ctrl_blk * scb) argument 822 initio_append_busy_scb(struct initio_host * host, struct scsi_ctrl_blk * scbp) argument 844 initio_pop_busy_scb(struct initio_host * host) argument 865 initio_unlink_busy_scb(struct initio_host * host, struct scsi_ctrl_blk * scb) argument 897 initio_find_busy_scb(struct initio_host * host, u16 tarlun) argument 918 initio_append_done_scb(struct initio_host * host, struct scsi_ctrl_blk * scbp) argument 935 initio_find_done_scb(struct initio_host * host) argument 950 initio_abort_srb(struct initio_host * host, struct scsi_cmnd *srbp) argument 1033 initio_bad_seq(struct initio_host * host) argument 1052 initio_exec_scb(struct initio_host * host, struct scsi_ctrl_blk * scb) argument 1083 initio_isr(struct initio_host * host) argument 1101 tulip_main(struct initio_host * host) argument 1173 tulip_scsi(struct initio_host * host) argument 1278 initio_next_state(struct initio_host * host) argument 1324 initio_state_1(struct initio_host * host) argument 1379 initio_state_2(struct initio_host * host) argument 1408 initio_state_3(struct initio_host * host) argument 1475 initio_state_4(struct initio_host * host) argument 1539 initio_state_5(struct initio_host * host) argument 1628 initio_state_6(struct initio_host * host) argument 1673 initio_state_7(struct initio_host * host) argument 1703 initio_xfer_data_in(struct initio_host * host) argument 1735 initio_xfer_data_out(struct initio_host * host) argument 1759 initio_xpad_in(struct initio_host * host) argument 1783 initio_xpad_out(struct initio_host * host) argument 1808 initio_status_msg(struct initio_host * host) argument 1858 int_initio_busfree(struct initio_host * host) argument 1892 int_initio_scsi_rst(struct initio_host * host) argument 1928 int_initio_resel(struct initio_host * host) argument 2009 int_initio_bad_seq(struct initio_host * host) argument 2034 initio_msgout_abort_targ(struct initio_host * host) argument 2057 initio_msgout_abort_tag(struct initio_host * host) argument 2079 initio_msgin(struct initio_host * host) argument 2129 initio_msgout_reject(struct initio_host * host) argument 2144 initio_msgout_ide(struct initio_host * host) argument 2151 initio_msgin_extend(struct initio_host * host) argument 2240 initio_msgin_sync(struct initio_host * host) argument 2270 wdtr_done(struct initio_host * host) argument 2285 initio_sync_done(struct initio_host * host) argument 2307 initio_post_scsi_rst(struct initio_host * host) argument 2335 initio_select_atn_stop(struct initio_host * host, struct scsi_ctrl_blk * scb) argument 2345 initio_select_atn(struct initio_host * host, struct scsi_ctrl_blk * scb) argument 2360 initio_select_atn3(struct initio_host * host, struct scsi_ctrl_blk * scb) argument 2384 initio_bus_device_reset(struct initio_host * host) argument 2430 initio_msgin_accept(struct initio_host * host) argument 2436 wait_tulip(struct initio_host * host) argument 2484 initio_wait_disc(struct initio_host * host) argument 2503 initio_wait_done_disc(struct initio_host * host) argument 2562 initio_build_scb(struct initio_host * host, struct scsi_ctrl_blk * cblk, struct scsi_cmnd * cmnd) argument 2645 struct initio_host *host = (struct initio_host *) cmd->device->host->hostdata; local 2670 struct initio_host *host; local 2697 struct initio_host *host; /* Point to Host adapter control block */ local 2771 struct initio_host *host; local 2844 struct initio_host *host; local 2970 struct Scsi_Host *host = pci_get_drvdata(pdev); local [all...] |
/drivers/gpu/host1x/ |
H A D | dev.h | 39 int (*init)(struct host1x_channel *channel, struct host1x *host, 62 void (*show_channel_cdma)(struct host1x *host, 65 void (*show_channel_fifo)(struct host1x *host, 68 void (*show_mlocks)(struct host1x *host, struct output *output); 82 int (*init_host_sync)(struct host1x *host, u32 cpm, 85 struct host1x *host, u32 id, u32 thresh); 86 void (*enable_syncpt_intr)(struct host1x *host, u32 id); 87 void (*disable_syncpt_intr)(struct host1x *host, u32 id); 88 void (*disable_all_syncpt_intrs)(struct host1x *host); 89 int (*free_syncpt_irq)(struct host1x *host); 141 host1x_hw_syncpt_restore(struct host1x *host, struct host1x_syncpt *sp) argument 147 host1x_hw_syncpt_restore_wait_base(struct host1x *host, struct host1x_syncpt *sp) argument 153 host1x_hw_syncpt_load_wait_base(struct host1x *host, struct host1x_syncpt *sp) argument 159 host1x_hw_syncpt_load(struct host1x *host, struct host1x_syncpt *sp) argument 165 host1x_hw_syncpt_cpu_incr(struct host1x *host, struct host1x_syncpt *sp) argument 171 host1x_hw_syncpt_patch_wait(struct host1x *host, struct host1x_syncpt *sp, void *patch_addr) argument 178 host1x_hw_intr_init_host_sync(struct host1x *host, u32 cpm, void (*syncpt_thresh_work)(struct work_struct *)) argument 184 host1x_hw_intr_set_syncpt_threshold(struct host1x *host, u32 id, u32 thresh) argument 190 host1x_hw_intr_enable_syncpt_intr(struct host1x *host, u32 id) argument 196 host1x_hw_intr_disable_syncpt_intr(struct host1x *host, u32 id) argument 202 host1x_hw_intr_disable_all_syncpt_intrs(struct host1x *host) argument 207 host1x_hw_intr_free_syncpt_irq(struct host1x *host) argument 212 host1x_hw_channel_init(struct host1x *host, struct host1x_channel *channel, int chid) argument 219 host1x_hw_channel_submit(struct host1x *host, struct host1x_job *job) argument 225 host1x_hw_cdma_start(struct host1x *host, struct host1x_cdma *cdma) argument 231 host1x_hw_cdma_stop(struct host1x *host, struct host1x_cdma *cdma) argument 237 host1x_hw_cdma_flush(struct host1x *host, struct host1x_cdma *cdma) argument 243 host1x_hw_cdma_timeout_init(struct host1x *host, struct host1x_cdma *cdma, u32 syncpt_id) argument 250 host1x_hw_cdma_timeout_destroy(struct host1x *host, struct host1x_cdma *cdma) argument 256 host1x_hw_cdma_freeze(struct host1x *host, struct host1x_cdma *cdma) argument 262 host1x_hw_cdma_resume(struct host1x *host, struct host1x_cdma *cdma, u32 getptr) argument 268 host1x_hw_cdma_timeout_cpu_incr(struct host1x *host, struct host1x_cdma *cdma, u32 getptr, u32 syncpt_incrs, u32 syncval, u32 nr_slots) argument 278 host1x_hw_pushbuffer_init(struct host1x *host, struct push_buffer *pb) argument 284 host1x_hw_debug_init(struct host1x *host, struct dentry *de) argument 290 host1x_hw_show_channel_cdma(struct host1x *host, struct host1x_channel *channel, struct output *o) argument 297 host1x_hw_show_channel_fifo(struct host1x *host, struct host1x_channel *channel, struct output *o) argument 304 host1x_hw_show_mlocks(struct host1x *host, struct output *o) argument [all...] |
/drivers/block/ |
H A D | mg_disk.c | 149 static bool mg_end_request(struct mg_host *host, int err, unsigned int nr_bytes) argument 151 if (__blk_end_request(host->req, err, nr_bytes)) 154 host->req = NULL; 158 static bool mg_end_request_cur(struct mg_host *host, int err) argument 160 return mg_end_request(host, err, blk_rq_cur_bytes(host->req)); 164 struct mg_host *host) 168 if (host->req) 169 name = host->req->rq_disk->disk_name; 188 host 163 mg_dump_status(const char *msg, unsigned int stat, struct mg_host *host) argument 213 mg_wait(struct mg_host *host, u32 expect, u32 msec) argument 282 mg_unexpected_intr(struct mg_host *host) argument 291 struct mg_host *host = dev_id; local 343 mg_get_disk_id(struct mg_host *host) argument 403 mg_disk_init(struct mg_host *host) argument 443 mg_bad_rw_intr(struct mg_host *host) argument 451 mg_out(struct mg_host *host, unsigned int sect_num, unsigned int sect_cnt, unsigned int cmd, void (*intr_addr)(struct mg_host *)) argument 480 mg_read_one(struct mg_host *host, struct request *req) argument 492 struct mg_host *host = req->rq_disk->private_data; local 515 mg_write_one(struct mg_host *host, struct request *req) argument 527 struct mg_host *host = req->rq_disk->private_data; local 564 mg_read_intr(struct mg_host *host) argument 601 mg_write_intr(struct mg_host *host) argument 641 struct mg_host *host = (struct mg_host *)data; local 664 struct mg_host *host = q->queuedata; local 685 mg_issue_req(struct request *req, struct mg_host *host, unsigned int sect_num, unsigned int sect_cnt) argument 725 struct mg_host *host = q->queuedata; local 771 struct mg_host *host = bdev->bd_disk->private_data; local 787 struct mg_host *host = prv_data->host; local 811 struct mg_host *host = prv_data->host; local 834 struct mg_host *host; local 1040 struct mg_host *host = prv_data->host; local [all...] |
/drivers/memstick/host/ |
H A D | jmb38x_ms.c | 157 static unsigned int jmb38x_ms_read_data(struct jmb38x_ms_host *host, argument 162 while (host->io_pos && length) { 163 buf[off++] = host->io_word[0] & 0xff; 164 host->io_word[0] >>= 8; 166 host->io_pos--; 172 while (!(STATUS_FIFO_EMPTY & readl(host->addr + STATUS))) { 175 *(unsigned int *)(buf + off) = __raw_readl(host->addr + DATA); 181 && !(STATUS_FIFO_EMPTY & readl(host->addr + STATUS))) { 182 host->io_word[0] = readl(host 195 jmb38x_ms_read_reg_data(struct jmb38x_ms_host *host, unsigned char *buf, unsigned int length) argument 221 jmb38x_ms_write_data(struct jmb38x_ms_host *host, unsigned char *buf, unsigned int length) argument 274 jmb38x_ms_write_reg_data(struct jmb38x_ms_host *host, unsigned char *buf, unsigned int length) argument 300 jmb38x_ms_transfer_data(struct jmb38x_ms_host *host) argument 369 struct jmb38x_ms_host *host = memstick_priv(msh); local 472 struct jmb38x_ms_host *host = memstick_priv(msh); local 523 struct jmb38x_ms_host *host = memstick_priv(msh); local 598 struct jmb38x_ms_host *host = memstick_priv(msh); local 613 struct jmb38x_ms_host *host = memstick_priv(msh); local 634 struct jmb38x_ms_host *host = memstick_priv(msh); local 639 jmb38x_ms_reset(struct jmb38x_ms_host *host) argument 684 struct jmb38x_ms_host *host = memstick_priv(msh); local 873 struct jmb38x_ms_host *host; local 914 struct jmb38x_ms_host *host = memstick_priv(msh); local 996 struct jmb38x_ms_host *host; local [all...] |