Home
last modified time | relevance | path

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

/drivers/greybus/
Dsvc.c763 struct gb_svc_pwrmon_rail_names_get_response *rail_names; in gb_svc_pwrmon_debugfs_init() local
776 bufsize = sizeof(*rail_names) + in gb_svc_pwrmon_debugfs_init()
779 rail_names = kzalloc(bufsize, GFP_KERNEL); in gb_svc_pwrmon_debugfs_init()
780 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()