Searched refs:HL_STR_MAX (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/drivers/accel/habanalabs/common/ |
D | habanalabs_drv.c | 468 strscpy(hdev->status[HL_DEVICE_STATUS_OPERATIONAL], "operational", HL_STR_MAX); in create_hdev() 469 strscpy(hdev->status[HL_DEVICE_STATUS_IN_RESET], "in reset", HL_STR_MAX); in create_hdev() 470 strscpy(hdev->status[HL_DEVICE_STATUS_MALFUNCTION], "disabled", HL_STR_MAX); in create_hdev() 471 strscpy(hdev->status[HL_DEVICE_STATUS_NEEDS_RESET], "needs reset", HL_STR_MAX); in create_hdev() 473 "in device creation", HL_STR_MAX); in create_hdev() 475 "in reset after device release", HL_STR_MAX); in create_hdev()
|
D | sysfs.c | 302 char str[HL_STR_MAX]; in status_show() 304 strscpy(str, hdev->status[hl_device_status(hdev)], HL_STR_MAX); in status_show()
|
D | habanalabs.h | 2575 #define HL_STR_MAX 64 macro 3425 char asic_name[HL_STR_MAX]; 3426 char status[HL_DEV_STS_MAX][HL_STR_MAX];
|