Home
last modified time | relevance | path

Searched refs:qid (Results 1 – 25 of 220) sorted by relevance

123456789

/freebsd/sys/arm64/broadcom/genet/
H A Dif_genetreg.h126 #define GENET_RX_DMA_RINGBASE(qid) (GENET_RX_BASE + 0xc00 + GENET_DMA_RING_SIZE * (qid)) argument
127 #define GENET_RX_DMA_WRITE_PTR_LO(qid) (GENET_RX_DMA_RINGBASE(qid) + 0x00) argument
128 #define GENET_RX_DMA_WRITE_PTR_HI(qid) (GENET_RX_DMA_RINGBASE(qid) + 0x04) argument
129 #define GENET_RX_DMA_PROD_INDEX(qid) (GENET_RX_DMA_RINGBASE(qid) + 0x08) argument
130 #define GENET_RX_DMA_CONS_INDEX(qid) (GENET_RX_DMA_RINGBASE(qid) + 0x0c) argument
132 #define GENET_RX_DMA_RING_BUF_SIZE(qid) (GENET_RX_DMA_RINGBASE(qid) + 0x10) argument
137 #define GENET_RX_DMA_START_ADDR_LO(qid) (GENET_RX_DMA_RINGBASE(qid) + 0x14) argument
138 #define GENET_RX_DMA_START_ADDR_HI(qid) (GENET_RX_DMA_RINGBASE(qid) + 0x18) argument
139 #define GENET_RX_DMA_END_ADDR_LO(qid) (GENET_RX_DMA_RINGBASE(qid) + 0x1c) argument
140 #define GENET_RX_DMA_END_ADDR_HI(qid) (GENET_RX_DMA_RINGBASE(qid) + 0x20) argument
[all …]
H A Dif_genet.c691 gen_init_txring(struct gen_softc *sc, int queue, int qid, int base, in gen_init_txring() argument
699 q->hwindex = qid; in gen_init_txring()
709 WR4(sc, GENET_TX_DMA_READ_PTR_LO(qid), 0); in gen_init_txring()
710 WR4(sc, GENET_TX_DMA_READ_PTR_HI(qid), 0); in gen_init_txring()
711 WR4(sc, GENET_TX_DMA_CONS_INDEX(qid), 0); in gen_init_txring()
712 WR4(sc, GENET_TX_DMA_PROD_INDEX(qid), 0); in gen_init_txring()
713 WR4(sc, GENET_TX_DMA_RING_BUF_SIZE(qid), in gen_init_txring()
716 WR4(sc, GENET_TX_DMA_START_ADDR_LO(qid), 0); in gen_init_txring()
717 WR4(sc, GENET_TX_DMA_START_ADDR_HI(qid), 0); in gen_init_txring()
718 WR4(sc, GENET_TX_DMA_END_ADDR_LO(qid), in gen_init_txring()
[all …]
/freebsd/sys/dev/cxgbe/iw_cxgbe/
H A Dresource.c107 u32 qid; in c4iw_get_cqid() local
115 qid = entry->qid; in c4iw_get_cqid()
118 qid = c4iw_get_resource(&rdev->resource.qid_table); in c4iw_get_cqid()
119 if (!qid) in c4iw_get_cqid()
122 rdev->stats.qid.cur += rdev->qpmask + 1; in c4iw_get_cqid()
124 for (i = qid+1; i & rdev->qpmask; i++) { in c4iw_get_cqid()
128 entry->qid = i; in c4iw_get_cqid()
139 entry->qid = qid; in c4iw_get_cqid()
141 for (i = qid+1; i & rdev->qpmask; i++) { in c4iw_get_cqid()
145 entry->qid = i; in c4iw_get_cqid()
[all …]
/freebsd/sys/contrib/alpine-hal/
H A Dal_hal_udma_debug.c206 static void al_udma_regs_m2s_q_print(struct al_udma *udma, uint32_t qid) in al_udma_regs_m2s_q_print() argument
208 al_dbg("M2S Q[%d] status regs:\n", qid); in al_udma_regs_m2s_q_print()
209 al_reg_write32(&udma->udma_regs->m2s.m2s.indirect_ctrl, qid); in al_udma_regs_m2s_q_print()
215 al_dbg("M2S Q[%d] regs:\n", qid); in al_udma_regs_m2s_q_print()
216 AL_UDMA_PRINT_REG(udma, " ", "\n", m2s, m2s_q[qid], cfg); in al_udma_regs_m2s_q_print()
217 AL_UDMA_PRINT_REG(udma, " ", "\n", m2s, m2s_q[qid], status); in al_udma_regs_m2s_q_print()
218 AL_UDMA_PRINT_REG(udma, " ", "\n", m2s, m2s_q[qid], tdrbp_low); in al_udma_regs_m2s_q_print()
219 AL_UDMA_PRINT_REG(udma, " ", "\n", m2s, m2s_q[qid], tdrbp_high); in al_udma_regs_m2s_q_print()
220 AL_UDMA_PRINT_REG(udma, " ", "\n", m2s, m2s_q[qid], tdrl); in al_udma_regs_m2s_q_print()
221 AL_UDMA_PRINT_REG(udma, " ", "\n", m2s, m2s_q[qid], tdrhp); in al_udma_regs_m2s_q_print()
[all …]
H A Dal_hal_udma_main.c274 int al_udma_q_init(struct al_udma *udma, uint32_t qid, in al_udma_q_init() argument
282 if (qid >= udma->num_of_queues) { in al_udma_q_init()
283 al_err("udma: invalid queue id (%d)\n", qid); in al_udma_q_init()
287 if (udma->udma_q[qid].status == AL_QUEUE_ENABLED) { in al_udma_q_init()
288 al_err("udma: queue (%d) already enabled!\n", qid); in al_udma_q_init()
293 al_err("udma: queue (%d) size too small\n", qid); in al_udma_q_init()
298 al_err("udma: queue (%d) size too large\n", qid); in al_udma_q_init()
304 q_params->size, qid); in al_udma_q_init()
308 udma_q = &udma->udma_q[qid]; in al_udma_q_init()
312 &udma->udma_regs->m2s.m2s_q[qid]; in al_udma_q_init()
[all …]
H A Dal_hal_udma_regs_gen.h262 #define UDMA_GEN_TGTID_CFG_TGTID_SHIFT(qid) (((qid) & 0x1) ? 16 : 0) argument
263 #define UDMA_GEN_TGTID_CFG_TGTID_MASK(qid) (((qid) & 0x1) ? 0xFFFF0000 : 0x0000FFFF) argument
297 #define UDMA_GEN_TGTADDR_CFG_SHIFT(qid) (((qid) & 0x1) ? 16 : 0) argument
298 #define UDMA_GEN_TGTADDR_CFG_MASK(qid) (((qid) & 0x1) ? 0xFFFF0000 : 0x0000FFFF) argument
H A Dal_hal_udma_config.c832 udma_q->udma->name, udma_q->qid, act); in al_udma_m2s_q_rlimit_act()
1121 uint32_t qid) in al_udma_gen_tgtid_conf_queue_set() argument
1126 al_assert(qid < DMA_MAX_Q); in al_udma_gen_tgtid_conf_queue_set()
1131 (conf->tx_q_conf[qid].desc_en << qid) << in al_udma_gen_tgtid_conf_queue_set()
1133 (conf->tx_q_conf[qid].desc_en << qid) << in al_udma_gen_tgtid_conf_queue_set()
1138 (conf->tx_q_conf[qid].queue_en << qid) << in al_udma_gen_tgtid_conf_queue_set()
1140 (conf->tx_q_conf[qid].queue_en << qid) << in al_udma_gen_tgtid_conf_queue_set()
1145 (conf->rx_q_conf[qid].desc_en << qid) << in al_udma_gen_tgtid_conf_queue_set()
1147 (conf->rx_q_conf[qid].desc_en << qid) << in al_udma_gen_tgtid_conf_queue_set()
1152 (conf->rx_q_conf[qid].queue_en << qid) << in al_udma_gen_tgtid_conf_queue_set()
[all …]
/freebsd/sys/dev/rtwn/usb/
H A Drtwn_usb_tx.c136 rtwn_bulk_tx_callback_qid(struct usb_xfer *xfer, usb_error_t error, int qid) in rtwn_bulk_tx_callback_qid() argument
145 "%s: called, qid=%d\n", __func__, qid); in rtwn_bulk_tx_callback_qid()
151 data = STAILQ_FIRST(&uc->uc_tx_active[qid]); in rtwn_bulk_tx_callback_qid()
154 STAILQ_REMOVE_HEAD(&uc->uc_tx_active[qid], next); in rtwn_bulk_tx_callback_qid()
159 data = STAILQ_FIRST(&uc->uc_tx_pending[qid]); in rtwn_bulk_tx_callback_qid()
166 STAILQ_REMOVE_HEAD(&uc->uc_tx_pending[qid], next); in rtwn_bulk_tx_callback_qid()
167 STAILQ_INSERT_TAIL(&uc->uc_tx_active[qid], data, next); in rtwn_bulk_tx_callback_qid()
181 data = STAILQ_FIRST(&uc->uc_tx_active[qid]); in rtwn_bulk_tx_callback_qid()
184 STAILQ_REMOVE_HEAD(&uc->uc_tx_active[qid], next); in rtwn_bulk_tx_callback_qid()
190 qid, in rtwn_bulk_tx_callback_qid()
[all …]
/freebsd/sbin/ipfw/
H A Daltq.c103 if (pfioc.altq.qid == 0) in altq_fetch()
123 return altq->qid; in altq_name_to_qid()
127 altq_qid_to_name(u_int32_t qid) in altq_qid_to_name() argument
133 if (qid == altq->qid) in altq_qid_to_name()
146 qname = altq_qid_to_name(altqptr->qid); in print_altq_cmd()
148 bprintf(bp, " altq ?<%u>", altqptr->qid); in print_altq_cmd()
/freebsd/sys/dev/ena/
H A Dena_netmap.h54 bool ena_rx_ring_in_netmap(struct ena_adapter *adapter, int qid);
55 bool ena_tx_ring_in_netmap(struct ena_adapter *adapter, int qid);
56 void ena_netmap_reset_rx_ring(struct ena_adapter *adapter, int qid);
57 void ena_netmap_reset_tx_ring(struct ena_adapter *adapter, int qid);
H A Dena_netmap.c113 int nm_i, qid, head, lim, rc; in ena_netmap_alloc_rx_slot() local
119 qid = rx_ring->qid; in ena_netmap_alloc_rx_slot()
120 kring = na->rx_rings[qid]; in ena_netmap_alloc_rx_slot()
137 ena_log_nm(adapter->pdev, ERR, "Rx ring %d is NULL\n", qid); in ena_netmap_alloc_rx_slot()
175 int nm_i, qid, lim; in ena_netmap_free_rx_slot() local
188 qid = rx_ring->qid; in ena_netmap_free_rx_slot()
189 kring = na->rx_rings[qid]; in ena_netmap_free_rx_slot()
192 "netmap kernel ring %d is NULL\n", qid); in ena_netmap_free_rx_slot()
219 ena_ring_in_netmap(struct ena_adapter *adapter, int qid, enum txrx x) in ena_ring_in_netmap() argument
226 kring = (x == NR_RX) ? na->rx_rings[qid] : na->tx_rings[qid]; in ena_ring_in_netmap()
[all …]
/freebsd/contrib/lib9p/pytest/
H A Dp9conn.py794 self.rootqid = resp.qid
898 return rfid, statval.qid
965 if resp.qid.type == protocol.td.QTFILE:
969 return resp.qid, resp.iounit
979 return resp.qid, resp.iounit
989 return resp.qid, resp.iounit
1044 'qid': protocol.td.qid(0, 0, 0),
1079 statobj.qid = None
1185 return resp.qid, resp.iounit
1197 return resp.qid
[all …]
/freebsd/sys/dev/usb/wlan/
H A Dif_runreg.h41 #define RT2860_TX_BASE_PTR(qid) (0x0230 + (qid) * 16) argument
42 #define RT2860_TX_MAX_CNT(qid) (0x0234 + (qid) * 16) argument
43 #define RT2860_TX_CTX_IDX(qid) (0x0238 + (qid) * 16) argument
44 #define RT2860_TX_DTX_IDX(qid) (0x023c + (qid) * 16) argument
60 #define RT2860_TXQ_IO(qid) (0x041c + (qid) * 4) argument
328 #define RT2860_WRITE_TXQ(qid) (1 << (11 - (qid))) argument
332 #define RT2860_READ_TXQ(qid) (1 << (3 - (qid)) argument
/freebsd/sys/contrib/dev/mediatek/mt76/
H A Dtx.c299 __mt76_tx_queue_skb(struct mt76_phy *phy, int qid, struct sk_buff *skb, in __mt76_tx_queue_skb() argument
304 struct mt76_queue *q = phy->q_tx[qid]; in __mt76_tx_queue_skb()
311 idx = dev->queue_ops->tx_queue_skb(dev, q, qid, skb, wcid, sta); in __mt76_tx_queue_skb()
336 int qid = skb_get_queue_mapping(skb); in mt76_tx() local
343 if (WARN_ON(qid >= MT_TXQ_PSD)) { in mt76_tx()
344 qid = MT_TXQ_BE; in mt76_tx()
345 skb_set_queue_mapping(skb, qid); in mt76_tx()
352 qid = MT_TXQ_PSD; in mt76_tx()
360 q = phy->q_tx[qid]; in mt76_tx()
363 __mt76_tx_queue_skb(phy, qid, skb, wcid, sta, NULL); in mt76_tx()
[all …]
/freebsd/sys/fs/p9fs/
H A Dp9_client.c610 struct p9_qid qid; in p9_client_attach() local
626 *error = p9_buf_readf(req->rc, clnt->proto_version, "Q", &qid); in p9_client_attach()
634 qid.type, (unsigned long long)qid.path, qid.version); in p9_client_attach()
636 memmove(&fid->qid, &qid, sizeof(struct p9_qid)); in p9_client_attach()
799 memmove(&fid->qid, &wqids[nwqids - 1], sizeof(struct p9_qid)); in p9_client_walk()
801 fid->qid = oldfid->qid; in p9_client_walk()
845 error = p9_buf_readf(req->rc, clnt->proto_version, "Qd", &fid->qid, in p9_client_open()
852 (fid->qid).type, (unsigned long long)(fid->qid).path, in p9_client_open()
853 (fid->qid).version, mtu); in p9_client_open()
1055 struct p9_qid qid; in p9_client_file_create() local
[all …]
H A Dp9_protocol.c187 struct p9_qid *qid = va_arg(ap, struct p9_qid *); in p9_buf_vreadf() local
190 &qid->type, &qid->version, &qid->path); in p9_buf_vreadf()
199 &stbuf->size, &stbuf->type, &stbuf->dev, &stbuf->qid, in p9_buf_vreadf()
213 &stbuf->st_result_mask, &stbuf->qid, &stbuf->st_mode, in p9_buf_vreadf()
407 const struct p9_qid *qid = va_arg(ap, const struct p9_qid *); in p9_buf_vwritef() local
410 qid->type, qid->version, qid->path); in p9_buf_vwritef()
418 "wwdQdddqssss?sddd", stbuf->size, stbuf->type, stbuf->dev, &stbuf->qid, in p9_buf_vwritef()
619 ret = p9_buf_readf(&msg_buf, clnt->proto_version, "Qqbs", &dent->qid, in p9_dirent_read()
/freebsd/sys/dev/rtwn/pci/
H A Drtwn_pci_tx.c98 uint8_t qid; in rtwn_pci_tx_start_frame() local
106 qid = RTWN_PCI_MGNT_QUEUE; in rtwn_pci_tx_start_frame()
109 qid = M_WME_GETAC(m); in rtwn_pci_tx_start_frame()
113 ring = &pc->tx_ring[qid]; in rtwn_pci_tx_start_frame()
117 "%s: ring #%u is full (m %p)\n", __func__, qid, data->m); in rtwn_pci_tx_start_frame()
126 __func__, ring->cur, qid); in rtwn_pci_tx_start_frame()
184 sc->qfullmsk |= (1 << qid); in rtwn_pci_tx_start_frame()
191 rtwn_write_2(sc, R92C_PCIE_CTRL_REG, (1 << qid)); in rtwn_pci_tx_start_frame()
H A Drtwn_pci_attach.c264 rtwn_pci_alloc_tx_list(struct rtwn_softc *sc, int qid) in rtwn_pci_alloc_tx_list() argument
267 struct rtwn_tx_ring *tx_ring = &pc->tx_ring[qid]; in rtwn_pci_alloc_tx_list()
324 rtwn_pci_free_tx_list(sc, qid); in rtwn_pci_alloc_tx_list()
329 rtwn_pci_reset_tx_ring_stopped(struct rtwn_softc *sc, int qid) in rtwn_pci_reset_tx_ring_stopped() argument
332 struct rtwn_tx_ring *ring = &pc->tx_ring[qid]; in rtwn_pci_reset_tx_ring_stopped()
357 sc->qfullmsk &= ~(1 << qid); in rtwn_pci_reset_tx_ring_stopped()
394 int qid) in rtwn_pci_reset_tx_list() argument
399 if (qid != RTWN_PCI_BEACON_QUEUE) { in rtwn_pci_reset_tx_list()
403 rtwn_pci_reset_tx_ring_stopped(sc, qid); in rtwn_pci_reset_tx_list()
408 } else if (qid == RTWN_PCI_BEACON_QUEUE && in rtwn_pci_reset_tx_list()
[all …]
/freebsd/sys/dev/iwn/
H A Dif_iwnreg.h110 #define IWN_FH_TFBD_CTRL0(qid) (0x1900 + (qid) * 8) argument
111 #define IWN_FH_TFBD_CTRL1(qid) (0x1904 + (qid) * 8) argument
113 #define IWN_FH_SRAM_ADDR(qid) (0x19a4 + (qid) * 4) argument
114 #define IWN_FH_CBBC_QUEUE(qid) (0x19d0 + (qid) * 4) argument
120 #define IWN_FH_TX_CONFIG(qid) (0x1d00 + (qid) * 32) argument
121 #define IWN_FH_TXBUF_STATUS(qid) (0x1d08 + (qid) * 32) argument
134 #define IWN4965_SCHED_QUEUE_RDPTR(qid) (IWN_SCHED_BASE + 0x064 + (qid) * 4) argument
135 #define IWN5000_SCHED_QUEUE_RDPTR(qid) (IWN_SCHED_BASE + 0x068 + (qid) * 4) argument
139 #define IWN4965_SCHED_QUEUE_STATUS(qid) (IWN_SCHED_BASE + 0x104 + (qid) * 4) argument
141 #define IWN5000_SCHED_QUEUE_STATUS(qid) (IWN_SCHED_BASE + 0x10c + (qid) * 4) argument
[all …]
H A Dif_iwn.c1397 int qid; in iwn_detach() local
1428 for (qid = 0; qid < sc->ntxqs; qid++) in iwn_detach()
1429 iwn_free_tx_ring(sc, &sc->txq[qid]); in iwn_detach()
1986 iwn_alloc_tx_ring(struct iwn_softc *sc, struct iwn_tx_ring *ring, int qid) in iwn_alloc_tx_ring() argument
1992 ring->qid = qid; in iwn_alloc_tx_ring()
2083 sc->qfullmsk &= ~(1 << ring->qid); in iwn_reset_tx_ring()
2117 iwn_check_tx_ring(struct iwn_softc *sc, int qid) in iwn_check_tx_ring() argument
2119 struct iwn_tx_ring *ring = &sc->txq[qid]; in iwn_check_tx_ring()
2122 __func__, ring->queued, qid)); in iwn_check_tx_ring()
2124 if (qid >= sc->firstaggqueue) { in iwn_check_tx_ring()
[all …]
/freebsd/sys/dev/ral/
H A Drt2860reg.h46 #define RT2860_TX_BASE_PTR(qid) (0x0230 + (qid) * 16) argument
47 #define RT2860_TX_MAX_CNT(qid) (0x0234 + (qid) * 16) argument
48 #define RT2860_TX_CTX_IDX(qid) (0x0238 + (qid) * 16) argument
49 #define RT2860_TX_DTX_IDX(qid) (0x023c + (qid) * 16) argument
65 #define RT2860_TXQ_IO(qid) (0x041c + (qid) * 4) argument
344 #define RT2860_WRITE_TXQ(qid) (1 << (11 - (qid))) argument
348 #define RT2860_READ_TXQ(qid) (1 << (3 - (qid)) argument
/freebsd/contrib/unbound/services/
H A Dmesh.h228 uint16_t qid; member
256 uint16_t qid; member
306 struct edns_data* edns, struct comm_reply* rep, uint16_t qid,
328 uint16_t qid, mesh_cb_func_type cb, void* cb_arg, int rpz_passthru);
542 struct comm_reply* rep, uint16_t qid, uint16_t qflags,
559 uint16_t qid, uint16_t qflags);
/freebsd/contrib/llvm-project/lldb/include/lldb/Target/
H A DQueueItem.h104 void SetEnqueueingQueueID(lldb::queue_id_t qid) { in SetEnqueueingQueueID() argument
105 m_enqueueing_queue_id = qid; in SetEnqueueingQueueID()
110 void SetTargetQueueID(lldb::queue_id_t qid) { m_target_queue_id = qid; } in SetTargetQueueID() argument
/freebsd/sys/dev/nvmf/controller/
H A Dnvmft_controller.c120 if (cmd->qid != htole16(0)) in nvmft_handoff_admin_queue()
186 uint16_t cntlid, qid; in nvmft_handoff_io_queue() local
188 qid = le16toh(cmd->qid); in nvmft_handoff_io_queue()
189 if (qid == 0) in nvmft_handoff_io_queue()
193 snprintf(name, sizeof(name), "I/O queue %u", qid); in nvmft_handoff_io_queue()
194 qp = nvmft_qpair_init(handoff->trtype, &handoff->params, qid, name); in nvmft_handoff_io_queue()
196 printf("NVMFT: Failed to setup I/O queue %u from %.*s\n", qid, in nvmft_handoff_io_queue()
209 ctrlr->cntlid, qid, (int)sizeof(data->hostnqn), in nvmft_handoff_io_queue()
220 "hostid mismatch for I/O queue %u from %.*s\n", qid, in nvmft_handoff_io_queue()
230 "hostnqn mismatch for I/O queue %u from %.*s\n", qid, in nvmft_handoff_io_queue()
[all …]
/freebsd/sys/kern/
H A Dsubr_gtaskqueue.c669 int cpu, qid, error; in taskqgroup_attach() local
680 qid = taskqgroup_find(qgroup, uniq); in taskqgroup_attach()
681 qgroup->tqg_queue[qid].tgc_cnt++; in taskqgroup_attach()
682 LIST_INSERT_HEAD(&qgroup->tqg_queue[qid].tgc_tasks, gtask, gt_list); in taskqgroup_attach()
683 gtask->gt_taskqueue = qgroup->tqg_queue[qid].tgc_taskq; in taskqgroup_attach()
685 cpu = qgroup->tqg_queue[qid].tgc_cpu; in taskqgroup_attach()
700 int i, qid, error; in taskqgroup_attach_cpu() local
708 for (i = 0, qid = -1; i < qgroup->tqg_cnt; i++) in taskqgroup_attach_cpu()
710 qid = i; in taskqgroup_attach_cpu()
713 if (qid == -1) { in taskqgroup_attach_cpu()
[all …]

123456789