qset 1323 drivers/infiniband/hw/i40iw/i40iw_main.c u16 qset; qset 1357 drivers/infiniband/hw/i40iw/i40iw_main.c qset = ldev->params.qos.prio_qos[i].qs_handle; qset 1358 drivers/infiniband/hw/i40iw/i40iw_main.c l2params.qs_handle_list[i] = qset; qset 1360 drivers/infiniband/hw/i40iw/i40iw_main.c last_qset = qset; qset 1361 drivers/infiniband/hw/i40iw/i40iw_main.c else if ((qset != last_qset) && (qset != I40IW_NO_QSET)) qset 478 drivers/net/ethernet/cavium/thunder/nic_main.c u8 qset, rq_idx = 0; qset 504 drivers/net/ethernet/cavium/thunder/nic_main.c qset = cfg->vf_id; qset 508 drivers/net/ethernet/cavium/thunder/nic_main.c (qset << 3) | rq_idx); qset 567 drivers/net/ethernet/cavium/thunder/nic_main.c u8 qset, idx = 0; qset 579 drivers/net/ethernet/cavium/thunder/nic_main.c qset = nic->vf_sqs[cfg->vf_id][svf - 1]; qset 581 drivers/net/ethernet/cavium/thunder/nic_main.c qset = cfg->vf_id; qset 583 drivers/net/ethernet/cavium/thunder/nic_main.c (qset << 3) | (cfg->ind_tbl[idx] & 0x7)); qset 213 drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c static void nicvf_get_qset_strings(struct nicvf *nic, u8 **data, int qset) qset 216 drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c int start_qidx = qset * MAX_RCV_QUEUES_PER_QS; qset 329 drivers/net/ethernet/chelsio/cxgb3/common.h struct qset_params qset[SGE_QSETS]; qset 672 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c &adap->params.sge.qset[qset_idx], ntxq, dev, qset 1957 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c const struct qset_params *q = &adapter->params.sge.qset[pi->first_qset]; qset 1989 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c q = &adapter->params.sge.qset[pi->first_qset]; qset 2013 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c qsp = &adapter->params.sge.qset[i]; qset 2026 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c struct qset_params *q = adapter->params.sge.qset; qset 2202 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c q = &adapter->params.sge.qset[t.qset_idx]; qset 2236 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c qset[i]; qset 2278 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c q = &adapter->params.sge.qset[q1 + t.qset_idx]; qset 3358 drivers/net/ethernet/chelsio/cxgb3/sge.c struct qset_params *q = p->qset + i; qset 2609 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c static inline struct port_info *ethqset2pinfo(struct adapter *adap, int qset) qset 2616 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c if (qset >= pi->first_qset && qset 2617 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c qset < pi->first_qset + pi->nqsets) qset 17 drivers/staging/wusbcore/host/whci/asl.c static void qset_get_next_prev(struct whc *whc, struct whc_qset *qset, qset 24 drivers/staging/wusbcore/host/whci/asl.c n = qset->list_node.next; qset 27 drivers/staging/wusbcore/host/whci/asl.c p = qset->list_node.prev; qset 36 drivers/staging/wusbcore/host/whci/asl.c static void asl_qset_insert_begin(struct whc *whc, struct whc_qset *qset) qset 38 drivers/staging/wusbcore/host/whci/asl.c list_move(&qset->list_node, &whc->async_list); qset 39 drivers/staging/wusbcore/host/whci/asl.c qset->in_sw_list = true; qset 42 drivers/staging/wusbcore/host/whci/asl.c static void asl_qset_insert(struct whc *whc, struct whc_qset *qset) qset 46 drivers/staging/wusbcore/host/whci/asl.c qset_clear(whc, qset); qset 49 drivers/staging/wusbcore/host/whci/asl.c qset_get_next_prev(whc, qset, &next, &prev); qset 50 drivers/staging/wusbcore/host/whci/asl.c whc_qset_set_link_ptr(&qset->qh.link, next->qset_dma); qset 51 drivers/staging/wusbcore/host/whci/asl.c whc_qset_set_link_ptr(&prev->qh.link, qset->qset_dma); qset 52 drivers/staging/wusbcore/host/whci/asl.c qset->in_hw_list = true; qset 55 drivers/staging/wusbcore/host/whci/asl.c static void asl_qset_remove(struct whc *whc, struct whc_qset *qset) qset 59 drivers/staging/wusbcore/host/whci/asl.c qset_get_next_prev(whc, qset, &next, &prev); qset 61 drivers/staging/wusbcore/host/whci/asl.c list_move(&qset->list_node, &whc->async_removed_list); qset 62 drivers/staging/wusbcore/host/whci/asl.c qset->in_sw_list = false; qset 73 drivers/staging/wusbcore/host/whci/asl.c qset->in_hw_list = false; qset 86 drivers/staging/wusbcore/host/whci/asl.c static uint32_t process_qset(struct whc *whc, struct whc_qset *qset) qset 91 drivers/staging/wusbcore/host/whci/asl.c while (qset->ntds) { qset 94 drivers/staging/wusbcore/host/whci/asl.c td = &qset->qtd[qset->td_start]; qset 105 drivers/staging/wusbcore/host/whci/asl.c process_halted_qtd(whc, qset, td); qset 114 drivers/staging/wusbcore/host/whci/asl.c process_inactive_qtd(whc, qset, td); qset 117 drivers/staging/wusbcore/host/whci/asl.c if (!qset->remove) qset 118 drivers/staging/wusbcore/host/whci/asl.c update |= qset_add_qtds(whc, qset); qset 125 drivers/staging/wusbcore/host/whci/asl.c if (qset->remove && qset->ntds == 0) { qset 126 drivers/staging/wusbcore/host/whci/asl.c asl_qset_remove(whc, qset); qset 134 drivers/staging/wusbcore/host/whci/asl.c struct whc_qset *qset; qset 136 drivers/staging/wusbcore/host/whci/asl.c qset = list_first_entry(&whc->async_list, struct whc_qset, list_node); qset 138 drivers/staging/wusbcore/host/whci/asl.c le_writeq(qset->qset_dma | QH_LINK_NTDS(8), whc->base + WUSBASYNCLISTADDR); qset 192 drivers/staging/wusbcore/host/whci/asl.c struct whc_qset *qset, *t; qset 201 drivers/staging/wusbcore/host/whci/asl.c list_for_each_entry_safe_reverse(qset, t, &whc->async_list, list_node) { qset 202 drivers/staging/wusbcore/host/whci/asl.c if (!qset->in_hw_list) { qset 203 drivers/staging/wusbcore/host/whci/asl.c asl_qset_insert(whc, qset); qset 207 drivers/staging/wusbcore/host/whci/asl.c update |= process_qset(whc, qset); qset 228 drivers/staging/wusbcore/host/whci/asl.c list_for_each_entry_safe(qset, t, &whc->async_removed_list, list_node) { qset 229 drivers/staging/wusbcore/host/whci/asl.c qset_remove_complete(whc, qset); qset 230 drivers/staging/wusbcore/host/whci/asl.c if (qset->reset) { qset 231 drivers/staging/wusbcore/host/whci/asl.c qset_reset(whc, qset); qset 232 drivers/staging/wusbcore/host/whci/asl.c if (!list_empty(&qset->stds)) { qset 233 drivers/staging/wusbcore/host/whci/asl.c asl_qset_insert_begin(whc, qset); qset 254 drivers/staging/wusbcore/host/whci/asl.c struct whc_qset *qset; qset 266 drivers/staging/wusbcore/host/whci/asl.c qset = get_qset(whc, urb, GFP_ATOMIC); qset 267 drivers/staging/wusbcore/host/whci/asl.c if (qset == NULL) qset 270 drivers/staging/wusbcore/host/whci/asl.c err = qset_add_urb(whc, qset, urb, GFP_ATOMIC); qset 272 drivers/staging/wusbcore/host/whci/asl.c if (!qset->in_sw_list && !qset->remove) qset 273 drivers/staging/wusbcore/host/whci/asl.c asl_qset_insert_begin(whc, qset); qset 298 drivers/staging/wusbcore/host/whci/asl.c struct whc_qset *qset = wurb->qset; qset 310 drivers/staging/wusbcore/host/whci/asl.c list_for_each_entry_safe(std, t, &qset->stds, list_node) { qset 320 drivers/staging/wusbcore/host/whci/asl.c asl_qset_remove(whc, qset); qset 325 drivers/staging/wusbcore/host/whci/asl.c qset_remove_urb(whc, qset, urb, status); qset 335 drivers/staging/wusbcore/host/whci/asl.c void asl_qset_delete(struct whc *whc, struct whc_qset *qset) qset 337 drivers/staging/wusbcore/host/whci/asl.c qset->remove = 1; qset 339 drivers/staging/wusbcore/host/whci/asl.c qset_delete(whc, qset); qset 350 drivers/staging/wusbcore/host/whci/asl.c struct whc_qset *qset; qset 352 drivers/staging/wusbcore/host/whci/asl.c qset = qset_alloc(whc, GFP_KERNEL); qset 353 drivers/staging/wusbcore/host/whci/asl.c if (qset == NULL) qset 356 drivers/staging/wusbcore/host/whci/asl.c asl_qset_insert_begin(whc, qset); qset 357 drivers/staging/wusbcore/host/whci/asl.c asl_qset_insert(whc, qset); qset 369 drivers/staging/wusbcore/host/whci/asl.c struct whc_qset *qset; qset 372 drivers/staging/wusbcore/host/whci/asl.c qset = list_first_entry(&whc->async_list, struct whc_qset, list_node); qset 373 drivers/staging/wusbcore/host/whci/asl.c list_del(&qset->list_node); qset 374 drivers/staging/wusbcore/host/whci/asl.c qset_free(whc, qset); qset 23 drivers/staging/wusbcore/host/whci/debug.c static void qset_print(struct seq_file *s, struct whc_qset *qset) qset 31 drivers/staging/wusbcore/host/whci/debug.c seq_printf(s, "qset %08x", (u32)qset->qset_dma); qset 32 drivers/staging/wusbcore/host/whci/debug.c if (&qset->list_node == qset->whc->async_list.prev) { qset 36 drivers/staging/wusbcore/host/whci/debug.c qset->qh.info1 & 0x0f, qset 37 drivers/staging/wusbcore/host/whci/debug.c (qset->qh.info1 >> 4) & 0x1 ? "in" : "out", qset 38 drivers/staging/wusbcore/host/whci/debug.c qh_type[(qset->qh.info1 >> 5) & 0x7], qset 39 drivers/staging/wusbcore/host/whci/debug.c (qset->qh.info1 >> 16) & 0xffff); qset 41 drivers/staging/wusbcore/host/whci/debug.c seq_printf(s, " -> %08x\n", (u32)qset->qh.link); qset 43 drivers/staging/wusbcore/host/whci/debug.c qset->qh.info1, qset->qh.info2, qset->qh.info3); qset 45 drivers/staging/wusbcore/host/whci/debug.c qset->qh.status, qset->qh.err_count, qset->qh.cur_window); qset 47 drivers/staging/wusbcore/host/whci/debug.c qset->qh.overlay.qtd.status, qset->qh.overlay.qtd.options); qset 51 drivers/staging/wusbcore/host/whci/debug.c i == qset->td_start ? 'S' : ' ', qset 52 drivers/staging/wusbcore/host/whci/debug.c i == qset->td_end ? 'E' : ' ', qset 53 drivers/staging/wusbcore/host/whci/debug.c i, qset->qtd[i].status, qset->qtd[i].options, qset 54 drivers/staging/wusbcore/host/whci/debug.c (u32)qset->qtd[i].page_list_ptr); qset 56 drivers/staging/wusbcore/host/whci/debug.c seq_printf(s, " ntds: %d\n", qset->ntds); qset 57 drivers/staging/wusbcore/host/whci/debug.c list_for_each_entry(std, &qset->stds, list_node) { qset 65 drivers/staging/wusbcore/host/whci/debug.c std->qtd - &qset->qtd[0], qset 99 drivers/staging/wusbcore/host/whci/debug.c struct whc_qset *qset; qset 101 drivers/staging/wusbcore/host/whci/debug.c list_for_each_entry(qset, &whc->async_list, list_node) { qset 102 drivers/staging/wusbcore/host/whci/debug.c qset_print(s, qset); qset 112 drivers/staging/wusbcore/host/whci/debug.c struct whc_qset *qset; qset 117 drivers/staging/wusbcore/host/whci/debug.c list_for_each_entry(qset, &whc->periodic_list[period], list_node) { qset 118 drivers/staging/wusbcore/host/whci/debug.c qset_print(s, qset); qset 166 drivers/staging/wusbcore/host/whci/hcd.c struct whc_qset *qset; qset 168 drivers/staging/wusbcore/host/whci/hcd.c qset = ep->hcpriv; qset 169 drivers/staging/wusbcore/host/whci/hcd.c if (qset) { qset 173 drivers/staging/wusbcore/host/whci/hcd.c asl_qset_delete(whc, qset); qset 175 drivers/staging/wusbcore/host/whci/hcd.c pzl_qset_delete(whc, qset); qset 184 drivers/staging/wusbcore/host/whci/hcd.c struct whc_qset *qset; qset 189 drivers/staging/wusbcore/host/whci/hcd.c qset = ep->hcpriv; qset 190 drivers/staging/wusbcore/host/whci/hcd.c if (qset) { qset 191 drivers/staging/wusbcore/host/whci/hcd.c qset->remove = 1; qset 192 drivers/staging/wusbcore/host/whci/hcd.c qset->reset = 1; qset 54 drivers/staging/wusbcore/host/whci/pzl.c static int qset_get_period(struct whc *whc, struct whc_qset *qset) qset 56 drivers/staging/wusbcore/host/whci/pzl.c uint8_t bInterval = qset->ep->desc.bInterval; qset 65 drivers/staging/wusbcore/host/whci/pzl.c static void qset_insert_in_sw_list(struct whc *whc, struct whc_qset *qset) qset 69 drivers/staging/wusbcore/host/whci/pzl.c period = qset_get_period(whc, qset); qset 71 drivers/staging/wusbcore/host/whci/pzl.c qset_clear(whc, qset); qset 72 drivers/staging/wusbcore/host/whci/pzl.c list_move(&qset->list_node, &whc->periodic_list[period]); qset 73 drivers/staging/wusbcore/host/whci/pzl.c qset->in_sw_list = true; qset 76 drivers/staging/wusbcore/host/whci/pzl.c static void pzl_qset_remove(struct whc *whc, struct whc_qset *qset) qset 78 drivers/staging/wusbcore/host/whci/pzl.c list_move(&qset->list_node, &whc->periodic_removed_list); qset 79 drivers/staging/wusbcore/host/whci/pzl.c qset->in_hw_list = false; qset 80 drivers/staging/wusbcore/host/whci/pzl.c qset->in_sw_list = false; qset 92 drivers/staging/wusbcore/host/whci/pzl.c static enum whc_update pzl_process_qset(struct whc *whc, struct whc_qset *qset) qset 97 drivers/staging/wusbcore/host/whci/pzl.c while (qset->ntds) { qset 100 drivers/staging/wusbcore/host/whci/pzl.c td = &qset->qtd[qset->td_start]; qset 111 drivers/staging/wusbcore/host/whci/pzl.c process_halted_qtd(whc, qset, td); qset 120 drivers/staging/wusbcore/host/whci/pzl.c process_inactive_qtd(whc, qset, td); qset 123 drivers/staging/wusbcore/host/whci/pzl.c if (!qset->remove) qset 124 drivers/staging/wusbcore/host/whci/pzl.c update |= qset_add_qtds(whc, qset); qset 130 drivers/staging/wusbcore/host/whci/pzl.c if (qset->remove && qset->ntds == 0) { qset 131 drivers/staging/wusbcore/host/whci/pzl.c pzl_qset_remove(whc, qset); qset 196 drivers/staging/wusbcore/host/whci/pzl.c struct whc_qset *qset, *t; qset 201 drivers/staging/wusbcore/host/whci/pzl.c list_for_each_entry_safe(qset, t, &whc->periodic_list[period], list_node) { qset 202 drivers/staging/wusbcore/host/whci/pzl.c whc_qset_set_link_ptr(&qset->qh.link, tmp_qh); qset 203 drivers/staging/wusbcore/host/whci/pzl.c tmp_qh = qset->qset_dma; qset 204 drivers/staging/wusbcore/host/whci/pzl.c qset->in_hw_list = true; qset 221 drivers/staging/wusbcore/host/whci/pzl.c struct whc_qset *qset, *t; qset 228 drivers/staging/wusbcore/host/whci/pzl.c list_for_each_entry_safe(qset, t, &whc->periodic_list[period], list_node) { qset 229 drivers/staging/wusbcore/host/whci/pzl.c if (!qset->in_hw_list) qset 231 drivers/staging/wusbcore/host/whci/pzl.c update |= pzl_process_qset(whc, qset); qset 256 drivers/staging/wusbcore/host/whci/pzl.c list_for_each_entry_safe(qset, t, &whc->periodic_removed_list, list_node) { qset 257 drivers/staging/wusbcore/host/whci/pzl.c qset_remove_complete(whc, qset); qset 258 drivers/staging/wusbcore/host/whci/pzl.c if (qset->reset) { qset 259 drivers/staging/wusbcore/host/whci/pzl.c qset_reset(whc, qset); qset 260 drivers/staging/wusbcore/host/whci/pzl.c if (!list_empty(&qset->stds)) { qset 261 drivers/staging/wusbcore/host/whci/pzl.c qset_insert_in_sw_list(whc, qset); qset 282 drivers/staging/wusbcore/host/whci/pzl.c struct whc_qset *qset; qset 294 drivers/staging/wusbcore/host/whci/pzl.c qset = get_qset(whc, urb, GFP_ATOMIC); qset 295 drivers/staging/wusbcore/host/whci/pzl.c if (qset == NULL) qset 298 drivers/staging/wusbcore/host/whci/pzl.c err = qset_add_urb(whc, qset, urb, GFP_ATOMIC); qset 300 drivers/staging/wusbcore/host/whci/pzl.c if (!qset->in_sw_list && !qset->remove) qset 301 drivers/staging/wusbcore/host/whci/pzl.c qset_insert_in_sw_list(whc, qset); qset 326 drivers/staging/wusbcore/host/whci/pzl.c struct whc_qset *qset = wurb->qset; qset 338 drivers/staging/wusbcore/host/whci/pzl.c list_for_each_entry_safe(std, t, &qset->stds, list_node) { qset 348 drivers/staging/wusbcore/host/whci/pzl.c pzl_qset_remove(whc, qset); qset 354 drivers/staging/wusbcore/host/whci/pzl.c qset_remove_urb(whc, qset, urb, status); qset 364 drivers/staging/wusbcore/host/whci/pzl.c void pzl_qset_delete(struct whc *whc, struct whc_qset *qset) qset 366 drivers/staging/wusbcore/host/whci/pzl.c qset->remove = 1; qset 368 drivers/staging/wusbcore/host/whci/pzl.c qset_delete(whc, qset); qset 19 drivers/staging/wusbcore/host/whci/qset.c struct whc_qset *qset; qset 22 drivers/staging/wusbcore/host/whci/qset.c qset = dma_pool_zalloc(whc->qset_pool, mem_flags, &dma); qset 23 drivers/staging/wusbcore/host/whci/qset.c if (qset == NULL) qset 26 drivers/staging/wusbcore/host/whci/qset.c qset->qset_dma = dma; qset 27 drivers/staging/wusbcore/host/whci/qset.c qset->whc = whc; qset 29 drivers/staging/wusbcore/host/whci/qset.c INIT_LIST_HEAD(&qset->list_node); qset 30 drivers/staging/wusbcore/host/whci/qset.c INIT_LIST_HEAD(&qset->stds); qset 32 drivers/staging/wusbcore/host/whci/qset.c return qset; qset 41 drivers/staging/wusbcore/host/whci/qset.c static void qset_fill_qh(struct whc *whc, struct whc_qset *qset, struct urb *urb) qset 51 drivers/staging/wusbcore/host/whci/qset.c qset->max_packet = le16_to_cpu(urb->ep->desc.wMaxPacketSize); qset 53 drivers/staging/wusbcore/host/whci/qset.c epcd = (struct usb_wireless_ep_comp_descriptor *)qset->ep->extra; qset 55 drivers/staging/wusbcore/host/whci/qset.c qset->max_seq = epcd->bMaxSequence; qset 56 drivers/staging/wusbcore/host/whci/qset.c qset->max_burst = epcd->bMaxBurst; qset 58 drivers/staging/wusbcore/host/whci/qset.c qset->max_seq = 2; qset 59 drivers/staging/wusbcore/host/whci/qset.c qset->max_burst = 1; qset 78 drivers/staging/wusbcore/host/whci/qset.c qset->qh.info1 = cpu_to_le32( qset 83 drivers/staging/wusbcore/host/whci/qset.c | QH_INFO1_MAX_PKT_LEN(qset->max_packet) qset 85 drivers/staging/wusbcore/host/whci/qset.c qset->qh.info2 = cpu_to_le32( qset 86 drivers/staging/wusbcore/host/whci/qset.c QH_INFO2_BURST(qset->max_burst) qset 90 drivers/staging/wusbcore/host/whci/qset.c | QH_INFO2_MAX_SEQ(qset->max_seq - 1) qset 96 drivers/staging/wusbcore/host/whci/qset.c qset->qh.info3 = cpu_to_le32( qset 101 drivers/staging/wusbcore/host/whci/qset.c qset->qh.cur_window = cpu_to_le32((1 << qset->max_burst) - 1); qset 111 drivers/staging/wusbcore/host/whci/qset.c void qset_clear(struct whc *whc, struct whc_qset *qset) qset 113 drivers/staging/wusbcore/host/whci/qset.c qset->td_start = qset->td_end = qset->ntds = 0; qset 115 drivers/staging/wusbcore/host/whci/qset.c qset->qh.link = cpu_to_le64(QH_LINK_NTDS(8) | QH_LINK_T); qset 116 drivers/staging/wusbcore/host/whci/qset.c qset->qh.status = qset->qh.status & QH_STATUS_SEQ_MASK; qset 117 drivers/staging/wusbcore/host/whci/qset.c qset->qh.err_count = 0; qset 118 drivers/staging/wusbcore/host/whci/qset.c qset->qh.scratch[0] = 0; qset 119 drivers/staging/wusbcore/host/whci/qset.c qset->qh.scratch[1] = 0; qset 120 drivers/staging/wusbcore/host/whci/qset.c qset->qh.scratch[2] = 0; qset 122 drivers/staging/wusbcore/host/whci/qset.c memset(&qset->qh.overlay, 0, sizeof(qset->qh.overlay)); qset 124 drivers/staging/wusbcore/host/whci/qset.c init_completion(&qset->remove_complete); qset 133 drivers/staging/wusbcore/host/whci/qset.c void qset_reset(struct whc *whc, struct whc_qset *qset) qset 135 drivers/staging/wusbcore/host/whci/qset.c qset->reset = 0; qset 137 drivers/staging/wusbcore/host/whci/qset.c qset->qh.status &= ~QH_STATUS_SEQ_MASK; qset 138 drivers/staging/wusbcore/host/whci/qset.c qset->qh.cur_window = cpu_to_le32((1 << qset->max_burst) - 1); qset 149 drivers/staging/wusbcore/host/whci/qset.c struct whc_qset *qset; qset 151 drivers/staging/wusbcore/host/whci/qset.c qset = urb->ep->hcpriv; qset 152 drivers/staging/wusbcore/host/whci/qset.c if (qset == NULL) { qset 153 drivers/staging/wusbcore/host/whci/qset.c qset = qset_alloc(whc, mem_flags); qset 154 drivers/staging/wusbcore/host/whci/qset.c if (qset == NULL) qset 157 drivers/staging/wusbcore/host/whci/qset.c qset->ep = urb->ep; qset 158 drivers/staging/wusbcore/host/whci/qset.c urb->ep->hcpriv = qset; qset 159 drivers/staging/wusbcore/host/whci/qset.c qset_fill_qh(whc, qset, urb); qset 161 drivers/staging/wusbcore/host/whci/qset.c return qset; qset 164 drivers/staging/wusbcore/host/whci/qset.c void qset_remove_complete(struct whc *whc, struct whc_qset *qset) qset 166 drivers/staging/wusbcore/host/whci/qset.c qset->remove = 0; qset 167 drivers/staging/wusbcore/host/whci/qset.c list_del_init(&qset->list_node); qset 168 drivers/staging/wusbcore/host/whci/qset.c complete(&qset->remove_complete); qset 177 drivers/staging/wusbcore/host/whci/qset.c enum whc_update qset_add_qtds(struct whc *whc, struct whc_qset *qset) qset 182 drivers/staging/wusbcore/host/whci/qset.c list_for_each_entry(std, &qset->stds, list_node) { qset 186 drivers/staging/wusbcore/host/whci/qset.c if (qset->ntds >= WHCI_QSET_TD_MAX qset 187 drivers/staging/wusbcore/host/whci/qset.c || (qset->pause_after_urb && std->urb != qset->pause_after_urb)) qset 193 drivers/staging/wusbcore/host/whci/qset.c qtd = std->qtd = &qset->qtd[qset->td_end]; qset 213 drivers/staging/wusbcore/host/whci/qset.c ialt = (qset->td_end + std->ntds_remaining) % WHCI_QSET_TD_MAX; qset 216 drivers/staging/wusbcore/host/whci/qset.c qset->pause_after_urb = std->urb; qset 226 drivers/staging/wusbcore/host/whci/qset.c if (QH_STATUS_TO_ICUR(qset->qh.status) == qset->td_end) qset 229 drivers/staging/wusbcore/host/whci/qset.c if (++qset->td_end >= WHCI_QSET_TD_MAX) qset 230 drivers/staging/wusbcore/host/whci/qset.c qset->td_end = 0; qset 231 drivers/staging/wusbcore/host/whci/qset.c qset->ntds++; qset 243 drivers/staging/wusbcore/host/whci/qset.c static void qset_remove_qtd(struct whc *whc, struct whc_qset *qset) qset 245 drivers/staging/wusbcore/host/whci/qset.c qset->qtd[qset->td_start].status = 0; qset 247 drivers/staging/wusbcore/host/whci/qset.c if (++qset->td_start >= WHCI_QSET_TD_MAX) qset 248 drivers/staging/wusbcore/host/whci/qset.c qset->td_start = 0; qset 249 drivers/staging/wusbcore/host/whci/qset.c qset->ntds--; qset 319 drivers/staging/wusbcore/host/whci/qset.c static void qset_remove_qtds(struct whc *whc, struct whc_qset *qset, qset 324 drivers/staging/wusbcore/host/whci/qset.c list_for_each_entry_safe(std, t, &qset->stds, list_node) { qset 328 drivers/staging/wusbcore/host/whci/qset.c qset_remove_qtd(whc, qset); qset 336 drivers/staging/wusbcore/host/whci/qset.c static void qset_free_stds(struct whc_qset *qset, struct urb *urb) qset 340 drivers/staging/wusbcore/host/whci/qset.c list_for_each_entry_safe(std, t, &qset->stds, list_node) { qset 342 drivers/staging/wusbcore/host/whci/qset.c qset_free_std(qset->whc, std); qset 387 drivers/staging/wusbcore/host/whci/qset.c struct whc_qset *qset = wurb->qset; qset 388 drivers/staging/wusbcore/host/whci/qset.c struct whc *whc = qset->whc; qset 401 drivers/staging/wusbcore/host/whci/qset.c qset_remove_urb(whc, qset, wurb->urb, wurb->status); qset 405 drivers/staging/wusbcore/host/whci/qset.c static struct whc_std *qset_new_std(struct whc *whc, struct whc_qset *qset, qset 418 drivers/staging/wusbcore/host/whci/qset.c list_add_tail(&std->list_node, &qset->stds); qset 423 drivers/staging/wusbcore/host/whci/qset.c static int qset_add_urb_sg(struct whc *whc, struct whc_qset *qset, struct urb *urb, qset 470 drivers/staging/wusbcore/host/whci/qset.c if (std && std->len % qset->max_packet != 0) qset 472 drivers/staging/wusbcore/host/whci/qset.c std = qset_new_std(whc, qset, urb, mem_flags); qset 489 drivers/staging/wusbcore/host/whci/qset.c dma_len = (QTD_MAX_XFER_SIZE / qset->max_packet) qset 490 drivers/staging/wusbcore/host/whci/qset.c * qset->max_packet - std->len; qset 524 drivers/staging/wusbcore/host/whci/qset.c list_for_each_entry(std, &qset->stds, list_node) { qset 544 drivers/staging/wusbcore/host/whci/qset.c static int qset_add_urb_sg_linearize(struct whc *whc, struct whc_qset *qset, qset 557 drivers/staging/wusbcore/host/whci/qset.c max_std_len = qset->max_burst * qset->max_packet; qset 575 drivers/staging/wusbcore/host/whci/qset.c std = qset_new_std(whc, qset, urb, mem_flags); qset 606 drivers/staging/wusbcore/host/whci/qset.c list_for_each_entry(std, &qset->stds, list_node) { qset 631 drivers/staging/wusbcore/host/whci/qset.c int qset_add_urb(struct whc *whc, struct whc_qset *qset, struct urb *urb, qset 644 drivers/staging/wusbcore/host/whci/qset.c wurb->qset = qset; qset 649 drivers/staging/wusbcore/host/whci/qset.c ret = qset_add_urb_sg(whc, qset, urb, mem_flags); qset 651 drivers/staging/wusbcore/host/whci/qset.c qset_free_stds(qset, urb); qset 652 drivers/staging/wusbcore/host/whci/qset.c ret = qset_add_urb_sg_linearize(whc, qset, urb, mem_flags); qset 671 drivers/staging/wusbcore/host/whci/qset.c std = qset_new_std(whc, qset, urb, mem_flags); qset 690 drivers/staging/wusbcore/host/whci/qset.c qset_free_stds(qset, urb); qset 699 drivers/staging/wusbcore/host/whci/qset.c void qset_remove_urb(struct whc *whc, struct whc_qset *qset, qset 745 drivers/staging/wusbcore/host/whci/qset.c void process_inactive_qtd(struct whc *whc, struct whc_qset *qset, qset 748 drivers/staging/wusbcore/host/whci/qset.c struct whc_std *std = list_first_entry(&qset->stds, struct whc_std, list_node); qset 762 drivers/staging/wusbcore/host/whci/qset.c qset_remove_qtd(whc, qset); qset 770 drivers/staging/wusbcore/host/whci/qset.c qset_remove_qtds(whc, qset, urb); qset 771 drivers/staging/wusbcore/host/whci/qset.c qset_remove_urb(whc, qset, urb, get_urb_status_from_qtd(urb, status)); qset 779 drivers/staging/wusbcore/host/whci/qset.c qset->td_start = qset->td_end qset 780 drivers/staging/wusbcore/host/whci/qset.c = QH_STATUS_TO_ICUR(le16_to_cpu(qset->qh.status)); qset 781 drivers/staging/wusbcore/host/whci/qset.c qset->pause_after_urb = NULL; qset 797 drivers/staging/wusbcore/host/whci/qset.c void process_halted_qtd(struct whc *whc, struct whc_qset *qset, qset 800 drivers/staging/wusbcore/host/whci/qset.c struct whc_std *std = list_first_entry(&qset->stds, struct whc_std, list_node); qset 806 drivers/staging/wusbcore/host/whci/qset.c qset_remove_qtds(whc, qset, urb); qset 807 drivers/staging/wusbcore/host/whci/qset.c qset_remove_urb(whc, qset, urb, urb_status); qset 809 drivers/staging/wusbcore/host/whci/qset.c list_for_each_entry(std, &qset->stds, list_node) { qset 810 drivers/staging/wusbcore/host/whci/qset.c if (qset->ntds == 0) qset 812 drivers/staging/wusbcore/host/whci/qset.c qset_remove_qtd(whc, qset); qset 816 drivers/staging/wusbcore/host/whci/qset.c qset->remove = 1; qset 819 drivers/staging/wusbcore/host/whci/qset.c void qset_free(struct whc *whc, struct whc_qset *qset) qset 821 drivers/staging/wusbcore/host/whci/qset.c dma_pool_free(whc->qset_pool, qset, qset->qset_dma); qset 827 drivers/staging/wusbcore/host/whci/qset.c void qset_delete(struct whc *whc, struct whc_qset *qset) qset 829 drivers/staging/wusbcore/host/whci/qset.c wait_for_completion(&qset->remove_complete); qset 830 drivers/staging/wusbcore/host/whci/qset.c qset_free(whc, qset); qset 108 drivers/staging/wusbcore/host/whci/whcd.h struct whc_qset *qset; qset 164 drivers/staging/wusbcore/host/whci/whcd.h void asl_qset_delete(struct whc *whc, struct whc_qset *qset); qset 174 drivers/staging/wusbcore/host/whci/whcd.h void pzl_qset_delete(struct whc *whc, struct whc_qset *qset); qset 179 drivers/staging/wusbcore/host/whci/whcd.h void qset_free(struct whc *whc, struct whc_qset *qset); qset 181 drivers/staging/wusbcore/host/whci/whcd.h void qset_delete(struct whc *whc, struct whc_qset *qset); qset 182 drivers/staging/wusbcore/host/whci/whcd.h void qset_clear(struct whc *whc, struct whc_qset *qset); qset 183 drivers/staging/wusbcore/host/whci/whcd.h void qset_reset(struct whc *whc, struct whc_qset *qset); qset 184 drivers/staging/wusbcore/host/whci/whcd.h int qset_add_urb(struct whc *whc, struct whc_qset *qset, struct urb *urb, qset 187 drivers/staging/wusbcore/host/whci/whcd.h void qset_remove_urb(struct whc *whc, struct whc_qset *qset, qset 189 drivers/staging/wusbcore/host/whci/whcd.h void process_halted_qtd(struct whc *whc, struct whc_qset *qset, qset 191 drivers/staging/wusbcore/host/whci/whcd.h void process_inactive_qtd(struct whc *whc, struct whc_qset *qset, qset 193 drivers/staging/wusbcore/host/whci/whcd.h enum whc_update qset_add_qtds(struct whc *whc, struct whc_qset *qset); qset 194 drivers/staging/wusbcore/host/whci/whcd.h void qset_remove_complete(struct whc *whc, struct whc_qset *qset);