Home
last modified time | relevance | path

Searched refs:lane_cfg (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/media/platform/qcom/camss/
H A Dcamss-csiphy-2ph-1-0.c30 static u8 csiphy_get_lane_mask(struct csiphy_lanes_cfg *lane_cfg) in csiphy_get_lane_mask() argument
37 for (i = 0; i < lane_cfg->num_data; i++) in csiphy_get_lane_mask()
38 lane_mask |= 1 << lane_cfg->data[i].pos; in csiphy_get_lane_mask()
101 struct csiphy_lanes_cfg *c = &cfg->csi2->lane_cfg; in csiphy_lanes_enable()
140 struct csiphy_lanes_cfg *c = &cfg->csi2->lane_cfg; in csiphy_lanes_disable()
H A Dcamss-csiphy.h36 struct csiphy_lanes_cfg lane_cfg; member
64 u8 (*get_lane_mask)(struct csiphy_lanes_cfg *lane_cfg);
H A Dcamss-csiphy-3ph-1-0.c442 struct csiphy_lanes_cfg *c = &cfg->csi2->lane_cfg; in csiphy_gen1_config_lanes()
542 static u8 csiphy_get_lane_mask(struct csiphy_lanes_cfg *lane_cfg) in csiphy_get_lane_mask() argument
549 for (i = 0; i < lane_cfg->num_data; i++) in csiphy_get_lane_mask()
550 lane_mask |= 1 << lane_cfg->data[i].pos; in csiphy_get_lane_mask()
574 struct csiphy_lanes_cfg *c = &cfg->csi2->lane_cfg; in csiphy_lanes_enable()
H A Dcamss-csid.c1153 static u32 csid_get_lane_assign(struct csiphy_lanes_cfg *lane_cfg) in csid_get_lane_assign() argument
1158 for (i = 0; i < lane_cfg->num_data; i++) in csid_get_lane_assign()
1159 lane_assign |= lane_cfg->data[i].pos << (i * 4); in csid_get_lane_assign()
1186 struct csiphy_lanes_cfg *lane_cfg; in csid_link_setup() local
1206 lane_cfg = &csiphy->cfg.csi2->lane_cfg; in csid_link_setup()
1207 csid->phy.lane_cnt = lane_cfg->num_data; in csid_link_setup()
1208 csid->phy.lane_assign = csid_get_lane_assign(lane_cfg); in csid_link_setup()
H A Dcamss-csiphy.c146 u8 num_lanes = csiphy->cfg.csi2->lane_cfg.num_data; in csiphy_set_clock_rates()
256 u8 lane_mask = csiphy->res->hw_ops->get_lane_mask(&cfg->csi2->lane_cfg); in csiphy_stream_on()
259 u8 num_lanes = csiphy->cfg.csi2->lane_cfg.num_data; in csiphy_stream_on()
H A Dcamss.c1694 struct csiphy_lanes_cfg *lncfg = &csd->interface.csi2.lane_cfg; in camss_of_parse_endpoint_node()
/linux/drivers/gpu/drm/omapdrm/dss/
H A Dhdmi_phy.c97 u16 lane_cfg = 0; in hdmi_phy_configure_lanes() local
103 lane_cfg |= phy->lane_function[i] << ((3 - i) * 4); in hdmi_phy_configure_lanes()
111 if (pad_cfg_list[i] == lane_cfg) in hdmi_phy_configure_lanes()
/linux/drivers/video/fbdev/omap2/omapfb/dss/
H A Dhdmi_phy.c106 u16 lane_cfg = 0; in hdmi_phy_configure_lanes() local
112 lane_cfg |= phy->lane_function[i] << ((3 - i) * 4); in hdmi_phy_configure_lanes()
120 if (pad_cfg_list[i] == lane_cfg) in hdmi_phy_configure_lanes()