diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/mfd/rtsx_pci.h | 1 | ||||
| -rw-r--r-- | include/linux/mmc/host.h | 11 | ||||
| -rw-r--r-- | include/linux/mmc/sdhci-pci-data.h | 3 |
3 files changed, 11 insertions, 4 deletions
diff --git a/include/linux/mfd/rtsx_pci.h b/include/linux/mfd/rtsx_pci.h index 116816fb9110..7815d8db7eca 100644 --- a/include/linux/mfd/rtsx_pci.h +++ b/include/linux/mfd/rtsx_pci.h | |||
| @@ -334,6 +334,7 @@ | |||
| 334 | #define DCM_DRP_RD_DATA_H 0xFC29 | 334 | #define DCM_DRP_RD_DATA_H 0xFC29 |
| 335 | #define SD_VPCLK0_CTL 0xFC2A | 335 | #define SD_VPCLK0_CTL 0xFC2A |
| 336 | #define SD_VPCLK1_CTL 0xFC2B | 336 | #define SD_VPCLK1_CTL 0xFC2B |
| 337 | #define PHASE_SELECT_MASK 0x1F | ||
| 337 | #define SD_DCMPS0_CTL 0xFC2C | 338 | #define SD_DCMPS0_CTL 0xFC2C |
| 338 | #define SD_DCMPS1_CTL 0xFC2D | 339 | #define SD_DCMPS1_CTL 0xFC2D |
| 339 | #define SD_VPTX_CTL SD_VPCLK0_CTL | 340 | #define SD_VPTX_CTL SD_VPCLK0_CTL |
diff --git a/include/linux/mmc/host.h b/include/linux/mmc/host.h index 9a43763a68ad..e7743eca1021 100644 --- a/include/linux/mmc/host.h +++ b/include/linux/mmc/host.h | |||
| @@ -255,6 +255,10 @@ struct mmc_supply { | |||
| 255 | struct regulator *vqmmc; /* Optional Vccq supply */ | 255 | struct regulator *vqmmc; /* Optional Vccq supply */ |
| 256 | }; | 256 | }; |
| 257 | 257 | ||
| 258 | struct mmc_ctx { | ||
| 259 | struct task_struct *task; | ||
| 260 | }; | ||
| 261 | |||
| 258 | struct mmc_host { | 262 | struct mmc_host { |
| 259 | struct device *parent; | 263 | struct device *parent; |
| 260 | struct device class_dev; | 264 | struct device class_dev; |
| @@ -350,6 +354,8 @@ struct mmc_host { | |||
| 350 | #define MMC_CAP2_CQE (1 << 23) /* Has eMMC command queue engine */ | 354 | #define MMC_CAP2_CQE (1 << 23) /* Has eMMC command queue engine */ |
| 351 | #define MMC_CAP2_CQE_DCMD (1 << 24) /* CQE can issue a direct command */ | 355 | #define MMC_CAP2_CQE_DCMD (1 << 24) /* CQE can issue a direct command */ |
| 352 | 356 | ||
| 357 | int fixed_drv_type; /* fixed driver type for non-removable media */ | ||
| 358 | |||
| 353 | mmc_pm_flag_t pm_caps; /* supported pm features */ | 359 | mmc_pm_flag_t pm_caps; /* supported pm features */ |
| 354 | 360 | ||
| 355 | /* host specific block data */ | 361 | /* host specific block data */ |
| @@ -388,8 +394,9 @@ struct mmc_host { | |||
| 388 | struct mmc_card *card; /* device attached to this host */ | 394 | struct mmc_card *card; /* device attached to this host */ |
| 389 | 395 | ||
| 390 | wait_queue_head_t wq; | 396 | wait_queue_head_t wq; |
| 391 | struct task_struct *claimer; /* task that has host claimed */ | 397 | struct mmc_ctx *claimer; /* context that has host claimed */ |
| 392 | int claim_cnt; /* "claim" nesting count */ | 398 | int claim_cnt; /* "claim" nesting count */ |
| 399 | struct mmc_ctx default_ctx; /* default context */ | ||
| 393 | 400 | ||
| 394 | struct delayed_work detect; | 401 | struct delayed_work detect; |
| 395 | int detect_change; /* card detect flag */ | 402 | int detect_change; /* card detect flag */ |
| @@ -469,6 +476,8 @@ void mmc_detect_change(struct mmc_host *, unsigned long delay); | |||
| 469 | void mmc_request_done(struct mmc_host *, struct mmc_request *); | 476 | void mmc_request_done(struct mmc_host *, struct mmc_request *); |
| 470 | void mmc_command_done(struct mmc_host *host, struct mmc_request *mrq); | 477 | void mmc_command_done(struct mmc_host *host, struct mmc_request *mrq); |
| 471 | 478 | ||
| 479 | void mmc_cqe_request_done(struct mmc_host *host, struct mmc_request *mrq); | ||
| 480 | |||
| 472 | static inline void mmc_signal_sdio_irq(struct mmc_host *host) | 481 | static inline void mmc_signal_sdio_irq(struct mmc_host *host) |
| 473 | { | 482 | { |
| 474 | host->ops->enable_sdio_irq(host, 0); | 483 | host->ops->enable_sdio_irq(host, 0); |
diff --git a/include/linux/mmc/sdhci-pci-data.h b/include/linux/mmc/sdhci-pci-data.h index 36f986d4a59a..1d42872d22f3 100644 --- a/include/linux/mmc/sdhci-pci-data.h +++ b/include/linux/mmc/sdhci-pci-data.h | |||
| @@ -15,7 +15,4 @@ struct sdhci_pci_data { | |||
| 15 | 15 | ||
| 16 | extern struct sdhci_pci_data *(*sdhci_pci_get_data)(struct pci_dev *pdev, | 16 | extern struct sdhci_pci_data *(*sdhci_pci_get_data)(struct pci_dev *pdev, |
| 17 | int slotno); | 17 | int slotno); |
| 18 | |||
| 19 | extern int sdhci_pci_spt_drive_strength; | ||
| 20 | |||
| 21 | #endif | 18 | #endif |
