Searched refs:oinfo (Results 1 – 2 of 2) sorted by relevance
936 struct otp_info oinfo; in mtdchar_ioctl() local940 if (copy_from_user(&oinfo, argp, sizeof(oinfo))) in mtdchar_ioctl()943 ret = mtd_lock_user_prot_reg(mtd, oinfo.start, oinfo.length); in mtdchar_ioctl()945 ret = mtd_erase_user_prot_reg(mtd, oinfo.start, oinfo.length); in mtdchar_ioctl()
317 struct ti_abb_info *info, *oinfo; in ti_abb_set_voltage_sel() local356 oinfo = &abb->info[abb->current_info_idx]; in ti_abb_set_voltage_sel()357 if (!memcmp(info, oinfo, sizeof(*info))) { in ti_abb_set_voltage_sel()