Searched refs:tuple_size (Results 1 – 6 of 6) sorted by relevance
| /f-stack/freebsd/arm/mv/ |
| H A D | mv_localbus.c | 169 int tuple_size, tuples; in fdt_localbus_reg_decode() local 175 tuple_size = sizeof(pcell_t) * (addr_cells + size_cells); in fdt_localbus_reg_decode() 176 tuples = OF_getprop_alloc_multi(node, "reg", tuple_size, (void **)®); in fdt_localbus_reg_decode() 178 debugf("tuples = %d, tuple size = %d\n", tuples, tuple_size); in fdt_localbus_reg_decode() 389 uint32_t tuple_size, bank; in fdt_localbus_devmap() local 406 tuple_size = (addr_cells + par_addr_cells + size_cells); in fdt_localbus_devmap() 407 if (tuple_size > MV_LOCALBUS_MAX_BANK_CELLS) in fdt_localbus_devmap() 410 tuple_size *= sizeof(pcell_t); in fdt_localbus_devmap() 417 dev_num = dev_num / tuple_size; in fdt_localbus_devmap()
|
| H A D | mv_armv7_machdep.c | 163 int tuple_size, tuples, rv, pins, i, j; in platform_mpp_init() local 195 tuple_size = sizeof(pcell_t) * (par_addr_cells + par_size_cells); in platform_mpp_init() 197 tuples = len / tuple_size; in platform_mpp_init() 198 if (tuple_size <= 0) in platform_mpp_init() 219 tuple_size = sizeof(pcell_t) * pin_cells; in platform_mpp_init() 225 if (len % tuple_size) in platform_mpp_init() 227 pins = len / tuple_size; in platform_mpp_init()
|
| H A D | mv_common.c | 2524 int len, tuple_size, tuples_count; in fdt_get_ranges() local 2547 tuples_count = len / tuple_size; in fdt_get_ranges() 2555 *tuplesize = tuple_size; in fdt_get_ranges() 2564 int i, entry_size, err, t, tuple_size, tuples; in win_cpu_from_dt() local 2570 &tuples, &tuple_size)) == 0) { in win_cpu_from_dt() 2576 entry_size = tuple_size / sizeof(pcell_t); in win_cpu_from_dt() 2821 int len, tuple_size, tuples_count; in fdt_fixup_ranges() local 2828 tuple_size = sizeof(pcell_t) * (par_addr_cells + in fdt_fixup_ranges() 2832 tuples_count = len / tuple_size; in fdt_fixup_ranges() 2851 tuple_size = sizeof(pcell_t) * (par_addr_cells + in fdt_fixup_ranges() [all …]
|
| H A D | mv_pci.c | 125 int tuple_size, tuples, i, rv, offset_cells, len; in mv_pci_ranges_decode() local 147 tuple_size = sizeof(pcell_t) * (addr_cells + par_addr_cells + in mv_pci_ranges_decode() 149 tuples = len / tuple_size; in mv_pci_ranges_decode()
|
| /f-stack/dpdk/drivers/net/hns3/ |
| H A D | hns3_fdir.c | 645 uint8_t tuple_size; in hns3_fd_convert_meta_data() local 655 tuple_size = meta_data_key_info[i].key_length; in hns3_fd_convert_meta_data() 659 cur_pos += tuple_size; in hns3_fd_convert_meta_data() 674 GENMASK(cur_pos + tuple_size, in hns3_fd_convert_meta_data() 676 cur_pos += tuple_size; in hns3_fd_convert_meta_data() 680 GENMASK(cur_pos + tuple_size, cur_pos), in hns3_fd_convert_meta_data() 682 cur_pos += tuple_size; in hns3_fd_convert_meta_data() 714 uint8_t tuple_size; in hns3_config_key() local 727 tuple_size = tuple_key_info[i].key_length / HNS3_BITS_PER_BYTE; in hns3_config_key() 732 cur_key_x += tuple_size; in hns3_config_key() [all …]
|
| /f-stack/freebsd/mips/mediatek/ |
| H A D | mtk_pcie.c | 123 int tuple_size, tuples, i, rv, len; in mtk_pci_ranges_decode() local 144 tuple_size = sizeof(pcell_t) * (addr_cells + par_addr_cells + in mtk_pci_ranges_decode() 146 tuples = len / tuple_size; in mtk_pci_ranges_decode()
|