Home
last modified time | relevance | path

Searched refs:dev_cfg_data (Results 1 – 1 of 1) sorted by relevance

/Linux-v6.1/drivers/crypto/qat/qat_common/
Dadf_cfg.c69 struct adf_cfg_device_data *dev_cfg_data; in adf_cfg_dev_add() local
71 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() local
93 down_write(&dev_cfg_data->lock); in adf_cfg_del_all()
[all …]