Searched refs:p_child (Results 1 – 5 of 5) sorted by relevance
341 struct child_device_config *p_child; in parse_sdvo_device_mapping() local355 if (p_defs->child_dev_size != sizeof(*p_child)) { in parse_sdvo_device_mapping()364 sizeof(*p_child); in parse_sdvo_device_mapping()367 p_child = &(p_defs->devices[i]); in parse_sdvo_device_mapping()368 if (!p_child->device_type) { in parse_sdvo_device_mapping()372 if (p_child->slave_addr != SLAVE_ADDR1 && in parse_sdvo_device_mapping()373 p_child->slave_addr != SLAVE_ADDR2) { in parse_sdvo_device_mapping()380 if (p_child->dvo_port != DEVICE_PORT_DVOB && in parse_sdvo_device_mapping()381 p_child->dvo_port != DEVICE_PORT_DVOC) { in parse_sdvo_device_mapping()388 p_child->slave_addr, in parse_sdvo_device_mapping()[all …]
1957 struct child_device_config *p_child; in cdv_intel_dpc_is_edp() local1964 p_child = dev_priv->child_dev + i; in cdv_intel_dpc_is_edp()1966 if (p_child->dvo_port == PORT_IDPC && in cdv_intel_dpc_is_edp()1967 p_child->device_type == DEVICE_TYPE_eDP) in cdv_intel_dpc_is_edp()
1085 const union child_device_config *p_child; in parse_device_mapping() local1104 BUILD_BUG_ON(sizeof(*p_child) < 38); in parse_device_mapping()1129 p_child = child_device_ptr(p_defs, i); in parse_device_mapping()1130 if (!p_child->common.device_type) { in parse_device_mapping()1140 dev_priv->vbt.child_dev = kcalloc(count, sizeof(*p_child), GFP_KERNEL); in parse_device_mapping()1149 p_child = child_device_ptr(p_defs, i); in parse_device_mapping()1150 if (!p_child->common.device_type) { in parse_device_mapping()1155 if (p_child->common.dvo_port >= DVO_PORT_MIPIA in parse_device_mapping()1156 && p_child->common.dvo_port <= DVO_PORT_MIPID in parse_device_mapping()1157 &&p_child->common.device_type & DEVICE_TYPE_MIPI_OUTPUT) { in parse_device_mapping()[all …]
1542 union child_device_config *p_child; in tv_is_present_in_vbt() local1550 p_child = dev_priv->vbt.child_dev + i; in tv_is_present_in_vbt()1554 switch (p_child->old.device_type) { in tv_is_present_in_vbt()1565 if (p_child->old.addin_offset) { in tv_is_present_in_vbt()
5208 union child_device_config *p_child; in intel_dp_is_edp() local5231 p_child = dev_priv->vbt.child_dev + i; in intel_dp_is_edp()5233 if (p_child->common.dvo_port == port_mapping[port] && in intel_dp_is_edp()5234 (p_child->common.device_type & DEVICE_TYPE_eDP_BITS) == in intel_dp_is_edp()