H A D | pti.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2014-2016 Intel Corporation. 25 unsigned int mode; member 27 unsigned int clkdiv; member 33 /* map PTI widths to MODE settings of PTI_CTL register */ 35 0, 4, 8, 0, 12, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 46 return -EINVAL; in pti_width_mode() 54 return scnprintf(buf, PAGE_SIZE, "%d\n", pti_mode[pti->mode]); in mode_show() 72 pti->mode = ret; in mode_store() 77 static DEVICE_ATTR_RW(mode); [all …]
|