Home
last modified time | relevance | path

Searched refs:strtab_size (Results 1 – 2 of 2) sorted by relevance

/drivers/net/ethernet/netronome/nfp/nfpcore/
Dnfp_rtsym.c54 nfp_rtsym_sw_entry_init(struct nfp_rtsym_table *cache, u32 strtab_size, in nfp_rtsym_sw_entry_init() argument
58 sw->name = cache->strtab + le16_to_cpu(fw->name) % strtab_size; in nfp_rtsym_sw_entry_init()
99 u32 strtab_addr, symtab_addr, strtab_size, symtab_size; in __nfp_rtsym_table_read() local
107 nfp_mip_strtab(mip, &strtab_addr, &strtab_size); in __nfp_rtsym_table_read()
110 if (!symtab_size || !strtab_size || symtab_size % sizeof(*rtsymtab)) in __nfp_rtsym_table_read()
115 strtab_size = round_up(strtab_size, 8); in __nfp_rtsym_table_read()
123 size += strtab_size + 1; in __nfp_rtsym_table_read()
136 err = nfp_cpp_read(cpp, dram, strtab_addr, cache->strtab, strtab_size); in __nfp_rtsym_table_read()
137 if (err != strtab_size) in __nfp_rtsym_table_read()
139 cache->strtab[strtab_size] = '\0'; in __nfp_rtsym_table_read()
[all …]
Dnfp_mip.c35 __le32 strtab_size; member
150 *size = le32_to_cpu(mip->strtab_size); in nfp_mip_strtab()