Lines Matching defs:mmc_host

199 struct mmc_host {  struct
203 const struct mmc_host_ops *ops; argument
204 struct mmc_pwrseq *pwrseq;
205 unsigned int f_min;
206 unsigned int f_max;
207 unsigned int f_init;
208 u32 ocr_avail;
209 u32 ocr_avail_sdio; /* SDIO-specific OCR */
210 u32 ocr_avail_sd; /* SD-specific OCR */
211 u32 ocr_avail_mmc; /* MMC-specific OCR */
212 struct notifier_block pm_notify;
213 u32 max_current_330;
214 u32 max_current_300;
215 u32 max_current_180;
235 u32 caps; /* Host capabilities */
266 u32 caps2; /* More host capabilities */
289 mmc_pm_flag_t pm_caps; /* supported pm features */
292 int clk_requests; /* internal reference counter */
293 unsigned int clk_delay; /* number of MCI clk hold cycles */
294 bool clk_gated; /* clock gated */
295 struct delayed_work clk_gate_work; /* delayed clock gate */
296 unsigned int clk_old; /* old clock value cache */
297 spinlock_t clk_lock; /* lock for clk fields */
298 struct mutex clk_gate_mutex; /* mutex for clock gating */
299 struct device_attribute clkgate_delay_attr;
300 unsigned long clkgate_delay;
304 unsigned int max_seg_size; /* see blk_queue_max_segment_size */
305 unsigned short max_segs; /* see blk_queue_max_segments */
306 unsigned short unused;
307 unsigned int max_req_size; /* maximum number of bytes in one req */
308 unsigned int max_blk_size; /* maximum size of one mmc block */
309 unsigned int max_blk_count; /* maximum number of blocks in one req */
310 unsigned int max_busy_timeout; /* max busy timeout in ms */
313 spinlock_t lock; /* lock for claim and bus ops */
315 struct mmc_ios ios; /* current io bus settings */
318 unsigned int use_spi_crc:1;
319 unsigned int claimed:1; /* host exclusively claimed */
320 unsigned int bus_dead:1; /* bus has been released */
322 unsigned int removed:1; /* host is being removed */
325 int rescan_disable; /* disable card detection */
326 int rescan_entered; /* used with nonremovable devices */
328 bool trigger_card_event; /* card_event necessary */
330 struct mmc_card *card; /* device attached to this host */
332 wait_queue_head_t wq;
333 struct task_struct *claimer; /* task that has host claimed */
334 int claim_cnt; /* "claim" nesting count */
336 struct delayed_work detect;
337 int detect_change; /* card detect flag */
338 struct mmc_slot slot;
340 const struct mmc_bus_ops *bus_ops; /* current bus driver */
341 unsigned int bus_refs; /* reference counter */
343 unsigned int sdio_irqs;
344 struct task_struct *sdio_irq_thread;
345 bool sdio_irq_pending;
346 atomic_t sdio_irq_thread_abort;
348 mmc_pm_flag_t pm_flags; /* requested pm features */
350 struct led_trigger *led; /* activity led */
376 struct mmc_host *mmc_alloc_host(int extra, struct device *); argument