Searched refs:opcr (Results 1 – 2 of 2) sorted by relevance
60 struct plug opcr[2]; member90 ch->opcr[opcr_number].update != NULL) in cmp_register_opcr()93 plug = &ch->opcr[opcr_number]; in cmp_register_opcr()105 void cmp_unregister_opcr(struct hpsb_host *host, struct cmp_pcr *opcr) in cmp_unregister_opcr() argument111 plug = (struct plug *)opcr; in cmp_unregister_opcr()112 if (plug - ch->opcr >= ch->u.ompr.nplugs) BUG(); in cmp_unregister_opcr()124 ch->opcr[i].u.pcr.bcast_count = 0; in reset_plugs()125 ch->opcr[i].u.pcr.p2p_count = 0; in reset_plugs()126 ch->opcr[i].u.pcr.overhead = 0; in reset_plugs()177 *buf = cpu_to_be32(ch->opcr[plug].u.quadlet); in pcr_read()[all …]
217 struct cmp_pcr *opcr; member976 if (s->opcr != NULL) { in stream_configure()977 cmp_unregister_opcr(s->host->host, s->opcr); in stream_configure()978 s->opcr = NULL; in stream_configure()983 s->opcr = cmp_register_opcr(s->host->host, cfg->u.plug, in stream_configure()985 if (s->opcr == NULL) in stream_configure()987 s->iso_channel = s->opcr->channel; in stream_configure()1080 if (s->opcr != NULL) in stream_free()1081 cmp_unregister_opcr(s->host->host, s->opcr); in stream_free()