/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/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/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 214 * to get [what it seems to be] the wheel's model. 216 * If the model id is recognized then we send an opportune USB CONTROL REQUEST 223 uint16_t model = 0; in thrustmaster_model_handler() local 228 hid_err(hdev, "URB to get model id failed with error %d\n", urb->status); in thrustmaster_model_handler() 233 model = le16_to_cpu(tm_wheel->response->data.a.model); in thrustmaster_model_handler() 235 model = le16_to_cpu(tm_wheel->response->data.b.model); in thrustmaster_model_handler() [all …]
|
/linux/drivers/scsi/ |
H A D | scsi_devinfo.c | 24 char model[16]; member 51 char *model; member 259 {"WangDAT", "Model 2600", "01.7", BLIST_SELECT_NO_ATN}, 260 {"WangDAT", "Model 3200", "02.2", BLIST_SELECT_NO_ATN}, 261 {"WangDAT", "Model 1300", "02.4", BLIST_SELECT_NO_ATN}, 287 * devinfo vendor and model strings. 314 * @model: model (product) string 319 * Create and add one dev_info entry for @vendor, @model, @strflags or 326 static int scsi_dev_info_list_add(int compatible, char *vendor, char *model, in scsi_dev_info_list_add() argument 329 return scsi_dev_info_list_add_keyed(compatible, vendor, model, in scsi_dev_info_list_add() [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/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/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/drivers/parisc/ |
H A D | led.c | 55 unsigned long model:16; /* DISPLAY_MODEL_XXXX */ member 80 .model = DISPLAY_MODEL_NONE, 103 if (lcd_info.model != DISPLAY_MODEL_LCD) in lcd_print_now() 389 * @model: model type, one of the DISPLAY_MODEL_XXXX values 396 int __init register_led_driver(int model, unsigned long cmd_reg, unsigned long data_reg) in register_led_driver() argument 405 lcd_info.model = model; /* store the values */ in register_led_driver() 408 switch (lcd_info.model) { in register_led_driver() 436 pr_err("led: Unknown LCD/LED model type %d\n", lcd_info.model); in register_led_driver() 472 lcd_info.model = DISPLAY_MODEL_LCD; in early_led_init() 484 lcd_info.model = DISPLAY_MODEL_NONE; in early_led_init() [all …]
|
/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/media/i2c/ccs/ |
H A D | ccs.h | 126 #define CCS_IDENT_FQ(manufacturer, model, rev, fl, _name, _quirk) \ argument 128 .model_id = model, \ 134 #define CCS_IDENT_LQ(manufacturer, model, rev, _name, _quirk) \ argument 136 .model_id = model, \ 142 #define CCS_IDENT_L(manufacturer, model, rev, _name) \ argument 144 .model_id = model, \ 149 #define CCS_IDENT_Q(manufacturer, model, rev, _name, _quirk) \ argument 151 .model_id = model, \ 157 #define CCS_IDENT(manufacturer, model, rev, _name) \ argument 159 .model_id = model, \
|
/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/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/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 …]
|
/linux/arch/arm64/kernel/ |
H A D | cpu_errata.c | 47 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() 124 #define CAP_MIDR_RANGE(model, v_min, r_min, v_max, r_max) \ argument 126 .midr_range = MIDR_RANGE(model, v_min, r_min, v_max, r_max) 128 #define CAP_MIDR_ALL_VERSIONS(model) \ argument 130 .midr_range = MIDR_ALL_VERSIONS(model) 135 #define ERRATA_MIDR_RANGE(model, v_mi argument 148 ERRATA_MIDR_REV(model,var,rev) global() argument 152 ERRATA_MIDR_ALL_VERSIONS(model) global() argument [all...] |
/linux/arch/powerpc/platforms/cell/ |
H A D | setup.c | 66 const char *model = ""; in cell_show_cpuinfo() local 70 model = of_get_property(root, "model", NULL); in cell_show_cpuinfo() 71 seq_printf(m, "machine\t\t: CHRP %s\n", model); in cell_show_cpuinfo() 102 s = of_get_property(hose->dn, "model", NULL); in cell_fixup_pcie_rootcomplex() 118 const char *model; in cell_setup_phb() local 128 model = of_get_property(np, "model", NULL); in cell_setup_phb() 129 if (model == NULL || !of_node_name_eq(np, "pci")) in cell_setup_phb() 133 if (strcmp(model, "Spider")) in cell_setup_phb()
|
/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/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/Documentation/driver-api/driver-model/ |
H A D | porting.rst | 2 Porting Drivers to the New Driver Model 12 Please refer to `Documentation/driver-api/driver-model/*.rst` for definitions of 15 Most of the work of porting devices drivers to the new model happens 20 In a nutshell, the driver model consists of a set of objects that can 24 The generic objects must be registered with the driver model core. By 138 The driver model maintains an ordered list of devices that it uses 160 The release field is a callback that the driver model core calls 168 with the driver model core by doing:: 178 it. It should instead wait for the driver model core to call the 231 of operations that the driver model core may call. [all …]
|