Lines Matching refs:dev
135 dev_err(engine->dev, in crypto_pump_requests()
415 dev_warn(engine->dev, "could not stop engine\n"); in crypto_engine_stop()
433 struct crypto_engine *crypto_engine_alloc_init_and_set(struct device *dev, in crypto_engine_alloc_init_and_set() argument
439 if (!dev) in crypto_engine_alloc_init_and_set()
442 engine = devm_kzalloc(dev, sizeof(*engine), GFP_KERNEL); in crypto_engine_alloc_init_and_set()
446 engine->dev = dev; in crypto_engine_alloc_init_and_set()
451 engine->priv_data = dev; in crypto_engine_alloc_init_and_set()
454 "%s-engine", dev_name(dev)); in crypto_engine_alloc_init_and_set()
461 dev_err(dev, "failed to create crypto request pump task\n"); in crypto_engine_alloc_init_and_set()
467 dev_info(dev, "will run requests pump with realtime priority\n"); in crypto_engine_alloc_init_and_set()
484 struct crypto_engine *crypto_engine_alloc_init(struct device *dev, bool rt) in crypto_engine_alloc_init() argument
486 return crypto_engine_alloc_init_and_set(dev, false, rt, in crypto_engine_alloc_init()