Lines Matching refs:bc

266 			      struct sst_algo_control *bc)  in sst_send_algo_cmd()  argument
272 len = sizeof(cmd->dst) + sizeof(cmd->command_id) + bc->max; in sst_send_algo_cmd()
278 SST_FILL_DESTINATION(2, cmd->dst, bc->pipe_id, bc->module_id); in sst_send_algo_cmd()
279 cmd->command_id = bc->cmd_id; in sst_send_algo_cmd()
280 memcpy(cmd->params, bc->params, bc->max); in sst_send_algo_cmd()
283 SST_FLAG_BLOCKED, bc->task_id, 0, cmd, len); in sst_send_algo_cmd()
301 struct sst_algo_control *bc; in sst_find_and_send_pipe_algo() local
307 bc = (void *)algo->kctl->private_value; in sst_find_and_send_pipe_algo()
311 ret = sst_send_algo_cmd(drv, bc); in sst_find_and_send_pipe_algo()
321 struct sst_algo_control *bc = (void *)kcontrol->private_value; in sst_algo_bytes_ctl_info() local
324 uinfo->count = bc->max; in sst_algo_bytes_ctl_info()
332 struct sst_algo_control *bc = (void *)kcontrol->private_value; in sst_algo_control_get() local
335 switch (bc->type) { in sst_algo_control_get()
337 memcpy(ucontrol->value.bytes.data, bc->params, bc->max); in sst_algo_control_get()
341 bc->type); in sst_algo_control_get()
354 struct sst_algo_control *bc = (void *)kcontrol->private_value; in sst_algo_control_set() local
358 switch (bc->type) { in sst_algo_control_set()
360 memcpy(bc->params, ucontrol->value.bytes.data, bc->max); in sst_algo_control_set()
365 bc->type); in sst_algo_control_set()
369 if (bc->w && bc->w->power) in sst_algo_control_set()
370 ret = sst_send_algo_cmd(drv, bc); in sst_algo_control_set()
1291 struct sst_algo_control *bc; in sst_algo_control_init() local
1294 bc = (struct sst_algo_control *)sst_algo_controls[i].private_value; in sst_algo_control_init()
1295 bc->params = devm_kzalloc(dev, bc->max, GFP_KERNEL); in sst_algo_control_init()
1296 if (bc->params == NULL) in sst_algo_control_init()
1406 struct sst_algo_control *bc = (void *)kctl->private_value; in sst_fill_module_list() local
1408 bc->w = w; in sst_fill_module_list()