/linux/arch/x86/kernel/cpu/microcode/ |
H A D | intel-ucode-defs.h | 1 { .flags = X86_CPU_ID_FLAG_ENTRY_VALID, .vendor = X86_VENDOR_INTEL, .family = 0x6, .model = 0x03, … 2 { .flags = X86_CPU_ID_FLAG_ENTRY_VALID, .vendor = X86_VENDOR_INTEL, .family = 0x6, .model = 0x05, … 3 { .flags = X86_CPU_ID_FLAG_ENTRY_VALID, .vendor = X86_VENDOR_INTEL, .family = 0x6, .model = 0x05, … 4 { .flags = X86_CPU_ID_FLAG_ENTRY_VALID, .vendor = X86_VENDOR_INTEL, .family = 0x6, .model = 0x05, … 5 { .flags = X86_CPU_ID_FLAG_ENTRY_VALID, .vendor = X86_VENDOR_INTEL, .family = 0x6, .model = 0x05, … 6 { .flags = X86_CPU_ID_FLAG_ENTRY_VALID, .vendor = X86_VENDOR_INTEL, .family = 0x6, .model = 0x06, … 7 { .flags = X86_CPU_ID_FLAG_ENTRY_VALID, .vendor = X86_VENDOR_INTEL, .family = 0x6, .model = 0x06, … 8 { .flags = X86_CPU_ID_FLAG_ENTRY_VALID, .vendor = X86_VENDOR_INTEL, .family = 0x6, .model = 0x06, … 9 { .flags = X86_CPU_ID_FLAG_ENTRY_VALID, .vendor = X86_VENDOR_INTEL, .family = 0x6, .model = 0x06, … 10 { .flags = X86_CPU_ID_FLAG_ENTRY_VALID, .vendor = X86_VENDOR_INTEL, .family = 0x6, .model = 0x07, … [all …]
|
/linux/Documentation/devicetree/bindings/arm/bcm/ |
H A D | bcm2835.yaml | 23 - raspberrypi,4-model-b 29 - raspberrypi,5-model-b 35 - raspberrypi,model-a 36 - raspberrypi,model-a-plus 37 - raspberrypi,model-b 38 - raspberrypi,model-b-i2c0 # Raspberry Pi Model B (no P5) 39 - raspberrypi,model-b-rev2 40 - raspberrypi,model-b-plus 42 - raspberrypi,model-zero 43 - raspberrypi,model-zero-w [all …]
|
/linux/drivers/hid/ |
H A D | hid-glorious.c | 4 * Glorious Model O, O- and D mice. 21 * Glorious Model O and O- specify the const flag in the consumer input 25 * Glorious Model I incorrectly specifes the Usage Minimum for its 35 hid_info(hdev, "patching Glorious Model O consumer control report descriptor\n"); in glorious_report_fixup() 40 hid_info(hdev, "patching Glorious Model I keyboard report descriptor\n"); in glorious_report_fixup() 48 const char *model = "Device"; in glorious_update_name() local 52 model = "Model O"; break; in glorious_update_name() 54 model = "Model D"; break; in glorious_update_name() 56 model = "Model I"; break; in glorious_update_name() 59 snprintf(hdev->name, sizeof(hdev->name), "%s %s", "Glorious", model); in glorious_update_name()
|
H A D | hid-thrustmaster.c | 10 * This driver tries to understand which model of Thrustmaster wheel the generic 100 * Seems to be the model code of the wheel 103 uint16_t model; member 113 uint16_t model; member 215 * to get [what it seems to be] the wheel's model. 217 * If the model id is recognized then we send an opportune USB CONTROL REQUEST 224 uint16_t model = 0; in thrustmaster_model_handler() local 229 hid_err(hdev, "URB to get model id failed with error %d\n", urb->status); in thrustmaster_model_handler() 234 model = le16_to_cpu(tm_wheel->response->data.a.model); in thrustmaster_model_handler() 236 model = le16_to_cpu(tm_wheel->response->data.b.model); in thrustmaster_model_handler() [all …]
|
/linux/tools/memory-model/ |
H A D | README | 2 LINUX KERNEL MEMORY CONSISTENCY MODEL 9 This directory contains the memory consistency model (memory model, for 33 For example, a future version of herd7 might not work with the model 34 in this release. A compatible model will likely be made available in 37 If you absolutely need to run the model in this particular release, 40 klitmus7 is independent of the model provided here. It has its own 46 memory model maintainers. 66 The memory model is used, in conjunction with "herd7", to exhaustively 69 tests is available in tools/memory-model/Documentation/litmus-tests.txt. 73 tools/memory-model/litmus-tests/ [all …]
|
/linux/tools/perf/arch/s390/util/ |
H A D | header.c | 23 #define SYSINFO_MODEL "Model:" 33 char type[8], model[33], version[8], manufacturer[32], authorization[8]; in get_cpuid() local 42 * Manufacturer:, Type: and Model:, for example: in get_cpuid() 45 * Model: 702 N96 in get_cpuid() 46 * The first word is the Model Capacity and the second word is in get_cpuid() 47 * Model (can be omitted). Both words have a maximum size of 16 in get_cpuid() 52 memset(model, 0, sizeof(model)); in get_cpuid() 83 mdsize += scnprintf(model + mdsize, sizeof(model) - mdsize, in get_cpuid() 84 "%s%s", model[0] ? "," : "", cp); in get_cpuid() 91 /* Missing manufacturer, type or model information should not happen */ in get_cpuid() [all …]
|
/linux/sound/pci/oxygen/ |
H A D | oxygen.c | 203 data->dacs = chip->model.dac_channels_pcm / 2; in ak4396_init() 759 chip->model = model_generic; in get_oxygen_model() 763 chip->model.init = meridian_init; in get_oxygen_model() 764 chip->model.mixer_init = meridian_mixer_init; in get_oxygen_model() 765 chip->model.resume = meridian_resume; in get_oxygen_model() 766 chip->model.set_adc_params = set_ak5385_params; in get_oxygen_model() 767 chip->model.dump_registers = dump_ak4396_registers; in get_oxygen_model() 768 chip->model.device_config = PLAYBACK_0_TO_I2S | in get_oxygen_model() 773 chip->model.device_config |= AC97_CD_INPUT; in get_oxygen_model() 776 chip->model.init = claro_init; in get_oxygen_model() [all …]
|
H A D | oxygen_lib.c | 49 if (chip->model.uart_input) in oxygen_read_uart() 50 chip->model.uart_input(chip); in oxygen_read_uart() 183 if (chip->model.gpio_changed) in oxygen_gpio_changed() 184 chip->model.gpio_changed(chip); in oxygen_gpio_changed() 229 if (chip->model.dump_registers) in oxygen_proc_read() 230 chip->model.dump_registers(chip, buffer); in oxygen_proc_read() 278 * This function gets called only when a known card model has in oxygen_restore_eeprom() 359 chip->dac_volume[i] = chip->model.dac_volume_min; in oxygen_init() 376 chip->model.function_flags, in oxygen_init() 388 chip->model.misc_flags, in oxygen_init() [all …]
|
H A D | oxygen_pcm.c | 129 (chip->model.device_config & CAPTURE_2_FROM_AC97_1)) in oxygen_open() 135 if (chip->model.device_config & CAPTURE_1_FROM_SPDIF) { in oxygen_open() 146 runtime->hw.channels_max = chip->model.dac_channels_pcm; in oxygen_open() 149 if (chip->model.pcm_hardware_filter) in oxygen_open() 150 chip->model.pcm_hardware_filter(channel, &runtime->hw); in oxygen_open() 330 mclks = chip->model.dac_mclks; in get_mclk() 332 mclks = chip->model.adc_mclks; in get_mclk() 360 chip->model.adc_i2s_format | in oxygen_rec_a_hw_params() 370 chip->model.set_adc_params(chip, hw_params); in oxygen_rec_a_hw_params() 387 (chip->model.device_config & CAPTURE_2_FROM_AC97_1); in oxygen_rec_b_hw_params() [all …]
|
H A D | xonar_pcm179x.c | 258 if ((chip->model.function_flags & OXYGEN_FUNCTION_2WIRE_SPI_MASK) == in pcm1796_write() 382 data->pcm179x.dacs = chip->model.dac_channels_mixer / 2; in xonar_hdav_init() 383 data->pcm179x.h6 = chip->model.dac_channels_mixer > 2; in xonar_hdav_init() 413 data->dacs = chip->model.dac_channels_mixer / 2; in xonar_st_init_common() 414 data->h6 = chip->model.dac_channels_mixer > 2; in xonar_st_init_common() 462 data->h6 = chip->model.dac_channels_mixer > 2; in xonar_st_init() 1280 chip->model = model_xonar_d2; in get_xonar_pcm179x_model() 1281 chip->model.shortname = "Xonar D2"; in get_xonar_pcm179x_model() 1284 chip->model = model_xonar_d2; in get_xonar_pcm179x_model() 1285 chip->model.shortname = "Xonar D2X"; in get_xonar_pcm179x_model() [all …]
|
/linux/tools/perf/arch/loongarch/util/ |
H A D | header.c | 20 * Model Name : Loongson-3C5000 24 #define CPUINFO_MODEL "Model Name" 46 char *line, *model, *cpuid; in _get_cpuid() local 53 line = model = cpuid = NULL; in _get_cpuid() 58 model = _get_field(line); in _get_cpuid() 59 if (!model) in _get_cpuid() 64 if (model && (asprintf(&cpuid, "%s", model) < 0)) in _get_cpuid() 69 free(model); in _get_cpuid()
|
/linux/drivers/hwmon/ |
H A D | k8temp.c | 39 static int is_rev_g_desktop(u8 model) in is_rev_g_desktop() argument 43 if (model < 0x69) in is_rev_g_desktop() 46 if (model == 0xc1 || model == 0x6c || model == 0x7c) in is_rev_g_desktop() 58 if ((model == 0x6f || model == 0x7f) && in is_rev_g_desktop() 63 if (model == 0x6b && in is_rev_g_desktop() 137 u8 model, stepping; in k8temp_probe() local 145 model = boot_cpu_data.x86_model; in k8temp_probe() 149 if ((model == 4 && stepping == 0) || in k8temp_probe() 150 (model == 5 && stepping <= 1)) in k8temp_probe() 157 if (model >= 0x40) { in k8temp_probe() [all …]
|
/linux/Documentation/trace/rv/ |
H A D | da_monitor_instrumentation.rst | 13 * are translated into model's event. 47 instrumentation section translates *kernel events* into the *model's 54 functions* for each of the three events from the wip model. The developer 64 The preempt_disable event from the model connects directly to the 79 preempt_enable event will be used to synchronize the system to the model. 81 Initially, the *model* is placed in the initial state. However, the *system* 87 and the model are expected to return to the initial state after the 89 system and the model at the initialization of the monitoring section. 142 is used to connect the wip model events to the relative kernel event. dot2k automatically 143 adds "rv_attach_trace_probe()" function call for each model event in the enable phase, as [all …]
|
/linux/sound/firewire/oxfw/ |
H A D | oxfw.c | 54 char model[32]; in detect_loud_models() local 58 model, sizeof(model)); in detect_loud_models() 62 return match_string(models, ARRAY_SIZE(models), model) >= 0; in detect_loud_models() 70 char model[32]; in name_card() local 81 /* get model name from unit directory */ in name_card() 83 model, sizeof(model)); in name_card() 105 m = model; in name_card() 137 int vendor, model; in detect_quirks() local 180 vendor = model = 0; in detect_quirks() 186 model = val; in detect_quirks() [all …]
|
/linux/drivers/macintosh/ |
H A D | via-pmu-led.c | 85 const char *model; in via_pmu_led_init() local 94 model = of_get_property(dt, "model", NULL); in via_pmu_led_init() 95 if (!model) in via_pmu_led_init() 98 if (strncmp(model, "PowerBook", strlen("PowerBook")) != 0 && in via_pmu_led_init() 99 strncmp(model, "iBook", strlen("iBook")) != 0 && in via_pmu_led_init() 100 strcmp(model, "PowerMac7,2") != 0 && in via_pmu_led_init() 101 strcmp(model, "PowerMac7,3") != 0) in via_pmu_led_init()
|
/linux/drivers/perf/ |
H A D | arm-cci.c | 35 #define CCI_PMU_CNTR_SIZE(model) ((model)->cntr_size) argument 36 #define CCI_PMU_CNTR_BASE(model, idx) ((idx) * CCI_PMU_CNTR_SIZE(model)) argument 40 #define CCI_PMU_MAX_HW_CNTRS(model) \ argument 41 ((model)->num_hw_cntrs + (model)->fixed_hw_cntrs) 104 const struct cci_pmu_model *model; member 360 if (ev_code >= cci_pmu->model->event_ranges[if_type].min && in cci400_validate_hw_event() 361 ev_code <= cci_pmu->model->event_ranges[if_type].max) in cci400_validate_hw_event() 571 if (ev_code >= cci_pmu->model->event_ranges[if_type].min && in cci500_validate_hw_event() 572 ev_code <= cci_pmu->model->event_ranges[if_type].max) in cci500_validate_hw_event() 623 if (ev_code >= cci_pmu->model->event_ranges[if_type].min && in cci550_validate_hw_event() [all …]
|
/linux/arch/m68k/include/uapi/asm/ |
H A D | bootinfo-hp300.h | 14 #define BI_HP300_MODEL 0x8000 /* model (__be32) */ 37 #define HP_425T 11 /* 25MHz 68040 - model 425t */ 38 #define HP_425S 12 /* 25MHz 68040 - model 425s */ 39 #define HP_425E 13 /* 25MHz 68040 - model 425e */ 40 #define HP_433T 14 /* 33MHz 68040 - model 433t */ 41 #define HP_433S 15 /* 33MHz 68040 - model 433s */
|
/linux/arch/powerpc/platforms/chrp/ |
H A D | setup.c | 103 const char *model = ""; in chrp_show_cpuinfo() local 107 model = of_get_property(root, "model", NULL); in chrp_show_cpuinfo() 108 seq_printf(m, "machine\t\t: CHRP %s\n", model); in chrp_show_cpuinfo() 111 if (model && !strncmp(model, "IBM,LongTrail", 13)) { in chrp_show_cpuinfo() 124 model = "4 MB"; in chrp_show_cpuinfo() 127 model = "8 MB"; in chrp_show_cpuinfo() 130 model = "16 MB"; in chrp_show_cpuinfo() 133 model = "32 MB"; in chrp_show_cpuinfo() 136 model = "64 MB"; in chrp_show_cpuinfo() 139 model = "128 MB"; in chrp_show_cpuinfo() [all …]
|
/linux/arch/arm64/kernel/ |
H A D | cpu_errata.c | 35 return midr_is_cpu_model_range(read_cpuid_id(), range->model, in is_midr_in_range() 40 range->model, in is_midr_in_range() 49 while (ranges->model) in is_midr_in_range_list() 101 u32 model; in is_kryo_midr() local 105 model = read_cpuid_id(); in is_kryo_midr() 106 model &= MIDR_IMPLEMENTOR_MASK | (0xf00 << MIDR_PARTNUM_SHIFT) | in is_kryo_midr() 109 return model == entry->midr_range.model; in is_kryo_midr() 178 #define CAP_MIDR_RANGE(model, v_min, r_min, v_max, r_max) \ argument 180 .midr_range = MIDR_RANGE(model, v_min, r_min, v_max, r_max) 182 #define CAP_MIDR_ALL_VERSIONS(model) \ argument [all …]
|
/linux/arch/alpha/kernel/ |
H A D | pc873xx.c | 13 static unsigned int base, model; variable 23 return pc873xx_names[model]; in pc873xx_get_model() 54 model = PC87332; in pc873xx_probe() 57 model = PC87306; in pc873xx_probe() 60 model = PC87334; in pc873xx_probe() 63 model = PC87303; in pc873xx_probe()
|
/linux/drivers/cpufreq/ |
H A D | speedstep-centrino.c | 40 __u8 x86_model; /* model */ 237 struct cpu_model *model; in centrino_cpu_init_table() local 239 for(model = models; model->cpu_id != NULL; model++) in centrino_cpu_init_table() 240 if (centrino_verify_cpu_id(cpu, model->cpu_id) && in centrino_cpu_init_table() 241 (model->model_name == NULL || in centrino_cpu_init_table() 242 strcmp(cpu->x86_model_id, model->model_name) == 0)) in centrino_cpu_init_table() 245 if (model->cpu_id == NULL) { in centrino_cpu_init_table() 247 pr_debug("no support for CPU model \"%s\": " in centrino_cpu_init_table() 253 if (model->op_points == NULL) { in centrino_cpu_init_table() 255 pr_debug("no table support for CPU model \"%s\"\n", in centrino_cpu_init_table() [all …]
|
/linux/drivers/comedi/drivers/ |
H A D | vmk80xx.c | 109 enum vmk80xx_model model; member 123 .model = VMK8055_MODEL, 133 .model = VMK8061_MODEL, 151 enum vmk80xx_model model; member 186 if (devpriv->model == VMK8061_MODEL) { in vmk80xx_read_packet() 207 if (devpriv->model == VMK8061_MODEL) { in vmk80xx_write_packet() 247 switch (devpriv->model) { in vmk80xx_ai_insn_read() 267 if (devpriv->model == VMK8055_MODEL) { in vmk80xx_ai_insn_read() 296 switch (devpriv->model) { in vmk80xx_ao_insn_write() 366 if (devpriv->model == VMK8061_MODEL) { in vmk80xx_di_insn_bits() [all …]
|
/linux/Documentation/mm/ |
H A D | memory-model.rst | 4 Physical Memory Model 17 memory models it supports, what the default memory model is and 23 Regardless of the selected memory model, there exists one-to-one 27 Each memory model defines :c:func:`pfn_to_page` and :c:func:`page_to_pfn` 34 The simplest memory model is FLATMEM. This model is suitable for 38 In the FLATMEM memory model, there is a global `mem_map` array that 63 SPARSEMEM is the most versatile memory model available in Linux and it 64 is the only memory model that supports several advanced features such 69 The SPARSEMEM model presents the physical memory as a collection of
|
/linux/arch/parisc/kernel/ |
H A D | processor.c | 241 /* get CPU-Model Information... */ in collect_boot_cpu_data() 242 #define p ((unsigned long *)&boot_cpu_data.pdc.model) in collect_boot_cpu_data() 243 if (pdc_model_info(&boot_cpu_data.pdc.model) == PDC_OK) { in collect_boot_cpu_data() 245 "model %08lx %08lx %08lx %08lx %08lx %08lx %08lx %08lx %08lx %08lx\n", in collect_boot_cpu_data() 248 add_device_randomness(&boot_cpu_data.pdc.model, in collect_boot_cpu_data() 249 sizeof(boot_cpu_data.pdc.model)); in collect_boot_cpu_data() 276 pr_info("HP-UX model name: %s\n", in collect_boot_cpu_data() 282 pr_info("MPE/iX model name: %s\n", serial_no); in collect_boot_cpu_data() 286 boot_cpu_data.hversion = boot_cpu_data.pdc.model.hversion; in collect_boot_cpu_data() 287 boot_cpu_data.sversion = boot_cpu_data.pdc.model.sversion; in collect_boot_cpu_data() [all …]
|
/linux/drivers/input/keyboard/ |
H A D | cap11xx.c | 88 const struct cap11xx_hw_model *model; member 209 if (!priv->model->has_gain) { in cap11xx_init_keys() 211 "This model doesn't support 'sensor-gain'\n"); in cap11xx_init_keys() 228 if (priv->model->has_irq_config) { in cap11xx_init_keys() 237 "This model doesn't support 'irq-active-high'\n"); in cap11xx_init_keys() 260 priv->thresholds, priv->model->num_channels)) { in cap11xx_init_keys() 261 for (i = 0; i < priv->model->num_channels; i++) { in cap11xx_init_keys() 278 priv->model->num_channels)) { in cap11xx_init_keys() 279 if (priv->model->has_sensitivity_control) { in cap11xx_init_keys() 280 for (i = 0; i < priv->model->num_channels; i++) { in cap11xx_init_keys() [all …]
|