Lines Matching refs:p_child

328 	struct child_device_config *p_child;  in parse_sdvo_device_mapping()  local
342 if (p_defs->child_dev_size != sizeof(*p_child)) { in parse_sdvo_device_mapping()
351 sizeof(*p_child); in parse_sdvo_device_mapping()
354 p_child = &(p_defs->devices[i]); in parse_sdvo_device_mapping()
355 if (!p_child->device_type) { in parse_sdvo_device_mapping()
359 if (p_child->slave_addr != SLAVE_ADDR1 && in parse_sdvo_device_mapping()
360 p_child->slave_addr != SLAVE_ADDR2) { in parse_sdvo_device_mapping()
367 if (p_child->dvo_port != DEVICE_PORT_DVOB && in parse_sdvo_device_mapping()
368 p_child->dvo_port != DEVICE_PORT_DVOC) { in parse_sdvo_device_mapping()
375 p_child->slave_addr, in parse_sdvo_device_mapping()
376 (p_child->dvo_port == DEVICE_PORT_DVOB) ? in parse_sdvo_device_mapping()
378 p_mapping = &(dev_priv->sdvo_mappings[p_child->dvo_port - 1]); in parse_sdvo_device_mapping()
380 p_mapping->dvo_port = p_child->dvo_port; in parse_sdvo_device_mapping()
381 p_mapping->slave_addr = p_child->slave_addr; in parse_sdvo_device_mapping()
382 p_mapping->dvo_wiring = p_child->dvo_wiring; in parse_sdvo_device_mapping()
383 p_mapping->ddc_pin = p_child->ddc_pin; in parse_sdvo_device_mapping()
384 p_mapping->i2c_pin = p_child->i2c_pin; in parse_sdvo_device_mapping()
396 if (p_child->slave2_addr) { in parse_sdvo_device_mapping()
441 struct child_device_config *p_child, *child_dev_ptr; in parse_device_mapping() local
455 if (p_defs->child_dev_size != sizeof(*p_child)) { in parse_device_mapping()
464 sizeof(*p_child); in parse_device_mapping()
468 p_child = &(p_defs->devices[i]); in parse_device_mapping()
469 if (!p_child->device_type) { in parse_device_mapping()
479 dev_priv->child_dev = kcalloc(count, sizeof(*p_child), GFP_KERNEL); in parse_device_mapping()
488 p_child = &(p_defs->devices[i]); in parse_device_mapping()
489 if (!p_child->device_type) { in parse_device_mapping()
495 memcpy((void *)child_dev_ptr, (void *)p_child, in parse_device_mapping()
496 sizeof(*p_child)); in parse_device_mapping()