Searched refs:config_csdev (Results 1 – 3 of 3) sorted by relevance
138 static int cscfg_update_presets(struct cscfg_config_csdev *config_csdev, int preset) in cscfg_update_presets() argument143 const struct cscfg_config_desc *config_desc = config_csdev->config_desc; in cscfg_update_presets()160 for (i = 0; i < config_csdev->nr_feat; i++) { in cscfg_update_presets()161 feat_csdev = config_csdev->feats_csdev[i]; in cscfg_update_presets()170 dev_dbg(&config_csdev->csdev->dev, in cscfg_update_presets()175 dev_dbg(&config_csdev->csdev->dev, in cscfg_update_presets()192 static int cscfg_update_curr_params(struct cscfg_config_csdev *config_csdev) in cscfg_update_curr_params() argument200 for (i = 0; i < config_csdev->nr_feat; i++) { in cscfg_update_curr_params()201 feat_csdev = config_csdev->feats_csdev[i]; in cscfg_update_curr_params()209 dev_dbg(&config_csdev->csdev->dev, in cscfg_update_curr_params()[all …]
48 struct cscfg_config_csdev *config_csdev = NULL; in cscfg_alloc_csdev_cfg() local52 config_csdev = devm_kzalloc(dev, in cscfg_alloc_csdev_cfg()55 if (!config_csdev) in cscfg_alloc_csdev_cfg()58 config_csdev->csdev = csdev; in cscfg_alloc_csdev_cfg()59 return config_csdev; in cscfg_alloc_csdev_cfg()66 struct cscfg_config_csdev *config_csdev = NULL; in cscfg_add_csdev_cfg() local80 if (!config_csdev) { in cscfg_add_csdev_cfg()81 config_csdev = cscfg_alloc_csdev_cfg(csdev, in cscfg_add_csdev_cfg()83 if (!config_csdev) in cscfg_add_csdev_cfg()85 config_csdev->config_desc = config_desc; in cscfg_add_csdev_cfg()[all …]
256 int cscfg_csdev_enable_config(struct cscfg_config_csdev *config_csdev, int preset);257 void cscfg_csdev_disable_config(struct cscfg_config_csdev *config_csdev);