Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/accel/habanalabs/gaudi2/
Dgaudi2.c4597 u32 *engine_ids, u32 num_engines, u32 engine_command) in gaudi2_set_engine_modes() argument
4602 switch (engine_ids[i]) { in gaudi2_set_engine_modes()
4607 rc = gaudi2_set_tpc_engine_mode(hdev, engine_ids[i], engine_command); in gaudi2_set_engine_modes()
4616 rc = gaudi2_set_mme_engine_mode(hdev, engine_ids[i], engine_command); in gaudi2_set_engine_modes()
4625 rc = gaudi2_set_edma_engine_mode(hdev, engine_ids[i], engine_command); in gaudi2_set_engine_modes()
4631 dev_err(hdev->dev, "Invalid engine ID %u\n", engine_ids[i]); in gaudi2_set_engine_modes()
4639 static int gaudi2_set_engines(struct hl_device *hdev, u32 *engine_ids, in gaudi2_set_engines() argument
4645 return gaudi2_set_engine_cores(hdev, engine_ids, num_engines, engine_command); in gaudi2_set_engines()
4649 return gaudi2_set_engine_modes(hdev, engine_ids, num_engines, engine_command); in gaudi2_set_engines()
/Linux-v6.6/drivers/accel/habanalabs/common/
Dhabanalabs.h1706 int (*set_engines)(struct hl_device *hdev, u32 *engine_ids,