Home
last modified time | relevance | path

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

/linux/drivers/greybus/
H A Dsvc.c765 struct gb_svc_pwrmon_rail_names_get_response *rail_names; in gb_svc_pwrmon_debugfs_init() local
778 bufsize = struct_size(rail_names, name, rail_count); in gb_svc_pwrmon_debugfs_init()
780 rail_names = kzalloc_flex(*rail_names, name, rail_count); in gb_svc_pwrmon_debugfs_init()
781 if (!rail_names) in gb_svc_pwrmon_debugfs_init()
788 if (gb_svc_pwrmon_rail_names_get(svc, rail_names, bufsize)) in gb_svc_pwrmon_debugfs_init()
797 (char *)&rail_names->name[i]); in gb_svc_pwrmon_debugfs_init()
811 kfree(rail_names); in gb_svc_pwrmon_debugfs_init()
815 kfree(rail_names); in gb_svc_pwrmon_debugfs_init()