Lines Matching refs:copp_idx
39 int copp_idx;
91 int copp_idx)
99 if ((port_idx == c->afe_port) && (copp_idx == c->copp_idx)) {
119 clear_bit(c->copp_idx, &adm->copp_bitmap[c->afe_port]);
128 int port_idx, copp_idx;
136 copp_idx = (hdr->token) & 0XFF;
143 if (copp_idx < 0 || copp_idx >= MAX_COPPS_PER_PORT) {
145 copp_idx, hdr->token);
158 copp = q6adm_find_copp(adm, port_idx, copp_idx);
185 copp = q6adm_find_copp(adm, port_idx, copp_idx);
228 c->copp_idx = idx;
280 int port_id, int copp_idx)
290 close.hdr.token = port_id << 16 | copp_idx;
344 pkt->hdr.token = port_id << 16 | copp->copp_idx;
400 dev_err(dev, "Found Matching Copp 0x%x\n", copp->copp_idx);
445 return copp->copp_idx;
467 int pkt_size, ret, i, copp_idx;
516 copp_idx = payload_map.copp_idx[i];
518 copp = q6adm_find_copp(adm, port_idx, copp_idx);
573 ret = q6adm_device_close(adm, copp, copp->afe_port, copp->copp_idx);