Lines Matching refs:totlen
155 int totlen, len; in dhd_parse_board_information_bcm() local
159 totlen = read_otp_from_bp(bus, raw_data); in dhd_parse_board_information_bcm()
160 if (totlen == BCME_ERROR || totlen == 0) { in dhd_parse_board_information_bcm()
176 while ((totlen >= (tuple->len + CIS_TUPLE_HDR_LEN)) && in dhd_parse_board_information_bcm()
181 (totlen >= (int)(len + CIS_TUPLE_HDR_LEN))) { in dhd_parse_board_information_bcm()
188 (totlen >= (int)(len + CIS_TUPLE_HDR_LEN))) { in dhd_parse_board_information_bcm()
195 totlen -= (len + CIS_TUPLE_HDR_LEN); in dhd_parse_board_information_bcm()
616 int ret = 0, totlen = 0; in dhd_read_cis() local
625 totlen = read_otp_from_bp(dhdp->bus, raw_data); in dhd_read_cis()
626 if (totlen == BCME_ERROR || totlen == 0) { in dhd_read_cis()
631 (void)memcpy_s(g_cis_buf + cis_offset, CIS_BUF_SIZE, raw_data, totlen); in dhd_read_cis()