Lines Matching +full:cpu +full:- +full:read

1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
16 * struct isst_if_platform_info - Define platform information
25 * @mmio_supported: Support of mmio interface for core-power feature
40 * struct isst_if_cpu_map - CPU mapping between logical and physical CPU
41 * @logical_cpu: Linux logical CPU number
42 * @physical_cpu: PUNIT CPU number
44 * Used to convert from Linux logical CPU to PUNIT CPU numbering scheme.
45 * The PUNIT CPU number is different than APIC ID based CPU numbering.
53 * struct isst_if_cpu_maps - structure for CPU map IOCTL
54 * @cmd_count: Number of CPU mapping command in cpu_map[]
55 * @cpu_map[]: Holds one or more CPU map data structure
58 * one or more CPU mapping commands. Here IOCTL return value indicates
67 * struct isst_if_io_reg - Read write PUNIT IO register
68 * @read_write: Value 0: Read, 1: Write
69 * @logical_cpu: Logical CPU number to get target PCI device.
72 * read placeholder read value
74 * Structure to specify read/write data to PUNIT registers.
77 __u32 read_write; /* Read:0, Write:1 */
84 * struct isst_if_io_regs - structure for IO register commands
89 * one or more read/write commands to PUNIT. Here IOCTL return value
99 * struct isst_if_mbox_cmd - Structure to define mail box command
100 * @logical_cpu: Logical CPU number to get target PCI device
121 * struct isst_if_mbox_cmds - structure for mailbox commands
136 * struct isst_if_msr_cmd - Structure to define msr command
137 * @read_write: Value 0: Read, 1: Write
138 * @logical_cpu: Logical CPU number
140 * @data: For write operation, data to write, for read
146 __u32 read_write; /* Read:0, Write:1 */
153 * struct isst_if_msr_cmds - structure for msr commands
167 * struct isst_core_power - Structure to get/set core_power feature
187 * struct isst_clos_param - Structure to get/set clos praram
194 * prop_prio: Proportional priority from 0-15
210 * struct isst_if_clos_assoc - Structure to assign clos to a CPU
213 * @logical_cpu: CPU number
214 * @clos: Clos ID to assign to the logical CPU
226 * struct isst_if_clos_assoc_cmds - Structure to assign clos to CPUs
229 * @punit_cpu_map: Set to 1 if the CPU number is punit numbering not
230 * Linux CPU number
243 * struct isst_tpmi_instance_count - Get number of TPMI instances per socket
258 * struct isst_perf_level_info - Structure to get information on SST-PP levels
261 * @logical_cpu: CPU number
262 * @clos: Clos ID to assign to the logical CPU
264 * @feature_rev: The feature revision for SST-PP supported by the platform
267 * @feature_state: SST-BF and SST-TF (enabled/disabled) status at current level
268 * @locked: SST-PP performance level change is locked/unlocked
269 * @enabled: SST-PP feature is enabled or not
270 * @sst-tf_support: SST-TF support status at this level
271 * @sst-bf_support: SST-BF support status at this level
273 * Structure to get SST-PP details using IOCTL ISST_IF_PERF_LEVELS.
290 * struct isst_perf_level_control - Structure to set SST-PP level
295 * Structure used change SST-PP level using IOCTL ISST_IF_PERF_SET_LEVEL.
304 * struct isst_perf_feature_control - Structure to activate SST-BF/SST-TF
307 * @feature: bit 0 = SST-BF state, bit 1 = SST-TF state
309 * Structure used to enable SST-BF/SST-TF using IOCTL ISST_IF_PERF_SET_FEATURE.
321 * struct isst_perf_level_data_info - Structure to get SST-PP level details
324 * @level: SST-PP level for which caller wants to get information
348 * Structure used to get information on frequencies and TDP for a SST-PP
379 * struct isst_perf_level_cpu_mask - Structure to get SST-PP level CPU mask
382 * @level: SST-PP level for which caller wants to get information
383 * @punit_cpu_map: Set to 1 if the CPU number is punit numbering not
384 * Linux CPU number. If 0 CPU buffer is copied to user space
386 * cpu mask is copied to "mask" field.
387 * @mask: cpu mask for this PP level (punit CPU numbering)
388 * @cpu_buffer_size: size of cpu_buffer also used to return the copied CPU
390 * @cpu_buffer: Buffer to copy CPU mask when punit_cpu_map is 0
392 * Structure used to get cpumask for a SST-PP level using
393 * IOCTL ISST_IF_GET_PERF_LEVEL_CPU_MASK. Also used to get CPU mask for
394 * IOCTL ISST_IF_GET_BASE_FREQ_CPU_MASK for SST-BF.
407 * struct isst_base_freq_info - Structure to get SST-BF frequencies
410 * @level: SST-PP level for which caller wants to get information
411 * @high_base_freq_mhz: High priority CPU base frequency
412 * @low_base_freq_mhz: Low priority CPU base frequency
416 * Structure used to get SST-BF information using
430 * struct isst_turbo_freq_info - Structure to get SST-TF frequencies
433 * @level: SST-PP level for which caller wants to get information
439 * Structure used to get SST-TF information using