Lines Matching defs:mmc_host

180 struct mmc_host {  struct
184 const struct mmc_host_ops *ops; argument
185 unsigned int f_min;
186 unsigned int f_max;
187 unsigned int f_init;
188 u32 ocr_avail;
189 u32 ocr_avail_sdio; /* SDIO-specific OCR */
190 u32 ocr_avail_sd; /* SD-specific OCR */
191 u32 ocr_avail_mmc; /* MMC-specific OCR */
192 struct notifier_block pm_notify;
212 unsigned long caps; /* Host capabilities */
249 unsigned int caps2; /* More host capabilities */
262 mmc_pm_flag_t pm_caps; /* supported pm features */
263 unsigned int power_notify_type;
269 int clk_requests; /* internal reference counter */
270 unsigned int clk_delay; /* number of MCI clk hold cycles */
271 bool clk_gated; /* clock gated */
272 struct delayed_work clk_gate_work; /* delayed clock gate */
273 unsigned int clk_old; /* old clock value cache */
274 spinlock_t clk_lock; /* lock for clk fields */
275 struct mutex clk_gate_mutex; /* mutex for clock gating */
276 struct device_attribute clkgate_delay_attr;
277 unsigned long clkgate_delay;
281 unsigned int max_seg_size; /* see blk_queue_max_segment_size */
282 unsigned short max_segs; /* see blk_queue_max_segments */
283 unsigned short unused;
284 unsigned int max_req_size; /* maximum number of bytes in one req */
285 unsigned int max_blk_size; /* maximum size of one mmc block */
286 unsigned int max_blk_count; /* maximum number of blocks in one req */
287 unsigned int max_discard_to; /* max. discard timeout in ms */
290 spinlock_t lock; /* lock for claim and bus ops */
292 struct mmc_ios ios; /* current io bus settings */
293 u32 ocr; /* the current OCR setting */
296 unsigned int use_spi_crc:1;
297 unsigned int claimed:1; /* host exclusively claimed */
298 unsigned int bus_dead:1; /* bus has been released */
300 unsigned int removed:1; /* host is being removed */
304 int enabled; /* host is enabled */
305 int rescan_disable; /* disable card detection */
306 int nesting_cnt; /* "enable" nesting count */
307 int en_dis_recurs; /* detect recursion */
308 unsigned int disable_delay; /* disable delay in msecs */
309 struct delayed_work disable; /* disabling work */
311 struct mmc_card *card; /* device attached to this host */
313 wait_queue_head_t wq;
314 struct task_struct *claimer; /* task that has host claimed */
315 int claim_cnt; /* "claim" nesting count */
317 struct delayed_work detect;
318 int detect_change; /* card detect flag */
319 struct mmc_hotplug hotplug;
321 const struct mmc_bus_ops *bus_ops; /* current bus driver */
322 unsigned int bus_refs; /* reference counter */
324 unsigned int sdio_irqs;
325 struct task_struct *sdio_irq_thread;
326 atomic_t sdio_irq_thread_abort;
351 extern struct mmc_host *mmc_alloc_host(int extra, struct device *); argument