Lines Matching defs:path_plat
399 static int path_init(struct mmphw_path_plat *path_plat,
402 struct mmphw_ctrl *ctrl = path_plat->ctrl;
416 path_info->id = path_plat->id;
421 path_info->plat_data = path_plat;
429 path_plat->path = path;
430 path_plat->path_config = config->path_config;
431 path_plat->link_config = config->link_config;
432 path_plat->dsi_rbswap = config->dsi_rbswap;
439 static void path_deinit(struct mmphw_path_plat *path_plat)
441 if (!path_plat)
444 if (path_plat->path)
445 mmp_unregister_path(path_plat->path);
453 struct mmphw_path_plat *path_plat;
538 path_plat = &ctrl->path_plats[i];
539 path_plat->id = i;
540 path_plat->ctrl = ctrl;
543 if (!path_init(path_plat, &mi->paths[i])) {
561 path_plat = &ctrl->path_plats[i];
562 path_deinit(path_plat);