Home
last modified time | relevance | path

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

/openbmc/linux/drivers/scsi/
H A Dqlogicfas408.c101 int reqlen) in ql_pdma() argument
112 reqlen -= 128; in ql_pdma()
119 reqlen -= 84; in ql_pdma()
124 reqlen -= 44; in ql_pdma()
138 reqlen--; in ql_pdma()
149 reqlen -= 128; in ql_pdma()
155 reqlen -= 84; in ql_pdma()
160 reqlen -= 40; in ql_pdma()
167 while (reqlen && !((j & 2) && (j & 0xc0))) { in ql_pdma()
172 reqlen--; in ql_pdma()
[all …]
H A Ddc395x.c897 u32 reqlen = scsi_bufflen(cmd); in build_srb() local
905 reqlen, scsi_sglist(cmd), scsi_sg_count(cmd), in build_srb()
921 if (srb->total_xfer_length > reqlen) { in build_srb()
922 sgp->length -= (srb->total_xfer_length - reqlen); in build_srb()
923 srb->total_xfer_length = reqlen; in build_srb()
/openbmc/linux/drivers/scsi/pcmcia/
H A Dsym53c500_cs.c242 SYM53C500_pio_read(int fast_pio, int base, unsigned char *request, unsigned int reqlen) in SYM53C500_pio_read() argument
248 while (reqlen) { in SYM53C500_pio_read()
278 if (len > reqlen) in SYM53C500_pio_read()
279 len = reqlen; in SYM53C500_pio_read()
284 reqlen -= len & 0xfc; in SYM53C500_pio_read()
288 reqlen--; in SYM53C500_pio_read()
303 while (reqlen && !(i & 0x40)) { in SYM53C500_pio_write()
329 if (len > reqlen) in SYM53C500_pio_write()
330 len = reqlen; in SYM53C500_pio_write()
335 reqlen -= len & 0xfc; in SYM53C500_pio_write()
[all …]
/openbmc/linux/net/netfilter/
H A Dnf_conntrack_pptp.c255 unsigned int reqlen, in pptp_inbound_pkt() argument
382 unsigned int reqlen, in pptp_outbound_pkt() argument
504 unsigned int datalen, reqlen, nexthdr_off; in conntrack_pptp_help() local
550 reqlen = datalen; in conntrack_pptp_help()
552 if (msg > 0 && msg <= PPTP_MSG_MAX && reqlen < pptp_msg_size[msg]) in conntrack_pptp_help()
554 if (reqlen > sizeof(*pptpReq)) in conntrack_pptp_help()
555 reqlen = sizeof(*pptpReq); in conntrack_pptp_help()
557 pptpReq = skb_header_pointer(skb, nexthdr_off, reqlen, &_pptpReq); in conntrack_pptp_help()
570 ret = pptp_outbound_pkt(skb, protoff, ctlh, pptpReq, reqlen, ct, in conntrack_pptp_help()
574 ret = pptp_inbound_pkt(skb, protoff, ctlh, pptpReq, reqlen, ct, in conntrack_pptp_help()
/openbmc/linux/drivers/regulator/
H A Dqcom_smd-regulator.c46 int reqlen = 0; in rpm_reg_write_active() local
50 req[reqlen].key = cpu_to_le32(RPM_KEY_SWEN); in rpm_reg_write_active()
51 req[reqlen].nbytes = cpu_to_le32(sizeof(u32)); in rpm_reg_write_active()
53 reqlen++; in rpm_reg_write_active()
57 req[reqlen].key = cpu_to_le32(RPM_KEY_UV); in rpm_reg_write_active()
59 req[reqlen].value = cpu_to_le32(vreg->uV); in rpm_reg_write_active()
60 reqlen++; in rpm_reg_write_active()
64 req[reqlen].key = cpu_to_le32(RPM_KEY_MA); in rpm_reg_write_active()
67 reqlen++; in rpm_reg_write_active()
70 if (!reqlen) in rpm_reg_write_active()
[all …]
/openbmc/linux/drivers/isdn/mISDN/
H A Dhwchannel.c470 bchannel_get_rxbuf(struct bchannel *bch, int reqlen) in bchannel_get_rxbuf() argument
476 if (len < reqlen) { in bchannel_get_rxbuf()
478 bch->nr, reqlen, len); in bchannel_get_rxbuf()
495 if (unlikely(reqlen > bch->maxlen)) in bchannel_get_rxbuf()
498 if (reqlen >= bch->minlen) { in bchannel_get_rxbuf()
499 len = reqlen; in bchannel_get_rxbuf()
/openbmc/linux/drivers/scsi/elx/libefc/
H A Defc_els.h33 efc_els_io_alloc(struct efc_node *node, u32 reqlen);
35 efc_els_io_alloc_size(struct efc_node *node, u32 reqlen, u32 rsplen);
H A Defc_els.c35 efc_els_io_alloc(struct efc_node *node, u32 reqlen) in efc_els_io_alloc() argument
37 return efc_els_io_alloc_size(node, reqlen, EFC_ELS_RSP_LEN); in efc_els_io_alloc()
41 efc_els_io_alloc_size(struct efc_node *node, u32 reqlen, u32 rsplen) in efc_els_io_alloc_size() argument
68 els->io.req.size = reqlen; in efc_els_io_alloc_size()
/openbmc/linux/drivers/crypto/chelsio/
H A Dchcr_algo.c153 while (sg && reqlen) { in sg_nents_xlen()
156 reqlen -= less; in sg_nents_xlen()
1683 req_ctx->reqlen += nbytes; in chcr_ahash_update()
1712 req_ctx->reqlen; in chcr_ahash_update()
1800 if (req_ctx->reqlen == 0) { in chcr_ahash_final()
1818 req_ctx->reqlen = 0; in chcr_ahash_final()
1883 - req_ctx->reqlen; in chcr_ahash_finup()
1910 req_ctx->reqlen = 0; in chcr_ahash_finup()
2169 state->reqlen = req_ctx->reqlen; in chcr_ahash_export()
2183 req_ctx->reqlen = state->reqlen; in chcr_ahash_import()
[all …]
H A Dchcr_crypto.h291 u8 reqlen; member
/openbmc/u-boot/drivers/mmc/
H A Drpmb.c466 int mmc_rpmb_route_frames(struct mmc *mmc, void *req, unsigned long reqlen, in mmc_rpmb_route_frames() argument
478 if (reqlen % sizeof(struct s_rpmb) || rsplen % sizeof(struct s_rpmb)) in mmc_rpmb_route_frames()
481 return rpmb_route_frames(mmc, req, reqlen / sizeof(struct s_rpmb), in mmc_rpmb_route_frames()
/openbmc/linux/arch/arm64/kvm/
H A Dguest.c434 unsigned int reqoffset, reqlen; /* User-requested offset and length */ in sve_reg_to_region() local
458 reqlen = KVM_SVE_ZREG_SIZE; in sve_reg_to_region()
468 reqlen = KVM_SVE_PREG_SIZE; in sve_reg_to_region()
479 region->klen = min(maxlen, reqlen); in sve_reg_to_region()
480 region->upad = reqlen - region->klen; in sve_reg_to_region()
/openbmc/linux/drivers/net/wireless/zydas/
H A Dzd1201.c514 int reqlen; in zd1201_setconfig() local
532 reqlen = len>12 ? 12 : len; in zd1201_setconfig()
541 memcpy(request+8, buf, reqlen-4); in zd1201_setconfig()
542 buf += reqlen-4; in zd1201_setconfig()
544 memcpy(request+4, buf, reqlen); in zd1201_setconfig()
545 buf += reqlen; in zd1201_setconfig()
548 len -= reqlen; in zd1201_setconfig()
/openbmc/linux/drivers/scsi/bfa/
H A Dbfa_fcs.c1326 u16 reqlen; in bfa_fcs_fabric_send_flogi_acc() local
1336 reqlen = fc_flogi_acc_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_fabric_send_flogi_acc()
1345 reqlen, &fchs, bfa_fcs_fabric_flogiacc_comp, fabric, in bfa_fcs_fabric_send_flogi_acc()
H A Dbfa_svc.c100 static void hal_fcxp_tx_plog(struct bfa_s *bfa, u32 reqlen,
716 hal_fcxp_tx_plog(struct bfa_s *bfa, u32 reqlen, struct bfa_fcxp_s *fcxp, in hal_fcxp_tx_plog() argument
722 if (reqlen > 0) { in hal_fcxp_tx_plog()
729 reqlen + sizeof(struct fchs_s), fchs, in hal_fcxp_tx_plog()
734 reqlen + sizeof(struct fchs_s), in hal_fcxp_tx_plog()
739 reqlen + sizeof(struct fchs_s), fchs); in hal_fcxp_tx_plog()
1001 u32 reqlen, struct fchs_s *fchs, bfa_cb_fcxp_send_t cbfn, in bfa_fcxp_send() argument
1021 reqi->req_tot_len = reqlen; in bfa_fcxp_send()
H A Dbfa_svc.h630 u32 reqlen, struct fchs_s *fchs,
/openbmc/linux/drivers/video/fbdev/omap2/omapfb/dss/
H A Ddsi.c2901 int channel, u8 *reqdata, int reqlen) in dsi_vc_generic_send_read_request() argument
2910 channel, reqlen); in dsi_vc_generic_send_read_request()
2912 if (reqlen == 0) { in dsi_vc_generic_send_read_request()
2915 } else if (reqlen == 1) { in dsi_vc_generic_send_read_request()
2918 } else if (reqlen == 2) { in dsi_vc_generic_send_read_request()
2929 " failed\n", channel, reqlen); in dsi_vc_generic_send_read_request()
3076 u8 *reqdata, int reqlen, u8 *buf, int buflen) in dsi_vc_generic_read() argument
3081 r = dsi_vc_generic_send_read_request(dsidev, channel, reqdata, reqlen); in dsi_vc_generic_read()
/openbmc/u-boot/include/
H A Dmmc.h785 int mmc_rpmb_route_frames(struct mmc *mmc, void *req, unsigned long reqlen,
/openbmc/linux/include/video/
H A Domapfb_dss.h589 u8 *reqdata, int reqlen,
/openbmc/linux/drivers/scsi/lpfc/
H A Dlpfc_sli.c5954 uint32_t alloclen, reqlen; in lpfc_sli4_get_ctl_attr() local
5969 if (alloclen < reqlen) { in lpfc_sli4_get_ctl_attr()
5973 "(%d)\n", alloclen, reqlen); in lpfc_sli4_get_ctl_attr()
18095 uint32_t reqlen, alloclen, pg_pairs; in lpfc_sli4_post_sgl_list() local
18104 if (reqlen > SLI4_PAGE_SIZE) { in lpfc_sli4_post_sgl_list()
18120 if (alloclen < reqlen) { in lpfc_sli4_post_sgl_list()
18124 "size (%d)\n", alloclen, reqlen); in lpfc_sli4_post_sgl_list()
18200 uint32_t reqlen, alloclen, pg_pairs; in lpfc_sli4_post_io_sgl_block() local
18211 if (reqlen > SLI4_PAGE_SIZE) { in lpfc_sli4_post_io_sgl_block()
18229 if (alloclen < reqlen) { in lpfc_sli4_post_io_sgl_block()
[all …]