Home
last modified time | relevance | path

Searched defs:card (Results 1 – 25 of 57) sorted by relevance

123

/device/soc/hpmicro/sdk/hpm_sdk/middleware/hpm_sdmmc/lib/
Dhpm_sdmmc_sd.c83 static hpm_stat_t sd_send_cmd(sd_card_t *card, sdmmchost_cmd_t *cmd) in sd_send_cmd()
96 static hpm_stat_t sd_transfer(sd_card_t *card, sdmmchost_xfer_t *content) in sd_transfer()
122 static hpm_stat_t sd_send_card_status(sd_card_t *card) in sd_send_card_status()
141 static hpm_stat_t sd_switch_voltage(sd_card_t *card) in sd_switch_voltage()
156 static hpm_stat_t sd_send_if_cond(sd_card_t *card) in sd_send_if_cond()
177 static void sd_decode_csd(sd_card_t *card, uint32_t *raw_csd) in sd_decode_csd()
271 static hpm_stat_t sd_send_csd(sd_card_t *card) in sd_send_csd()
293 static hpm_stat_t sd_all_send_cid(sd_card_t *card) in sd_all_send_cid()
311 static hpm_stat_t sd_send_rca(sd_card_t *card) in sd_send_rca()
328 static hpm_stat_t sd_error_recovery(sd_card_t *card) in sd_error_recovery()
[all …]
/device/soc/rockchip/common/sdk_linux/drivers/mmc/core/
Dsdio.c71 static int sdio_init_func(struct mmc_card *card, unsigned int fn) in sdio_init_func()
116 static int sdio_read_cccr(struct mmc_card *card, u32 ocr) in sdio_read_cccr()
226 static int sdio_enable_wide(struct mmc_card *card) in sdio_enable_wide()
266 static int sdio_disable_cd(struct mmc_card *card) in sdio_disable_cd()
289 static int sdio_disable_wide(struct mmc_card *card) in sdio_disable_wide()
324 static int sdio_enable_4bit_bus(struct mmc_card *card) in sdio_enable_4bit_bus()
354 static int mmc_sdio_switch_hs(struct mmc_card *card, int enable) in mmc_sdio_switch_hs()
389 static int sdio_enable_hs(struct mmc_card *card) in sdio_enable_hs()
406 static unsigned mmc_sdio_get_max_clock(struct mmc_card *card) in mmc_sdio_get_max_clock()
445 static void sdio_select_driver_type(struct mmc_card *card) in sdio_select_driver_type()
[all …]
Dblock.c236 struct mmc_card *card = md->queue.card; in power_ro_lock_show() local
426 static int card_busy_detect(struct mmc_card *card, unsigned int timeout_ms, u32 *resp_errs) in card_busy_detect()
459 static int mmc_blk_ioctl_cmd_ext(struct mmc_card *card, struct mmc_blk_data *md, struct mmc_blk_ioc… in mmc_blk_ioctl_cmd_ext()
622 struct mmc_card *card; in mmc_blk_ioctl_cmd() local
668 struct mmc_card *card; in mmc_blk_ioctl_multi_cmd() local
805 static int mmc_blk_part_switch_pre(struct mmc_card *card, unsigned int part_type) in mmc_blk_part_switch_pre()
822 static int mmc_blk_part_switch_post(struct mmc_card *card, unsigned int part_type) in mmc_blk_part_switch_post()
836 static inline int mmc_blk_part_switch(struct mmc_card *card, unsigned int part_type) in mmc_blk_part_switch()
871 static int mmc_sd_num_wr_blocks(struct mmc_card *card, u32 *written_blocks) in mmc_sd_num_wr_blocks()
1002 struct mmc_card *card = mq->card; in mmc_blk_issue_drv_op() local
[all …]
/device/board/hihope/rk3568/audio_drivers/dsp/src/
Drk3568_dsp_ops.c16 int32_t DspDaiStartup(const struct AudioCard *card, const struct DaiDevice *device) in DspDaiStartup()
23 int32_t DspDaiHwParams(const struct AudioCard *card, const struct AudioPcmHwParams *param) in DspDaiHwParams()
52 int32_t DspDaiDeviceInit(struct AudioCard *card, const struct DaiDevice *device) in DspDaiDeviceInit()
59 int32_t DspDecodeAudioStream(const struct AudioCard *card, const uint8_t *buf, const struct DspDevi… in DspDecodeAudioStream()
68 int32_t DspEncodeAudioStream(const struct AudioCard *card, const uint8_t *buf, const struct DspDevi… in DspEncodeAudioStream()
78 int32_t DspEqualizerActive(const struct AudioCard *card, const uint8_t *buf, const struct DspDevice… in DspEqualizerActive()
/device/board/kaihong/khdvk_3566b/kernel/audio/dsp/src/
Drk3568_dsp_ops.c16 int32_t DspDaiStartup(const struct AudioCard *card, in DspDaiStartup()
24 int32_t DspDaiHwParams(const struct AudioCard *card, in DspDaiHwParams()
55 int32_t DspDaiDeviceInit(struct AudioCard *card, const struct DaiDevice *device) in DspDaiDeviceInit()
62 int32_t DspDecodeAudioStream(const struct AudioCard *card, const uint8_t *buf, in DspDecodeAudioStream()
72 int32_t DspEncodeAudioStream(const struct AudioCard *card, const uint8_t *buf, in DspEncodeAudioStream()
82 int32_t DspEqualizerActive(const struct AudioCard *card, const uint8_t *buf, in DspEqualizerActive()
/device/board/unionman/unionpi_tiger/kernel/hdf/audio/dsp/
Da311d_dsp_ops.c17 int32_t DspDaiStartup(const struct AudioCard *card, const struct DaiDevice *device) in DspDaiStartup()
24 int32_t DspDaiHwParams(const struct AudioCard *card, const struct AudioPcmHwParams *param) in DspDaiHwParams()
51 int32_t DspDaiDeviceInit(struct AudioCard *card, const struct DaiDevice *device) in DspDaiDeviceInit()
58 int32_t DspDecodeAudioStream(const struct AudioCard *card, const uint8_t *buf, const struct DspDevi… in DspDecodeAudioStream()
66 int32_t DspEncodeAudioStream(const struct AudioCard *card, const uint8_t *buf, const struct DspDevi… in DspEncodeAudioStream()
74 int32_t DspEqualizerActive(const struct AudioCard *card, const uint8_t *buf, const struct DspDevice… in DspEqualizerActive()
/device/board/isoftstone/zhiyuan/kernel/hdf/driver/audio/dsp/src/
Ddsp_ops.c17 int32_t DspDaiStartup(const struct AudioCard *card, const struct DaiDevice *device) in DspDaiStartup()
24 int32_t DspDaiHwParams(const struct AudioCard *card, const struct AudioPcmHwParams *param) in DspDaiHwParams()
51 int32_t DspDaiDeviceInit(struct AudioCard *card, const struct DaiDevice *device) in DspDaiDeviceInit()
58 int32_t DspDecodeAudioStream(const struct AudioCard *card, const uint8_t *buf, const struct DspDevi… in DspDecodeAudioStream()
66 int32_t DspEncodeAudioStream(const struct AudioCard *card, const uint8_t *buf, const struct DspDevi… in DspEncodeAudioStream()
74 int32_t DspEqualizerActive(const struct AudioCard *card, const uint8_t *buf, const struct DspDevice… in DspEqualizerActive()
/device/soc/hisilicon/common/platform/mmc/himci_v200/proc/
Dhimci_proc.c62 static int32_t ProcStatsCardConnectedPrint(struct MmcDevice *card, struct SeqBuf *s) in ProcStatsCardConnectedPrint()
95 static int32_t ProcStatsCardTypePrint(struct MmcDevice *card, struct SeqBuf *s) in ProcStatsCardTypePrint()
138 static int32_t ProcStatsUhsPrint(struct MmcDevice *card, struct SeqBuf *s) in ProcStatsUhsPrint()
166 static int32_t ProcStatsSpeedPrint(struct MmcDevice *card, struct SeqBuf *s) in ProcStatsSpeedPrint()
239 static int32_t ProcStatsCidPrint(struct MmcDevice *card, struct SeqBuf *s) in ProcStatsCidPrint()
253 struct MmcDevice *card = NULL; in ProcStatsCardInfoPrint() local
/device/soc/hisilicon/common/platform/mmc/sdhci/proc/
Dsdhci_proc.c61 static int32_t ProcStatsCardConnectedPrint(struct MmcDevice *card, struct SeqBuf *s) in ProcStatsCardConnectedPrint()
94 static int32_t ProcStatsCardTypePrint(struct MmcDevice *card, struct SeqBuf *s) in ProcStatsCardTypePrint()
137 static int32_t ProcStatsUhsPrint(struct MmcDevice *card, struct SeqBuf *s) in ProcStatsUhsPrint()
165 static int32_t ProcStatsSpeedPrint(struct MmcDevice *card, struct SeqBuf *s) in ProcStatsSpeedPrint()
238 static int32_t ProcStatsCidPrint(struct MmcDevice *card, struct SeqBuf *s) in ProcStatsCidPrint()
252 struct MmcDevice *card = NULL; in ProcStatsCardInfoPrint() local
/device/board/isoftstone/zhiyuan/kernel/hdf/driver/audio/codec/t507/src/
Dt507_codec_ops.c103 int32_t T507CodecDaiDeviceInit(struct AudioCard *card, const struct DaiDevice *device) in T507CodecDaiDeviceInit()
117 int32_t T507CodecDaiHwParams(const struct AudioCard *card, const struct AudioPcmHwParams *param) in T507CodecDaiHwParams()
138 int32_t T507CodecDaiStartup(const struct AudioCard *card, const struct DaiDevice *device) in T507CodecDaiStartup()
155 int32_t T507CodecDaiTrigger(const struct AudioCard *card, int cmd, const struct DaiDevice *device) in T507CodecDaiTrigger()
/device/board/hisilicon/hispark_taurus/audio_drivers/codec/hi3516/src/
Dhi3516_codec_ops.c95 int32_t Hi3516CodecDaiDeviceInit(struct AudioCard *card, const struct DaiDevice *device) in Hi3516CodecDaiDeviceInit()
107 int32_t Hi3516CodecDaiHwParams(const struct AudioCard *card, const struct AudioPcmHwParams *param) in Hi3516CodecDaiHwParams()
137 int32_t Hi3516CodecDaiStartup(const struct AudioCard *card, const struct DaiDevice *device) in Hi3516CodecDaiStartup()
/device/board/hisilicon/hispark_taurus/audio_drivers/dsp/src/
Ddsp_ops.c46 int32_t DspDaiStartup(const struct AudioCard *card, const struct DaiDevice *device) in DspDaiStartup()
138 int32_t DspDaiHwParams(const struct AudioCard *card, const struct AudioPcmHwParams *param) in DspDaiHwParams()
372 int32_t DspDaiDeviceInit(struct AudioCard *card, const struct DaiDevice *device) in DspDaiDeviceInit()
383 int32_t DspDecodeAudioStream(const struct AudioCard *card, const uint8_t *buf, const struct DspDevi… in DspDecodeAudioStream()
392 int32_t DspEncodeAudioStream(const struct AudioCard *card, const uint8_t *buf, const struct DspDevi… in DspEncodeAudioStream()
402 int32_t DspEqualizerActive(const struct AudioCard *card, const uint8_t *buf, const struct DspDevice… in DspEqualizerActive()
/device/board/osware/imx8mm/drivers/audio/dsp/src/
Ddsp_ops.c46 int32_t DspDaiStartup(const struct AudioCard *card, const struct DaiDevice *device) in DspDaiStartup()
138 int32_t DspDaiHwParams(const struct AudioCard *card, const struct AudioPcmHwParams *param) in DspDaiHwParams()
368 int32_t DspDaiDeviceInit(struct AudioCard *card, const struct DaiDevice *device) in DspDaiDeviceInit()
379 int32_t DspDecodeAudioStream(const struct AudioCard *card, const uint8_t *buf, const struct DspDevi… in DspDecodeAudioStream()
388 int32_t DspEncodeAudioStream(const struct AudioCard *card, const uint8_t *buf, const struct DspDevi… in DspEncodeAudioStream()
398 int32_t DspEqualizerActive(const struct AudioCard *card, const uint8_t *buf, const struct DspDevice… in DspEqualizerActive()
/device/board/unionman/unionpi_tiger/kernel/hdf/audio/codec/soc_codec/
Da311d_codec_ops.c155 int32_t A311DCodecDaiDeviceInit(struct AudioCard *card, const struct DaiDevice *device) in A311DCodecDaiDeviceInit()
183 int32_t A311DCodecDaiHwParams(const struct AudioCard *card, const struct AudioPcmHwParams *param) in A311DCodecDaiHwParams()
212 int32_t A311DCodecDaiStartup(const struct AudioCard *card, const struct DaiDevice *device) in A311DCodecDaiStartup()
218 int32_t A311DCodecDaiTrigger(const struct AudioCard *card, int cmd, const struct DaiDevice *device) in A311DCodecDaiTrigger()
/device/board/hisilicon/hispark_taurus/audio_drivers/unittest/src/
Dhi3516_codec_ops_test.c45 struct AudioCard *card = NULL; in TestCodecDaiDeviceInit() local
59 struct AudioCard *card = NULL; in TestCodecDaiStartup() local
71 struct AudioCard *card = NULL; in TestCodecDaiHwParams() local
Dhi3516_dai_ops_test.c45 struct AudioCard *card = NULL; in TestDaiStartup() local
57 struct AudioCard *card = NULL; in TestDaiHwParams() local
69 struct AudioCard *card = NULL; in TestDaiTrigger() local
/device/board/isoftstone/zhiyuan/kernel/hdf/driver/audio/dai/src/
Dt507_dai_ahub_ops.c79 int32_t T507AhubDaiTrigger(const struct AudioCard *card, int cmd, const struct DaiDevice *device) in T507AhubDaiTrigger()
135 int32_t T507AhubDaiStartup(const struct AudioCard *card, const struct DaiDevice *device) in T507AhubDaiStartup()
159 int32_t T507AhubDaiHwParams(const struct AudioCard *card, const struct AudioPcmHwParams *param) in T507AhubDaiHwParams()
/device/board/unionman/unionpi_tiger/kernel/hdf/audio/dai/
Da311d_dai_ops.c96 int32_t A311DDaiTrigger(const struct AudioCard *card, int cmd, const struct DaiDevice *device) in A311DDaiTrigger()
133 int32_t A311DDaiStartup(const struct AudioCard *card, const struct DaiDevice *device) in A311DDaiStartup()
169 int32_t A311DDaiHwParams(const struct AudioCard *card, const struct AudioPcmHwParams *param) in A311DDaiHwParams()
/device/soc/amlogic/a311d/soc/amlogic/mmc/
Demmc_key.c41 struct mmc_card *card = mmc_card_key; in emmc_read_valid_key() local
89 struct mmc_card *card = mmc_card_key; in emmc_write_one_key() local
307 struct mmc_card *card = mmc_card_key; in emmc_key_write() local
335 struct mmc_card *card = mmc_card_key; in emmc_key_write() local
408 struct mmc_card *card = mmc_card_key; in emmc_key_read() local
436 int emmc_key_init(struct mmc_card *card) in emmc_key_init()
Demmc_partitions.c90 int mmc_read_internal(struct mmc_card *card, unsigned int dev_addr, unsigned int blocks, void *buf) in mmc_read_internal()
95 int mmc_write_internal(struct mmc_card *card, unsigned int dev_addr, unsigned int blocks, void *buf) in mmc_write_internal()
260 int amlmmc_dtb_read(struct mmc_card *card, unsigned char *buf, int len) in amlmmc_dtb_read()
401 int amlmmc_dtb_init(struct mmc_card *card) in amlmmc_dtb_init()
493 static void mmc_prepare_mrq(struct mmc_card *card, struct mmc_request *mrq, struct scatterlist *sg,… in mmc_prepare_mrq()
528 unsigned int mmc_capacity(struct mmc_card *card) in mmc_capacity()
537 static int mmc_transfer(struct mmc_card *card, unsigned int dev_addr, unsigned int blocks, void *bu… in mmc_transfer()
594 static int amlmmc_write_tuning_para(struct mmc_card *card, unsigned int dev_addr) in amlmmc_write_tuning_para()
647 static int get_reserve_partition_off(struct mmc_card *card) /* byte unit */ in get_reserve_partition_off()
668 static int mmc_read_partition_tbl(struct mmc_card *card, struct mmc_partitions_fmt *read_pt_fmt) in mmc_read_partition_tbl()
[all …]
/device/board/hisilicon/hispark_taurus/audio_drivers/codec/tfa9879/src/
Dtfa9879_codec_ops.c132 int32_t Tfa9879DaiDeviceInit(struct AudioCard *card, const struct DaiDevice *device) in Tfa9879DaiDeviceInit()
149 int32_t Tfa9879DaiStartup(const struct AudioCard *card, const struct DaiDevice *device) in Tfa9879DaiStartup()
257 int32_t Tfa9879DaiHwParams(const struct AudioCard *card, const struct AudioPcmHwParams *param) in Tfa9879DaiHwParams()
/device/board/hihope/dayu210/audio_drivers/dai/src/
Drk3588_dai_ops.c104 int32_t Rk3588DaiDeviceInit(struct AudioCard *card, const struct DaiDevice *dai) in Rk3588DaiDeviceInit()
142 int32_t Rk3588DaiStartup(const struct AudioCard *card, const struct DaiDevice *dai) in Rk3588DaiStartup()
341 int32_t Rk3588DaiHwParams(const struct AudioCard *card, const struct AudioPcmHwParams *param) in Rk3588DaiHwParams()
579 int32_t Rk3588NormalTrigger(const struct AudioCard *card, int cmd, const struct DaiDevice *device) in Rk3588NormalTrigger()
/device/board/hihope/rk3568/audio_drivers/dai/src/
Drk3568_dai_ops.c104 int32_t Rk3568DaiDeviceInit(struct AudioCard *card, const struct DaiDevice *dai) in Rk3568DaiDeviceInit()
133 int32_t Rk3568DaiStartup(const struct AudioCard *card, const struct DaiDevice *dai) in Rk3568DaiStartup()
332 int32_t Rk3568DaiHwParams(const struct AudioCard *card, const struct AudioPcmHwParams *param) in Rk3568DaiHwParams()
581 int32_t Rk3568NormalTrigger(const struct AudioCard *card, int cmd, const struct DaiDevice *device) in Rk3568NormalTrigger()
/device/board/kaihong/khdvk_3566b/kernel/audio/dai/src/
Drk3568_dai_ops.c103 int32_t Rk3568DaiDeviceInit(struct AudioCard *card, const struct DaiDevice *dai) in Rk3568DaiDeviceInit()
141 int32_t Rk3568DaiStartup(const struct AudioCard *card, const struct DaiDevice *dai) in Rk3568DaiStartup()
336 int32_t Rk3568DaiHwParams(const struct AudioCard *card, const struct AudioPcmHwParams *param) in Rk3568DaiHwParams()
574 int32_t Rk3568NormalTrigger(const struct AudioCard *card, int cmd, const struct DaiDevice *device) in Rk3568NormalTrigger()
/device/board/hisilicon/hispark_taurus/audio_drivers/soc/src/
Dhi3516_dai_ops.c151 int32_t Hi3516DaiTrigger(const struct AudioCard *card, int cmd, const struct DaiDevice *device) in Hi3516DaiTrigger()
160 int32_t Hi3516DaiStartup(const struct AudioCard *card, const struct DaiDevice *device) in Hi3516DaiStartup()
291 int32_t Hi3516DaiHwParams(const struct AudioCard *card, const struct AudioPcmHwParams *param) in Hi3516DaiHwParams()

123