Lines Matching refs:output

34 	struct intel_th_output	*output;  member
56 struct gth_output output[TH_POSSIBLE_OUTPUTS]; member
185 clear_bit(ma->master, gth->output[old_port].master); in master_attr_store()
191 if (gth->output[old_port].output->active) in master_attr_store()
198 if (!gth->output[port].output) { in master_attr_store()
203 set_bit(ma->master, gth->output[port].master); in master_attr_store()
206 if (gth->output[port].output->active) in master_attr_store()
242 OUTPUT_PARM(port, 0x7, 1, 0, output),
243 OUTPUT_PARM(null, BIT(3), 1, 1, output),
244 OUTPUT_PARM(drop, BIT(4), 1, 1, output),
245 OUTPUT_PARM(reset, BIT(5), 1, 0, output),
246 OUTPUT_PARM(flush, BIT(7), 0, 1, output),
469 struct intel_th_output *output) in intel_th_gth_disable() argument
477 output->active = false; in intel_th_gth_disable()
479 for_each_set_bit(master, gth->output[output->port].master, in intel_th_gth_disable()
490 count && !(reg & BIT(output->port)); count--) { in intel_th_gth_disable()
500 output->port); in intel_th_gth_disable()
503 reg &= ~output->scratchpad; in intel_th_gth_disable()
525 struct intel_th_output *output) in intel_th_gth_enable() argument
533 for_each_set_bit(master, gth->output[output->port].master, in intel_th_gth_enable()
535 gth_master_set(gth, master, output->port); in intel_th_gth_enable()
538 if (output->multiblock) in intel_th_gth_enable()
541 output->active = true; in intel_th_gth_enable()
548 scrpd |= output->scratchpad; in intel_th_gth_enable()
579 if (gth->output[i].port_type != othdev->output.type) in intel_th_gth_assign()
592 othdev->output.port = i; in intel_th_gth_assign()
593 othdev->output.active = false; in intel_th_gth_assign()
594 gth->output[i].output = &othdev->output; in intel_th_gth_assign()
609 int port = othdev->output.port; in intel_th_gth_unassign()
615 othdev->output.port = -1; in intel_th_gth_unassign()
616 othdev->output.active = false; in intel_th_gth_unassign()
617 gth->output[port].output = NULL; in intel_th_gth_unassign()
636 set_bit(master, gth->output[port].master); in intel_th_gth_set_output()
694 gth->output[i].gth = gth; in intel_th_gth_probe()
695 gth->output[i].index = i; in intel_th_gth_probe()
696 gth->output[i].port_type = in intel_th_gth_probe()
698 if (gth->output[i].port_type == GTH_NONE) in intel_th_gth_probe()
701 ret = intel_th_output_enable(th, gth->output[i].port_type); in intel_th_gth_probe()