Lines Matching refs:acc_desc
187 struct acc_desc { struct
198 const struct acc_desc *acc_desc; argument
246 const struct acc_desc *acc_desc; member
847 const struct acc_desc *acc_desc = drv->acc_desc; in cpr_fuse_corner_init() local
856 accs = acc_desc->settings; in cpr_fuse_corner_init()
908 fuse->num_accs = acc_desc->num_regs_per_fuse; in cpr_fuse_corner_init()
909 accs += acc_desc->num_regs_per_fuse; in cpr_fuse_corner_init()
1396 static const struct acc_desc qcs404_acc_desc = {
1414 .acc_desc = &qcs404_acc_desc,
1435 const struct acc_desc *acc_desc = drv->acc_desc; in cpr_pd_attach_dev() local
1516 if (acc_desc->config) in cpr_pd_attach_dev()
1517 regmap_multi_reg_write(drv->tcsr, acc_desc->config, in cpr_pd_attach_dev()
1518 acc_desc->num_regs_per_fuse); in cpr_pd_attach_dev()
1521 if (acc_desc->enable_mask) in cpr_pd_attach_dev()
1522 regmap_update_bits(drv->tcsr, acc_desc->enable_reg, in cpr_pd_attach_dev()
1523 acc_desc->enable_mask, in cpr_pd_attach_dev()
1524 acc_desc->enable_mask); in cpr_pd_attach_dev()
1600 if (!data || !data->cpr_desc || !data->acc_desc) in cpr_probe()
1608 drv->acc_desc = data->acc_desc; in cpr_probe()