Lines Matching refs:fno

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()
1192 u8 num_regs, fno, page; in sd_parse_ext_reg() local
1227 fno = reg_addr >> 18 & 0xf; in sd_parse_ext_reg()
1231 return sd_parse_ext_reg_power(card, fno, page, offset); in sd_parse_ext_reg()
1235 return sd_parse_ext_reg_perf(card, fno, page, offset); in sd_parse_ext_reg()
1315 u8 *reg_buf, fno, page; in sd_flush_cache() local
1330 fno = card->ext_perf.fno; in sd_flush_cache()
1334 err = sd_write_ext_reg(card, fno, page, offset, BIT(0)); in sd_flush_cache()
1350 err = sd_read_ext_reg(card, fno, page, offset, 1, reg_buf); in sd_flush_cache()
1379 err = sd_write_ext_reg(card, card->ext_perf.fno, card->ext_perf.page, in sd_enable_cache()
1649 err = sd_read_ext_reg(card, card->ext_power.fno, card->ext_power.page, in sd_busy_poweroff_notify_cb()
1675 err = sd_write_ext_reg(card, card->ext_power.fno, card->ext_power.page, in sd_poweroff_notify()