Home
last modified time | relevance | path

Searched refs:req_idx (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/drivers/dma/dw/
H A Drzn1-dmamux.c26 unsigned int req_idx; member
34 dev_dbg(dev, "Unmapping DMAMUX request %u\n", map->req_idx); in rzn1_dmamux_free()
36 clear_bit(map->req_idx, dmamux->used_chans); in rzn1_dmamux_free()
59 map->req_idx = dma_spec->args[4]; in rzn1_dmamux_route_allocate()
69 if (map->req_idx >= RZN1_DMAMUX_MAX_LINES || in rzn1_dmamux_route_allocate()
70 (map->req_idx % RZN1_DMAMUX_LINES_PER_CTLR) != chan) { in rzn1_dmamux_route_allocate()
76 dmac_idx = map->req_idx >= RZN1_DMAMUX_LINES_PER_CTLR ? 1 : 0; in rzn1_dmamux_route_allocate()
85 map->req_idx, dmac_idx, chan); in rzn1_dmamux_route_allocate()
87 if (test_and_set_bit(map->req_idx, dmamux->used_chans)) { in rzn1_dmamux_route_allocate()
92 mask = BIT(map->req_idx); in rzn1_dmamux_route_allocate()
[all …]
/openbmc/linux/drivers/message/fusion/
H A Dmptscsih.c93 SCSIIORequest_t *pReq, int req_idx);
178 SCSIIORequest_t *pReq, int req_idx) in mptscsih_AddSGE() argument
287 ioc->RequestNB[req_idx] = RequestNB; in mptscsih_AddSGE()
369 ioc->name, psge, req_idx)); in mptscsih_AddSGE()
592 u16 req_idx, req_idx_MR; in mptscsih_io_done() local
597 req_idx = le16_to_cpu(mf->u.frame.hwhdr.msgctxu.fld.req_idx); in mptscsih_io_done()
599 le16_to_cpu(mr->u.frame.hwhdr.msgctxu.fld.req_idx) : req_idx; in mptscsih_io_done()
605 if ((req_idx != req_idx_MR) || in mptscsih_io_done()
652 ioc->name, mf, mr, sc, req_idx)); in mptscsih_io_done()
2628 u16 req_idx; in mptscsih_scandv_complete() local
[all …]
H A Dmptbase.c447 u16 req_idx = 0; in mpt_turbo_reply() local
455 req_idx = pa & 0x0000FFFF; in mpt_turbo_reply()
471 req_idx = pa & 0x0000FFFF; in mpt_turbo_reply()
507 u16 req_idx; in mpt_reply() local
528 req_idx = le16_to_cpu(mr->u.frame.hwhdr.msgctxu.fld.req_idx); in mpt_reply()
915 mf->u.frame.hwhdr.msgctxu.fld.req_idx = cpu_to_le16(req_idx); in mpt_get_msg_frame()
958 u16 req_idx; /* Request index */ in mpt_put_msg_frame() local
965 mf->u.frame.hwhdr.msgctxu.fld.req_idx = cpu_to_le16(req_idx); in mpt_put_msg_frame()
973 ioc->RequestNB[req_idx])); in mpt_put_msg_frame()
994 u16 req_idx; /* Request index */ in mpt_put_msg_frame_hi_pri() local
[all …]
H A Dmptctl.c253 le16_to_cpu(req->u.frame.hwhdr.msgctxu.fld.req_idx); in mptctl_reply()
1744 u16 req_idx; in mptctl_do_mpt_command() local
1796 req_idx = le16_to_cpu(mf->u.frame.hwhdr.msgctxu.fld.req_idx); in mptctl_do_mpt_command()
1890 + (req_idx * MPT_SENSE_BUFFER_ALLOC)); in mptctl_do_mpt_command()
1977 + (req_idx * MPT_SENSE_BUFFER_ALLOC)); in mptctl_do_mpt_command()
H A Dmptbase.h298 u16 req_idx; /* Request index */ member
H A Dmptlan.c1177 i = le16_to_cpu(mf->u.frame.hwhdr.msgctxu.fld.req_idx); in mpt_lan_post_receive_buckets()
/openbmc/linux/drivers/ata/
H A Dsata_mv.c524 unsigned int req_idx; member
970 pp->req_idx &= MV_MAX_Q_DEPTH_MASK; /* paranoia */ in mv_set_edma_ptrs()
971 index = pp->req_idx << EDMA_REQ_Q_PTR_SHIFT; in mv_set_edma_ptrs()
2031 in_index = pp->req_idx; in mv_qc_prep()
2125 in_index = pp->req_idx; in mv_qc_prep_iie()
2319 pp->req_idx = (pp->req_idx + 1) & MV_MAX_Q_DEPTH_MASK; in mv_qc_issue()
2320 in_index = pp->req_idx << EDMA_REQ_Q_PTR_SHIFT; in mv_qc_issue()