Lines Matching refs:totallen
451 u32 totallen = 0, len = 0, tx_desclen = 0; in _rtl92s_fill_h2c_cmd() local
461 if (h2cbufferlen < totallen + len + tx_desclen) in _rtl92s_fill_h2c_cmd()
466 memset((ph2c_buffer + totallen + tx_desclen), 0, len); in _rtl92s_fill_h2c_cmd()
469 SET_BITS_TO_LE_4BYTE((ph2c_buffer + totallen + tx_desclen), in _rtl92s_fill_h2c_cmd()
473 SET_BITS_TO_LE_4BYTE((ph2c_buffer + totallen + tx_desclen), in _rtl92s_fill_h2c_cmd()
478 SET_BITS_TO_LE_4BYTE((ph2c_buffer + totallen + tx_desclen), in _rtl92s_fill_h2c_cmd()
483 memcpy((ph2c_buffer + totallen + tx_desclen + in _rtl92s_fill_h2c_cmd()
492 pre_continueoffset = totallen; in _rtl92s_fill_h2c_cmd()
494 totallen += len; in _rtl92s_fill_h2c_cmd()
497 return totallen; in _rtl92s_fill_h2c_cmd()
502 u32 totallen = 0, len = 0, tx_desclen = 0; in _rtl92s_get_h2c_cmdlen() local
510 if (h2cbufferlen < totallen + len + tx_desclen) in _rtl92s_get_h2c_cmdlen()
513 totallen += len; in _rtl92s_get_h2c_cmdlen()
516 return totallen + tx_desclen; in _rtl92s_get_h2c_cmdlen()