Lines Matching refs:comp
522 struct hda_component *comp; in tas2781_hda_bind() local
527 comp = hda_component_from_index(parent, tas_hda->priv->index); in tas2781_hda_bind()
528 if (!comp) in tas2781_hda_bind()
531 if (comp->dev) in tas2781_hda_bind()
548 comp->dev = dev; in tas2781_hda_bind()
550 strscpy(comp->name, dev_name(dev), sizeof(comp->name)); in tas2781_hda_bind()
554 comp->playback_hook = tas2781_hda_playback_hook; in tas2781_hda_bind()
566 struct hda_component *comp; in tas2781_hda_unbind() local
568 comp = hda_component_from_index(parent, tas_hda->priv->index); in tas2781_hda_unbind()
569 if (comp && (comp->dev == dev)) { in tas2781_hda_unbind()
570 comp->dev = NULL; in tas2781_hda_unbind()
571 memset(comp->name, 0, sizeof(comp->name)); in tas2781_hda_unbind()
572 comp->playback_hook = NULL; in tas2781_hda_unbind()