Home
last modified time | relevance | path

Searched full:model (Results 1 – 25 of 3166) sorted by relevance

12345678910>>...127

/Linux-v5.10/Documentation/devicetree/bindings/arm/bcm/
Dbcm2835.yaml21 - raspberrypi,4-model-b
27 - raspberrypi,model-a
28 - raspberrypi,model-a-plus
29 - raspberrypi,model-b
30 - raspberrypi,model-b-i2c0 # Raspberry Pi Model B (no P5)
31 - raspberrypi,model-b-rev2
32 - raspberrypi,model-b-plus
34 - raspberrypi,model-zero
35 - raspberrypi,model-zero-w
41 - raspberrypi,2-model-b
[all …]
/Linux-v5.10/arch/x86/include/asm/
Dcpu_device_id.h13 /* Get the INTEL_FAM* model defines */
29 * @_model: The model number, model constant or X86_MODEL_ANY
46 .model = _model, \
57 * @_model: The model number, model constant or X86_MODEL_ANY
66 #define X86_MATCH_VENDOR_FAM_MODEL_FEATURE(vendor, family, model, feature, data) \ argument
67 X86_MATCH_VENDOR_FAM_MODEL_STEPPINGS_FEATURE(vendor, family, model, \
116 * X86_MATCH_VENDOR_FAM_MODEL - Match vendor, family and model
120 * @model: The model number, model constant or X86_MODEL_ANY
128 #define X86_MATCH_VENDOR_FAM_MODEL(vendor, family, model, data) \ argument
129 X86_MATCH_VENDOR_FAM_MODEL_FEATURE(vendor, family, model, \
[all …]
/Linux-v5.10/arch/powerpc/oprofile/
Dcommon.c22 static struct op_powerpc_model *model; variable
31 model->handle_interrupt(regs, ctr); in op_handle_interrupt()
38 ret = model->cpu_setup(ctr); in op_powerpc_cpu_setup()
56 op_per_cpu_rc = model->reg_setup(ctr, &sys, model->num_counters); in op_powerpc_setup()
86 ret = model->start(ctr); in op_powerpc_cpu_start()
95 if (model->global_start) in op_powerpc_start()
96 return model->global_start(ctr); in op_powerpc_start()
97 if (model->start) { in op_powerpc_start()
107 model->stop(); in op_powerpc_cpu_stop()
112 if (model->stop) in op_powerpc_stop()
[all …]
/Linux-v5.10/arch/x86/oprofile/
Dnmi_int.c30 static struct op_x86_model_spec *model; variable
42 u64 op_x86_get_ctrl(struct op_x86_model_spec const *model, in op_x86_get_ctrl() argument
56 event &= model->event_mask ? model->event_mask : 0xFF; in op_x86_get_ctrl()
67 model->check_ctrs(regs, this_cpu_ptr(&cpu_msrs)); in profile_exceptions_notify()
71 model->stop(this_cpu_ptr(&cpu_msrs)); in profile_exceptions_notify()
81 for (i = 0; i < model->num_counters; ++i) { in nmi_cpu_save_registers()
86 for (i = 0; i < model->num_controls; ++i) { in nmi_cpu_save_registers()
98 model->start(msrs); in nmi_cpu_start()
118 model->stop(msrs); in nmi_cpu_stop()
135 return !!model->switch_ctrl; in has_mux()
[all …]
/Linux-v5.10/tools/memory-model/
DREADME2 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.
65 The memory model is used, in conjunction with "herd7", to exhaustively
68 tests is available in tools/memory-model/Documentation/litmus-tests.txt.
72 tools/memory-model/litmus-tests/
[all …]
/Linux-v5.10/drivers/scsi/
Dscsi_devinfo.c24 char model[16]; member
52 char *model; member
256 {"WangDAT", "Model 2600", "01.7", BLIST_SELECT_NO_ATN},
257 {"WangDAT", "Model 3200", "02.2", BLIST_SELECT_NO_ATN},
258 {"WangDAT", "Model 1300", "02.4", BLIST_SELECT_NO_ATN},
284 * devinfo vendor and model strings.
309 * @model: model (product) string
314 * Create and add one dev_info entry for @vendor, @model, @strflags or
321 static int scsi_dev_info_list_add(int compatible, char *vendor, char *model, in scsi_dev_info_list_add() argument
324 return scsi_dev_info_list_add_keyed(compatible, vendor, model, in scsi_dev_info_list_add()
[all …]
/Linux-v5.10/tools/perf/arch/s390/util/
Dheader.c23 #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-v5.10/sound/pci/oxygen/
Doxygen.c206 data->dacs = chip->model.dac_channels_pcm / 2; in ak4396_init()
762 chip->model = model_generic; in get_oxygen_model()
766 chip->model.init = meridian_init; in get_oxygen_model()
767 chip->model.mixer_init = meridian_mixer_init; in get_oxygen_model()
768 chip->model.resume = meridian_resume; in get_oxygen_model()
769 chip->model.set_adc_params = set_ak5385_params; in get_oxygen_model()
770 chip->model.dump_registers = dump_ak4396_registers; in get_oxygen_model()
771 chip->model.device_config = PLAYBACK_0_TO_I2S | in get_oxygen_model()
776 chip->model.device_config |= AC97_CD_INPUT; in get_oxygen_model()
779 chip->model.init = claro_init; in get_oxygen_model()
[all …]
Doxygen_lib.c49 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 …]
Doxygen_pcm.c129 (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 …]
Dxonar_pcm179x.c258 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-v5.10/drivers/hid/
Dhid-glorious.c4 * Glorious Model O, O- and D mice.
21 * Glorious Model O and O- specify the const flag in the consumer input
31 hid_info(hdev, "patching Glorious Model O consumer control report descriptor\n"); in glorious_report_fixup()
40 const char *model = "Device"; in glorious_update_name() local
44 model = "Model O"; break; in glorious_update_name()
46 model = "Model D"; break; in glorious_update_name()
49 snprintf(hdev->name, sizeof(hdev->name), "%s %s", "Glorious", model); in glorious_update_name()
/Linux-v5.10/drivers/hwmon/
Dk8temp.c39 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-v5.10/drivers/gpu/drm/mgag200/
Dmgag200_drv.c187 mdev->model.g200.pclk_max = tmp * 10; in mgag200_g200_interpret_bios()
191 mdev->model.g200.pclk_max = (pins[41] + 100) * 1000; in mgag200_g200_interpret_bios()
195 mdev->model.g200.pclk_max = (pins[36] + 100) * 1000; in mgag200_g200_interpret_bios()
197 mdev->model.g200.ref_clk = 14318; in mgag200_g200_interpret_bios()
201 mdev->model.g200.pclk_max = pins[39] * 4 * 1000; in mgag200_g200_interpret_bios()
203 mdev->model.g200.ref_clk = 14318; in mgag200_g200_interpret_bios()
208 mdev->model.g200.pclk_min = pins[123] * tmp; in mgag200_g200_interpret_bios()
210 mdev->model.g200.pclk_max = pins[38] * tmp; in mgag200_g200_interpret_bios()
212 mdev->model.g200.ref_clk = 14318; in mgag200_g200_interpret_bios()
226 mdev->model.g200.pclk_min = 50000; in mgag200_g200_init_refclk()
[all …]
/Linux-v5.10/arch/arm64/kernel/
Dcpu_errata.c47 u32 model; in is_kryo_midr() local
51 model = read_cpuid_id(); in is_kryo_midr()
52 model &= MIDR_IMPLEMENTOR_MASK | (0xf00 << MIDR_PARTNUM_SHIFT) | in is_kryo_midr()
55 return model == entry->midr_range.model; in is_kryo_midr()
126 #define CAP_MIDR_RANGE(model, v_min, r_min, v_max, r_max) \ argument
128 .midr_range = MIDR_RANGE(model, v_min, r_min, v_max, r_max)
130 #define CAP_MIDR_ALL_VERSIONS(model) \ argument
132 .midr_range = MIDR_ALL_VERSIONS(model)
137 #define ERRATA_MIDR_RANGE(model, v_min, r_min, v_max, r_max) \ argument
139 CAP_MIDR_RANGE(model, v_min, r_min, v_max, r_max)
[all …]
/Linux-v5.10/arch/mips/oprofile/
Dcommon.c23 static struct op_mips_model *model; variable
30 model->reg_setup(ctr); in op_mips_setup()
33 on_each_cpu(model->cpu_setup, NULL, 1); in op_mips_setup()
42 for (i = 0; i < model->num_counters; ++i) { in op_mips_create_files()
64 on_each_cpu(model->cpu_start, NULL, 1); in op_mips_start()
72 on_each_cpu(model->cpu_stop, NULL, 1); in op_mips_stop()
128 model = lmodel; in oprofile_arch_init()
145 if (model) in oprofile_arch_exit()
146 model->exit(); in oprofile_arch_exit()
/Linux-v5.10/arch/c6x/boot/dts/
Dtms320c6678.dtsi14 model = "ti,c66x";
19 model = "ti,c66x";
24 model = "ti,c66x";
29 model = "ti,c66x";
34 model = "ti,c66x";
39 model = "ti,c66x";
44 model = "ti,c66x";
49 model = "ti,c66x";
55 model = "tms320c6678";
/Linux-v5.10/arch/alpha/oprofile/
Dcommon.c25 static struct op_axp_model *model; variable
39 model->handle_interrupt(which, regs, ctr); in op_handle_interrupt()
46 model->reset_ctr(&reg, which); in op_handle_interrupt()
59 for (i = e = 0; i < model->num_counters; ++i) in op_axp_setup()
65 model->reg_setup(&reg, ctr, &sys); in op_axp_setup()
68 smp_call_function(model->cpu_setup, &reg, 1); in op_axp_setup()
69 model->cpu_setup(&reg); in op_axp_setup()
113 for (i = 0; i < model->num_counters; ++i) { in op_axp_create_files()
129 if (model->can_set_proc_mode) { in op_axp_create_files()
170 model = lmodel; in oprofile_arch_init()
/Linux-v5.10/drivers/macintosh/
Dvia-pmu-led.c85 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 == NULL) { in via_pmu_led_init()
99 if (strncmp(model, "PowerBook", strlen("PowerBook")) != 0 && in via_pmu_led_init()
100 strncmp(model, "iBook", strlen("iBook")) != 0 && in via_pmu_led_init()
101 strcmp(model, "PowerMac7,2") != 0 && in via_pmu_led_init()
102 strcmp(model, "PowerMac7,3") != 0) { in via_pmu_led_init()
/Linux-v5.10/drivers/perf/
Darm-cci.c38 #define CCI_PMU_CNTR_SIZE(model) ((model)->cntr_size) argument
39 #define CCI_PMU_CNTR_BASE(model, idx) ((idx) * CCI_PMU_CNTR_SIZE(model)) argument
43 #define CCI_PMU_MAX_HW_CNTRS(model) \ argument
44 ((model)->num_hw_cntrs + (model)->fixed_hw_cntrs)
107 const struct cci_pmu_model *model; member
365 if (ev_code >= cci_pmu->model->event_ranges[if_type].min && in cci400_validate_hw_event()
366 ev_code <= cci_pmu->model->event_ranges[if_type].max) in cci400_validate_hw_event()
576 if (ev_code >= cci_pmu->model->event_ranges[if_type].min && in cci500_validate_hw_event()
577 ev_code <= cci_pmu->model->event_ranges[if_type].max) in cci500_validate_hw_event()
628 if (ev_code >= cci_pmu->model->event_ranges[if_type].min && in cci550_validate_hw_event()
[all …]
/Linux-v5.10/drivers/media/i2c/smiapp/
Dsmiapp.h128 #define SMIAPP_IDENT_FQ(manufacturer, model, rev, fl, _name, _quirk) \ argument
130 .model_id = model, \
136 #define SMIAPP_IDENT_LQ(manufacturer, model, rev, _name, _quirk) \ argument
138 .model_id = model, \
144 #define SMIAPP_IDENT_L(manufacturer, model, rev, _name) \ argument
146 .model_id = model, \
151 #define SMIAPP_IDENT_Q(manufacturer, model, rev, _name, _quirk) \ argument
153 .model_id = model, \
159 #define SMIAPP_IDENT(manufacturer, model, rev, _name) \ argument
161 .model_id = model, \
/Linux-v5.10/arch/m68k/include/uapi/asm/
Dbootinfo-hp300.h14 #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-v5.10/sound/firewire/oxfw/
Doxfw.c52 char model[32]; in detect_loud_models() local
56 model, sizeof(model)); in detect_loud_models()
60 return match_string(models, ARRAY_SIZE(models), model) >= 0; in detect_loud_models()
68 char model[32]; in name_card() local
79 /* get model name from unit directory */ in name_card()
81 model, sizeof(model)); in name_card()
101 m = model; in name_card()
130 int vendor, model; in detect_quirks() local
164 vendor = model = 0; in detect_quirks()
170 model = val; in detect_quirks()
[all …]
/Linux-v5.10/arch/powerpc/platforms/chrp/
Dsetup.c101 const char *model = ""; in chrp_show_cpuinfo() local
105 model = of_get_property(root, "model", NULL); in chrp_show_cpuinfo()
106 seq_printf(m, "machine\t\t: CHRP %s\n", model); in chrp_show_cpuinfo()
109 if (model && !strncmp(model, "IBM,LongTrail", 13)) { in chrp_show_cpuinfo()
122 model = "4 MB"; in chrp_show_cpuinfo()
125 model = "8 MB"; in chrp_show_cpuinfo()
128 model = "16 MB"; in chrp_show_cpuinfo()
131 model = "32 MB"; in chrp_show_cpuinfo()
134 model = "64 MB"; in chrp_show_cpuinfo()
137 model = "128 MB"; in chrp_show_cpuinfo()
[all …]
/Linux-v5.10/arch/alpha/kernel/
Dpc873xx.c13 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()

12345678910>>...127