Searched refs:sglen (Results 1 – 5 of 5) sorted by relevance
64 unsigned int sglen; in verify_one_map() local68 sglen = sg->length; in verify_one_map()97 if ((sgaddr & IO_PAGE_MASK) ^ ((sgaddr + sglen - 1) & IO_PAGE_MASK)) { in verify_one_map()104 sglen -= diff; in verify_one_map()112 daddr += sglen; in verify_one_map()113 dlen -= sglen; in verify_one_map()124 sglen = sg->length; in verify_one_map()
1022 adapter->host->sg_tablesize = adapter->sglen; in mega_query_adapter()2490 if( sgcnt > adapter->sglen ) BUG(); in mega_build_sglist()2577 sizeof(mega_sgl64) * adapter->sglen, in mega_free_sgl()4102 sizeof(mega_sgl64) * adapter->sglen, in mega_init_scb()5120 adapter->sglen = MIN_SGLIST; in mega_get_max_sgl()5123 adapter->sglen = *((char *)adapter->mega_buffer); in mega_get_max_sgl()5129 if ( adapter->sglen > MAX_SGLIST ) in mega_get_max_sgl()5130 adapter->sglen = MAX_SGLIST; in mega_get_max_sgl()
973 u8 sglen; /* f/w supported scatter-gather list length */ member
4434 uint32_t sglen; in ahd_handle_ign_wide_residue() local4461 sglen = ahd_le32toh(sg->len) & AHD_SG_LEN_MASK; in ahd_handle_ign_wide_residue()4463 && sglen < (data_cnt & AHD_SG_LEN_MASK)) { in ahd_handle_ign_wide_residue()4466 sglen = ahd_le32toh(sg->len); in ahd_handle_ign_wide_residue()4471 data_cnt = 1|(sglen&(~AHD_SG_LEN_MASK)); in ahd_handle_ign_wide_residue()4473 + (sglen & AHD_SG_LEN_MASK) in ahd_handle_ign_wide_residue()4494 sglen = ahd_le32toh(sg->len) & AHD_SG_LEN_MASK; in ahd_handle_ign_wide_residue()4496 && sglen < (data_cnt & AHD_SG_LEN_MASK)) { in ahd_handle_ign_wide_residue()4499 sglen = ahd_le32toh(sg->len); in ahd_handle_ign_wide_residue()4504 data_cnt = 1|(sglen&(~AHD_SG_LEN_MASK)); in ahd_handle_ign_wide_residue()[all …]
3601 uint32_t sglen; in ahc_handle_ign_wide_residue() local3629 sglen = ahc_le32toh(sg->len) & AHC_SG_LEN_MASK; in ahc_handle_ign_wide_residue()3631 && sglen < (data_cnt & AHC_SG_LEN_MASK)) { in ahc_handle_ign_wide_residue()3634 sglen = ahc_le32toh(sg->len); in ahc_handle_ign_wide_residue()3639 data_cnt = 1 | (sglen & (~AHC_SG_LEN_MASK)); in ahc_handle_ign_wide_residue()3641 + (sglen & AHC_SG_LEN_MASK) - 1; in ahc_handle_ign_wide_residue()