Home
last modified time | relevance | path

Searched refs:reqlen (Results 1 – 18 of 18) sorted by relevance

/Linux-v4.19/drivers/scsi/
Dqlogicfas408.c96 static int ql_pdma(struct qlogicfas408_priv *priv, int phase, char *request, int reqlen) in ql_pdma() argument
105 if (reqlen >= 128 && (inb(qbase + 8) & 2)) { /* full */ in ql_pdma()
107 reqlen -= 128; in ql_pdma()
110 while (reqlen >= 84 && !(j & 0xc0)) /* 2/3 */ in ql_pdma()
114 reqlen -= 84; in ql_pdma()
117 if (reqlen >= 44 && (inb(qbase + 8) & 8)) { /* 1/3 */ in ql_pdma()
119 reqlen -= 44; in ql_pdma()
126 while (reqlen && !((j & 0x10) && (j & 0xc0))) in ql_pdma()
130 while (reqlen && !((j = inb(qbase + 8)) & 0x10)) in ql_pdma()
133 reqlen--; in ql_pdma()
[all …]
Ddpt_i2o.c324 u32 reqlen; in adpt_inquiry() local
343 reqlen = 17; // SINGLE SGE, 64 bit in adpt_inquiry()
345 reqlen = 14; // SINGLE SGE, 32 bit in adpt_inquiry()
347 msg[0] = reqlen<<16 | SGL_OFFSET_12; in adpt_inquiry()
390 rcode = adpt_i2o_post_wait(pHba, msg, reqlen<<2, 120); in adpt_inquiry()
2238 u32 reqlen; in adpt_scsi_to_i2o() local
2299 reqlen = 16; // SINGLE SGE in adpt_scsi_to_i2o()
2303 reqlen = 14; // SINGLE SGE in adpt_scsi_to_i2o()
2325 reqlen = mptr - msg; in adpt_scsi_to_i2o()
2334 reqlen = 12; in adpt_scsi_to_i2o()
[all …]
Ddc395x.c1012 u32 reqlen = scsi_bufflen(cmd); in build_srb() local
1020 reqlen, scsi_sglist(cmd), scsi_sg_count(cmd), in build_srb()
1036 if (srb->total_xfer_length > reqlen) { in build_srb()
1037 sgp->length -= (srb->total_xfer_length - reqlen); in build_srb()
1038 srb->total_xfer_length = reqlen; in build_srb()
/Linux-v4.19/drivers/scsi/pcmcia/
Dsym53c500_cs.c245 SYM53C500_pio_read(int fast_pio, int base, unsigned char *request, unsigned int reqlen) in SYM53C500_pio_read() argument
251 while (reqlen) { in SYM53C500_pio_read()
281 if (len > reqlen) in SYM53C500_pio_read()
282 len = reqlen; in SYM53C500_pio_read()
287 reqlen -= len & 0xfc; in SYM53C500_pio_read()
291 reqlen--; in SYM53C500_pio_read()
300 SYM53C500_pio_write(int fast_pio, int base, unsigned char *request, unsigned int reqlen) in SYM53C500_pio_write() argument
306 while (reqlen && !(i & 0x40)) { in SYM53C500_pio_write()
332 if (len > reqlen) in SYM53C500_pio_write()
333 len = reqlen; in SYM53C500_pio_write()
[all …]
/Linux-v4.19/net/netfilter/
Dnf_conntrack_pptp.c268 unsigned int reqlen, in pptp_inbound_pkt() argument
396 unsigned int reqlen, in pptp_outbound_pkt() argument
519 unsigned int datalen, reqlen, nexthdr_off; in conntrack_pptp_help() local
563 reqlen = datalen; in conntrack_pptp_help()
565 if (msg > 0 && msg <= PPTP_MSG_MAX && reqlen < pptp_msg_size[msg]) in conntrack_pptp_help()
567 if (reqlen > sizeof(*pptpReq)) in conntrack_pptp_help()
568 reqlen = sizeof(*pptpReq); in conntrack_pptp_help()
570 pptpReq = skb_header_pointer(skb, nexthdr_off, reqlen, &_pptpReq); in conntrack_pptp_help()
583 ret = pptp_outbound_pkt(skb, protoff, ctlh, pptpReq, reqlen, ct, in conntrack_pptp_help()
587 ret = pptp_inbound_pkt(skb, protoff, ctlh, pptpReq, reqlen, ct, in conntrack_pptp_help()
/Linux-v4.19/drivers/isdn/mISDN/
Dhwchannel.c479 bchannel_get_rxbuf(struct bchannel *bch, int reqlen) in bchannel_get_rxbuf() argument
485 if (len < reqlen) { in bchannel_get_rxbuf()
487 bch->nr, reqlen, len); in bchannel_get_rxbuf()
504 if (unlikely(reqlen > bch->maxlen)) in bchannel_get_rxbuf()
507 if (reqlen >= bch->minlen) { in bchannel_get_rxbuf()
508 len = reqlen; in bchannel_get_rxbuf()
/Linux-v4.19/drivers/crypto/chelsio/
Dchcr_algo.c139 static int sg_nents_xlen(struct scatterlist *sg, unsigned int reqlen, in sg_nents_xlen() argument
158 while (sg && reqlen) { in sg_nents_xlen()
159 less = min(reqlen, sg_dma_len(sg) - skip_len); in sg_nents_xlen()
161 reqlen -= less; in sg_nents_xlen()
1580 if (nbytes + req_ctx->reqlen >= bs) { in chcr_ahash_update()
1581 remainder = (nbytes + req_ctx->reqlen) % bs; in chcr_ahash_update()
1582 nbytes = nbytes + req_ctx->reqlen - remainder; in chcr_ahash_update()
1585 + req_ctx->reqlen, nbytes, 0); in chcr_ahash_update()
1586 req_ctx->reqlen += nbytes; in chcr_ahash_update()
1595 params.sg_len = chcr_hash_ent_in_wr(req->src, !!req_ctx->reqlen, in chcr_ahash_update()
[all …]
Dchcr_crypto.h285 u8 reqlen; member
/Linux-v4.19/drivers/net/wireless/zydas/
Dzd1201.c517 int reqlen; in zd1201_setconfig() local
536 reqlen = len>12 ? 12 : len; in zd1201_setconfig()
545 memcpy(request+8, buf, reqlen-4); in zd1201_setconfig()
546 buf += reqlen-4; in zd1201_setconfig()
548 memcpy(request+4, buf, reqlen); in zd1201_setconfig()
549 buf += reqlen; in zd1201_setconfig()
552 len -= reqlen; in zd1201_setconfig()
/Linux-v4.19/drivers/scsi/lpfc/
Dlpfc_nvme.c1952 uint32_t reqlen, alloclen, pg_pairs; in lpfc_sli4_post_nvme_sgl_block() local
1961 reqlen = count * sizeof(struct sgl_page_pairs) + in lpfc_sli4_post_nvme_sgl_block()
1963 if (reqlen > SLI4_PAGE_SIZE) { in lpfc_sli4_post_nvme_sgl_block()
1966 "size (%d) great than a page\n", reqlen); in lpfc_sli4_post_nvme_sgl_block()
1978 LPFC_MBOX_OPCODE_FCOE_POST_SGL_PAGES, reqlen, in lpfc_sli4_post_nvme_sgl_block()
1981 if (alloclen < reqlen) { in lpfc_sli4_post_nvme_sgl_block()
1985 "size (%d)\n", alloclen, reqlen); in lpfc_sli4_post_nvme_sgl_block()
Dlpfc_sli.c5373 uint32_t alloclen, reqlen; in lpfc_sli4_retrieve_pport_name() local
5393 reqlen = sizeof(struct lpfc_mbx_get_cntl_attributes); in lpfc_sli4_retrieve_pport_name()
5395 LPFC_MBOX_OPCODE_GET_CNTL_ATTRIBUTES, reqlen, in lpfc_sli4_retrieve_pport_name()
5397 if (alloclen < reqlen) { in lpfc_sli4_retrieve_pport_name()
5401 "(%d)\n", alloclen, reqlen); in lpfc_sli4_retrieve_pport_name()
16370 uint32_t reqlen, alloclen, pg_pairs; in lpfc_sli4_post_sgl_list() local
16377 reqlen = post_cnt * sizeof(struct sgl_page_pairs) + in lpfc_sli4_post_sgl_list()
16379 if (reqlen > SLI4_PAGE_SIZE) { in lpfc_sli4_post_sgl_list()
16382 "size (%d) great than a page\n", reqlen); in lpfc_sli4_post_sgl_list()
16392 LPFC_MBOX_OPCODE_FCOE_POST_SGL_PAGES, reqlen, in lpfc_sli4_post_sgl_list()
[all …]
/Linux-v4.19/drivers/scsi/bfa/
Dbfa_fcs.c1334 u16 reqlen; in bfa_fcs_fabric_send_flogi_acc() local
1344 reqlen = fc_flogi_acc_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_fabric_send_flogi_acc()
1353 reqlen, &fchs, bfa_fcs_fabric_flogiacc_comp, fabric, in bfa_fcs_fabric_send_flogi_acc()
Dbfa_svc.c108 static void hal_fcxp_tx_plog(struct bfa_s *bfa, u32 reqlen,
730 hal_fcxp_tx_plog(struct bfa_s *bfa, u32 reqlen, struct bfa_fcxp_s *fcxp, in hal_fcxp_tx_plog() argument
736 if (reqlen > 0) { in hal_fcxp_tx_plog()
743 reqlen + sizeof(struct fchs_s), fchs, in hal_fcxp_tx_plog()
748 reqlen + sizeof(struct fchs_s), in hal_fcxp_tx_plog()
753 reqlen + sizeof(struct fchs_s), fchs); in hal_fcxp_tx_plog()
1015 u32 reqlen, struct fchs_s *fchs, bfa_cb_fcxp_send_t cbfn, in bfa_fcxp_send() argument
1035 reqi->req_tot_len = reqlen; in bfa_fcxp_send()
Dbfa_svc.h638 u32 reqlen, struct fchs_s *fchs,
/Linux-v4.19/drivers/video/fbdev/omap2/omapfb/dss/
Ddsi.c2906 int channel, u8 *reqdata, int reqlen) in dsi_vc_generic_send_read_request() argument
2915 channel, reqlen); in dsi_vc_generic_send_read_request()
2917 if (reqlen == 0) { in dsi_vc_generic_send_read_request()
2920 } else if (reqlen == 1) { in dsi_vc_generic_send_read_request()
2923 } else if (reqlen == 2) { in dsi_vc_generic_send_read_request()
2934 " failed\n", channel, reqlen); in dsi_vc_generic_send_read_request()
3081 u8 *reqdata, int reqlen, u8 *buf, int buflen) in dsi_vc_generic_read() argument
3086 r = dsi_vc_generic_send_read_request(dsidev, channel, reqdata, reqlen); in dsi_vc_generic_read()
/Linux-v4.19/drivers/gpu/drm/omapdrm/dss/
Ddsi.c2932 u8 *reqdata, int reqlen) in dsi_vc_generic_send_read_request() argument
2940 channel, reqlen); in dsi_vc_generic_send_read_request()
2942 if (reqlen == 0) { in dsi_vc_generic_send_read_request()
2945 } else if (reqlen == 1) { in dsi_vc_generic_send_read_request()
2948 } else if (reqlen == 2) { in dsi_vc_generic_send_read_request()
2959 " failed\n", channel, reqlen); in dsi_vc_generic_send_read_request()
3105 u8 *reqdata, int reqlen, u8 *buf, int buflen) in dsi_vc_generic_read() argument
3110 r = dsi_vc_generic_send_read_request(dsi, channel, reqdata, reqlen); in dsi_vc_generic_read()
Domapdss.h451 u8 *reqdata, int reqlen,
/Linux-v4.19/include/video/
Domapfb_dss.h619 u8 *reqdata, int reqlen,