D | sd.c | 1018 static int sd_write_ext_reg(struct mmc_card *card, u8 fno, u8 page, u16 offset, in sd_write_ext_reg() argument 1044 cmd.arg = fno << 27 | page << 18 | offset << 9; in sd_write_ext_reg() 1078 static int sd_read_ext_reg(struct mmc_card *card, u8 fno, u8 page, in sd_read_ext_reg() argument 1092 cmd_args = fno << 27 | page << 18 | offset << 9 | (len -1); in sd_read_ext_reg() 1098 static int sd_parse_ext_reg_power(struct mmc_card *card, u8 fno, u8 page, in sd_parse_ext_reg_power() argument 1109 err = sd_read_ext_reg(card, fno, page, offset, 512, reg_buf); in sd_parse_ext_reg_power() 1131 card->ext_power.fno = fno; in sd_parse_ext_reg_power() 1140 static int sd_parse_ext_reg_perf(struct mmc_card *card, u8 fno, u8 page, in sd_parse_ext_reg_perf() argument 1150 err = sd_read_ext_reg(card, fno, page, offset, 512, reg_buf); in sd_parse_ext_reg_perf() 1180 card->ext_perf.fno = fno; in sd_parse_ext_reg_perf() [all …]
|