Searched refs:hops (Results 1 - 25 of 33) sorted by relevance

12

/linux-master/drivers/accel/habanalabs/common/mmu/
H A Dmmu_v2.c19 * page tables hops related to this context.
37 * - Free DRAM default page mapping hops
245 static int hl_mmu_v2_get_tlb_info(struct hl_ctx *ctx, u64 virt_addr, struct hl_mmu_hop_info *hops) argument
262 hops->range_type = HL_VA_RANGE_TYPE_DRAM;
264 hops->scrambled_vaddr = hdev->asic_funcs->scramble_addr(hdev, virt_addr);
266 hops->hop_info[0].hop_addr = hl_mmu_dr_get_phys_hop0_addr(ctx);
267 hops->hop_info[0].hop_pte_addr = hl_mmu_get_hop_pte_phys_addr(ctx, mmu_prop, 0,
268 hops->hop_info[0].hop_addr,
269 hops->scrambled_vaddr);
270 if (hops
[all...]
H A Dmmu.c102 * page tables hops related to this context.
142 * - Free DRAM default page mapping hops
476 struct hl_mmu_hop_info *hops,
484 if (hops->unscrambled_paddr)
485 tmp_phys_addr = hops->unscrambled_paddr;
487 tmp_phys_addr = hops->hop_info[hops->used_hops - 1].hop_pte_val;
489 if (hops->range_type == HL_VA_RANGE_TYPE_HOST_HUGE)
491 else if (hops->range_type == HL_VA_RANGE_TYPE_HOST)
496 if ((hops
475 hl_mmu_pa_page_with_offset(struct hl_ctx *ctx, u64 virt_addr, struct hl_mmu_hop_info *hops, u64 *phys_addr) argument
533 struct hl_mmu_hop_info hops; local
547 hl_mmu_get_tlb_info(struct hl_ctx *ctx, u64 virt_addr, struct hl_mmu_hop_info *hops) argument
1151 hl_mmu_hr_get_tlb_info(struct hl_ctx *ctx, u64 virt_addr, struct hl_mmu_hop_info *hops, struct hl_hr_mmu_funcs *hr_func) argument
[all...]
H A Dmmu_v1.c80 /* need only pte 0 in hops 0 and 1 */
179 * page tables hops related to this context.
196 * - Free DRAM default page mapping hops
335 * there are only 3 hops rather than 4. Currently the DRAM allocation
383 dev_err(hdev->dev, "DRAM mapping should not allocate more hops\n");
454 struct hl_mmu_hop_info *hops)
487 /* huge pages use lesser hops */
491 hops->hop_info[0].hop_addr = hl_mmu_dr_get_phys_hop0_addr(ctx);
492 hops->hop_info[0].hop_pte_addr =
494 hops
453 hl_mmu_v1_get_tlb_info(struct hl_ctx *ctx, u64 virt_addr, struct hl_mmu_hop_info *hops) argument
[all...]
H A Dmmu_v2_hr.c76 * page tables hops related to this context.
93 * - Free DRAM default page mapping hops
220 * there are only 4 hops rather than 5. Currently the DRAM allocation
335 struct hl_mmu_hop_info *hops,
354 hops->range_type = HL_VA_RANGE_TYPE_DRAM;
358 hops->range_type = HL_VA_RANGE_TYPE_HOST;
362 hops->range_type = HL_VA_RANGE_TYPE_HOST_HUGE;
371 struct hl_mmu_hop_info *hops)
373 return hl_mmu_hr_get_tlb_info(ctx, virt_addr, hops,
333 hl_mmu_v2_hr_get_tlb_mapping_params(struct hl_device *hdev, struct hl_mmu_properties **mmu_prop, struct hl_mmu_hop_info *hops, u64 virt_addr, bool *is_huge) argument
370 hl_mmu_v2_hr_get_tlb_info(struct hl_ctx *ctx, u64 virt_addr, struct hl_mmu_hop_info *hops) argument
/linux-master/drivers/thunderbolt/
H A Dpath.c163 path->hops = kcalloc(num_hops, sizeof(*path->hops), GFP_KERNEL);
164 if (!path->hops) {
198 path->hops[i].in_port = p;
199 path->hops[i].in_hop_index = h;
200 path->hops[i].in_counter_index = -1;
201 path->hops[i].out_port = out_port;
202 path->hops[i].next_hop_index = next_hop;
204 tb_dump_hop(&path->hops[i], &hop);
270 path->hops
[all...]
H A Dtest.c913 in_port = path->hops[i].in_port;
914 out_port = path->hops[i].out_port;
975 in_port = path->hops[i].in_port;
976 out_port = path->hops[i].out_port;
1055 in_port = path->hops[i].in_port;
1056 out_port = path->hops[i].out_port;
1135 in_port = path->hops[i].in_port;
1136 out_port = path->hops[i].out_port;
1227 in_port = path->hops[i].in_port;
1228 out_port = path->hops[
[all...]
H A Dtunnel.c904 paths[TB_DP_VIDEO_PATH_OUT]->hops[0].in_hop_index,
905 paths[TB_DP_AUX_PATH_OUT]->hops[0].in_hop_index,
906 paths[TB_DP_AUX_PATH_IN]->hops[last].next_hop_index);
909 paths[TB_DP_VIDEO_PATH_OUT]->hops[last].next_hop_index,
910 paths[TB_DP_AUX_PATH_IN]->hops[0].in_hop_index,
911 paths[TB_DP_AUX_PATH_OUT]->hops[last].next_hop_index);
1571 hop = &path->hops[0];
1579 ret = tb_dma_reserve_credits(&path->hops[i], credits);
1748 if (tb_port_is_nhi(path->hops[0].in_port))
1750 else if (tb_port_is_nhi(path->hops[pat
[all...]
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dcls_redirect.c176 enum hops { enum
201 enum hops hops; member in struct:test_cfg
208 const char *family_str, *type, *conn, *hops, *result, *flags; local
222 hops = "no hops";
223 if (test->hops == ONE_HOP)
224 hops = "one hop";
237 type, result, conn, hops, flags);
293 encap_init(&encap, test->hops
[all...]
/linux-master/block/
H A Dbdev.c465 * @hops: holder ops
473 const struct blk_holder_ops *hops)
484 if (WARN_ON_ONCE(bdev->bd_holder_ops != hops))
505 * @hops: holder ops.
515 const struct blk_holder_ops *hops)
524 if (!bd_may_claim(bdev, holder, hops)) {
561 * @hops: block device holder operations
567 const struct blk_holder_ops *hops)
572 BUG_ON(!bd_may_claim(bdev, holder, hops));
582 bdev->bd_holder_ops = hops;
472 bd_may_claim(struct block_device *bdev, void *holder, const struct blk_holder_ops *hops) argument
514 bd_prepare_to_claim(struct block_device *bdev, void *holder, const struct blk_holder_ops *hops) argument
566 bd_finish_claiming(struct block_device *bdev, void *holder, const struct blk_holder_ops *hops) argument
858 bdev_open(struct block_device *bdev, blk_mode_t mode, void *holder, const struct blk_holder_ops *hops, struct file *bdev_file) argument
965 bdev_file_open_by_dev(dev_t dev, blk_mode_t mode, void *holder, const struct blk_holder_ops *hops) argument
1001 bdev_file_open_by_path(const char *path, blk_mode_t mode, void *holder, const struct blk_holder_ops *hops) argument
[all...]
/linux-master/include/linux/
H A Dtopology.h74 * between NUMA nodes 2-hops apart.
250 extern const struct cpumask *sched_numa_hop_mask(unsigned int node, unsigned int hops);
258 sched_numa_hop_mask(unsigned int node, unsigned int hops) argument
H A Dblkdev.h1528 const struct blk_holder_ops *hops);
1530 void *holder, const struct blk_holder_ops *hops);
1532 const struct blk_holder_ops *hops);
/linux-master/drivers/firmware/arm_scmi/
H A Dsensors.c253 if (!ph->hops->protocol_msg_check(ph,
257 if (!ph->hops->protocol_msg_check(ph,
368 iter = ph->hops->iter_response_init(ph, &ops, s->intervals.count,
375 return ph->hops->iter_response_run(iter);
506 iter = ph->hops->iter_response_init(ph, &ops, s->num_axis,
517 ret = ph->hops->iter_response_run(iter);
547 iter = ph->hops->iter_response_init(ph, &ops, s->num_axis,
554 ret = ph->hops->iter_response_run(iter);
664 ph->hops->extended_name_get(ph, SENSOR_NAME_GET, s->id,
703 iter = ph->hops
[all...]
H A Dpowercap.c164 if (!ph->hops->protocol_msg_check(ph,
168 if (!ph->hops->protocol_msg_check(ph,
291 ph->hops->extended_name_get(ph, POWERCAP_DOMAIN_NAME_GET,
427 ph->hops->fastchannel_db_ring(fci->set_db);
547 ph->hops->fastchannel_db_ring(fci->set_db);
719 ph->hops->fastchannel_init(ph, POWERCAP_DESCRIBE_FASTCHANNEL,
725 ph->hops->fastchannel_init(ph, POWERCAP_DESCRIBE_FASTCHANNEL,
730 ph->hops->fastchannel_init(ph, POWERCAP_DESCRIBE_FASTCHANNEL,
736 ph->hops->fastchannel_init(ph, POWERCAP_DESCRIBE_FASTCHANNEL,
H A Dperf.c230 if (!ph->hops->protocol_msg_check(ph, PERF_NOTIFY_LEVEL, NULL))
233 if (!ph->hops->protocol_msg_check(ph, PERF_NOTIFY_LIMITS, NULL))
328 ph->hops->extended_name_get(ph, PERF_DOMAIN_NAME_GET,
467 iter = ph->hops->iter_response_init(ph, &ops, MAX_OPPS,
474 ret = ph->hops->iter_response_run(iter);
549 ph->hops->fastchannel_db_ring(fci->set_db);
703 ph->hops->fastchannel_db_ring(fci->set_db);
829 ph->hops->fastchannel_init(ph, PERF_DESCRIBE_FASTCHANNEL,
834 ph->hops->fastchannel_init(ph, PERF_DESCRIBE_FASTCHANNEL,
840 ph->hops
[all...]
H A Dclock.c214 if (!ph->hops->protocol_msg_check(ph, CLOCK_RATE_NOTIFY, NULL))
217 if (!ph->hops->protocol_msg_check(ph,
306 iter = ph->hops->iter_response_init(ph, &ops, 0,
313 ret = ph->hops->iter_response_run(iter);
384 ph->hops->extended_name_get(ph, CLOCK_NAME_GET, clk_id,
521 iter = ph->hops->iter_response_init(ph, &ops, SCMI_MAX_NUM_RATES,
528 ret = ph->hops->iter_response_run(iter);
H A Dvoltage.c196 iter = ph->hops->iter_response_init(ph, &ops, v->num_levels,
203 ret = ph->hops->iter_response_run(iter);
246 ph->hops->extended_name_get(ph,
H A Dsystem.c163 if (!ph->hops->protocol_msg_check(ph, SYSTEM_POWER_STATE_NOTIFY, NULL))
H A Dpower.c103 if (!ph->hops->protocol_msg_check(ph, POWER_STATE_NOTIFY, NULL))
146 ph->hops->extended_name_get(ph, POWER_DOMAIN_NAME_GET,
H A Dreset.c95 if (!ph->hops->protocol_msg_check(ph, RESET_NOTIFY, NULL))
142 ph->hops->extended_name_get(ph, RESET_DOMAIN_NAME_GET, domain,
H A Dprotocols.h177 const struct scmi_proto_helpers_ops *hops; member in struct:scmi_protocol_handle
/linux-master/net/ipv6/
H A Dexthdrs.c1082 int hops; local
1089 hops = ihdr->rt_hdr.hdrlen >> 1;
1091 if (hops > 1)
1093 (hops - 1) * sizeof(struct in6_addr));
1095 phdr->addr[hops - 1] = **addr_p;
1107 int plen, hops; local
1115 hops = sr_ihdr->first_segment + 1;
1117 (hops - 1) * sizeof(struct in6_addr));
1122 if (sr_ihdr->hdrlen > hops * 2) {
1125 tlvs_offset = (1 + hops *
[all...]
/linux-master/arch/s390/kernel/
H A Ddis.c506 int start, end, opsize, hops, i; local
526 for (i = 0, hops = 0; start + i < 32 && hops < 3; hops++) {
539 hops = 0;
540 while (start < end && hops < 8) {
562 hops++;
/linux-master/scripts/dtc/include-prefixes/dt-bindings/usb/
H A Dpd.h367 * <7:6> :: USB2 hub hops consumed
404 #define VDO_ACABLE2(mtemp, stemp, u3p, trans, phy, ele, u4, hops, u2, u32, lane, iso, gen) \
407 | ((hops) & 0x3) << 6 | (u2) << 5 | (u32) << 4 | (lane) << 3 \
/linux-master/include/dt-bindings/usb/
H A Dpd.h367 * <7:6> :: USB2 hub hops consumed
404 #define VDO_ACABLE2(mtemp, stemp, u3p, trans, phy, ele, u4, hops, u2, u32, lane, iso, gen) \
407 | ((hops) & 0x3) << 6 | (u2) << 5 | (u32) << 4 | (lane) << 3 \
/linux-master/include/linux/usb/
H A Dpd_vdo.h400 * <7:6> :: USB2 hub hops consumed
437 #define VDO_ACABLE2(mtemp, stemp, u3p, trans, phy, ele, u4, hops, u2, u32, lane, iso, gen) \
440 | ((hops) & 0x3) << 6 | (u2) << 5 | (u32) << 4 | (lane) << 3 \

Completed in 222 milliseconds

12