Lines Matching refs:eq_param
422 struct rt5645_eq_param_s *eq_param; member
677 struct rt5645_eq_param_s_be16 *eq_param = in rt5645_hweq_get() local
682 eq_param[i].reg = cpu_to_be16(rt5645->eq_param[i].reg); in rt5645_hweq_get()
683 eq_param[i].val = cpu_to_be16(rt5645->eq_param[i].val); in rt5645_hweq_get()
703 struct rt5645_eq_param_s_be16 *eq_param = in rt5645_hweq_put() local
708 rt5645->eq_param[i].reg = be16_to_cpu(eq_param[i].reg); in rt5645_hweq_put()
709 rt5645->eq_param[i].val = be16_to_cpu(eq_param[i].val); in rt5645_hweq_put()
714 if (rt5645->eq_param[i].reg == 0) in rt5645_hweq_put()
716 else if (rt5645->eq_param[i].reg != RT5645_EQ_CTRL2) in rt5645_hweq_put()
723 if (!rt5645_validate_hweq(rt5645->eq_param[i].reg) && in rt5645_hweq_put()
724 rt5645->eq_param[i].reg != 0) in rt5645_hweq_put()
726 else if (rt5645->eq_param[i].reg == 0) in rt5645_hweq_put()
931 if (rt5645_validate_hweq(rt5645->eq_param[i].reg)) in rt5645_enable_hweq()
932 regmap_write(rt5645->regmap, rt5645->eq_param[i].reg, in rt5645_enable_hweq()
933 rt5645->eq_param[i].val); in rt5645_enable_hweq()
3418 rt5645->eq_param = devm_kcalloc(component->dev, in rt5645_probe()
3422 if (!rt5645->eq_param) in rt5645_probe()