Searched refs:rq (Results 76 - 100 of 315) sorted by relevance

1234567891011>>

/drivers/infiniband/hw/qib/
H A Dqib_ruc.c141 struct qib_rq *rq; local
152 rq = &srq->rq;
156 rq = &qp->r_rq;
159 spin_lock_irqsave(&rq->lock, flags);
165 wq = rq->wq;
168 if (tail >= rq->size)
176 wqe = get_rwqe_ptr(rq, tail);
182 if (++tail >= rq->size)
201 if (n >= rq
[all...]
/drivers/block/aoe/
H A Daoe.h105 struct request *rq; member in struct:buf
177 struct request *rq; member in struct:aoedev::__anon285
/drivers/gpu/drm/nouveau/core/subdev/fb/
H A Dgddr5.c41 int rq = ram->freq < 1000000; /* XXX */ local
97 ram->mr[3] |= (rq & 0x01) << 5;
/drivers/infiniband/hw/ocrdma/
H A Docrdma_verbs.c1129 uresp.rq_dbid = qp->rq.dbid;
1131 uresp.rq_page_size = PAGE_ALIGN(qp->rq.len);
1132 uresp.rq_page_addr[0] = virt_to_phys(qp->rq.va);
1133 uresp.num_rqe_allocated = qp->rq.max_cnt;
1196 kzalloc(sizeof(u64) * qp->rq.max_cnt, GFP_KERNEL);
1216 qp->rq.max_sges = attrs->cap.max_recv_sge;
1427 qp_attr->cap.max_recv_wr = qp->rq.max_cnt - 1;
1429 qp_attr->cap.max_recv_sge = qp->rq.max_sges;
1503 return (qp->rq.tail == qp->rq
[all...]
H A Docrdma_hw.c850 /* if wq and rq share the same cq, than comp_handler
855 /* if completion came on sq, rq's cq is buddy cq.
856 * if completion came on rq, sq's cq is buddy cq.
1916 qp->rq.head = 0;
1917 qp->rq.tail = 0;
2041 qp->rq.max_cnt = max_rqe_allocated;
2044 qp->rq.va = dma_alloc_coherent(&pdev->dev, len, &pa, GFP_KERNEL);
2045 if (!qp->rq.va)
2047 memset(qp->rq.va, 0, len);
2048 qp->rq
[all...]
/drivers/staging/octeon/
H A Dethernet-mdio.c101 * @rq: the request
106 int cvm_oct_ioctl(struct net_device *dev, struct ifreq *rq, int cmd) argument
116 return phy_mii_ioctl(priv->phydev, rq, cmd);
/drivers/ide/
H A Dpdc202xx_old.c152 struct request *rq = hwif->rq; local
159 word_count = (blk_rq_sectors(rq) << 8);
160 word_count = (rq_data_dir(rq) == READ) ?
/drivers/scsi/
H A Dsg.c146 struct request *rq; member in struct:sg_request
191 static void sg_rq_end_io(struct request *rq, int uptodate);
791 blk_end_request_all(srp->rq, -EIO);
818 srp->rq->timeout = timeout;
821 srp->rq, at_head, sg_rq_end_io);
1320 sg_rq_end_io(struct request *rq, int uptodate) argument
1322 struct sg_request *srp = rq->end_io_data;
1341 sense = rq->sense;
1342 result = rq->errors;
1343 resid = rq
1690 struct request *rq; local
[all...]
H A Dsr.c387 struct request *rq = SCpnt->request; local
393 SCpnt = rq->special;
394 cd = scsi_cd(rq->rq_disk);
405 "Finishing %u sectors\n", blk_rq_sectors(rq)));
437 if (rq_data_dir(rq) == WRITE) {
442 } else if (rq_data_dir(rq) == READ) {
445 blk_dump_rq_flags(rq, "Unknown sr command");
468 if (((unsigned int)blk_rq_pos(rq) % (s_size >> 9)) ||
479 (rq_data_dir(rq) == WRITE) ?
481 this_count, blk_rq_sectors(rq)));
[all...]
H A Dscsi_lib.c904 * we already took a copy of the original into rq->errors which
1112 struct request *rq = cmd->request; local
1113 bool is_mq = (rq->mq_ctx != NULL);
1116 BUG_ON(!rq->nr_phys_segments);
1118 error = scsi_init_sgtable(rq, &cmd->sdb, gfp_mask);
1122 if (blk_bidi_rq(rq)) {
1123 if (!rq->q->mq_ops) {
1131 rq->next_rq->special = bidi_sdb;
1134 error = scsi_init_sgtable(rq->next_rq, rq
1601 scsi_softirq_done(struct request *rq) argument
1953 scsi_init_request(void *data, struct request *rq, unsigned int hctx_idx, unsigned int request_idx, unsigned int numa_node) argument
1966 scsi_exit_request(void *data, struct request *rq, unsigned int hctx_idx, unsigned int request_idx) argument
[all...]
/drivers/isdn/hardware/mISDN/
H A Dw6692.c1008 open_bchannel(struct w6692_hw *card, struct channel_req *rq) argument
1012 if (rq->adr.channel == 0 || rq->adr.channel > 2)
1014 if (rq->protocol == ISDN_P_NONE)
1016 bch = &card->bc[rq->adr.channel - 1].bch;
1019 bch->ch.protocol = rq->protocol;
1020 rq->ch = &bch->ch;
1179 open_dchannel(struct w6692_hw *card, struct channel_req *rq) argument
1183 if (rq->protocol != ISDN_P_TE_S0)
1185 if (rq
1202 struct channel_req *rq; local
[all...]
H A Dhfcpci.c1890 struct channel_req *rq)
1897 if (rq->protocol == ISDN_P_NONE)
1899 if (rq->adr.channel == 1) {
1904 if (rq->protocol == ISDN_P_TE_S0) {
1909 hc->hw.protocol = rq->protocol;
1910 ch->protocol = rq->protocol;
1915 if (rq->protocol != ch->protocol) {
1918 if (rq->protocol == ISDN_P_TE_S0) {
1923 hc->hw.protocol = rq->protocol;
1924 ch->protocol = rq
1889 open_dchannel(struct hfc_pci *hc, struct mISDNchannel *ch, struct channel_req *rq) argument
1941 open_bchannel(struct hfc_pci *hc, struct channel_req *rq) argument
1968 struct channel_req *rq; local
[all...]
H A Davmfritz.c908 open_bchannel(struct fritzcard *fc, struct channel_req *rq) argument
912 if (rq->adr.channel == 0 || rq->adr.channel > 2)
914 if (rq->protocol == ISDN_P_NONE)
916 bch = &fc->bch[rq->adr.channel - 1];
919 bch->ch.protocol = rq->protocol;
920 rq->ch = &bch->ch;
933 struct channel_req *rq; local
939 rq = arg;
940 if (rq
[all...]
H A Dnetjet.c863 open_bchannel(struct tiger_hw *card, struct channel_req *rq) argument
867 if (rq->adr.channel == 0 || rq->adr.channel > 2)
869 if (rq->protocol == ISDN_P_NONE)
871 bch = &card->bc[rq->adr.channel - 1].bch;
875 bch->ch.protocol = rq->protocol;
876 rq->ch = &bch->ch;
889 struct channel_req *rq; local
895 rq = arg;
896 if (rq
[all...]
H A Dhfcsusb.c425 struct channel_req *rq)
431 hw->name, __func__, hw->dch.dev.id, rq->adr.channel,
433 if (rq->protocol == ISDN_P_NONE)
441 if (rq->adr.channel == 1) {
452 hw->protocol = rq->protocol;
453 if (rq->protocol == ISDN_P_TE_S0) {
459 ch->protocol = rq->protocol;
462 if (rq->protocol != ch->protocol)
470 rq->ch = ch;
478 open_bchannel(struct hfcsusb *hw, struct channel_req *rq) argument
424 open_dchannel(struct hfcsusb *hw, struct mISDNchannel *ch, struct channel_req *rq) argument
535 struct channel_req *rq; local
[all...]
/drivers/block/mtip32xx/
H A Dmtip32xx.c180 struct request *rq; local
182 rq = blk_mq_alloc_request(dd->queue, 0, __GFP_WAIT, true);
183 return blk_mq_rq_to_pdu(rq);
205 struct request *rq = mtip_rq_from_tag(dd, tag); local
207 return blk_mq_rq_to_pdu(rq);
232 struct request *rq; local
245 rq = mtip_rq_from_tag(dd, tag);
250 blk_mq_end_request(rq, status ? -EIO : 0);
2371 static void mtip_hw_submit_io(struct driver_data *dd, struct request *rq, argument
2377 int dma_dir = rq_data_dir(rq)
3713 mtip_submit_request(struct blk_mq_hw_ctx *hctx, struct request *rq) argument
3754 mtip_check_unal_depth(struct blk_mq_hw_ctx *hctx, struct request *rq) argument
3778 mtip_queue_rq(struct blk_mq_hw_ctx *hctx, struct request *rq, bool last) argument
3796 mtip_free_cmd(void *data, struct request *rq, unsigned int hctx_idx, unsigned int request_idx) argument
3809 mtip_init_cmd(void *data, struct request *rq, unsigned int hctx_idx, unsigned int request_idx, unsigned int numa_node) argument
[all...]
/drivers/infiniband/hw/cxgb4/
H A Ddevice.c137 le.qid = wq->rq.qid;
139 le.post_host_ts = wq->rq.sw_rq[wq->rq.cidx].host_ts;
140 le.post_sge_ts = wq->rq.sw_rq[wq->rq.cidx].sge_ts;
253 "rc qp sq id %u rq id %u state %u "
256 qp->wq.sq.qid, qp->wq.rq.qid,
277 "rc qp sq id %u rq id %u state %u "
280 qp->wq.sq.qid, qp->wq.rq.qid,
293 "qp sq id %u rq i
[all...]
/drivers/block/
H A Dcciss.c1812 static void cciss_softirq_done(struct request *rq) argument
1814 CommandList_struct *c = rq->completion_data;
1843 dev_dbg(&h->pdev->dev, "Done with %p\n", rq);
1846 if (rq->cmd_type == REQ_TYPE_BLOCK_PC)
1847 rq->resid_len = c->err_info->ResidualCnt;
1849 blk_end_request_all(rq, (rq->errors == 0) ? 0 : -EIO);
3069 if (cmd->rq->cmd_type == REQ_TYPE_BLOCK_PC)
3078 if (cmd->rq->cmd_type != REQ_TYPE_BLOCK_PC)
3089 (cmd->rq
3125 struct request *rq = cmd->rq; local
[all...]
H A Damiflop.c1344 struct request *rq = NULL; local
1361 rq = blk_fetch_request(q);
1362 if (rq)
1370 return rq;
1375 struct request *rq; local
1384 rq = set_next_request();
1385 if (!rq) {
1390 floppy = rq->rq_disk->private_data;
1395 for (cnt = 0, err = 0; cnt < blk_rq_cur_sectors(rq); cnt++) {
1398 blk_rq_pos(rq), cn
[all...]
/drivers/gpu/drm/nouveau/core/subdev/i2c/
H A Dnv94.c28 nv94_aux_stat(struct nouveau_i2c *i2c, u32 *hi, u32 *lo, u32 *rq, u32 *tx) argument
32 for (i = 0, *hi = *lo = *rq = *tx = 0; i < 8; i++) {
35 if ((stat & (4 << (i * 4)))) *rq |= 1 << i;
/drivers/net/ethernet/cisco/enic/
H A Denic_clsf.c15 * @rq: rq number to steer to
20 int enic_addfltr_5t(struct enic *enic, struct flow_keys *keys, u16 rq) argument
43 res = vnic_dev_classifier(enic->vdev, CLSF_ADD, &rq, &data);
45 res = (res == 0) ? rq : res;
195 /* desired rq changed for the flow, we need to delete
199 * are put it default rq based on rss. When we add
H A Denic_res.c98 "vNIC MAC addr %pM wq/rq %d/%d mtu %d\n",
189 vnic_rq_free(&enic->rq[i]);
205 "vNIC resources avail: wq %d rq %d cq %d intr %d\n",
244 vnic_rq_init(&enic->rq[i],
321 "wq %d rq %d cq %d intr %d intr mode %s\n",
341 err = vnic_rq_alloc(enic->vdev, &enic->rq[i], i,
/drivers/ptp/
H A Dptp_ixp46x.c218 struct ptp_clock_request *rq, int on)
222 switch (rq->type) {
224 switch (rq->extts.index) {
217 ptp_ixp_enable(struct ptp_clock_info *ptp, struct ptp_clock_request *rq, int on) argument
/drivers/scsi/fnic/
H A Dfnic.h309 ____cacheline_aligned struct vnic_rq rq[FNIC_RQ_MAX]; member in struct:fnic
335 int fnic_alloc_rq_frame(struct vnic_rq *rq);
336 void fnic_free_rq_buf(struct vnic_rq *rq, struct vnic_rq_buf *buf);
H A Dfnic_res.h223 static inline void fnic_queue_rq_desc(struct vnic_rq *rq, argument
227 struct rq_enet_desc *desc = vnic_rq_next_desc(rq);
234 vnic_rq_post(rq, os_buf, 0, dma_addr, len);

Completed in 1877 milliseconds

1234567891011>>