Searched refs:na (Results 1 – 7 of 7) sorted by relevance
| /dpdk/drivers/bus/dpaa/base/fman/ |
| H A D | fman.c | 231 uint32_t na; in fman_if_init() local 375 na = of_n_addr_cells(mac_node); in fman_if_init() 377 regs_addr_host = of_read_number(regs_addr, na); in fman_if_init() 381 na = of_n_addr_cells(mac_node); in fman_if_init() 502 na = of_n_addr_cells(mac_node); in fman_if_init() 520 na = of_n_addr_cells(mac_node); in fman_if_init() 551 na = of_n_addr_cells(mac_node); in fman_if_init() 601 na = of_n_addr_cells(mac_node); in fman_if_init() 605 bpid_host = of_read_number(prop, na); in fman_if_init() 623 na = of_n_addr_cells(mac_node); in fman_if_init() [all …]
|
| /dpdk/drivers/common/dpaax/ |
| H A D | dpaa_of.c | 467 uint32_t na = of_n_addr_cells(dev_node); in of_get_address() local 479 buf += (na + ns) * idx * 4; in of_get_address() 481 for (*size = 0; ns > 0; ns--, na++) in of_get_address() 483 (((uint32_t)buf[4 * na] << 24) | in of_get_address() 484 ((uint32_t)buf[4 * na + 1] << 16) | in of_get_address() 485 ((uint32_t)buf[4 * na + 2] << 8) | in of_get_address() 486 (uint32_t)buf[4 * na + 3]); in of_get_address() 498 uint32_t na, pna; in of_translate_address() local 503 na = of_n_addr_cells(dev_node); in of_translate_address() 504 phys_addr = of_read_number(addr, na); in of_translate_address() [all …]
|
| /dpdk/drivers/common/mlx5/linux/ |
| H A D | mlx5_nl.c | 992 if (na->nla_len > nh->nlmsg_len - off) in mlx5_nl_cmdget_cb() 994 switch (na->nla_type) { in mlx5_nl_cmdget_cb() 1018 off += NLA_ALIGN(na->nla_len); in mlx5_nl_cmdget_cb() 1071 struct nlattr *na; in mlx5_nl_port_info() local 1090 na = (void *)((uintptr_t)req.buf + NLMSG_HDRLEN); in mlx5_nl_port_info() 1092 na->nla_type = RDMA_NLDEV_ATTR_DEV_INDEX; in mlx5_nl_port_info() 1093 memcpy((void *)((uintptr_t)na + NLA_HDRLEN), in mlx5_nl_port_info() 1095 na = (void *)((uintptr_t)na + NLA_ALIGN(na->nla_len)); in mlx5_nl_port_info() 1096 na->nla_len = NLA_HDRLEN + sizeof(pindex); in mlx5_nl_port_info() 1097 na->nla_type = RDMA_NLDEV_ATTR_PORT_INDEX; in mlx5_nl_port_info() [all …]
|
| /dpdk/drivers/net/mlx5/ |
| H A D | mlx5_flow_flex.c | 696 mlx5_flex_config_sample(struct mlx5_devx_match_sample_attr *na, in mlx5_flex_config_sample() argument 700 memset(na, 0, sizeof(struct mlx5_devx_match_sample_attr)); in mlx5_flex_config_sample() 701 na->flow_match_sample_en = 1; in mlx5_flex_config_sample() 704 na->flow_match_sample_offset_mode = in mlx5_flex_config_sample() 708 na->flow_match_sample_offset_mode = in mlx5_flex_config_sample() 710 na->flow_match_sample_field_offset = field->offset_base; in mlx5_flex_config_sample() 715 na->flow_match_sample_offset_mode = in mlx5_flex_config_sample() 717 na->flow_match_sample_field_offset = field->offset_base; in mlx5_flex_config_sample() 729 na->flow_match_sample_tunnel_mode = in mlx5_flex_config_sample() 735 na->flow_match_sample_tunnel_mode = in mlx5_flex_config_sample() [all …]
|
| H A D | mlx5_rx.c | 566 end = zip->na; in mlx5_rx_poll_len() 577 zip->ca = zip->na; in mlx5_rx_poll_len() 578 zip->na += 8; in mlx5_rx_poll_len() 640 zip->na = zip->ca + 7; in mlx5_rx_poll_len()
|
| H A D | mlx5_rx.h | 46 uint16_t na; /* Next array index. */ member
|
| /dpdk/drivers/raw/ifpga/base/ |
| H A D | opae_intel_max10.c | 285 int na = 0, ns = 0, len = 0, parent; in fdt_get_reg() local 292 na = prop ? fdt32_to_cpu(*prop) : 2; in fdt_get_reg() 302 prop = prop + (na + ns) * idx; in fdt_get_reg() 304 if (prop + na + ns > end) in fdt_get_reg() 307 *start = fdt_get_number(prop, na); in fdt_get_reg() 308 *size = fdt_get_number(prop + na, ns); in fdt_get_reg()
|