Lines Matching refs:mmc

351 	struct mmc *mmc;  member
363 struct mmc *mmc_get_mmc_dev(struct udevice *dev);
394 struct mmc;
478 int mmc_set_ios(struct mmc *mmc);
479 void mmc_send_init_stream(struct mmc *mmc);
480 int mmc_getcd(struct mmc *mmc);
481 int mmc_getwp(struct mmc *mmc);
482 int mmc_execute_tuning(struct mmc *mmc, uint opcode);
483 int mmc_wait_dat0(struct mmc *mmc, int state, int timeout);
487 int (*send_cmd)(struct mmc *mmc,
489 int (*set_ios)(struct mmc *mmc);
490 int (*init)(struct mmc *mmc);
491 int (*getcd)(struct mmc *mmc);
492 int (*getwp)(struct mmc *mmc);
570 struct mmc { struct
666 struct mmc *mmc_create(const struct mmc_config *cfg, void *priv);
679 int mmc_bind(struct udevice *dev, struct mmc *mmc,
681 void mmc_destroy(struct mmc *mmc);
691 int mmc_init(struct mmc *mmc);
692 int mmc_send_tuning(struct mmc *mmc, u32 opcode, int *cmd_error);
697 int mmc_deinit(struct mmc *mmc);
709 int mmc_read(struct mmc *mmc, u64 src, uchar *dst, int size);
726 int mmc_set_clock(struct mmc *mmc, uint clock, bool disable);
731 struct mmc *find_mmc_device(int dev_num);
741 int mmc_switch_part(struct mmc *mmc, unsigned int part_num);
742 int mmc_hwpart_config(struct mmc *mmc, const struct mmc_hwpart_conf *conf,
746 int mmc_getcd(struct mmc *mmc);
747 int board_mmc_getcd(struct mmc *mmc);
748 int mmc_getwp(struct mmc *mmc);
749 int board_mmc_getwp(struct mmc *mmc);
752 int mmc_set_dsr(struct mmc *mmc, u16 val);
754 int mmc_boot_partition_size_change(struct mmc *mmc, unsigned long bootsize,
757 int mmc_set_part_conf(struct mmc *mmc, u8 ack, u8 part_num, u8 access);
759 int mmc_set_boot_bus_width(struct mmc *mmc, u8 width, u8 reset, u8 mode);
761 int mmc_set_rst_n_function(struct mmc *mmc, u8 enable);
763 int mmc_rpmb_set_key(struct mmc *mmc, void *key);
764 int mmc_rpmb_get_counter(struct mmc *mmc, unsigned long *counter);
765 int mmc_rpmb_read(struct mmc *mmc, void *addr, unsigned short blk,
767 int mmc_rpmb_write(struct mmc *mmc, void *addr, unsigned short blk,
785 int mmc_rpmb_route_frames(struct mmc *mmc, void *req, unsigned long reqlen,
789 int mmc_set_bkops_enable(struct mmc *mmc);
800 int mmc_get_op_cond(struct mmc *mmc);
811 int mmc_start_init(struct mmc *mmc);
825 void mmc_set_preinit(struct mmc *mmc, int preinit);
828 #define mmc_host_is_spi(mmc) ((mmc)->cfg->host_caps & MMC_MODE_SPI) argument
830 #define mmc_host_is_spi(mmc) 0 argument
832 struct mmc *mmc_spi_init(uint bus, uint cs, uint speed, uint mode);
837 int mmc_get_env_addr(struct mmc *mmc, int copy, u32 *env_addr);
839 extern uint mmc_get_env_part(struct mmc *mmc);
854 struct blk_desc *mmc_get_blk_desc(struct mmc *mmc);