Lines Matching refs:connector_count
235 unsigned int connector_count, in drm_client_connectors_enabled() argument
242 for (i = 0; i < connector_count; i++) { in drm_client_connectors_enabled()
254 for (i = 0; i < connector_count; i++) in drm_client_connectors_enabled()
260 unsigned int connector_count, in drm_client_target_cloned() argument
274 for (i = 0; i < connector_count; i++) { in drm_client_target_cloned()
285 for (i = 0; i < connector_count; i++) { in drm_client_target_cloned()
317 for (i = 0; i < connector_count; i++) { in drm_client_target_cloned()
344 unsigned int connector_count, in drm_client_get_tile_offsets() argument
354 for (i = 0; i < connector_count; i++) { in drm_client_get_tile_offsets()
377 unsigned int connector_count, in drm_client_target_preferred() argument
382 const u64 mask = BIT_ULL(connector_count) - 1; in drm_client_target_preferred()
389 for (i = 0; i < connector_count; i++) { in drm_client_target_preferred()
396 for (i = 0; i < connector_count; i++) { in drm_client_target_preferred()
426 drm_client_get_tile_offsets(connectors, connector_count, modes, offsets, i, in drm_client_target_preferred()
493 unsigned int connector_count, in drm_client_pick_crtcs() argument
505 if (n == connector_count) in drm_client_pick_crtcs()
511 best_score = drm_client_pick_crtcs(client, connectors, connector_count, in drm_client_pick_crtcs()
516 crtcs = kcalloc(connector_count, sizeof(*crtcs), GFP_KERNEL); in drm_client_pick_crtcs()
553 score = my_score + drm_client_pick_crtcs(client, connectors, connector_count, in drm_client_pick_crtcs()
557 memcpy(best_crtcs, crtcs, connector_count * sizeof(*crtcs)); in drm_client_pick_crtcs()
568 unsigned int connector_count, in drm_client_firmware_config() argument
574 const int count = min_t(unsigned int, connector_count, BITS_PER_LONG); in drm_client_firmware_config()
779 unsigned int connector_count = 0; in drm_client_modeset_probe() local
796 tmp = krealloc(connectors, (connector_count + 1) * sizeof(*connectors), GFP_KERNEL); in drm_client_modeset_probe()
804 connectors[connector_count++] = connector; in drm_client_modeset_probe()
808 if (!connector_count) in drm_client_modeset_probe()
811 crtcs = kcalloc(connector_count, sizeof(*crtcs), GFP_KERNEL); in drm_client_modeset_probe()
812 modes = kcalloc(connector_count, sizeof(*modes), GFP_KERNEL); in drm_client_modeset_probe()
813 offsets = kcalloc(connector_count, sizeof(*offsets), GFP_KERNEL); in drm_client_modeset_probe()
814 enabled = kcalloc(connector_count, sizeof(bool), GFP_KERNEL); in drm_client_modeset_probe()
824 for (i = 0; i < connector_count; i++) in drm_client_modeset_probe()
828 drm_client_connectors_enabled(connectors, connector_count, enabled); in drm_client_modeset_probe()
830 if (!drm_client_firmware_config(client, connectors, connector_count, crtcs, in drm_client_modeset_probe()
832 memset(modes, 0, connector_count * sizeof(*modes)); in drm_client_modeset_probe()
833 memset(crtcs, 0, connector_count * sizeof(*crtcs)); in drm_client_modeset_probe()
834 memset(offsets, 0, connector_count * sizeof(*offsets)); in drm_client_modeset_probe()
836 if (!drm_client_target_cloned(dev, connectors, connector_count, modes, in drm_client_modeset_probe()
838 !drm_client_target_preferred(connectors, connector_count, modes, in drm_client_modeset_probe()
845 drm_client_pick_crtcs(client, connectors, connector_count, in drm_client_modeset_probe()
852 for (i = 0; i < connector_count; i++) { in drm_client_modeset_probe()
886 for (i = 0; i < connector_count; i++) in drm_client_modeset_probe()