/linux/tools/lib/ |
H A D | rbtree.c | 55 * are left undone as of now. Nor did I check for loops involving parent 71 * - old's parent and color get assigned to new 72 * - old gets assigned new as a parent and 'color' as a color. 78 struct rb_node *parent = rb_parent(old); in __rb_rotate_set_parents() local 81 __rb_change_child(old, new, parent, root); in __rb_rotate_set_parents() 88 struct rb_node *parent = rb_red_parent(node), *gparent, *tmp; in __rb_insert() local 94 if (unlikely(!parent)) { in __rb_insert() 105 * If there is a black parent, we are done. in __rb_insert() 110 if(rb_is_black(parent)) in __rb_insert() 113 gparent = rb_red_parent(parent); in __rb_insert() 227 ____rb_erase_color(struct rb_node * parent,struct rb_root * root,void (* augment_rotate)(struct rb_node * old,struct rb_node * new)) ____rb_erase_color() argument 410 __rb_erase_color(struct rb_node * parent,struct rb_root * root,void (* augment_rotate)(struct rb_node * old,struct rb_node * new)) __rb_erase_color() argument 488 struct rb_node *parent; rb_next() local 519 struct rb_node *parent; rb_prev() local 548 struct rb_node *parent = rb_parent(victim); rb_replace_node() local 575 const struct rb_node *parent; rb_next_postorder() local [all...] |
/linux/lib/ |
H A D | rbtree.c | 55 * are left undone as of now. Nor did I check for loops involving parent 71 * - old's parent and color get assigned to new 72 * - old gets assigned new as a parent and 'color' as a color. 78 struct rb_node *parent = rb_parent(old); in __rb_rotate_set_parents() local 81 __rb_change_child(old, new, parent, root); in __rb_rotate_set_parents() 88 struct rb_node *parent = rb_red_parent(node), *gparent, *tmp; in __rb_insert() local 94 if (unlikely(!parent)) { in __rb_insert() 105 * If there is a black parent, we are done. in __rb_insert() 110 if(rb_is_black(parent)) in __rb_insert() 113 gparent = rb_red_parent(parent); in __rb_insert() [all …]
|
/linux/drivers/clk/ |
H A D | clk-gate_test.c | 31 struct clk_hw *parent; in clk_gate_register_test_parent_names() local 34 parent = clk_hw_register_fixed_rate(NULL, "test_parent", NULL, 0, in clk_gate_register_test_parent_names() 36 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, parent); in clk_gate_register_test_parent_names() 41 KUNIT_EXPECT_PTR_EQ(test, parent, clk_hw_get_parent(ret)); in clk_gate_register_test_parent_names() 44 clk_hw_unregister_fixed_rate(parent); in clk_gate_register_test_parent_names() 49 struct clk_hw *parent; in clk_gate_register_test_parent_data() local 53 parent = clk_hw_register_fixed_rate(NULL, "test_parent", NULL, 0, in clk_gate_register_test_parent_data() 55 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, parent); in clk_gate_register_test_parent_data() 56 pdata.hw = parent; in clk_gate_register_test_parent_data() 61 KUNIT_EXPECT_PTR_EQ(test, parent, clk_hw_get_parent(ret)); in clk_gate_register_test_parent_data() [all …]
|
/linux/tools/testing/selftests/tc-testing/tc-tests/filters/ |
H A D | fw.json | 15 "cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 65535 fw action ok", 17 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 65535 protocol all fw", 37 "cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 65536 fw action ok", 39 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 65536 protocol all fw", 59 "cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 1 fw action ok", 61 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 1 protocol all fw", 82 … "cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 1 fw action gact index 1", 84 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 1 protocol all fw", 104 "cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 1 fw action continue", 106 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 1 protocol all fw", [all …]
|
H A D | flow.json | 15 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 1 protocol ip flow map key ds… 17 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 protocol ip prio 1 flow", 18 …"matchPattern": "filter parent ffff: protocol ip pref 1 flow chain [0-9]+ handle 0x1 map keys dst … 37 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 1 protocol ip flow map key ds… 39 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 protocol ip prio 1 flow", 40 …"matchPattern": "filter parent ffff: protocol ip pref 1 flow chain [0-9]+ handle 0x1 map keys dst.… 59 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 1 protocol ip flow map key ds… 61 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 protocol ip prio 1 flow", 62 …"matchPattern": "filter parent ffff: protocol ip pref 1 flow chain [0-9]+ handle 0x1 map keys dst … 81 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 1 protocol ip flow map key ds… [all …]
|
H A D | matchall.json | 15 …"cmdUnderTest": "$TC filter add dev $DUMMY parent ffff: handle 0x1 prio 1 protocol ip matchall act… 17 "verifyCmd": "$TC filter get dev $DUMMY parent ffff: handle 1 prio 1 protocol ip matchall", 18 …"matchPattern": "^filter parent ffff: protocol ip pref 1 matchall.*handle 0x1.*gact action pass.*r… 37 …"cmdUnderTest": "$TC filter add dev $DUMMY parent 1: handle 0x1 prio 1 protocol ip matchall action… 39 "verifyCmd": "$TC filter get dev $DUMMY parent 1: handle 1 prio 1 protocol ip matchall", 40 …"matchPattern": "^filter parent 1: protocol ip pref 1 matchall.*handle 0x1.*gact action pass.*ref … 59 …"cmdUnderTest": "$TC filter add dev $DUMMY parent ffff: handle 0x1 prio 1 protocol ipv6 matchall a… 61 … "verifyCmd": "$TC filter get dev $DUMMY parent ffff: handle 1 prio 1 protocol ipv6 matchall", 62 …"matchPattern": "^filter parent ffff: protocol ipv6 pref 1 matchall.*handle 0x1.*gact action drop.… 81 …"cmdUnderTest": "$TC filter add dev $DUMMY parent 1: handle 0x1 prio 1 protocol ipv6 matchall acti… [all …]
|
H A D | bpf.json | 15 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 protocol ip prio 100 bpf bytecode … 17 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 protocol ip prio 100 bpf", 18 …"matchPattern": "filter parent ffff: protocol ip pref 100 bpf chain [0-9]+ handle 0x1.*bytecode '4… 37 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 protocol ip prio 100 bpf bytecode … 39 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 protocol ip prio 100 bpf", 40 …"matchPattern": "filter parent ffff: protocol ip pref 100 bpf chain [0-9]+ handle 0x1.*bytecode '4… 61 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 protocol ip prio 100 bpf object-fi… 63 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 protocol ip prio 100 bpf", 64 …"matchPattern": "filter parent ffff: protocol ip pref 100 bpf chain [0-9]+ handle 0x1 action-ebpf:… 85 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 protocol ip prio 100 bpf object-fi… [all …]
|
/linux/kernel/ |
H A D | audit_watch.c | 28 * event. Each audit_watch holds a reference to its associated parent. 41 struct audit_parent *parent; /* associated parent */ member 42 struct list_head wlist; /* entry in parent->watches list */ 58 static void audit_free_parent(struct audit_parent *parent) in audit_free_parent() argument 60 WARN_ON(!list_empty(&parent->watches)); in audit_free_parent() 61 kfree(parent); in audit_free_parent() 66 struct audit_parent *parent; in audit_watch_free_mark() local 68 parent = container_of(entry, struct audit_parent, mark); in audit_watch_free_mark() 69 audit_free_parent(parent); in audit_watch_free_mark() 72 static void audit_get_parent(struct audit_parent *parent) in audit_get_parent() argument [all …]
|
/linux/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | sch_offload.sh | 44 sed s/root/parent\ root/ | 129 local parent=$1; shift 136 $cmd $(printf %x: $parent) "$@" 138 if ((parent == 0)); then 141 locus=$(printf "parent %x:1" $parent) 151 local parent=$1; shift 154 if ((parent != 0)); then 155 kind=$(qdisc_stats_get $h1 $parent: .kind) 167 local parent=$1; shift 170 with_qdiscs $handle $parent "$@" -- check_all_offloaded [all …]
|
/linux/drivers/clk/imx/ |
H A D | clk.h | 118 #define imx_clk_gate_exclusive(name, parent, reg, shift, exclusive_mask) \ argument 119 to_clk(imx_clk_hw_gate_exclusive(name, parent, reg, shift, exclusive_mask)) 124 #define imx_clk_fixed_factor(name, parent, mult, div) \ argument 125 to_clk(imx_clk_hw_fixed_factor(name, parent, mult, div)) 127 #define imx_clk_divider(name, parent, reg, shift, width) \ argument 128 to_clk(imx_clk_hw_divider(name, parent, reg, shift, width)) 130 #define imx_clk_divider_flags(name, parent, reg, shift, width, flags) \ argument 131 to_clk(imx_clk_hw_divider_flags(name, parent, reg, shift, width, flags)) 133 #define imx_clk_gate(name, parent, reg, shift) \ argument 134 to_clk(imx_clk_hw_gate(name, parent, reg, shift)) [all …]
|
/linux/tools/testing/selftests/tc-testing/tc-tests/infra/ |
H A D | actions.json | 16 …"cmdUnderTest": "$TC filter add dev $DUMMY parent ffff: handle 0x1 prio 1 protocol ip matchall act… 18 "verifyCmd": "$TC filter get dev $DUMMY parent ffff: handle 1 prio 1 protocol ip matchall", 19 "matchPattern": "^filter parent ffff: protocol ip pref 1 matchall.*handle 0x1.*", 39 …"cmdUnderTest": "$TC filter add dev $DUMMY parent ffff: handle 0x1 prio 1 protocol ip matchall act… 41 "verifyCmd": "$TC filter get dev $DUMMY parent ffff: handle 1 prio 1 protocol ip matchall", 42 "matchPattern": "^filter parent ffff: protocol ip pref 1 matchall.*handle 0x1.*", 62 …"cmdUnderTest": "$TC filter add dev $DUMMY parent ffff: handle 0x1 prio 1 protocol ip matchall act… 64 "verifyCmd": "$TC filter get dev $DUMMY parent ffff: handle 1 prio 1 protocol ip matchall", 65 "matchPattern": "^filter parent ffff: protocol ip pref 1 matchall.*handle 0x1.*", 85 …"cmdUnderTest": "$TC filter add dev $DUMMY parent ffff: handle 0x1 prio 1 protocol ip matchall act… [all …]
|
H A D | qdiscs.json | 15 "$TC filter add dev $DUMMY parent 1: basic classid 1:1", 16 "$TC class add dev $DUMMY parent 1: classid 1:1 drr", 17 "$TC qdisc add dev $DUMMY parent 1:1 handle ffff: drr", 18 "$TC filter add dev $DUMMY parent ffff: basic classid ffff:1", 19 "$TC class add dev $DUMMY parent ffff: classid ffff:1 drr", 20 "$TC qdisc add dev $DUMMY parent ffff:1 netem delay 1s", 23 "$TC class add dev $DUMMY parent ffff: classid ffff:1 drr" 48 "$TC filter add dev $DUMMY parent ffff: basic classid ffff:1", 49 "$TC class add dev $DUMMY parent ffff: classid ffff:1 drr", 50 "$TC qdisc add dev $DUMMY parent ffff:1 netem delay 1s", [all …]
|
/linux/include/linux/ |
H A D | debugfs.h | 78 struct dentry *debugfs_lookup(const char *name, struct dentry *parent); 81 struct dentry *parent, void *data, 85 struct dentry *parent, void *data, 93 * @parent: a pointer to the parent dentry for this file. This should be a 125 #define debugfs_create_file(name, mode, parent, data, fops) \ argument 131 (name, mode, parent, data, NULL, fops) 133 #define debugfs_create_file_aux(name, mode, parent, data, aux, fops) \ argument 139 (name, mode, parent, data, aux, fops) 142 struct dentry *parent, void *data, 146 struct dentry *parent, void *data, [all …]
|
/linux/sound/hda/codecs/side-codecs/ |
H A D | hda_component.c | 18 void hda_component_acpi_device_notify(struct hda_component_parent *parent, in hda_component_acpi_device_notify() argument 24 guard(mutex)(&parent->mutex); in hda_component_acpi_device_notify() 25 for (i = 0; i < ARRAY_SIZE(parent->comps); i++) { in hda_component_acpi_device_notify() 26 comp = hda_component_from_index(parent, i); in hda_component_acpi_device_notify() 34 struct hda_component_parent *parent, in hda_component_manager_bind_acpi_notifications() 43 adev = parent->comps[0].adev; in hda_component_manager_bind_acpi_notifications() 47 for (i = 0; i < ARRAY_SIZE(parent->comps); i++) { in hda_component_manager_bind_acpi_notifications() 48 comp = hda_component_from_index(parent, i); in hda_component_manager_bind_acpi_notifications() 69 struct hda_component_parent *parent, in hda_component_manager_unbind_acpi_notifications() 75 adev = parent in hda_component_manager_unbind_acpi_notifications() 35 hda_component_manager_bind_acpi_notifications(struct hda_codec * cdc,struct hda_component_parent * parent,acpi_notify_handler handler,void * data) hda_component_manager_bind_acpi_notifications() argument 70 hda_component_manager_unbind_acpi_notifications(struct hda_codec * cdc,struct hda_component_parent * parent,acpi_notify_handler handler) hda_component_manager_unbind_acpi_notifications() argument 87 hda_component_manager_playback_hook(struct hda_component_parent * parent,int action) hda_component_manager_playback_hook() argument 139 hda_component_manager_bind(struct hda_codec * cdc,struct hda_component_parent * parent) hda_component_manager_bind() argument 155 hda_component_manager_init(struct hda_codec * cdc,struct hda_component_parent * parent,int count,const char * bus,const char * hid,const char * match_str,const struct component_master_ops * ops) hda_component_manager_init() argument 194 hda_component_manager_free(struct hda_component_parent * parent,const struct component_master_ops * ops) hda_component_manager_free() argument [all...] |
H A D | hda_component.h | 38 void hda_component_acpi_device_notify(struct hda_component_parent *parent, 41 struct hda_component_parent *parent, 44 struct hda_component_parent *parent, 47 static inline void hda_component_acpi_device_notify(struct hda_component_parent *parent, in hda_component_acpi_device_notify() argument 55 struct hda_component_parent *parent, in hda_component_manager_bind_acpi_notifications() argument 64 struct hda_component_parent *parent, in hda_component_manager_unbind_acpi_notifications() argument 70 void hda_component_manager_playback_hook(struct hda_component_parent *parent, int action); 73 struct hda_component_parent *parent, int count, 78 void hda_component_manager_free(struct hda_component_parent *parent, 81 int hda_component_manager_bind(struct hda_codec *cdc, struct hda_component_parent *parent); 83 hda_component_from_index(struct hda_component_parent * parent,int index) hda_component_from_index() argument 96 hda_component_manager_unbind(struct hda_codec * cdc,struct hda_component_parent * parent) hda_component_manager_unbind() argument [all...] |
/linux/include/trace/events/ |
H A D | qdisc.h | 28 __field( u32, parent ) 40 __entry->parent = qdisc->parent; 44 TP_printk("dequeue ifindex=%d qdisc handle=0x%X parent=0x%X txq_state=0x%lX packets=%d skbaddr=%p", 45 __entry->ifindex, __entry->handle, __entry->parent, 61 __field(u32, parent) 70 __entry->parent = qdisc->parent; 73 TP_printk("enqueue ifindex=%d qdisc handle=0x%X parent=0x%X skbaddr=%p", 74 __entry->ifindex, __entry->handle, __entry->parent, __entr [all...] |
/linux/arch/arm/boot/dts/arm/ |
H A D | arm-realview-pba8.dts | 45 interrupt-parent = <&intc>; 62 interrupt-parent = <&intc>; 67 interrupt-parent = <&intc>; 80 interrupt-parent = <&intc>; 85 interrupt-parent = <&intc>; 90 interrupt-parent = <&intc>; 95 interrupt-parent = <&intc>; 100 interrupt-parent = <&intc>; 105 interrupt-parent = <&intc>; 110 interrupt-parent = <&intc>; [all …]
|
H A D | arm-realview-pbx-a9.dts | 89 interrupt-parent = <&intc>; 96 interrupt-parent = <&intc>; 102 interrupt-parent = <&intc>; 120 interrupt-parent = <&intc>; 125 interrupt-parent = <&intc>; 130 interrupt-parent = <&intc>; 135 interrupt-parent = <&intc>; 140 interrupt-parent = <&intc>; 145 interrupt-parent = <&intc>; 150 interrupt-parent = <&intc>; [all …]
|
/linux/drivers/mfd/ |
H A D | ls2k-bmc-core.c | 159 /* Index of the parent PCI configuration space to be restored at BMC reset. */ 190 static bool ls2k_bmc_pcie_is_connected(struct pci_dev *parent, struct ls2k_bmc_ddata *ddata) in ls2k_bmc_pcie_is_connected() argument 195 base = pci_iomap(parent, 0, LS7A_PCI_CFG_SIZE); in ls2k_bmc_pcie_is_connected() 206 pci_iounmap(parent, base); in ls2k_bmc_pcie_is_connected() 211 pci_iounmap(parent, base); in ls2k_bmc_pcie_is_connected() 215 static void ls2k_bmc_restore_bridge_pci_data(struct pci_dev *parent, struct ls2k_bmc_ddata *ddata) in ls2k_bmc_restore_bridge_pci_data() argument 219 pci_write_config_dword(parent, PCI_COMMAND, ddata->bridge_pci_data.pci_command); in ls2k_bmc_restore_bridge_pci_data() 222 pci_write_config_dword(parent, base, ddata->bridge_pci_data.base_address[i]); in ls2k_bmc_restore_bridge_pci_data() 224 pci_write_config_dword(parent, PCI_ROM_ADDRESS, ddata->bridge_pci_data.rom_addreess); in ls2k_bmc_restore_bridge_pci_data() 225 pci_write_config_dword(parent, PCI_INTERRUPT_LINE, ddata->bridge_pci_data.interrupt_line); in ls2k_bmc_restore_bridge_pci_data() [all …]
|
/linux/drivers/clk/sunxi-ng/ |
H A D | ccu_phase.c | 16 struct clk_hw *parent, *grandparent; in ccu_phase_get_phase() local 29 /* Get our parent clock, it's the one that can adjust its rate */ in ccu_phase_get_phase() 30 parent = clk_hw_get_parent(hw); in ccu_phase_get_phase() 31 if (!parent) in ccu_phase_get_phase() 35 parent_rate = clk_hw_get_rate(parent); in ccu_phase_get_phase() 39 /* Now, get our parent's parent (most likely some PLL) */ in ccu_phase_get_phase() 40 grandparent = clk_hw_get_parent(parent); in ccu_phase_get_phase() 49 /* Get our parent clock divider */ in ccu_phase_get_phase() 59 struct clk_hw *parent, *grandparent; in ccu_phase_set_phase() local 65 /* Get our parent clock, it's the one that can adjust its rate */ in ccu_phase_set_phase() [all …]
|
/linux/tools/testing/selftests/cgroup/ |
H A D | test_kmem.c | 129 static int cg_run_in_subcgroups(const char *parent, in cg_run_in_subcgroups() 137 child = cg_name_indexed(parent, "child", i); in cg_run_in_subcgroups() 163 * threads. Then it checks the sanity of numbers on the parent level: 171 char *parent; in test_kmem_memcg_deletion() 173 parent = cg_name(root, "kmem_memcg_deletion_test"); in test_kmem_memcg_deletion() 174 if (!parent) in test_kmem_memcg_deletion() 177 if (cg_create(parent)) in test_kmem_memcg_deletion() 180 if (cg_write(parent, "cgroup.subtree_control", "+memory")) in test_kmem_memcg_deletion() 183 if (cg_run_in_subcgroups(parent, alloc_kmem_smp, NULL, 100)) in test_kmem_memcg_deletion() 186 current = cg_read_long(parent, "memor in test_kmem_memcg_deletion() 127 cg_run_in_subcgroups(const char * parent,int (* fn)(const char * cgroup,void * arg),void * arg,int times) cg_run_in_subcgroups() argument 169 char *parent; test_kmem_memcg_deletion() local 306 char *parent; test_kmem_dead_cgroups() local 353 char *parent, *child; test_percpu_basic() local [all...] |
H A D | test_core.c | 286 char *grandparent = NULL, *parent = NULL, *child = NULL; in test_cgcore_invalid_domain() 292 parent = cg_name(root, "cg_test_grandparent/cg_test_parent"); in test_cgcore_invalid_domain() 294 if (!parent || !child || !grandparent) in test_cgcore_invalid_domain() 300 if (cg_create(parent)) in test_cgcore_invalid_domain() 306 if (cg_write(parent, "cgroup.type", "threaded")) in test_cgcore_invalid_domain() 334 if (parent) 335 cg_destroy(parent); in test_cgcore_parent_becomes_threaded() 339 free(parent); in test_cgcore_parent_becomes_threaded() 346 * the parent type becomes domain threaded. in test_cgcore_parent_becomes_threaded() 351 char *parent in test_cgcore_parent_becomes_threaded() 276 char *grandparent = NULL, *parent = NULL, *child = NULL; test_cgcore_invalid_domain() local 338 char *parent = NULL, *child = NULL; test_cgcore_parent_becomes_threaded() local 377 char *parent = NULL, *child = NULL; test_cgcore_no_internal_process_constraint_on_threads() local 429 char *parent = NULL, *child = NULL; test_cgcore_top_down_constraint_enable() local 464 char *parent = NULL, *child = NULL; test_cgcore_top_down_constraint_disable() local 505 char *parent = NULL, *child = NULL; test_cgcore_internal_process_constraint() local [all...] |
/linux/Documentation/i2c/ |
H A D | i2c-topology.rst | 23 each adapter has a parent adapter (except the root adapter) and zero or 25 I2C transfers, and all adapters with a parent are part of an "i2c-mux" 40 mux-locked or parent-locked muxes. 46 Mux-locked muxes does not lock the entire parent adapter during the 47 full select-transfer-deselect transaction, only the muxes on the parent 50 their tasks. Since the parent adapter is not fully locked during the 72 2. M1 locks muxes on its parent (the root adapter in this case). 75 These transfers are normal I2C transfers that locks the parent 77 5. M1 feeds the I2C transfer from step 1 to its parent adapter as a 78 normal I2C transfer that locks the parent adapter. [all …]
|
/linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | qos.c | 93 /* configure parent txschq */ in otx2_config_sched_shaping() 94 cfg->regval[*num_regs] = node->parent->schq << 16; in otx2_config_sched_shaping() 108 (node->schq - node->parent->prio_anchor) << 24; in otx2_config_sched_shaping() 113 cfg->regval[*num_regs] = node->parent->child_dwrr_prio << 24 | in otx2_config_sched_shaping() 168 /* configure parent txschq */ in __otx2_qos_txschq_cfg() 181 if (node->qid == OTX2_QOS_QID_INNER && !node->parent) { in __otx2_qos_txschq_cfg() 198 struct otx2_qos_node *parent) in otx2_qos_txschq_set_parent_topology() argument 204 if (parent->level == NIX_TXSCH_LVL_MDQ) in otx2_qos_txschq_set_parent_topology() 215 cfg->lvl = parent->level; in otx2_qos_txschq_set_parent_topology() 217 if (parent->level == NIX_TXSCH_LVL_TL4) in otx2_qos_txschq_set_parent_topology() [all …]
|
/linux/drivers/powercap/ |
H A D | dtpm.c | 12 * parent node is a virtual description of the aggregation of the 105 struct dtpm *parent = dtpm->parent; in __dtpm_sub_power() local 107 while (parent) { in __dtpm_sub_power() 108 parent->power_min -= dtpm->power_min; in __dtpm_sub_power() 109 parent->power_max -= dtpm->power_max; in __dtpm_sub_power() 110 parent->power_limit -= dtpm->power_limit; in __dtpm_sub_power() 111 parent = parent->parent; in __dtpm_sub_power() 117 struct dtpm *parent = dtpm->parent; in __dtpm_add_power() local 119 while (parent) { in __dtpm_add_power() 120 parent->power_min += dtpm->power_min; in __dtpm_add_power() [all …]
|