Lines Matching refs:child
463 const struct old_child_dev_config *child; /* legacy */ in parse_sdvo_device_mapping() local
478 if (p_defs->child_dev_size != sizeof(*child)) { in parse_sdvo_device_mapping()
489 child = &child_device_ptr(p_defs, i)->old; in parse_sdvo_device_mapping()
490 if (!child->device_type) { in parse_sdvo_device_mapping()
494 if (child->slave_addr != SLAVE_ADDR1 && in parse_sdvo_device_mapping()
495 child->slave_addr != SLAVE_ADDR2) { in parse_sdvo_device_mapping()
502 if (child->dvo_port != DEVICE_PORT_DVOB && in parse_sdvo_device_mapping()
503 child->dvo_port != DEVICE_PORT_DVOC) { in parse_sdvo_device_mapping()
510 child->slave_addr, in parse_sdvo_device_mapping()
511 (child->dvo_port == DEVICE_PORT_DVOB) ? in parse_sdvo_device_mapping()
513 p_mapping = &dev_priv->vbt.sdvo_mappings[child->dvo_port - 1]; in parse_sdvo_device_mapping()
515 p_mapping->dvo_port = child->dvo_port; in parse_sdvo_device_mapping()
516 p_mapping->slave_addr = child->slave_addr; in parse_sdvo_device_mapping()
517 p_mapping->dvo_wiring = child->dvo_wiring; in parse_sdvo_device_mapping()
518 p_mapping->ddc_pin = child->ddc_pin; in parse_sdvo_device_mapping()
519 p_mapping->i2c_pin = child->i2c_pin; in parse_sdvo_device_mapping()
531 if (child->slave2_addr) { in parse_sdvo_device_mapping()
1108 union child_device_config *it, *child = NULL; in parse_ddi_port() local
1134 if (child) { in parse_ddi_port()
1139 child = it; in parse_ddi_port()
1143 if (!child) in parse_ddi_port()
1146 aux_channel = child->common.aux_channel; in parse_ddi_port()
1147 ddc_pin = child->common.ddc_pin; in parse_ddi_port()
1149 is_dvi = child->common.device_type & DEVICE_TYPE_TMDS_DVI_SIGNALING; in parse_ddi_port()
1150 is_dp = child->common.device_type & DEVICE_TYPE_DISPLAYPORT_OUTPUT; in parse_ddi_port()
1151 is_crt = child->common.device_type & DEVICE_TYPE_ANALOG_OUTPUT; in parse_ddi_port()
1152 is_hdmi = is_dvi && (child->common.device_type & DEVICE_TYPE_NOT_HDMI_OUTPUT) == 0; in parse_ddi_port()
1153 is_edp = is_dp && (child->common.device_type & DEVICE_TYPE_INTERNAL_CONNECTOR); in parse_ddi_port()
1199 hdmi_level_shift = child->raw[7] & 0xF; in parse_ddi_port()
1207 if (bdb->version >= 196 && child->common.iboost) { in parse_ddi_port()
1208 info->dp_boost_level = translate_iboost(child->common.iboost_level & 0xF); in parse_ddi_port()
1211 info->hdmi_boost_level = translate_iboost(child->common.iboost_level >> 4); in parse_ddi_port()
1594 struct old_child_dev_config *child = &uchild->old; in intel_bios_is_lvds_present() local
1600 if (child->device_type != DEVICE_TYPE_INT_LFP && in intel_bios_is_lvds_present()
1601 child->device_type != DEVICE_TYPE_LFP) in intel_bios_is_lvds_present()
1604 if (intel_gmbus_is_valid_pin(dev_priv, child->i2c_pin)) in intel_bios_is_lvds_present()
1605 *i2c_pin = child->i2c_pin; in intel_bios_is_lvds_present()
1612 if (child->addin_offset) in intel_bios_is_lvds_present()