/linux-2.6.39/drivers/scsi/ |
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() [all …]
|
D | NCR53c406a.c | 346 static __inline__ int NCR53c406a_pio_read(unsigned char *request, unsigned int reqlen) in NCR53c406a_pio_read() argument 352 while (reqlen) { in NCR53c406a_pio_read() 382 if (len > reqlen) in NCR53c406a_pio_read() 383 len = reqlen; in NCR53c406a_pio_read() 388 reqlen -= len & 0xfc; in NCR53c406a_pio_read() 392 reqlen--; in NCR53c406a_pio_read() 400 static __inline__ int NCR53c406a_pio_write(unsigned char *request, unsigned int reqlen) in NCR53c406a_pio_write() argument 406 while (reqlen && !(i & 0x40)) { in NCR53c406a_pio_write() 432 if (len > reqlen) in NCR53c406a_pio_write() 433 len = reqlen; in NCR53c406a_pio_write() [all …]
|
D | dpt_i2o.c | 323 u32 reqlen; in adpt_inquiry() local 342 reqlen = 17; // SINGLE SGE, 64 bit in adpt_inquiry() 344 reqlen = 14; // SINGLE SGE, 32 bit in adpt_inquiry() 346 msg[0] = reqlen<<16 | SGL_OFFSET_12; in adpt_inquiry() 389 rcode = adpt_i2o_post_wait(pHba, msg, reqlen<<2, 120); in adpt_inquiry() 2316 u32 reqlen; in adpt_scsi_to_i2o() local 2377 reqlen = 16; // SINGLE SGE in adpt_scsi_to_i2o() 2381 reqlen = 14; // SINGLE SGE in adpt_scsi_to_i2o() 2403 reqlen = mptr - msg; in adpt_scsi_to_i2o() 2412 reqlen = 12; in adpt_scsi_to_i2o() [all …]
|
D | eata_generic.h | 277 __u8 reqlen; /* Request Sense Length * member
|
D | dc395x.c | 1015 u32 reqlen = scsi_bufflen(cmd); in build_srb() local 1023 reqlen, scsi_sglist(cmd), scsi_sg_count(cmd), in build_srb() 1039 if (srb->total_xfer_length > reqlen) { in build_srb() 1040 sgp->length -= (srb->total_xfer_length - reqlen); in build_srb() 1041 srb->total_xfer_length = reqlen; in build_srb()
|
D | eata_pio.c | 389 cp->reqlen = 0; in eata_pio_queue_lck()
|
/linux-2.6.39/drivers/scsi/pcmcia/ |
D | sym53c500_cs.c | 245 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-2.6.39/net/netfilter/ |
D | nf_conntrack_pptp.c | 268 unsigned int reqlen, in pptp_inbound_pkt() argument 394 unsigned int reqlen, in pptp_outbound_pkt() argument 516 unsigned int datalen, reqlen, nexthdr_off; in conntrack_pptp_help() local 553 reqlen = datalen; in conntrack_pptp_help() 555 if (msg > 0 && msg <= PPTP_MSG_MAX && reqlen < pptp_msg_size[msg]) in conntrack_pptp_help() 557 if (reqlen > sizeof(*pptpReq)) in conntrack_pptp_help() 558 reqlen = sizeof(*pptpReq); in conntrack_pptp_help() 560 pptpReq = skb_header_pointer(skb, nexthdr_off, reqlen, &_pptpReq); in conntrack_pptp_help() 573 ret = pptp_outbound_pkt(skb, ctlh, pptpReq, reqlen, ct, in conntrack_pptp_help() 577 ret = pptp_inbound_pkt(skb, ctlh, pptpReq, reqlen, ct, in conntrack_pptp_help()
|
/linux-2.6.39/drivers/staging/westbridge/astoria/include/linux/westbridge/ |
D | cyasusb_dep.h | 59 uint16_t reqlen; member
|
D | cyasusb.h | 267 uint16_t reqlen; member
|
/linux-2.6.39/drivers/net/wireless/ |
D | zd1201.c | 515 int reqlen; in zd1201_setconfig() local 534 reqlen = len>12 ? 12 : len; in zd1201_setconfig() 543 memcpy(request+8, buf, reqlen-4); in zd1201_setconfig() 544 buf += reqlen-4; in zd1201_setconfig() 546 memcpy(request+4, buf, reqlen); in zd1201_setconfig() 547 buf += reqlen; in zd1201_setconfig() 550 len -= reqlen; in zd1201_setconfig()
|
/linux-2.6.39/drivers/staging/westbridge/astoria/api/src/ |
D | cyasusb.c | 480 uint16_t reqlen; in my_usb_request_callback_uknown_c_b_w() local 496 reqlen = cy_as_ll_request_response__get_word(req_p, 1); in my_usb_request_callback_uknown_c_b_w() 499 cy_as_hal_assert(reqlen <= sizeof(buf)); in my_usb_request_callback_uknown_c_b_w() 500 cy_as_ll_request_response__unpack(req_p, 2, reqlen, request); in my_usb_request_callback_uknown_c_b_w() 507 cbdata_ms.reqlen = reqlen; in my_usb_request_callback_uknown_c_b_w() 524 cbdata.reqlen = reqlen; in my_usb_request_callback_uknown_c_b_w()
|
/linux-2.6.39/drivers/scsi/bfa/ |
D | bfa_fcs.c | 1212 u16 reqlen; in bfa_fcs_fabric_send_flogi_acc() local 1222 reqlen = fc_flogi_acc_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_fabric_send_flogi_acc() 1231 reqlen, &fchs, bfa_fcs_fabric_flogiacc_comp, fabric, in bfa_fcs_fabric_send_flogi_acc()
|
D | bfa_svc.c | 107 static void hal_fcxp_tx_plog(struct bfa_s *bfa, u32 reqlen, 753 hal_fcxp_set_local_sges(struct bfi_sge_s *sge, u32 reqlen, u64 req_pa) in hal_fcxp_set_local_sges() argument 757 sge->sg_len = reqlen; in hal_fcxp_set_local_sges() 764 sge->sg_len = reqlen; in hal_fcxp_set_local_sges() 770 hal_fcxp_tx_plog(struct bfa_s *bfa, u32 reqlen, struct bfa_fcxp_s *fcxp, in hal_fcxp_tx_plog() argument 776 if (reqlen > 0) { in hal_fcxp_tx_plog() 783 reqlen + sizeof(struct fchs_s), fchs, in hal_fcxp_tx_plog() 788 reqlen + sizeof(struct fchs_s), in hal_fcxp_tx_plog() 793 reqlen + sizeof(struct fchs_s), fchs); in hal_fcxp_tx_plog() 1055 u32 reqlen, struct fchs_s *fchs, bfa_cb_fcxp_send_t cbfn, in bfa_fcxp_send() argument [all …]
|
D | bfa_svc.h | 573 u32 reqlen, struct fchs_s *fchs,
|
/linux-2.6.39/drivers/scsi/lpfc/ |
D | lpfc_sli.c | 11538 uint32_t reqlen, alloclen, pg_pairs; in lpfc_sli4_post_sgl_list() local 11548 reqlen = els_xri_cnt * sizeof(struct sgl_page_pairs) + in lpfc_sli4_post_sgl_list() 11550 if (reqlen > SLI4_PAGE_SIZE) { in lpfc_sli4_post_sgl_list() 11553 "size (%d) great than a page\n", reqlen); in lpfc_sli4_post_sgl_list() 11565 LPFC_MBOX_OPCODE_FCOE_POST_SGL_PAGES, reqlen, in lpfc_sli4_post_sgl_list() 11568 if (alloclen < reqlen) { in lpfc_sli4_post_sgl_list() 11572 "size (%d)\n", alloclen, reqlen); in lpfc_sli4_post_sgl_list() 11645 uint32_t reqlen, alloclen, pg_pairs; in lpfc_sli4_post_scsi_sgl_block() local 11654 reqlen = cnt * sizeof(struct sgl_page_pairs) + in lpfc_sli4_post_scsi_sgl_block() 11656 if (reqlen > SLI4_PAGE_SIZE) { in lpfc_sli4_post_scsi_sgl_block() [all …]
|