Searched refs:gen_info_buf (Results 1 – 1 of 1) sorted by relevance
/linux-6.1.9/drivers/mmc/core/ |
D | sd.c | 1189 static int sd_parse_ext_reg(struct mmc_card *card, u8 *gen_info_buf, in sd_parse_ext_reg() argument 1205 memcpy(&sfc, &gen_info_buf[ext], 2); in sd_parse_ext_reg() 1208 memcpy(next_ext_addr, &gen_info_buf[ext + 40], 2); in sd_parse_ext_reg() 1211 num_regs = gen_info_buf[ext + 42]; in sd_parse_ext_reg() 1218 memcpy(®_addr, &gen_info_buf[ext + 44], 4); in sd_parse_ext_reg() 1243 u8 num_ext, *gen_info_buf; in sd_read_ext_regs() local 1252 gen_info_buf = kzalloc(512, GFP_KERNEL); in sd_read_ext_regs() 1253 if (!gen_info_buf) in sd_read_ext_regs() 1260 err = sd_read_ext_reg(card, 0, 0, 0, 512, gen_info_buf); in sd_read_ext_regs() 1268 memcpy(&rev, &gen_info_buf[0], 2); in sd_read_ext_regs() [all …]
|