/kernel/linux/linux-5.10/drivers/scsi/ |
H A D | qlogicfas408.c | 96 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() 267 unsigned int reqlen; /* total length of transfer */ ql_pcmd() local [all...] |
H A D | dpt_i2o.c | 321 u32 reqlen; in adpt_inquiry() local 340 reqlen = 17; // SINGLE SGE, 64 bit in adpt_inquiry() 342 reqlen = 14; // SINGLE SGE, 32 bit in adpt_inquiry() 344 msg[0] = reqlen<<16 | SGL_OFFSET_12; in adpt_inquiry() 387 rcode = adpt_i2o_post_wait(pHba, msg, reqlen<<2, 120); in adpt_inquiry() 1938 u32 reqlen; in adpt_scsi_to_i2o() local 2000 reqlen = 16; // SINGLE SGE in adpt_scsi_to_i2o() 2004 reqlen = 14; // SINGLE SGE in adpt_scsi_to_i2o() 2026 reqlen = mptr - msg; in adpt_scsi_to_i2o() 2035 reqlen in adpt_scsi_to_i2o() [all...] |
/kernel/linux/linux-6.6/drivers/scsi/ |
H A D | qlogicfas408.c | 101 int reqlen) in ql_pdma() 110 if (reqlen >= 128 && (inb(qbase + 8) & 2)) { /* full */ in ql_pdma() 112 reqlen -= 128; in ql_pdma() 115 while (reqlen >= 84 && !(j & 0xc0)) /* 2/3 */ in ql_pdma() 119 reqlen -= 84; in ql_pdma() 122 if (reqlen >= 44 && (inb(qbase + 8) & 8)) { /* 1/3 */ in ql_pdma() 124 reqlen -= 44; in ql_pdma() 131 while (reqlen && !((j & 0x10) && (j & 0xc0))) in ql_pdma() 135 while (reqlen && !((j = inb(qbase + 8)) & 0x10)) in ql_pdma() 138 reqlen in ql_pdma() 100 ql_pdma(struct qlogicfas408_priv *priv, int phase, char *request, int reqlen) ql_pdma() argument 271 unsigned int reqlen; /* total length of transfer */ ql_pcmd() local [all...] |
/kernel/linux/linux-5.10/drivers/scsi/pcmcia/ |
H A D | sym53c500_cs.c | 236 SYM53C500_pio_read(int fast_pio, int base, unsigned char *request, unsigned int reqlen) in SYM53C500_pio_read() argument 242 while (reqlen) { in SYM53C500_pio_read() 272 if (len > reqlen) in SYM53C500_pio_read() 273 len = reqlen; in SYM53C500_pio_read() 278 reqlen -= len & 0xfc; in SYM53C500_pio_read() 282 reqlen--; in SYM53C500_pio_read() 291 SYM53C500_pio_write(int fast_pio, int base, unsigned char *request, unsigned int reqlen) in SYM53C500_pio_write() argument 297 while (reqlen && !(i & 0x40)) { in SYM53C500_pio_write() 323 if (len > reqlen) in SYM53C500_pio_write() 324 len = reqlen; in SYM53C500_pio_write() [all...] |
/kernel/linux/linux-6.6/drivers/scsi/pcmcia/ |
H A D | sym53c500_cs.c | 242 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() 297 SYM53C500_pio_write(int fast_pio, int base, unsigned char *request, unsigned int reqlen) in SYM53C500_pio_write() argument 303 while (reqlen && !(i & 0x40)) { in SYM53C500_pio_write() 329 if (len > reqlen) in SYM53C500_pio_write() 330 len = reqlen; in SYM53C500_pio_write() [all...] |
/kernel/linux/linux-5.10/drivers/regulator/ |
H A D | qcom_smd-regulator.c | 47 int reqlen = 0; in rpm_reg_write_active() local 51 req[reqlen].key = cpu_to_le32(RPM_KEY_SWEN); in rpm_reg_write_active() 52 req[reqlen].nbytes = cpu_to_le32(sizeof(u32)); in rpm_reg_write_active() 53 req[reqlen].value = cpu_to_le32(vreg->is_enabled); in rpm_reg_write_active() 54 reqlen++; in rpm_reg_write_active() 58 req[reqlen].key = cpu_to_le32(RPM_KEY_UV); in rpm_reg_write_active() 59 req[reqlen].nbytes = cpu_to_le32(sizeof(u32)); in rpm_reg_write_active() 60 req[reqlen].value = cpu_to_le32(vreg->uV); in rpm_reg_write_active() 61 reqlen++; in rpm_reg_write_active() 65 req[reqlen] in rpm_reg_write_active() [all...] |
/kernel/linux/linux-5.10/net/netfilter/ |
H A D | nf_conntrack_pptp.c | 277 unsigned int reqlen, in pptp_inbound_pkt() 405 unsigned int reqlen, in pptp_outbound_pkt() 528 unsigned int datalen, reqlen, nexthdr_off; in conntrack_pptp_help() local 572 reqlen = datalen; in conntrack_pptp_help() 574 if (msg > 0 && msg <= PPTP_MSG_MAX && reqlen < pptp_msg_size[msg]) in conntrack_pptp_help() 576 if (reqlen > sizeof(*pptpReq)) in conntrack_pptp_help() 577 reqlen = sizeof(*pptpReq); in conntrack_pptp_help() 579 pptpReq = skb_header_pointer(skb, nexthdr_off, reqlen, &_pptpReq); in conntrack_pptp_help() 592 ret = pptp_outbound_pkt(skb, protoff, ctlh, pptpReq, reqlen, ct, in conntrack_pptp_help() 596 ret = pptp_inbound_pkt(skb, protoff, ctlh, pptpReq, reqlen, c in conntrack_pptp_help() 274 pptp_inbound_pkt(struct sk_buff *skb, unsigned int protoff, struct PptpControlHeader *ctlh, union pptp_ctrl_union *pptpReq, unsigned int reqlen, struct nf_conn *ct, enum ip_conntrack_info ctinfo) pptp_inbound_pkt() argument 402 pptp_outbound_pkt(struct sk_buff *skb, unsigned int protoff, struct PptpControlHeader *ctlh, union pptp_ctrl_union *pptpReq, unsigned int reqlen, struct nf_conn *ct, enum ip_conntrack_info ctinfo) pptp_outbound_pkt() argument [all...] |
/kernel/linux/linux-6.6/net/netfilter/ |
H A D | nf_conntrack_pptp.c | 255 unsigned int reqlen, in pptp_inbound_pkt() 382 unsigned int reqlen, in pptp_outbound_pkt() 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, c in conntrack_pptp_help() 252 pptp_inbound_pkt(struct sk_buff *skb, unsigned int protoff, struct PptpControlHeader *ctlh, union pptp_ctrl_union *pptpReq, unsigned int reqlen, struct nf_conn *ct, enum ip_conntrack_info ctinfo) pptp_inbound_pkt() argument 379 pptp_outbound_pkt(struct sk_buff *skb, unsigned int protoff, struct PptpControlHeader *ctlh, union pptp_ctrl_union *pptpReq, unsigned int reqlen, struct nf_conn *ct, enum ip_conntrack_info ctinfo) pptp_outbound_pkt() argument [all...] |
/kernel/linux/linux-6.6/drivers/regulator/ |
H A D | qcom_smd-regulator.c | 46 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() 52 req[reqlen].value = cpu_to_le32(vreg->is_enabled); 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() 58 req[reqlen].nbytes = cpu_to_le32(sizeof(u32)); 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] in rpm_reg_write_active() [all...] |
/kernel/linux/linux-5.10/drivers/isdn/mISDN/ |
H A D | hwchannel.c | 470 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()
|
/kernel/linux/linux-6.6/drivers/isdn/mISDN/ |
H A D | hwchannel.c | 470 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()
|
/kernel/linux/linux-6.6/drivers/scsi/elx/libefc/ |
H A D | efc_els.h | 33 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 D | efc_els.c | 35 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()
|
/kernel/linux/linux-5.10/drivers/crypto/chelsio/ |
H A D | chcr_algo.c | 138 static int sg_nents_xlen(struct scatterlist *sg, unsigned int reqlen, in sg_nents_xlen() argument 157 while (sg && reqlen) { in sg_nents_xlen() 158 less = min(reqlen, sg_dma_len(sg) - skip_len); in sg_nents_xlen() 160 reqlen -= less; in sg_nents_xlen() 1683 if (nbytes + req_ctx->reqlen >= bs) { in chcr_ahash_update() 1684 remainder = (nbytes + req_ctx->reqlen) % bs; in chcr_ahash_update() 1685 nbytes = nbytes + req_ctx->reqlen - remainder; in chcr_ahash_update() 1688 + req_ctx->reqlen, nbytes, 0); in chcr_ahash_update() 1689 req_ctx->reqlen += nbytes; in chcr_ahash_update() 1713 params.sg_len = chcr_hash_ent_in_wr(req->src, !!req_ctx->reqlen, in chcr_ahash_update() [all...] |
H A D | chcr_crypto.h | 287 u8 reqlen; member
|
/kernel/linux/linux-6.6/drivers/crypto/chelsio/ |
H A D | chcr_algo.c | 134 static int sg_nents_xlen(struct scatterlist *sg, unsigned int reqlen, in sg_nents_xlen() argument 153 while (sg && reqlen) { in sg_nents_xlen() 154 less = min(reqlen, sg_dma_len(sg) - skip_len); in sg_nents_xlen() 156 reqlen -= less; in sg_nents_xlen() 1677 if (nbytes + req_ctx->reqlen >= bs) { in chcr_ahash_update() 1678 remainder = (nbytes + req_ctx->reqlen) % bs; in chcr_ahash_update() 1679 nbytes = nbytes + req_ctx->reqlen - remainder; in chcr_ahash_update() 1682 + req_ctx->reqlen, nbytes, 0); in chcr_ahash_update() 1683 req_ctx->reqlen += nbytes; in chcr_ahash_update() 1707 params.sg_len = chcr_hash_ent_in_wr(req->src, !!req_ctx->reqlen, in chcr_ahash_update() [all...] |
H A D | chcr_crypto.h | 291 u8 reqlen; member
|
/kernel/linux/linux-5.10/arch/arm64/kvm/ |
H A D | guest.c | 389 unsigned int reqoffset, reqlen; /* User-requested offset and length */ in sve_reg_to_region() local 413 reqlen = KVM_SVE_ZREG_SIZE; in sve_reg_to_region() 423 reqlen = KVM_SVE_PREG_SIZE; in sve_reg_to_region() 434 region->klen = min(maxlen, reqlen); in sve_reg_to_region() 435 region->upad = reqlen - region->klen; in sve_reg_to_region()
|
/kernel/linux/linux-6.6/arch/arm64/kvm/ |
H A D | guest.c | 433 unsigned int reqoffset, reqlen; /* User-requested offset and length */ in sve_reg_to_region() local 457 reqlen = KVM_SVE_ZREG_SIZE; in sve_reg_to_region() 467 reqlen = KVM_SVE_PREG_SIZE; in sve_reg_to_region() 478 region->klen = min(maxlen, reqlen); in sve_reg_to_region() 479 region->upad = reqlen - region->klen; in sve_reg_to_region()
|
/kernel/linux/linux-5.10/drivers/net/wireless/zydas/ |
H A D | zd1201.c | 514 int reqlen; in zd1201_setconfig() local 533 reqlen = len>12 ? 12 : len; in zd1201_setconfig() 542 memcpy(request+8, buf, reqlen-4); in zd1201_setconfig() 543 buf += reqlen-4; in zd1201_setconfig() 545 memcpy(request+4, buf, reqlen); in zd1201_setconfig() 546 buf += reqlen; in zd1201_setconfig() 549 len -= reqlen; in zd1201_setconfig()
|
/kernel/linux/linux-6.6/drivers/net/wireless/zydas/ |
H A D | zd1201.c | 514 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()
|
/kernel/linux/linux-5.10/drivers/scsi/bfa/ |
H A D | bfa_fcs.c | 1326 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()
|
/kernel/linux/linux-6.6/drivers/scsi/bfa/ |
H A D | bfa_fcs.c | 1326 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()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/dss/ |
H A D | omapdss.h | 330 u8 *reqdata, int reqlen,
|
H A D | dsi.c | 2834 u8 *reqdata, int reqlen) in dsi_vc_generic_send_read_request() 2841 DSSDBG("dsi_vc_generic_send_read_request(ch %d, reqlen %d)\n", in dsi_vc_generic_send_read_request() 2842 channel, reqlen); in dsi_vc_generic_send_read_request() 2844 if (reqlen == 0) { in dsi_vc_generic_send_read_request() 2847 } else if (reqlen == 1) { in dsi_vc_generic_send_read_request() 2850 } else if (reqlen == 2) { in dsi_vc_generic_send_read_request() 2860 DSSERR("dsi_vc_generic_send_read_request(ch %d, reqlen %d)" in dsi_vc_generic_send_read_request() 2861 " failed\n", channel, reqlen); in dsi_vc_generic_send_read_request() 3007 u8 *reqdata, int reqlen, u8 *buf, int buflen) in dsi_vc_generic_read() 3012 r = dsi_vc_generic_send_read_request(dsi, channel, reqdata, reqlen); in dsi_vc_generic_read() 2833 dsi_vc_generic_send_read_request(struct dsi_data *dsi, int channel, u8 *reqdata, int reqlen) dsi_vc_generic_send_read_request() argument 3006 dsi_vc_generic_read(struct omap_dss_device *dssdev, int channel, u8 *reqdata, int reqlen, u8 *buf, int buflen) dsi_vc_generic_read() argument [all...] |