/device/soc/hisilicon/common/platform/mmc/sdhci/ |
D | sdhci.c | 33 static void SdhciDumpregs(struct SdhciHost *host) in SdhciDumpregs() 96 static void SdhciEnablePlugIrq(struct SdhciHost *host, uint32_t irq) in SdhciEnablePlugIrq() 102 static void SdhciSetCardDetection(struct SdhciHost *host, bool enable) in SdhciSetCardDetection() 120 static void SdhciEnableCardDetection(struct SdhciHost *host) in SdhciEnableCardDetection() 127 static void SdhciReset(struct SdhciHost *host, uint32_t mask) in SdhciReset() 146 static void SdhciDoReset(struct SdhciHost *host, uint32_t mask) in SdhciDoReset() 156 static void SdhciSetTransferMode(struct SdhciHost *host, struct MmcCmd *cmd) in SdhciSetTransferMode() 191 static void SdhciTaskletFinish(struct SdhciHost *host) in SdhciTaskletFinish() 234 static void SdhciSetDmaConfig(struct SdhciHost *host) in SdhciSetDmaConfig() 256 static void SdhciSetTransferIrqs(struct SdhciHost *host) in SdhciSetTransferIrqs() [all …]
|
/device/soc/hisilicon/common/platform/mmc/himci_v200/ |
D | himci.c | 25 static void HimciDumpRegs(struct HimciHost *host) in HimciDumpRegs() 181 static uint32_t HimciClkDiv(struct HimciHost *host, uint32_t clock) in HimciClkDiv() 236 static void HimciDmaReset(struct HimciHost *host) in HimciDmaReset() 252 static void HimciDmaStart(struct HimciHost *host) in HimciDmaStart() 262 static void HimciDmaStop(struct HimciHost *host) in HimciDmaStop() 378 static int32_t HimciUpdateCmdReg(union HimciCmdRegArg *reg, struct HimciHost *host) in HimciUpdateCmdReg() 412 static int32_t HimciExecCmd(struct HimciHost *host) in HimciExecCmd() 428 static int32_t HimciWaitCmd(struct HimciHost *host) in HimciWaitCmd() 470 static void HimciCmdDone(struct HimciHost *host) in HimciCmdDone() 491 static void HimciDataSync(struct HimciHost *host, struct MmcData *data) in HimciDataSync() [all …]
|
/device/soc/esp/esp32/components/hal/ |
D | spi_flash_hal_iram.c | 33 void spi_flash_hal_erase_chip(spi_flash_host_inst_t *host) in spi_flash_hal_erase_chip() 47 void spi_flash_hal_erase_sector(spi_flash_host_inst_t *host, uint32_t start_address) in spi_flash_hal_erase_sector() 64 void spi_flash_hal_erase_block(spi_flash_host_inst_t *host, uint32_t start_address) in spi_flash_hal_erase_block() 80 void spi_flash_hal_program_page(spi_flash_host_inst_t *host, const void *buffer, uint32_t address, … in spi_flash_hal_program_page() 89 esp_err_t spi_flash_hal_set_write_protect(spi_flash_host_inst_t *host, bool wp) in spi_flash_hal_set_write_protect() 99 static inline spi_dev_t *get_spi_dev(spi_flash_host_inst_t *host) in get_spi_dev() 104 static inline int get_host_id(spi_flash_host_inst_t* host) in get_host_id() 112 uint32_t spi_flash_hal_check_status(spi_flash_host_inst_t *host) in spi_flash_hal_check_status() 133 esp_err_t spi_flash_hal_setup_read_suspend(spi_flash_host_inst_t *host, const spi_flash_sus_cmd_con… in spi_flash_hal_setup_read_suspend() 148 void spi_flash_hal_setup_auto_suspend_mode(spi_flash_host_inst_t *host) in spi_flash_hal_setup_auto_suspend_mode() [all …]
|
/device/soc/rockchip/common/sdk_linux/drivers/mmc/core/ |
D | host.c | 48 struct mmc_host *host = cls_dev_to_mmc_host(dev); in mmc_host_class_prepare() local 68 struct mmc_host *host = cls_dev_to_mmc_host(dev); in mmc_host_class_complete() local 85 struct mmc_host *host = cls_dev_to_mmc_host(dev); in mmc_host_classdev_release() local 95 struct mmc_host *host = cls_dev_to_mmc_host(dev); in mmc_host_classdev_shutdown() local 117 void mmc_retune_enable(struct mmc_host *host) in mmc_retune_enable() 129 void mmc_retune_pause(struct mmc_host *host) in mmc_retune_pause() 139 void mmc_retune_unpause(struct mmc_host *host) in mmc_retune_unpause() 148 void mmc_retune_disable(struct mmc_host *host) in mmc_retune_disable() 157 void mmc_retune_timer_stop(struct mmc_host *host) in mmc_retune_timer_stop() 163 void mmc_retune_hold(struct mmc_host *host) in mmc_retune_hold() [all …]
|
D | sdio.c | 586 static void mmc_sdio_resend_if_cond(struct mmc_host *host, struct mmc_card *card) in mmc_sdio_resend_if_cond() 600 static int mmc_sdio_init_card(struct mmc_host *host, u32 ocr, struct mmc_card *oldcard, int powered… in mmc_sdio_init_card() 891 static int mmc_sdio_reinit_card(struct mmc_host *host, bool powered_resume) in mmc_sdio_reinit_card() 910 static void mmc_sdio_remove(struct mmc_host *host) in mmc_sdio_remove() 928 static int mmc_sdio_alive(struct mmc_host *host) in mmc_sdio_alive() 936 static void mmc_sdio_detect(struct mmc_host *host) in mmc_sdio_detect() 989 static int mmc_sdio_pre_suspend(struct mmc_host *host) in mmc_sdio_pre_suspend() 1011 static int mmc_sdio_suspend(struct mmc_host *host) in mmc_sdio_suspend() 1035 static int mmc_sdio_resume(struct mmc_host *host) in mmc_sdio_resume() 1088 static int mmc_sdio_power_restore(struct mmc_host *host) in mmc_sdio_power_restore() [all …]
|
/device/soc/hpmicro/sdk/hpm_sdk/middleware/hpm_sdmmc/lib/ |
D | hpm_sdmmc_host.c | 15 static hpm_stat_t sdmmchost_check_host_availablity(sdmmc_host_t *host) in sdmmchost_check_host_availablity() 28 hpm_stat_t sdmmchost_init(sdmmc_host_t *host) in sdmmchost_init() 54 hpm_stat_t sdmmchost_switch_to_1v8(sdmmc_host_t *host) in sdmmchost_switch_to_1v8() 101 void sdmmchost_deinit(sdmmc_host_t *host) in sdmmchost_deinit() 107 void sdmmchost_reset(sdmmc_host_t *host) in sdmmchost_reset() 114 bool sdmmchost_is_card_detected(sdmmc_host_t *host) in sdmmchost_is_card_detected() 126 void sdmmchost_set_card_bus_width(sdmmc_host_t *host, sdmmc_buswidth_t bus_width) in sdmmchost_set_card_bus_width() 131 uint32_t sdmmchost_set_card_clock(sdmmc_host_t *host, uint32_t freq) in sdmmchost_set_card_clock() 137 void sdmmchost_wait_card_active(sdmmc_host_t *host) in sdmmchost_wait_card_active() 143 hpm_stat_t sdmmchost_send_command(sdmmc_host_t *host, sdmmchost_cmd_t *cmd) in sdmmchost_send_command() [all …]
|
D | hpm_sdmmc_common.c | 11 hpm_stat_t sdmmc_go_idle_state(sdmmc_host_t *host) in sdmmc_go_idle_state() 30 hpm_stat_t sdmmc_go_inactive_state(sdmmc_host_t *host, uint16_t relative_addr) in sdmmc_go_inactive_state() 50 hpm_stat_t sdmmc_select_card(sdmmc_host_t *host, uint16_t relative_addr, bool is_selected) in sdmmc_select_card() 74 hpm_stat_t sdmmc_send_application_command(sdmmc_host_t *host, uint16_t relative_addr) in sdmmc_send_application_command() 94 hpm_stat_t sdmmc_set_block_count(sdmmc_host_t *host, uint32_t block_count) in sdmmc_set_block_count() 114 hpm_stat_t sdmmc_set_block_size(sdmmc_host_t *host, uint32_t block_size) in sdmmc_set_block_size() 134 hpm_stat_t sdmmc_enable_auto_tuning(sdmmc_host_t *host) in sdmmc_enable_auto_tuning()
|
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/mmc/ |
D | sunxi-mmc.c | 82 #define sunxi_mmc_chk_hr1b_cap(host) (!host->sunxi_mmc_hw_busy \ argument 85 #define sunxi_mmc_dreq_r1b_chk_need(host, data) \ argument 91 #define sunxi_mmc_creq_r1b_chk_need(host, cmd) \ argument 96 #define sunxi_mmc_host_des_addr(host, soc_phy_address) \ argument 99 #define sunxi_mmc_clean_retry_cnt(host) \ argument 117 struct sunxi_mmc_host *host; in sunxi_cmd11_timerout_handle() local 146 struct sunxi_mmc_host *host; in sunxi_timerout_handle() local 225 struct sunxi_mmc_host *host = mmc_priv(mmc); in sunxi_mmc_request_done() local 411 static int sunxi_mmc_reset_host(struct sunxi_mmc_host *host) in sunxi_mmc_reset_host() 432 static int sunxi_mmc_reset_dmaif(struct sunxi_mmc_host *host) in sunxi_mmc_reset_dmaif() [all …]
|
D | sunxi-mmc-v4p10x.c | 108 static void sunxi_mmc_set_clk_dly(struct sunxi_mmc_host *host, int clk, in sunxi_mmc_set_clk_dly() 214 static int __sunxi_mmc_do_oclk_onoff(struct sunxi_mmc_host *host, u32 oclk_en, in __sunxi_mmc_do_oclk_onoff() 259 static int sunxi_mmc_oclk_onoff(struct sunxi_mmc_host *host, u32 oclk_en) in sunxi_mmc_oclk_onoff() 278 static int sunxi_mmc_updata_pha_v4p10x(struct sunxi_mmc_host *host, in sunxi_mmc_updata_pha_v4p10x() 284 static void sunxi_mmc_2xmod_onoff(struct sunxi_mmc_host *host, u32 newmode_en) in sunxi_mmc_2xmod_onoff() 298 struct sunxi_mmc_host *host, struct mmc_ios *ios) in sunxi_mmc_clk_set_rate_for_sdmmc_v4p10x() 403 static void sunxi_mmc_save_spec_reg_v4p10x(struct sunxi_mmc_host *host) in sunxi_mmc_save_spec_reg_v4p10x() 413 static void sunxi_mmc_restore_spec_reg_v4p10x(struct sunxi_mmc_host *host) in sunxi_mmc_restore_spec_reg_v4p10x() 424 struct sunxi_mmc_host *host, in sunxi_mmc_set_dly_raw() 449 struct sunxi_mmc_host *host, in sunxi_mmc_judge_retry_v4p10x() [all …]
|
D | sunxi-mmc-debug.c | 77 void sunxi_mmc_dumphex32(struct sunxi_mmc_host *host, char *name, char *base, in sunxi_mmc_dumphex32() 91 void sunxi_mmc_dump_des(struct sunxi_mmc_host *host, char *base, int len) in sunxi_mmc_dump_des() 124 static void sunxi_mmc_filter_rate(struct sunxi_mmc_host *host, struct mmc_data *data, int64_t bytes… in sunxi_mmc_filter_rate() 210 struct sunxi_mmc_host *host = mmc_priv(mmc); in sunxi_dump_reg() local 355 struct sunxi_mmc_host *host = mmc_priv(mmc); in dump_host_reg_show() local 488 struct sunxi_mmc_host *host = mmc_priv(mmc); in dump_clk_dly_show() local 498 int sunxi_mmc_uperf_stat(struct sunxi_mmc_host *host, in sunxi_mmc_uperf_stat() 544 struct sunxi_mmc_host *host = mmc_priv(mmc); in sunxi_mmc_show_perf() local 578 struct sunxi_mmc_host *host = mmc_priv(mmc); in sunxi_mmc_set_perf() local 609 struct sunxi_mmc_host *host = mmc_priv(mmc); in sunxi_mmc_set_samp_dly_sys() local [all …]
|
D | sunxi-mmc-v5px.c | 87 static void sunxi_mmc_set_clk_dly(struct sunxi_mmc_host *host, int clk, in sunxi_mmc_set_clk_dly() 233 void sunxi_mmc_dump_dly2(struct sunxi_mmc_host *host) in sunxi_mmc_dump_dly2() 238 static int __sunxi_mmc_do_oclk_onoff(struct sunxi_mmc_host *host, u32 oclk_en, in __sunxi_mmc_do_oclk_onoff() 263 int sunxi_mmc_oclk_onoff(struct sunxi_mmc_host *host, u32 oclk_en) in sunxi_mmc_oclk_onoff() 281 int sunxi_mmc_clk_set_rate_v5px(struct sunxi_mmc_host *host, in sunxi_mmc_clk_set_rate_v5px() 364 void sunxi_mmc_thld_ctl_v5px(struct sunxi_mmc_host *host, in sunxi_mmc_thld_ctl_v5px() 408 void sunxi_mmc_save_spec_reg_v5px(struct sunxi_mmc_host *host) in sunxi_mmc_save_spec_reg_v5px() 414 void sunxi_mmc_restore_spec_reg_v5px(struct sunxi_mmc_host *host) in sunxi_mmc_restore_spec_reg_v5px() 452 static int sunxi_mmc_sleep(struct mmc_host *host) in sunxi_mmc_sleep() 467 static int sunxi_mmc_suspend(struct mmc_host *host, bool is_suspend) in sunxi_mmc_suspend() [all …]
|
D | sunxi-mmc-v4p5x.c | 165 static u32 sunxi_mmc_get_hs400_cmd_dly(struct sunxi_mmc_host *host, u32 clk, u32 *out_dly) in sunxi_mmc_get_hs400_cmd_dly() 242 static void sunxi_mmc_set_clk_dly(struct sunxi_mmc_host *host, int clk, in sunxi_mmc_set_clk_dly() 428 static void sunxi_mmc_dump_dly2(struct sunxi_mmc_host *host) in sunxi_mmc_dump_dly2() 444 static void sunxi_mmc_on_off_emce_v4p6x(struct sunxi_mmc_host *host, in sunxi_mmc_on_off_emce_v4p6x() 472 static int __sunxi_mmc_do_oclk_onoff(struct sunxi_mmc_host *host, u32 oclk_en, in __sunxi_mmc_do_oclk_onoff() 517 static int sunxi_mmc_oclk_onoff(struct sunxi_mmc_host *host, u32 oclk_en) in sunxi_mmc_oclk_onoff() 535 int sunxi_mmc_clk_set_rate_for_sdmmc_v4p5x(struct sunxi_mmc_host *host, in sunxi_mmc_clk_set_rate_for_sdmmc_v4p5x() 687 void sunxi_mmc_thld_ctl_for_sdmmc_v4p5x(struct sunxi_mmc_host *host, in sunxi_mmc_thld_ctl_for_sdmmc_v4p5x() 734 void sunxi_mmc_save_spec_reg_v4p5x(struct sunxi_mmc_host *host) in sunxi_mmc_save_spec_reg_v4p5x() 747 void sunxi_mmc_restore_spec_reg_v4p5x(struct sunxi_mmc_host *host) in sunxi_mmc_restore_spec_reg_v4p5x() [all …]
|
/device/qemu/drivers/uart/ |
D | uart.c | 30 static int32_t Hi35xxRead(struct UartHost *host, uint8_t *data, uint32_t size) in Hi35xxRead() 53 static int32_t Hi35xxWrite(struct UartHost *host, uint8_t *data, uint32_t size) in Hi35xxWrite() 75 static int32_t Hi35xxGetBaud(struct UartHost *host, uint32_t *baudRate) in Hi35xxGetBaud() 92 static int32_t Hi35xxSetBaud(struct UartHost *host, uint32_t baudRate) in Hi35xxSetBaud() 122 static int32_t Hi35xxGetAttribute(struct UartHost *host, struct UartAttribute *attribute) in Hi35xxGetAttribute() 144 static int32_t Hi35xxSetAttribute(struct UartHost *host, struct UartAttribute *attribute) in Hi35xxSetAttribute() 174 static int32_t Hi35xxSetTransMode(struct UartHost *host, enum UartTransMode mode) in Hi35xxSetTransMode() 195 static int32_t Hi35xxInit(struct UartHost *host) in Hi35xxInit() 238 static int32_t Hi35xxDeinit(struct UartHost *host) in Hi35xxDeinit() 275 static int32_t Hi35xxPollEvent(struct UartHost *host, void *filep, void *table) in Hi35xxPollEvent() [all …]
|
/device/soc/esp/esp32/components/spi_flash/ |
D | memspi_host_driver.c | 70 esp_err_t memspi_host_init_pointers(memspi_host_inst_t *host, const memspi_host_config_t *cfg) in memspi_host_init_pointers() 90 esp_err_t memspi_host_read_id_hs(spi_flash_host_inst_t *host, uint32_t *id) in memspi_host_read_id_hs() 114 esp_err_t memspi_host_read_status_hs(spi_flash_host_inst_t *host, uint8_t *out_sr) in memspi_host_read_status_hs() 131 esp_err_t memspi_host_flush_cache(spi_flash_host_inst_t *host, uint32_t addr, uint32_t size) in memspi_host_flush_cache() 139 void memspi_host_erase_chip(spi_flash_host_inst_t *host) in memspi_host_erase_chip() 147 void memspi_host_erase_sector(spi_flash_host_inst_t *host, uint32_t start_address) in memspi_host_erase_sector() 159 void memspi_host_erase_block(spi_flash_host_inst_t *host, uint32_t start_address) in memspi_host_erase_block() 171 void memspi_host_program_page(spi_flash_host_inst_t *host, const void *buffer, uint32_t address, ui… in memspi_host_program_page() 184 esp_err_t memspi_host_read(spi_flash_host_inst_t *host, void *buffer, uint32_t address, uint32_t re… in memspi_host_read() 197 esp_err_t memspi_host_set_write_protect(spi_flash_host_inst_t *host, bool wp) in memspi_host_set_write_protect() [all …]
|
/device/soc/hisilicon/common/platform/uart/ |
D | uart_hi35xx.c | 101 static int32_t Hi35xxRead(struct UartHost *host, uint8_t *data, uint32_t size) in Hi35xxRead() 124 static int32_t Hi35xxWrite(struct UartHost *host, uint8_t *data, uint32_t size) in Hi35xxWrite() 146 static int32_t Hi35xxGetBaud(struct UartHost *host, uint32_t *baudRate) in Hi35xxGetBaud() 163 static int32_t Hi35xxSetBaud(struct UartHost *host, uint32_t baudRate) in Hi35xxSetBaud() 197 static int32_t Hi35xxGetAttribute(struct UartHost *host, struct UartAttribute *attribute) in Hi35xxGetAttribute() 219 static int32_t Hi35xxSetAttribute(struct UartHost *host, struct UartAttribute *attribute) in Hi35xxSetAttribute() 253 static int32_t Hi35xxSetTransMode(struct UartHost *host, enum UartTransMode mode) in Hi35xxSetTransMode() 274 static int32_t Hi35xxInit(struct UartHost *host) in Hi35xxInit() 326 static int32_t Hi35xxDeinit(struct UartHost *host) in Hi35xxDeinit() 364 static int32_t Hi35xxPollEvent(struct UartHost *host, void *filep, void *table) in Hi35xxPollEvent() [all …]
|
/device/soc/telink/b91/hdf/uart/ |
D | uart_telink.c | 55 static int32_t uart_device_attach(struct UartHost *host, struct HdfDeviceObject *device) in uart_device_attach() 113 struct UartHost *host = UartHostFromDevice(device); in uart_device_init() local 139 struct UartHost *host = UartHostFromDevice(device); in uart_device_release() local 308 static int32_t UartHostDevInit(struct UartHost *host) in UartHostDevInit() 328 static int32_t UartHostDevDeinit(struct UartHost *host) in UartHostDevDeinit() 347 static int32_t UartHostDevRead(struct UartHost *host, uint8_t *data, uint32_t size) in UartHostDevRead() 354 static int32_t UartHostDevWrite(struct UartHost *host, uint8_t *data, uint32_t size) in UartHostDevWrite() 361 static int32_t UartHostDevSetBaud(struct UartHost *host, uint32_t baudRate) in UartHostDevSetBaud() 377 static int32_t UartHostDevGetBaud(struct UartHost *host, uint32_t *baudRate) in UartHostDevGetBaud() 391 static int32_t UartHostDevSetAttribute(struct UartHost *host, struct UartAttribute *attribute) in UartHostDevSetAttribute() [all …]
|
/device/soc/hpmicro/drivers/platform/ |
D | uart.c | 94 struct UartHost *host = (struct UartHost *)parm; in HpmUartIsr() local 107 static void UartConfig(struct UartHost *host) in UartConfig() 153 static int32_t Init(struct UartHost *host) in Init() 174 static int32_t Deinit(struct UartHost *host) in Deinit() 183 static int32_t Read(struct UartHost *host, uint8_t *data, uint32_t size) in Read() 196 static int32_t Write(struct UartHost *host, uint8_t *data, uint32_t size) in Write() 206 static int32_t GetBaud(struct UartHost *host, uint32_t *baudRate) in GetBaud() 214 static int32_t SetBaud(struct UartHost *host, uint32_t baudRate) in SetBaud() 223 static int32_t GetAttribute(struct UartHost *host, struct UartAttribute *attribute) in GetAttribute() 231 static int32_t SetAttribute(struct UartHost *host, struct UartAttribute *attribute) in SetAttribute() [all …]
|
/device/soc/esp/esp32/components/driver/ |
D | spi_slave.c | 81 static inline bool is_valid_host(spi_host_device_t host) in is_valid_host() 93 static inline bool bus_is_iomux(spi_slave_t *host) in bus_is_iomux() 98 static void freeze_cs(spi_slave_t *host) in freeze_cs() 105 static inline void restore_cs(spi_slave_t *host) in restore_cs() 114 esp_err_t spi_slave_initialize(spi_host_device_t host, const spi_bus_config_t *bus_config, const sp… in spi_slave_initialize() 260 esp_err_t spi_slave_free(spi_host_device_t host) in spi_slave_free() 283 esp_err_t SPI_SLAVE_ATTR spi_slave_queue_trans(spi_host_device_t host, const spi_slave_transaction_… in spi_slave_queue_trans() 303 esp_err_t SPI_SLAVE_ATTR spi_slave_get_trans_result(spi_host_device_t host, spi_slave_transaction_t… in spi_slave_get_trans_result() 314 esp_err_t SPI_SLAVE_ATTR spi_slave_transmit(spi_host_device_t host, spi_slave_transaction_t *trans_… in spi_slave_transmit() 329 spi_slave_t *host = (spi_slave_t *)arg; in spi_slave_restart_after_dmareset() local [all …]
|
D | spi_master.c | 169 spi_host_t *host; member 189 static inline bool is_valid_host(spi_host_device_t host) in is_valid_host() 211 spi_host_t* host = heap_caps_malloc(sizeof(spi_host_t), MALLOC_CAP_INTERNAL | MALLOC_CAP_8BIT); in spi_master_init_driver() local 272 spi_host_t *host = (spi_host_t*)arg; in spi_master_deinit_driver() local 326 spi_host_t *host = bus_driver_ctx[host_id]; in spi_bus_add_device() local 487 static SPI_MASTER_ISR_ATTR spi_device_t *get_acquiring_dev(spi_host_t *host) in get_acquiring_dev() 508 static void spi_bus_intr_enable(void *host) in spi_bus_intr_enable() 514 static void spi_bus_intr_disable(void *host) in spi_bus_intr_disable() 524 spi_host_t *host = dev->host; in spi_new_trans() local 577 static void SPI_MASTER_ISR_ATTR spi_post_trans(spi_host_t *host) in spi_post_trans() [all …]
|
D | spi_slave_hd.c | 90 spi_slave_hd_slot_t* host = calloc(1, sizeof(spi_slave_hd_slot_t)); in spi_slave_hd_init() local 228 spi_slave_hd_slot_t *host = spihost[host_id]; in spi_slave_hd_deinit() local 259 static void tx_invoke(spi_slave_hd_slot_t* host) in tx_invoke() 266 static void rx_invoke(spi_slave_hd_slot_t* host) in rx_invoke() 273 static inline IRAM_ATTR BaseType_t intr_check_clear_callback(spi_slave_hd_slot_t* host, spi_event_t… in intr_check_clear_callback() 285 spi_slave_hd_slot_t *host = (spi_slave_hd_slot_t*)arg; in spi_slave_hd_intr_segment() local 397 spi_slave_hd_slot_t *host = (spi_slave_hd_slot_t*)arg; in spi_slave_hd_intr_append() local 482 spi_slave_hd_slot_t *host = spihost[host_id]; in get_ret_queue_result() local 502 spi_slave_hd_slot_t* host = spihost[host_id]; in spi_slave_hd_queue_trans() local 528 spi_slave_hd_slot_t* host = spihost[host_id]; in spi_slave_hd_get_trans_res() local [all …]
|
/device/soc/st/common/platform/uart/ |
D | stm32mp1_uart.c | 142 static int32_t Mp1xxUartOpen(struct UartHost *host) in Mp1xxUartOpen() 201 static int32_t Mp1xxUartClose(struct UartHost *host) in Mp1xxUartClose() 231 static int32_t Mp1xxUartRead(struct UartHost *host, uint8_t *data, uint32_t size) in Mp1xxUartRead() 263 static int32_t Mp1xxUartWrite(struct UartHost *host, uint8_t *data, uint32_t size) in Mp1xxUartWrite() 315 static int32_t Mp1xxUartGetBaud(struct UartHost *host, uint32_t *baudRate) in Mp1xxUartGetBaud() 339 static int32_t Mp1xxUartSetBaud(struct UartHost *host, uint32_t baudRate) in Mp1xxUartSetBaud() 373 static int32_t Mp1xxUartGetAttribute(struct UartHost *host, struct UartAttribute *attribute) in Mp1xxUartGetAttribute() 394 static int32_t Mp1xxUartSetAttribute(struct UartHost *host, struct UartAttribute *attribute) in Mp1xxUartSetAttribute() 418 static int32_t Mp1xxUartSetTransMode(struct UartHost *host, enum UartTransMode mode) in Mp1xxUartSetTransMode() 533 struct UartHost *host = NULL; in Mp1xxUartBind() local [all …]
|
/device/soc/rockchip/common/sdk_linux/drivers/mmc/host/ |
D | sdhci-of-dwcmshc.c | 72 static void dwcmshc_adma_write_desc(struct sdhci_host *host, void **desc, dma_addr_t addr, int len,… in dwcmshc_adma_write_desc() 92 struct sdhci_host *host = mmc_priv(mmc); in dwcmshc_check_auto_cmd23() local 113 static void dwcmshc_set_uhs_signaling(struct sdhci_host *host, unsigned int timing) in dwcmshc_set_uhs_signaling() 139 struct sdhci_host *host = mmc_priv(mmc); in dwcmshc_hs400_enhanced_strobe() local 151 static void dwcmshc_rk_set_clock(struct sdhci_host *host, unsigned int clock) in dwcmshc_rk_set_clock() 258 static int rockchip_pltf_init(struct sdhci_host *host, struct dwcmshc_priv *priv) in rockchip_pltf_init() 304 struct sdhci_host *host; in dwcmshc_probe() local 391 struct sdhci_host *host = platform_get_drvdata(pdev); in dwcmshc_remove() local 409 struct sdhci_host *host = dev_get_drvdata(dev); in dwcmshc_suspend() local 430 struct sdhci_host *host = dev_get_drvdata(dev); in dwcmshc_resume() local [all …]
|
/device/soc/hisilicon/common/platform/rtc/ |
D | rtc_hi35xx.c | 197 static int32_t HiRtcReadTime(struct RtcHost *host, struct RtcTime *time) in HiRtcReadTime() 280 static int32_t HiRtcWriteTime(struct RtcHost *host, const struct RtcTime *time) in HiRtcWriteTime() 328 static int32_t HiReadAlarm(struct RtcHost *host, enum RtcAlarmIndex alarmIndex, struct RtcTime *tim… in HiReadAlarm() 354 static int32_t HiWriteAlarm(struct RtcHost *host, enum RtcAlarmIndex alarmIndex, const struct RtcTi… in HiWriteAlarm() 380 static int32_t HiRegisterAlarmCallback(struct RtcHost *host, enum RtcAlarmIndex alarmIndex, RtcAlar… in HiRegisterAlarmCallback() 398 static int32_t HiAlarmInterruptEnable(struct RtcHost *host, enum RtcAlarmIndex alarmIndex, uint8_t … in HiAlarmInterruptEnable() 432 static int32_t HiGetFreq(struct RtcHost *host, uint32_t *freq) in HiGetFreq() 457 static int32_t HiSetFreq(struct RtcHost *host, uint32_t freq) in HiSetFreq() 489 static int32_t HiReset(struct RtcHost *host) in HiReset() 514 static int32_t HiReadReg(struct RtcHost *host, uint8_t usrDefIndex, uint8_t *value) in HiReadReg() [all …]
|
/device/board/openvalley/niobeu4/liteos_m/hdf_drivers/uart/ |
D | uart_esp32u4.c | 213 struct UartHost *host = NULL; in UartDriverRelease() local 235 struct UartHost *host = NULL; in UartDriverInit() local 261 static int32_t UartHostDevInit(struct UartHost *host) in UartHostDevInit() 308 static int32_t UartHostDevDeinit(struct UartHost *host) in UartHostDevDeinit() 319 static int32_t UartHostDevWrite(struct UartHost *host, uint8_t *data, uint32_t size) in UartHostDevWrite() 330 static int32_t UartHostDevRead(struct UartHost *host, uint8_t *data, uint32_t size) in UartHostDevRead() 362 static int32_t UartHostDevSetBaud(struct UartHost *host, uint32_t baudRate) in UartHostDevSetBaud() 378 static int32_t UartHostDevGetBaud(struct UartHost *host, uint32_t *baudRate) in UartHostDevGetBaud() 393 static int32_t UartHostDevSetAttribute(struct UartHost *host, struct UartAttribute *attribute) in UartHostDevSetAttribute() 420 static int32_t UartHostDevGetAttribute(struct UartHost *host, struct UartAttribute *attribute) in UartHostDevGetAttribute() [all …]
|
/device/soc/esp/esp32/components/hal/include/hal/ |
D | sdio_slave_ll.h | 82 static inline void sdio_slave_ll_set_timing(host_dev_t *host, sdio_slave_timing_t timing) in sdio_slave_ll_set_timing() 182 static inline uint32_t sdio_slave_ll_send_read_len(host_dev_t *host) in sdio_slave_ll_send_read_len() 267 static inline void sdio_slave_ll_send_hostint_clr(host_dev_t *host) in sdio_slave_ll_send_hostint_clr() 382 static inline intptr_t sdio_slave_ll_host_get_w_reg(host_dev_t* host, int pos) in sdio_slave_ll_host_get_w_reg() 394 static inline uint8_t sdio_slave_ll_host_get_reg(host_dev_t *host, int pos) in sdio_slave_ll_host_get_reg() 406 static inline void sdio_slave_ll_host_set_reg(host_dev_t* host, int pos, uint8_t reg) in sdio_slave_ll_host_set_reg() 420 static inline sdio_slave_hostint_t sdio_slave_ll_host_get_intena(host_dev_t* host) in sdio_slave_ll_host_get_intena() 431 static inline void sdio_slave_ll_host_set_intena(host_dev_t *host, const sdio_slave_hostint_t *mask) in sdio_slave_ll_host_set_intena() 441 static inline void sdio_slave_ll_host_intr_clear(host_dev_t* host, const sdio_slave_hostint_t *mask) in sdio_slave_ll_host_intr_clear()
|