Lines Matching defs:sdhci_slot
349 struct sdhci_slot { struct
350 struct mtx mtx; /* Slot mutex */
351 u_int quirks; /* Chip specific quirks */
352 u_int caps; /* Override SDHCI_CAPABILITIES */
353 u_int caps2; /* Override SDHCI_CAPABILITIES2 */
354 device_t bus; /* Bus device */
355 device_t dev; /* Slot device */
356 u_char num; /* Slot number */
357 u_char opt; /* Slot options */
365 u_char version;
366 int timeout; /* Transfer timeout */
367 uint32_t max_clk; /* Max possible freq */
368 uint32_t timeout_clk; /* Timeout freq */
369 bus_dma_tag_t dmatag;
370 bus_dmamap_t dmamap;
371 u_char *dmamem;
372 bus_addr_t paddr; /* DMA buffer address */
373 uint32_t sdma_bbufsz; /* SDMA bounce buffer size */
374 uint8_t sdma_boundary; /* SDMA boundary */
375 struct task card_task; /* Card presence check task */
377 card_delayed_task;/* Card insert delayed task */
378 struct callout card_poll_callout;/* Card present polling callout */
379 struct callout timeout_callout;/* Card command/data response timeout */
380 struct callout retune_callout; /* Re-tuning mode 1 callout */
381 struct mmc_host host; /* Host parameters */
382 struct mmc_request *req; /* Current request */
383 struct mmc_command *curcmd; /* Current command of current request */
385 struct mmc_request *tune_req; /* Tuning request */
386 struct mmc_command *tune_cmd; /* Tuning command of tuning request */
387 struct mmc_data *tune_data; /* Tuning data of tuning command */
388 uint32_t retune_ticks; /* Re-tuning callout ticks [hz] */
389 uint32_t intmask; /* Current interrupt mask */
390 uint32_t clock; /* Current clock freq. */
391 size_t offset; /* Data buffer offset */
392 uint8_t hostctrl; /* Current host control register */
393 uint8_t retune_count; /* Controller re-tuning count [s] */
394 uint8_t retune_mode; /* Controller re-tuning mode */
398 uint8_t retune_req; /* Re-tuning request status */
401 u_char power; /* Current power */
425 int sdhci_init_slot(device_t dev, struct sdhci_slot *slot, int num); argument