Lines Matching defs:be
217 struct soc_bytes_ext *be =
219 struct snd_sof_control *scontrol = be->dobj.private;
225 if (be->max > sizeof(ucontrol->value.bytes.data)) {
228 be->max);
232 /* be->max has been verified to be >= sizeof(struct sof_abi_hdr) */
233 if (data->size > be->max - sizeof(*data)) {
236 data->size, be->max - sizeof(*data));
251 struct soc_bytes_ext *be =
253 struct snd_sof_control *scontrol = be->dobj.private;
259 if (be->max > sizeof(ucontrol->value.bytes.data)) {
262 be->max);
266 /* be->max has been verified to be >= sizeof(struct sof_abi_hdr) */
267 if (data->size > be->max - sizeof(*data)) {
270 data->size, be->max - sizeof(*data));
294 struct soc_bytes_ext *be =
296 struct snd_sof_control *scontrol = be->dobj.private;
322 /* be->max is coming from topology */
323 if (header.length > be->max) {
325 header.length, be->max);
353 /* be->max has been verified to be >= sizeof(struct sof_abi_hdr) */
354 if (cdata->data->size > be->max - sizeof(const struct sof_abi_hdr)) {
373 struct soc_bytes_ext *be = (struct soc_bytes_ext *)kcontrol->private_value;
374 struct snd_sof_control *scontrol = be->dobj.private;
408 if (cdata->data->size > be->max - sizeof(const struct sof_abi_hdr)) {
411 be->max - sizeof(const struct sof_abi_hdr));
446 struct soc_bytes_ext *be =
448 struct snd_sof_control *scontrol = be->dobj.private;
469 if (cdata->data->size > be->max - sizeof(const struct sof_abi_hdr)) {
472 be->max - sizeof(const struct sof_abi_hdr));