Home
last modified time | relevance | path

Searched refs:ULP_BITS_2_BYTE (Results 1 – 4 of 4) sorted by relevance

/dpdk/drivers/net/bnxt/tf_ulp/
H A Dulp_utils.c342 ULP_BITS_2_BYTE(mov_len)); in ulp_blob_insert()
360 ULP_BITS_2_BYTE(mov_len)); in ulp_blob_insert()
421 uint32_t size = ULP_BITS_2_BYTE(datalen); in ulp_blob_push_32()
481 val += ULP_BITS_2_BYTE(size); in ulp_blob_push_encap()
754 end_idx = ULP_BITS_2_BYTE(blob->write_idx); in ulp_blob_perform_encap_swap()
755 roundoff = ULP_BYTE_2_BITS(ULP_BITS_2_BYTE(end_idx)); in ulp_blob_perform_encap_swap()
798 num = ULP_BITS_2_BYTE(blob->write_idx) / chunk_size; in ulp_blob_perform_byte_reverse()
830 num = ULP_BITS_2_BYTE(blob->write_idx); in ulp_blob_perform_64B_word_swap()
861 num = ULP_BITS_2_BYTE(blob->write_idx); in ulp_blob_perform_64B_byte_swap()
H A Dulp_gen_tbl.c203 data_size < ULP_BITS_2_BYTE(len)) { in ulp_mapper_gen_tbl_entry_data_set()
208 memcpy(entry->byte_data, data, ULP_BITS_2_BYTE(len)); in ulp_mapper_gen_tbl_entry_data_set()
H A Dulp_mapper.c1029 uint32_t bytelen = ULP_BITS_2_BYTE(bitlen); in ulp_mapper_field_src_process()
1319 bytelen = ULP_BITS_2_BYTE(bitlen); in ulp_mapper_field_buffer_eval()
2316 ulp_blob_perform_byte_reverse(&data, ULP_BITS_2_BYTE(abits)); in ulp_mapper_em_tbl_process()
2537 gparms.data_sz_in_bytes = ULP_BITS_2_BYTE(tmplen); in ulp_mapper_index_tbl_process()
2636 sparms.data_sz_in_bytes = ULP_BITS_2_BYTE(tmplen); in ulp_mapper_index_tbl_process()
2765 res_size = ULP_BITS_2_BYTE(tbl->result_bit_size); in ulp_mapper_if_tbl_process()
2798 iftbl_params.data_sz_in_bytes = ULP_BITS_2_BYTE(tmplen); in ulp_mapper_if_tbl_process()
2887 hash_entry.key_length = ULP_BITS_2_BYTE(tmplen); in ulp_mapper_gen_tbl_process()
2907 if (ULP_BITS_2_BYTE(tmplen) > (int32_t)sizeof(key_index)) { in ulp_mapper_gen_tbl_process()
2912 memcpy(&key_index, cache_key, ULP_BITS_2_BYTE(tmplen)); in ulp_mapper_gen_tbl_process()
[all …]
H A Dulp_utils.h55 #define ULP_BITS_2_BYTE(bits_x) (((bits_x) + 7) / 8) macro