Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/dma/dw/
Drzn1-dmamux.c24 unsigned int req_idx; member
32 dev_dbg(dev, "Unmapping DMAMUX request %u\n", map->req_idx); in rzn1_dmamux_free()
34 clear_bit(map->req_idx, dmamux->used_chans); in rzn1_dmamux_free()
57 map->req_idx = dma_spec->args[4]; in rzn1_dmamux_route_allocate()
67 if (map->req_idx >= RZN1_DMAMUX_MAX_LINES || in rzn1_dmamux_route_allocate()
68 (map->req_idx % RZN1_DMAMUX_LINES_PER_CTLR) != chan) { in rzn1_dmamux_route_allocate()
69 dev_err(&pdev->dev, "Invalid MUX request line: %u\n", map->req_idx); in rzn1_dmamux_route_allocate()
74 dmac_idx = map->req_idx >= RZN1_DMAMUX_LINES_PER_CTLR ? 1 : 0; in rzn1_dmamux_route_allocate()
83 map->req_idx, dmac_idx, chan); in rzn1_dmamux_route_allocate()
85 if (test_and_set_bit(map->req_idx, dmamux->used_chans)) { in rzn1_dmamux_route_allocate()
[all …]
/linux-6.1.9/drivers/message/fusion/
Dmptscsih.c93 SCSIIORequest_t *pReq, int req_idx);
94 static void mptscsih_freeChainBuffers(MPT_ADAPTER *ioc, int req_idx);
178 SCSIIORequest_t *pReq, int req_idx) in mptscsih_AddSGE() argument
287 ioc->RequestNB[req_idx] = RequestNB; in mptscsih_AddSGE()
336 ioc->RequestNB[req_idx] = RequestNB; in mptscsih_AddSGE()
358 ioc->ReqToChain[req_idx] = newIndex; 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()
[all …]
Dmptbase.c447 u16 req_idx = 0; in mpt_turbo_reply() local
455 req_idx = pa & 0x0000FFFF; in mpt_turbo_reply()
457 mf = MPT_INDEX_2_MFPTR(ioc, req_idx); in mpt_turbo_reply()
471 req_idx = pa & 0x0000FFFF; in mpt_turbo_reply()
472 mf = MPT_INDEX_2_MFPTR(ioc, req_idx); 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()
530 mf = MPT_INDEX_2_MFPTR(ioc, req_idx); in mpt_reply()
533 ioc->name, mr, req_idx, cb_idx, mr->u.hdr.Function)); in mpt_reply()
889 u16 req_idx; /* Request index */ in mpt_get_msg_frame() local
[all …]
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()
Dmptbase.h298 u16 req_idx; /* Request index */ member
Dmptlan.c1177 i = le16_to_cpu(mf->u.frame.hwhdr.msgctxu.fld.req_idx); in mpt_lan_post_receive_buckets()
/linux-6.1.9/drivers/ata/
Dsata_mv.c524 unsigned int req_idx; member
1001 pp->req_idx &= MV_MAX_Q_DEPTH_MASK; /* paranoia */ in mv_set_edma_ptrs()
1002 index = pp->req_idx << EDMA_REQ_Q_PTR_SHIFT; in mv_set_edma_ptrs()
2062 in_index = pp->req_idx; in mv_qc_prep()
2156 in_index = pp->req_idx; in mv_qc_prep_iie()
2350 pp->req_idx = (pp->req_idx + 1) & MV_MAX_Q_DEPTH_MASK; in mv_qc_issue()
2351 in_index = pp->req_idx << EDMA_REQ_Q_PTR_SHIFT; in mv_qc_issue()