Searched refs:grandparent (Results 1 – 5 of 5) sorted by relevance
16 struct clk_hw *parent, *grandparent; in ccu_phase_get_phase() local40 grandparent = clk_hw_get_parent(parent); in ccu_phase_get_phase()41 if (!grandparent) in ccu_phase_get_phase()45 grandparent_rate = clk_hw_get_rate(grandparent); in ccu_phase_get_phase()59 struct clk_hw *parent, *grandparent; in ccu_phase_set_phase() local76 grandparent = clk_hw_get_parent(parent); in ccu_phase_set_phase()77 if (!grandparent) in ccu_phase_set_phase()81 grandparent_rate = clk_hw_get_rate(grandparent); in ccu_phase_set_phase()
276 char *grandparent = NULL, *parent = NULL, *child = NULL; in test_cgcore_invalid_domain() local278 grandparent = cg_name(root, "cg_test_grandparent"); in test_cgcore_invalid_domain()281 if (!parent || !child || !grandparent) in test_cgcore_invalid_domain()284 if (cg_create(grandparent)) in test_cgcore_invalid_domain()323 if (grandparent) in test_cgcore_invalid_domain()324 cg_destroy(grandparent); in test_cgcore_invalid_domain()327 free(grandparent); in test_cgcore_invalid_domain()
1056 static struct device *grandparent(struct device *dev) in grandparent() function1171 for (iter = &cxlmd->dev; iter; iter = grandparent(iter)) { in cxl_detach_ep()1172 struct device *dport_dev = grandparent(iter); in cxl_detach_ep()1253 struct device *dparent = grandparent(dport_dev); in add_port_attach_ep()1333 for (iter = dev; iter; iter = grandparent(iter)) { in devm_cxl_enumerate_ports()1334 struct device *dport_dev = grandparent(iter); in devm_cxl_enumerate_ports()1399 return find_cxl_port(grandparent(&cxlmd->dev), dport); in cxl_mem_find_port()
1158 struct assoc_array_node *parent, *grandparent; in assoc_array_delete() local1194 grandparent = assoc_array_ptr_to_node(ptr); in assoc_array_delete()1195 if (grandparent->nr_leaves_on_branch <= ASSOC_ARRAY_FAN_OUT + 1) { in assoc_array_delete()1196 parent = grandparent; in assoc_array_delete()
279 section on the grandparent, so we have nothing left to stand on. In that case,