Searched refs:reqmodes (Results 1 – 1 of 1) sorted by relevance
221 struct gud_display_mode_req *reqmodes = NULL; in gud_connector_get_modes() local250 reqmodes = kmalloc_array(GUD_CONNECTOR_MAX_NUM_MODES, sizeof(*reqmodes), GFP_KERNEL); in gud_connector_get_modes()251 if (!reqmodes) in gud_connector_get_modes()255 reqmodes, GUD_CONNECTOR_MAX_NUM_MODES * sizeof(*reqmodes)); in gud_connector_get_modes()258 if (ret % sizeof(*reqmodes)) { in gud_connector_get_modes()263 num_modes = ret / sizeof(*reqmodes); in gud_connector_get_modes()274 gud_to_display_mode(mode, &reqmodes[i]); in gud_connector_get_modes()281 kfree(reqmodes); in gud_connector_get_modes()