1# SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 2 3name: em 4 5doc: | 6 Energy model netlink interface to notify its changes. 7 8protocol: genetlink 9 10uapi-header: linux/energy_model.h 11 12attribute-sets: 13 - 14 name: pds 15 attributes: 16 - 17 name: pd 18 type: nest 19 nested-attributes: pd 20 multi-attr: true 21 - 22 name: pd 23 attributes: 24 - 25 name: pad 26 type: pad 27 - 28 name: pd-id 29 type: u32 30 - 31 name: flags 32 type: u64 33 - 34 name: cpus 35 type: string 36 - 37 name: pd-table 38 attributes: 39 - 40 name: pd-id 41 type: u32 42 - 43 name: ps 44 type: nest 45 nested-attributes: ps 46 multi-attr: true 47 - 48 name: ps 49 attributes: 50 - 51 name: pad 52 type: pad 53 - 54 name: performance 55 type: u64 56 - 57 name: frequency 58 type: u64 59 - 60 name: power 61 type: u64 62 - 63 name: cost 64 type: u64 65 - 66 name: flags 67 type: u64 68 69operations: 70 list: 71 - 72 name: get-pds 73 attribute-set: pds 74 doc: Get the list of information for all performance domains. 75 do: 76 reply: 77 attributes: 78 - pd 79 - 80 name: get-pd-table 81 attribute-set: pd-table 82 doc: Get the energy model table of a performance domain. 83 do: 84 request: 85 attributes: 86 - pd-id 87 reply: 88 attributes: 89 - pd-id 90 - ps 91 - 92 name: pd-created 93 doc: A performance domain is created. 94 notify: get-pd-table 95 mcgrp: event 96 - 97 name: pd-updated 98 doc: A performance domain is updated. 99 notify: get-pd-table 100 mcgrp: event 101 - 102 name: pd-deleted 103 doc: A performance domain is deleted. 104 attribute-set: pd-table 105 event: 106 attributes: 107 - pd-id 108 mcgrp: event 109 110mcast-groups: 111 list: 112 - 113 name: event 114