Home
last modified time | relevance | path

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

/openbmc/linux/drivers/firewire/
H A Dcore-topology.c145 if (node->ports[i]->max_hops > max_child_hops) in update_hop_count()
146 max_child_hops = node->ports[i]->max_hops; in update_hop_count()
156 node->max_hops = max(max_child_hops, depths[0] + depths[1] + 2); in update_hop_count()
437 node0->max_hops = node1->max_hops; in update_tree()
H A Dcore.h185 u8 max_hops:4; /* Max hops in this sub tree */ member
H A Dcore-card.c482 root_node->max_hops < ARRAY_SIZE(gap_count_table)) in bm_work()
483 gap_count = gap_count_table[root_node->max_hops]; in bm_work()
/openbmc/linux/net/can/
H A Dgw.c73 static unsigned int max_hops __read_mostly = CGW_DEFAULT_HOPS;
74 module_param(max_hops, uint, 0444);
75 MODULE_PARM_DESC(max_hops,
488 if (cgw_hops(skb) >= max_hops) { in can_can_gw_rcv()
524 cgw_hops(nskb) = max_hops - gwj->limit_hops + 1; in can_can_gw_rcv()
819 if (*limhops < 1 || *limhops > max_hops) in cgw_parse_attr()
1273 max_hops = clamp_t(unsigned int, max_hops, CGW_MIN_HOPS, CGW_MAX_HOPS); in cgw_module_init()
1275 pr_info("can: netlink gateway - max_hops=%d\n", max_hops); in cgw_module_init()