Lines Matching defs:sbe
584 struct soc_bytes_ext *sbe;
587 sbe = (struct soc_bytes_ext *)k->private_value;
604 if (IS_ENABLED(CONFIG_SND_CTL_VALIDATION) && sbe->max > 512)
610 if (!sbe->put &&
612 sbe->put = ext_ops[i].put;
613 if (!sbe->get &&
615 sbe->get = ext_ops[i].get;
618 if ((k->access & SNDRV_CTL_ELEM_ACCESS_TLV_READ) && !sbe->get)
620 if ((k->access & SNDRV_CTL_ELEM_ACCESS_TLV_WRITE) && !sbe->put)
755 struct soc_bytes_ext *sbe;
776 sbe = kzalloc(sizeof(*sbe), GFP_KERNEL);
777 if (sbe == NULL)
789 kc.private_value = (long)sbe;
793 sbe->max = le32_to_cpu(be->max);
794 sbe->dobj.type = SND_SOC_DOBJ_BYTES;
795 sbe->dobj.ops = tplg->ops;
796 INIT_LIST_HEAD(&sbe->dobj.list);
802 kfree(sbe);
812 kfree(sbe);
818 &sbe->dobj.control.kcontrol);
822 kfree(sbe);
826 list_add(&sbe->dobj.list, &tplg->comp->dobj_list);
1519 struct soc_bytes_ext *sbe;
1535 sbe = kzalloc(sizeof(*sbe), GFP_KERNEL);
1536 if (sbe == NULL)
1546 kc[i].private_value = (long)sbe;
1553 sbe->max = le32_to_cpu(be->max);
1554 INIT_LIST_HEAD(&sbe->dobj.list);
1577 sbe = (struct soc_bytes_ext *)kc[i].private_value;
1578 kfree(sbe);