/kernel/linux/linux-5.10/drivers/leds/trigger/ |
H A D | ledtrig-activity.c | 38 unsigned int usage; in led_activity_function() local 84 usage = 0; in led_activity_function() 86 usage = 100; in led_activity_function() 88 usage = 100 * diff_used / diff_boot; in led_activity_function() 93 * since last call. The % of overall CPU usage is : in led_activity_function() 97 * What we want is that when the CPU usage is zero, the LED must blink in led_activity_function() 111 * - a target CPU usage of min(50%, 100%/#CPU) for a 10% duty cycle in led_activity_function() 115 * OFF_ms = 90 + (1 - usage/target) * 900 in led_activity_function() 117 * ON_ms = 10 + (usage-target)/(100%-target) * 80 in led_activity_function() 118 * OFF_ms = 90 - (usage in led_activity_function() [all...] |
/kernel/linux/linux-6.6/arch/x86/tools/ |
H A D | insn_sanity.c | 38 static void usage(const char *err) in usage() function 119 usage("Failed to open /dev/urandom"); in init_random_seed() 182 usage("Failed to open input file"); in parse_args() 191 usage("Failed to parse seed"); in parse_args() 197 usage("Failed to parse max_iter"); in parse_args() 200 usage(NULL); in parse_args() 206 usage("Max iteration number must be bigger than iter-num"); in parse_args() 209 usage("Don't use input file (-i) with random seed (-s)"); in parse_args()
|
/kernel/linux/linux-6.6/drivers/leds/trigger/ |
H A D | ledtrig-activity.c | 39 unsigned int usage; in led_activity_function() local 85 usage = 0; in led_activity_function() 87 usage = 100; in led_activity_function() 89 usage = 100 * diff_used / diff_boot; in led_activity_function() 94 * since last call. The % of overall CPU usage is : in led_activity_function() 98 * What we want is that when the CPU usage is zero, the LED must blink in led_activity_function() 112 * - a target CPU usage of min(50%, 100%/#CPU) for a 10% duty cycle in led_activity_function() 116 * OFF_ms = 90 + (1 - usage/target) * 900 in led_activity_function() 118 * ON_ms = 10 + (usage-target)/(100%-target) * 80 in led_activity_function() 119 * OFF_ms = 90 - (usage in led_activity_function() [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
H A D | Buffer11.h | 58 BufferUsage usage, 103 gl::BufferUsage usage) override; 153 void markBufferUsage(BufferUsage usage); 154 angle::Result markBufferUsage(const gl::Context *context, BufferUsage usage); 167 BufferUsage usage, 181 BufferStorage *allocateStorage(BufferUsage usage); 182 void updateDeallocThreshold(BufferUsage usage); 185 angle::Result checkForDeallocation(const gl::Context *context, BufferUsage usage); 199 // Buffer storages are sorted by usage. It's important that the latest buffer storage picks 200 // the lowest usage i [all...] |
H A D | Buffer11.cpp | 70 D3D11_MAP GetD3DMapTypeFromBits(BufferUsage usage, GLbitfield access) in GetD3DMapTypeFromBits() argument 78 // don't accept the map-discard flag (discard only works for DYNAMIC usage) in GetD3DMapTypeFromBits() 87 return usage == BUFFER_USAGE_UNIFORM || usage == BUFFER_USAGE_STRUCTURED in GetD3DMapTypeFromBits() 145 BufferStorage(Renderer11 *renderer, BufferUsage usage); 158 NativeStorage(Renderer11 *renderer, BufferUsage usage, const angle::Subject *onStorageChanged); 196 BufferUsage usage, 209 BufferUsage usage, 380 gl::BufferUsage usage) in setData() 382 updateD3DBufferUsage(context, usage); in setData() 376 setData(const gl::Context *context, gl::BufferBinding target, const void *data, size_t size, gl::BufferUsage usage) setData() argument 606 updateDeallocThreshold(BufferUsage usage) updateDeallocThreshold() argument 628 checkForDeallocation(const gl::Context *context, BufferUsage usage) checkForDeallocation() argument 659 markBufferUsage(BufferUsage usage) markBufferUsage() argument 664 markBufferUsage(const gl::Context *context, BufferUsage usage) markBufferUsage() argument 693 getBuffer(const gl::Context *context, BufferUsage usage, ID3D11Buffer **bufferOut) getBuffer() argument 802 getBufferStorage(const gl::Context *context, BufferUsage usage, StorageOutT **storageOut) getBufferStorage() argument 831 allocateStorage(BufferUsage usage) allocateStorage() argument 1101 BufferStorage(Renderer11 *renderer, BufferUsage usage) BufferStorage() argument 1128 NativeStorage(Renderer11 *renderer, BufferUsage usage, const angle::Subject *onStorageChanged) NativeStorage() argument 1279 FillBufferDesc(D3D11_BUFFER_DESC *bufferDesc, Renderer11 *renderer, BufferUsage usage, unsigned int bufferSize) FillBufferDesc() argument 1452 StructuredBufferStorage(Renderer11 *renderer, BufferUsage usage, const angle::Subject *onStorageChanged) StructuredBufferStorage() argument [all...] |
/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
H A D | MaxLimitTests.cpp | 77 dstDesc.usage = in TEST_P() 111 for (wgpu::BufferUsage usage : {wgpu::BufferUsage::Storage, wgpu::BufferUsage::Uniform}) { in TEST_P() 114 switch (usage) { in TEST_P() 190 bufDesc.usage = usage | wgpu::BufferUsage::CopyDst; in TEST_P() 203 resultBufDesc.usage = wgpu::BufferUsage::Storage | wgpu::BufferUsage::CopySrc; in TEST_P() 232 << "; usage=" << usage; in TEST_P() local 235 << "; usage=" << usage; in TEST_P() local [all...] |
/kernel/linux/linux-5.10/drivers/hid/ |
H A D | wacom_wac.c | 1856 static int wacom_offset_rotation(struct input_dev *input, struct hid_usage *usage, in wacom_offset_rotation() argument 1859 struct input_absinfo *abs = &input->absinfo[usage->code]; in wacom_offset_rotation() 1870 int wacom_equivalent_usage(int usage) in wacom_equivalent_usage() argument 1872 if ((usage & HID_USAGE_PAGE) == WACOM_HID_UP_WACOMDIGITIZER) { in wacom_equivalent_usage() 1873 int subpage = (usage & 0xFF00) << 8; in wacom_equivalent_usage() 1874 int subusage = (usage & 0xFF); in wacom_equivalent_usage() 1880 usage == WACOM_HID_WD_SENSE || in wacom_equivalent_usage() 1881 usage == WACOM_HID_WD_SERIALHI || in wacom_equivalent_usage() 1882 usage == WACOM_HID_WD_TOOLTYPE || in wacom_equivalent_usage() 1883 usage in wacom_equivalent_usage() 1914 wacom_map_usage(struct input_dev *input, struct hid_usage *usage, struct hid_field *field, __u8 type, __u16 code, int fuzz) wacom_map_usage() argument 1969 wacom_wac_battery_usage_mapping(struct hid_device *hdev, struct hid_field *field, struct hid_usage *usage) wacom_wac_battery_usage_mapping() argument 1975 wacom_wac_battery_event(struct hid_device *hdev, struct hid_field *field, struct hid_usage *usage, __s32 value) wacom_wac_battery_event() argument 2034 wacom_wac_pad_usage_mapping(struct hid_device *hdev, struct hid_field *field, struct hid_usage *usage) wacom_wac_pad_usage_mapping() argument 2140 wacom_wac_pad_event(struct hid_device *hdev, struct hid_field *field, struct hid_usage *usage, __s32 value) wacom_wac_pad_event() argument 2272 wacom_wac_pen_usage_mapping(struct hid_device *hdev, struct hid_field *field, struct hid_usage *usage) wacom_wac_pen_usage_mapping() argument 2351 wacom_wac_pen_event(struct hid_device *hdev, struct hid_field *field, struct hid_usage *usage, __s32 value) wacom_wac_pen_event() argument 2566 wacom_wac_finger_usage_mapping(struct hid_device *hdev, struct hid_field *field, struct hid_usage *usage) wacom_wac_finger_usage_mapping() argument 2662 wacom_wac_finger_event(struct hid_device *hdev, struct hid_field *field, struct hid_usage *usage, __s32 value) wacom_wac_finger_event() argument 2735 struct hid_usage *usage = &field->usage[j]; wacom_wac_finger_pre_report() local 2800 wacom_wac_usage_mapping(struct hid_device *hdev, struct hid_field *field, struct hid_usage *usage) wacom_wac_usage_mapping() argument 2821 wacom_wac_event(struct hid_device *hdev, struct hid_field *field, struct hid_usage *usage, __s32 value) wacom_wac_event() argument [all...] |
H A D | hid-cherry.c | 36 #define ch_map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, \ 39 struct hid_field *field, struct hid_usage *usage, in ch_input_mapping() 42 if ((usage->hid & HID_USAGE_PAGE) != HID_UP_CONSUMER) in ch_input_mapping() 45 switch (usage->hid & HID_USAGE) { in ch_input_mapping() 38 ch_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) ch_input_mapping() argument
|
H A D | hid-monterey.c | 31 #define mr_map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, \ 34 struct hid_field *field, struct hid_usage *usage, in mr_input_mapping() 37 if ((usage->hid & HID_USAGE_PAGE) != HID_UP_CONSUMER) in mr_input_mapping() 40 switch (usage->hid & HID_USAGE) { in mr_input_mapping() 33 mr_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) mr_input_mapping() argument
|
H A D | hid-sunplus.c | 33 #define sp_map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, \ 36 struct hid_field *field, struct hid_usage *usage, in sp_input_mapping() 39 if ((usage->hid & HID_USAGE_PAGE) != HID_UP_CONSUMER) in sp_input_mapping() 42 switch (usage->hid & HID_USAGE) { in sp_input_mapping() 35 sp_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) sp_input_mapping() argument
|
H A D | hid-belkin.c | 24 #define belkin_map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, \ 27 struct hid_field *field, struct hid_usage *usage, in belkin_input_mapping() 32 if ((usage->hid & HID_USAGE_PAGE) != HID_UP_CONSUMER || in belkin_input_mapping() 36 switch (usage->hid & HID_USAGE) { in belkin_input_mapping() 26 belkin_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) belkin_input_mapping() argument
|
/kernel/linux/linux-5.10/arch/powerpc/boot/ |
H A D | wrapper | 64 usage() { function 93 [ "$#" -gt 0 ] || usage 98 [ "$#" -gt 0 ] || usage 103 [ "$#" -gt 0 ] || usage 108 [ "$#" -gt 0 ] || usage 113 [ "$#" -gt 0 ] || usage 118 [ "$#" -gt 0 ] || usage 126 [ "$#" -gt 0 ] || usage 131 [ "$#" -gt 0 ] || usage 137 [ "$#" -gt 0 ] || usage [all...] |
/kernel/linux/linux-6.6/arch/powerpc/boot/ |
H A D | wrapper | 68 usage() { function 97 [ "$#" -gt 0 ] || usage 102 [ "$#" -gt 0 ] || usage 107 [ "$#" -gt 0 ] || usage 112 [ "$#" -gt 0 ] || usage 117 [ "$#" -gt 0 ] || usage 122 [ "$#" -gt 0 ] || usage 130 [ "$#" -gt 0 ] || usage 135 [ "$#" -gt 0 ] || usage 141 [ "$#" -gt 0 ] || usage [all...] |
/third_party/skia/src/gpu/vk/ |
H A D | GrVkBuffer.cpp | 96 bufInfo.usage = VK_BUFFER_USAGE_VERTEX_BUFFER_BIT; 100 bufInfo.usage = VK_BUFFER_USAGE_INDEX_BUFFER_BIT; 104 bufInfo.usage = VK_BUFFER_USAGE_INDIRECT_BUFFER_BIT; 108 bufInfo.usage = VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT; 112 bufInfo.usage = VK_BUFFER_USAGE_TRANSFER_SRC_BIT; 116 bufInfo.usage = VK_BUFFER_USAGE_TRANSFER_DST_BIT; 121 // transfer dst usage bit in case we need to do a copy to write data. 122 // TODO: It doesn't really hurt setting this extra usage flag, but maybe we can narrow the scope 125 bufInfo.usage |= VK_BUFFER_USAGE_TRANSFER_DST_BIT; 179 bufInfo.usage [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/personname/ |
H A D | PersonNameFormatterImpl.java | 37 private final PersonNameFormatter.Usage usage; field in PersonNameFormatterImpl 43 PersonNameFormatter.Usage usage, in PersonNameFormatterImpl() 53 this.usage = usage; in PersonNameFormatterImpl() 67 if (usage == PersonNameFormatter.Usage.MONOGRAM) { in PersonNameFormatterImpl() 74 usage = PersonNameFormatter.Usage.REFERRING; in PersonNameFormatterImpl() 81 String resourceNameBody = length.toString().toLowerCase() + "-" + usage.toString().toLowerCase() + "-" in PersonNameFormatterImpl() 113 usage = PersonNameFormatter.Usage.REFERRING; in PersonNameFormatterImpl() 137 this.usage, this.formality, this.options); in formatToString() 163 public PersonNameFormatter.Usage getUsage() { return usage; } in getUsage() 41 PersonNameFormatterImpl(Locale locale, PersonNameFormatter.Length length, PersonNameFormatter.Usage usage, PersonNameFormatter.Formality formality, Set<PersonNameFormatter.Options> options) PersonNameFormatterImpl() argument [all...] |
/third_party/mesa3d/src/gallium/drivers/r300/ |
H A D | r300_transfer.c | 103 unsigned usage, in r300_texture_transfer_map() 128 trans->transfer.usage = usage; in r300_texture_transfer_map() 135 (referenced_hw && !(usage & PIPE_MAP_READ) && in r300_texture_transfer_map() 151 base.usage = PIPE_USAGE_STAGING; in r300_texture_transfer_map() 194 if (usage & PIPE_MAP_READ) { in r300_texture_transfer_map() 209 !(usage & PIPE_MAP_UNSYNCHRONIZED)) { in r300_texture_transfer_map() 219 &r300->cs, usage); in r300_texture_transfer_map() 230 map = r300->rws->buffer_map(r300->rws, tex->buf, &r300->cs, usage); in r300_texture_transfer_map() 249 if (transfer->usage in r300_texture_transfer_unmap() 100 r300_texture_transfer_map(struct pipe_context *ctx, struct pipe_resource *texture, unsigned level, unsigned usage, const struct pipe_box *box, struct pipe_transfer **transfer) r300_texture_transfer_map() argument [all...] |
/third_party/mbedtls/programs/ssl/ |
H A D | ssl_server2.c | 505 "\n usage: ssl_server2 param=<>...\n" \ 1784 usage: in main() 1791 mbedtls_printf("usage: ssl_client2 [param=value] [...]\n"); in main() 1830 goto usage; in main() 1845 goto usage; in main() 1850 goto usage; in main() 1862 goto usage; in main() 1867 goto usage; in main() 1874 goto usage; in main() 1879 goto usage; in main() [all...] |
/kernel/linux/linux-6.6/drivers/hid/ |
H A D | hid-core.c | 106 field->usage = (struct hid_usage *)(field + 1); in hid_register_field() 107 field->value = (s32 *)(field->usage + usages); in hid_register_field() 116 * Open a collection. The type/usage is pushed on the stack. 122 unsigned usage; in open_collection() local 125 usage = parser->local.usage[0]; in open_collection() 169 collection->usage = usage; in open_collection() 196 * and return the usage. 207 return collection[index].usage; in hid_lookup_collection() 228 hid_add_usage(struct hid_parser *parser, unsigned usage, u8 size) hid_add_usage() argument 788 hid_scan_input_usage(struct hid_parser *parser, u32 usage) hid_scan_input_usage() argument 796 hid_scan_feature_usage(struct hid_parser *parser, u32 usage) hid_scan_feature_usage() argument 1072 struct hid_usage *usage; hid_apply_multiplier_to_field() local 1169 struct hid_usage *usage; hid_setup_resolution_multiplier() local 1503 hid_match_usage(struct hid_device *hid, struct hid_usage *usage) hid_match_usage() argument 1521 hid_process_event(struct hid_device *hid, struct hid_field *field, struct hid_usage *usage, __s32 value, int interrupt) hid_process_event() argument [all...] |
H A D | hid-belkin.c | 24 #define belkin_map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, \ 27 struct hid_field *field, struct hid_usage *usage, in belkin_input_mapping() 32 if ((usage->hid & HID_USAGE_PAGE) != HID_UP_CONSUMER || in belkin_input_mapping() 36 switch (usage->hid & HID_USAGE) { in belkin_input_mapping() 26 belkin_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) belkin_input_mapping() argument
|
H A D | hid-cherry.c | 36 #define ch_map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, \ 39 struct hid_field *field, struct hid_usage *usage, in ch_input_mapping() 42 if ((usage->hid & HID_USAGE_PAGE) != HID_UP_CONSUMER) in ch_input_mapping() 45 switch (usage->hid & HID_USAGE) { in ch_input_mapping() 38 ch_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) ch_input_mapping() argument
|
H A D | hid-sunplus.c | 33 #define sp_map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, \ 36 struct hid_field *field, struct hid_usage *usage, in sp_input_mapping() 39 if ((usage->hid & HID_USAGE_PAGE) != HID_UP_CONSUMER) in sp_input_mapping() 42 switch (usage->hid & HID_USAGE) { in sp_input_mapping() 35 sp_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) sp_input_mapping() argument
|
H A D | hid-monterey.c | 31 #define mr_map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, \ 34 struct hid_field *field, struct hid_usage *usage, in mr_input_mapping() 37 if ((usage->hid & HID_USAGE_PAGE) != HID_UP_CONSUMER) in mr_input_mapping() 40 switch (usage->hid & HID_USAGE) { in mr_input_mapping() 33 mr_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) mr_input_mapping() argument
|
/kernel/linux/linux-5.10/scripts/ |
H A D | gfp-translate | 17 usage() { function 18 echo "usage: gfp-translate [-h] [ --source DIRECTORY ] gfpmask" 30 usage 33 usage 61 usage
|
/kernel/linux/linux-5.10/tools/power/cpupower/bench/ |
H A D | cpufreq-bench_plot.sh | 15 function usage() function 29 usage 44 usage 54 usage
|
/kernel/linux/linux-6.6/scripts/ |
H A D | gfp-translate | 17 usage() { function 18 echo "usage: gfp-translate [-h] [ --source DIRECTORY ] gfpmask" 30 usage 33 usage 61 usage
|