Lines Matching refs:p_child

329 	struct child_device_config *p_child;  in parse_sdvo_device_mapping()  local
343 if (p_defs->child_dev_size != sizeof(*p_child)) { in parse_sdvo_device_mapping()
352 sizeof(*p_child); in parse_sdvo_device_mapping()
355 p_child = &(p_defs->devices[i]); in parse_sdvo_device_mapping()
356 if (!p_child->device_type) { in parse_sdvo_device_mapping()
360 if (p_child->target_addr != TARGET_ADDR1 && in parse_sdvo_device_mapping()
361 p_child->target_addr != TARGET_ADDR2) { in parse_sdvo_device_mapping()
368 if (p_child->dvo_port != DEVICE_PORT_DVOB && in parse_sdvo_device_mapping()
369 p_child->dvo_port != DEVICE_PORT_DVOC) { in parse_sdvo_device_mapping()
376 p_child->target_addr, in parse_sdvo_device_mapping()
377 (p_child->dvo_port == DEVICE_PORT_DVOB) ? in parse_sdvo_device_mapping()
379 p_mapping = &(dev_priv->sdvo_mappings[p_child->dvo_port - 1]); in parse_sdvo_device_mapping()
381 p_mapping->dvo_port = p_child->dvo_port; in parse_sdvo_device_mapping()
382 p_mapping->target_addr = p_child->target_addr; in parse_sdvo_device_mapping()
383 p_mapping->dvo_wiring = p_child->dvo_wiring; in parse_sdvo_device_mapping()
384 p_mapping->ddc_pin = p_child->ddc_pin; in parse_sdvo_device_mapping()
385 p_mapping->i2c_pin = p_child->i2c_pin; in parse_sdvo_device_mapping()
397 if (p_child->target2_addr) { in parse_sdvo_device_mapping()
442 struct child_device_config *p_child, *child_dev_ptr; in parse_device_mapping() local
456 if (p_defs->child_dev_size != sizeof(*p_child)) { in parse_device_mapping()
465 sizeof(*p_child); in parse_device_mapping()
469 p_child = &(p_defs->devices[i]); in parse_device_mapping()
470 if (!p_child->device_type) { in parse_device_mapping()
480 dev_priv->child_dev = kcalloc(count, sizeof(*p_child), GFP_KERNEL); in parse_device_mapping()
489 p_child = &(p_defs->devices[i]); in parse_device_mapping()
490 if (!p_child->device_type) { in parse_device_mapping()
496 memcpy((void *)child_dev_ptr, (void *)p_child, in parse_device_mapping()
497 sizeof(*p_child)); in parse_device_mapping()