Lines Matching refs:mmc

412 	struct mmc *mmc;  member
424 struct mmc *mmc_get_mmc_dev(const struct udevice *dev);
455 struct mmc;
580 int mmc_set_ios(struct mmc *mmc);
581 void mmc_send_init_stream(struct mmc *mmc);
582 int mmc_getcd(struct mmc *mmc);
583 int mmc_getwp(struct mmc *mmc);
584 int mmc_execute_tuning(struct mmc *mmc, uint opcode);
585 int mmc_wait_dat0(struct mmc *mmc, int state, int timeout_us);
586 int mmc_set_enhanced_strobe(struct mmc *mmc);
587 int mmc_host_power_cycle(struct mmc *mmc);
588 int mmc_deferred_probe(struct mmc *mmc);
589 int mmc_reinit(struct mmc *mmc);
590 int mmc_get_b_max(struct mmc *mmc, void *dst, lbaint_t blkcnt);
591 int mmc_hs400_prepare_ddr(struct mmc *mmc);
592 int mmc_send_stop_transmission(struct mmc *mmc, bool write);
596 int (*send_cmd)(struct mmc *mmc,
598 int (*set_ios)(struct mmc *mmc);
599 int (*init)(struct mmc *mmc);
600 int (*getcd)(struct mmc *mmc);
601 int (*getwp)(struct mmc *mmc);
602 int (*host_power_cycle)(struct mmc *mmc);
603 int (*get_b_max)(struct mmc *mmc, void *dst, lbaint_t blkcnt);
604 int (*wait_dat0)(struct mmc *mmc, int state, int timeout_us);
607 static inline int mmc_hs400_prepare_ddr(struct mmc *mmc) in mmc_hs400_prepare_ddr() argument
694 struct mmc { struct
809 struct mmc *mmc_create(const struct mmc_config *cfg, void *priv);
822 int mmc_bind(struct udevice *dev, struct mmc *mmc,
824 void mmc_destroy(struct mmc *mmc);
835 int mmc_init(struct mmc *mmc);
836 int mmc_send_tuning(struct mmc *mmc, u32 opcode);
837 int mmc_send_cmd(struct mmc *mmc, struct mmc_cmd *cmd, struct mmc_data *data);
838 int mmc_deinit(struct mmc *mmc);
860 int mmc_read(struct mmc *mmc, u64 src, uchar *dst, int size);
877 int mmc_set_clock(struct mmc *mmc, uint clock, bool disable);
882 struct mmc *find_mmc_device(int dev_num);
892 int mmc_switch_part(struct mmc *mmc, unsigned int part_num);
893 int mmc_hwpart_config(struct mmc *mmc, const struct mmc_hwpart_conf *conf,
897 int mmc_getcd(struct mmc *mmc);
898 int board_mmc_getcd(struct mmc *mmc);
899 int mmc_getwp(struct mmc *mmc);
900 int board_mmc_getwp(struct mmc *mmc);
903 int mmc_set_dsr(struct mmc *mmc, u16 val);
905 int mmc_boot_partition_size_change(struct mmc *mmc, unsigned long bootsize,
908 int mmc_set_part_conf(struct mmc *mmc, u8 ack, u8 part_num, u8 access);
910 int mmc_set_boot_bus_width(struct mmc *mmc, u8 width, u8 reset, u8 mode);
912 int mmc_set_rst_n_function(struct mmc *mmc, u8 enable);
914 int mmc_rpmb_set_key(struct mmc *mmc, void *key);
915 int mmc_rpmb_get_counter(struct mmc *mmc, unsigned long *counter);
916 int mmc_rpmb_read(struct mmc *mmc, void *addr, unsigned short blk,
918 int mmc_rpmb_write(struct mmc *mmc, void *addr, unsigned short blk,
936 int mmc_rpmb_route_frames(struct mmc *mmc, void *req, unsigned long reqlen,
949 int mmc_set_bkops_enable(struct mmc *mmc, bool autobkops, bool enable);
960 int mmc_get_op_cond(struct mmc *mmc, bool quiet);
971 int mmc_start_init(struct mmc *mmc);
985 void mmc_set_preinit(struct mmc *mmc, int preinit);
988 #define mmc_host_is_spi(mmc) ((mmc)->cfg->host_caps & MMC_MODE_SPI) argument
990 #define mmc_host_is_spi(mmc) 0 argument
998 int mmc_get_env_addr(struct mmc *mmc, int copy, u32 *env_addr);
1000 extern uint mmc_get_env_part(struct mmc *mmc);
1013 struct blk_desc *mmc_get_blk_desc(struct mmc *mmc);
1034 int mmc_send_ext_csd(struct mmc *mmc, u8 *ext_csd);
1043 int mmc_boot_wp(struct mmc *mmc);
1055 int mmc_boot_wp_single_partition(struct mmc *mmc, int partition);