Searched refs:dev_cfg_data (Results 1 – 1 of 1) sorted by relevance
69 struct adf_cfg_device_data *dev_cfg_data; in adf_cfg_dev_add() local71 dev_cfg_data = kzalloc(sizeof(*dev_cfg_data), GFP_KERNEL); in adf_cfg_dev_add()72 if (!dev_cfg_data) in adf_cfg_dev_add()74 INIT_LIST_HEAD(&dev_cfg_data->sec_list); in adf_cfg_dev_add()75 init_rwsem(&dev_cfg_data->lock); in adf_cfg_dev_add()76 accel_dev->cfg = dev_cfg_data; in adf_cfg_dev_add()79 dev_cfg_data->debug = debugfs_create_file("dev_cfg", S_IRUSR, in adf_cfg_dev_add()81 dev_cfg_data, in adf_cfg_dev_add()91 struct adf_cfg_device_data *dev_cfg_data = accel_dev->cfg; in adf_cfg_del_all() local93 down_write(&dev_cfg_data->lock); in adf_cfg_del_all()[all …]