• Home
  • Raw
  • Download

Lines Matching refs:fuses

808 	const struct cpr_fuse *fuses = drv->cpr_fuses;  in cpr_populate_ring_osc_idx()  local
812 for (; fuse < end; fuse++, fuses++) { in cpr_populate_ring_osc_idx()
813 ret = nvmem_cell_read_variable_le_u32(drv->dev, fuses->ring_osc, &data); in cpr_populate_ring_osc_idx()
850 const struct cpr_fuse *fuses = drv->cpr_fuses; in cpr_fuse_corner_init() local
871 for (i = 0; fuse <= end; fuse++, fuses++, i++, fdata++) { in cpr_fuse_corner_init()
881 uV = cpr_read_fuse_uV(desc, fdata, fuses->init_voltage, in cpr_fuse_corner_init()
901 ret = nvmem_cell_read_variable_le_u32(drv->dev, fuses->quotient, &fuse->quot); in cpr_fuse_corner_init()
1078 const struct cpr_fuse *fuses = drv->cpr_fuses; in cpr_corner_init() local
1176 quot_offset = fuses[fnum].quotient_offset; in cpr_corner_init()
1229 struct cpr_fuse *fuses; in cpr_get_fuses() local
1232 fuses = devm_kcalloc(drv->dev, desc->num_fuse_corners, in cpr_get_fuses()
1235 if (!fuses) in cpr_get_fuses()
1242 fuses[i].ring_osc = devm_kstrdup(drv->dev, tbuf, GFP_KERNEL); in cpr_get_fuses()
1243 if (!fuses[i].ring_osc) in cpr_get_fuses()
1247 fuses[i].init_voltage = devm_kstrdup(drv->dev, tbuf, in cpr_get_fuses()
1249 if (!fuses[i].init_voltage) in cpr_get_fuses()
1253 fuses[i].quotient = devm_kstrdup(drv->dev, tbuf, GFP_KERNEL); in cpr_get_fuses()
1254 if (!fuses[i].quotient) in cpr_get_fuses()
1258 fuses[i].quotient_offset = devm_kstrdup(drv->dev, tbuf, in cpr_get_fuses()
1260 if (!fuses[i].quotient_offset) in cpr_get_fuses()
1264 return fuses; in cpr_get_fuses()