Lines Matching refs:dss

41 	struct dss_io_data *dss = &io->dp_controller;  in dp_parser_ctrl_res()  local
43 dss->ahb.base = dp_ioremap(pdev, 0, &dss->ahb.len); in dp_parser_ctrl_res()
44 if (IS_ERR(dss->ahb.base)) in dp_parser_ctrl_res()
45 return PTR_ERR(dss->ahb.base); in dp_parser_ctrl_res()
47 dss->aux.base = dp_ioremap(pdev, 1, &dss->aux.len); in dp_parser_ctrl_res()
48 if (IS_ERR(dss->aux.base)) { in dp_parser_ctrl_res()
56 if (PTR_ERR(dss->aux.base) == -EINVAL) { in dp_parser_ctrl_res()
57 if (dss->ahb.len < DP_DEFAULT_P0_OFFSET + DP_DEFAULT_P0_SIZE) { in dp_parser_ctrl_res()
62 dss->ahb.len = DP_DEFAULT_AHB_SIZE; in dp_parser_ctrl_res()
63 dss->aux.base = dss->ahb.base + DP_DEFAULT_AUX_OFFSET; in dp_parser_ctrl_res()
64 dss->aux.len = DP_DEFAULT_AUX_SIZE; in dp_parser_ctrl_res()
65 dss->link.base = dss->ahb.base + DP_DEFAULT_LINK_OFFSET; in dp_parser_ctrl_res()
66 dss->link.len = DP_DEFAULT_LINK_SIZE; in dp_parser_ctrl_res()
67 dss->p0.base = dss->ahb.base + DP_DEFAULT_P0_OFFSET; in dp_parser_ctrl_res()
68 dss->p0.len = DP_DEFAULT_P0_SIZE; in dp_parser_ctrl_res()
70 DRM_ERROR("unable to remap aux region: %pe\n", dss->aux.base); in dp_parser_ctrl_res()
71 return PTR_ERR(dss->aux.base); in dp_parser_ctrl_res()
74 dss->link.base = dp_ioremap(pdev, 2, &dss->link.len); in dp_parser_ctrl_res()
75 if (IS_ERR(dss->link.base)) { in dp_parser_ctrl_res()
76 DRM_ERROR("unable to remap link region: %pe\n", dss->link.base); in dp_parser_ctrl_res()
77 return PTR_ERR(dss->link.base); in dp_parser_ctrl_res()
80 dss->p0.base = dp_ioremap(pdev, 3, &dss->p0.len); in dp_parser_ctrl_res()
81 if (IS_ERR(dss->p0.base)) { in dp_parser_ctrl_res()
82 DRM_ERROR("unable to remap p0 region: %pe\n", dss->p0.base); in dp_parser_ctrl_res()
83 return PTR_ERR(dss->p0.base); in dp_parser_ctrl_res()