Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/staging/greybus/
Dsvc.c145 *value = response.rail_count; in gb_svc_pwrmon_rail_count_get()
766 u8 rail_count; in gb_svc_pwrmon_debugfs_init() local
772 if (gb_svc_pwrmon_rail_count_get(svc, &rail_count)) in gb_svc_pwrmon_debugfs_init()
775 if (!rail_count || rail_count > GB_SVC_PWRMON_MAX_RAIL_COUNT) in gb_svc_pwrmon_debugfs_init()
779 GB_SVC_PWRMON_RAIL_NAME_BUFSIZE * rail_count; in gb_svc_pwrmon_debugfs_init()
785 svc->pwrmon_rails = kcalloc(rail_count, sizeof(*svc->pwrmon_rails), in gb_svc_pwrmon_debugfs_init()
793 for (i = 0; i < rail_count; i++) { in gb_svc_pwrmon_debugfs_init()
Dgreybus_protocols.h1228 __u8 rail_count; member