/linux/Documentation/devicetree/bindings/arm/bcm/ |
A D | bcm2835.yaml | 23 - raspberrypi,4-model-b 29 - raspberrypi,model-a 30 - raspberrypi,model-a-plus 31 - raspberrypi,model-b 33 - raspberrypi,model-b-rev2 34 - raspberrypi,model-b-plus 36 - raspberrypi,model-zero 37 - raspberrypi,model-zero-w 43 - raspberrypi,2-model-b 49 - raspberrypi,3-model-a-plus [all …]
|
/linux/arch/x86/include/asm/ |
A D | cpu_device_id.h | 46 .model = _model, \ 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, \ 128 #define X86_MATCH_VENDOR_FAM_MODEL(vendor, family, model, data) \ argument 129 X86_MATCH_VENDOR_FAM_MODEL_FEATURE(vendor, family, model, \ 160 #define X86_MATCH_INTEL_FAM6_MODEL(model, data) \ argument 161 X86_MATCH_VENDOR_FAM_MODEL(INTEL, 6, INTEL_FAM6_##model, data) 163 #define X86_MATCH_INTEL_FAM6_MODEL_STEPPINGS(model, steppings, data) \ argument 164 X86_MATCH_VENDOR_FAM_MODEL_STEPPINGS_FEATURE(INTEL, 6, INTEL_FAM6_##model, \ 185 #define INTEL_CPU_DESC(model, stepping, revision) { \ argument [all …]
|
/linux/drivers/hwmon/ |
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/sound/pci/oxygen/ |
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() 388 chip->model.misc_flags, in oxygen_init() 575 chip->model.cleanup(chip); in oxygen_card_free() 647 chip->model.init(chip); in oxygen_pci_probe() 715 if (chip->model.suspend) in oxygen_pci_suspend() 716 chip->model.suspend(chip); in oxygen_pci_suspend() 773 if (chip->model.resume) in oxygen_pci_resume() 774 chip->model.resume(chip); in oxygen_pci_resume() [all …]
|
A D | oxygen.c | 759 chip->model = model_generic; in get_oxygen_model() 763 chip->model.init = meridian_init; in get_oxygen_model() 776 chip->model.init = claro_init; in get_oxygen_model() 780 chip->model.resume = claro_resume; in get_oxygen_model() 783 chip->model.init = claro_halo_init; in get_oxygen_model() 787 chip->model.resume = claro_resume; in get_oxygen_model() 800 chip->model.chip = "CMI8787"; in get_oxygen_model() 802 chip->model.init = fantasia_init; in get_oxygen_model() 805 chip->model.resume = stereo_resume; in get_oxygen_model() 815 chip->model.dac_channels_pcm = 2; in get_oxygen_model() [all …]
|
A D | xonar_pcm179x.c | 1280 chip->model = model_xonar_d2; in get_xonar_pcm179x_model() 1284 chip->model = model_xonar_d2; in get_xonar_pcm179x_model() 1286 chip->model.init = xonar_d2x_init; in get_xonar_pcm179x_model() 1289 chip->model = model_xonar_hdav; in get_xonar_pcm179x_model() 1303 chip->model = model_xonar_st; in get_xonar_pcm179x_model() 1312 chip->model.dac_channels_pcm = 8; in get_xonar_pcm179x_model() 1314 chip->model.dac_volume_min = 255; in get_xonar_pcm179x_model() 1320 chip->model = model_xonar_st; in get_xonar_pcm179x_model() 1327 chip->model = model_xonar_st; in get_xonar_pcm179x_model() 1345 chip->model = model_xonar_st; in get_xonar_pcm179x_model() [all …]
|
A D | oxygen_pcm.c | 149 if (chip->model.pcm_hardware_filter) 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() 396 chip->model.adc_i2s_format | in oxygen_rec_b_hw_params() 407 chip->model.set_adc_params(chip, hw_params); in oxygen_rec_b_hw_params() 433 chip->model.adc_i2s_format | in oxygen_rec_c_hw_params() 444 chip->model.set_adc_params(chip, hw_params); in oxygen_rec_c_hw_params() 496 chip->model.dac_i2s_format | in oxygen_multich_hw_params() [all …]
|
/linux/drivers/scsi/ |
A D | scsi_devinfo.c | 24 char model[16]; member 52 char *model; member 368 scsi_strcpy_devinfo("model", devinfo->model, sizeof(devinfo->model), in scsi_dev_info_list_add_keyed() 369 model, compatible); in scsi_dev_info_list_add_keyed() 445 mmax = sizeof(devinfo->model); in scsi_dev_info_list_find() 446 mskip = model; in scsi_dev_info_list_find() 469 mlen = strnlen(devinfo->model, sizeof(devinfo->model)); in scsi_dev_info_list_find() 476 !memcmp(devinfo->model, model, in scsi_dev_info_list_find() 548 model = strsep(&next, ":"); in scsi_dev_info_list_add_str() 549 if (model) in scsi_dev_info_list_add_str() [all …]
|
/linux/drivers/gpu/drm/mgag200/ |
A D | mgag200_drv.c | 189 mdev->model.g200.pclk_max = tmp * 10; in mgag200_g200_interpret_bios() 199 mdev->model.g200.ref_clk = 14318; in mgag200_g200_interpret_bios() 205 mdev->model.g200.ref_clk = 14318; in mgag200_g200_interpret_bios() 212 mdev->model.g200.pclk_max = pins[38] * tmp; in mgag200_g200_interpret_bios() 214 mdev->model.g200.ref_clk = 14318; in mgag200_g200_interpret_bios() 229 mdev->model.g200.pclk_min = 50000; in mgag200_g200_init_refclk() 230 mdev->model.g200.pclk_max = 230000; in mgag200_g200_init_refclk() 231 mdev->model.g200.ref_clk = 27050; in mgag200_g200_init_refclk() 246 mdev->model.g200.pclk_min, mdev->model.g200.pclk_max, in mgag200_g200_init_refclk() 247 mdev->model.g200.ref_clk); in mgag200_g200_init_refclk() [all …]
|
/linux/arch/powerpc/platforms/chrp/ |
A D | setup.c | 101 const char *model = ""; in chrp_show_cpuinfo() local 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() 140 model = "Reserved"; in chrp_show_cpuinfo() 197 const char *model; in sio_init() local [all …]
|
/linux/arch/arm64/kernel/ |
A D | cpu_errata.c | 47 u32 model; in is_kryo_midr() local 51 model = read_cpuid_id(); in is_kryo_midr() 55 return model == entry->midr_range.model; in is_kryo_midr() 128 #define CAP_MIDR_ALL_VERSIONS(model) \ argument 130 .midr_range = MIDR_ALL_VERSIONS(model) 148 #define ERRATA_MIDR_REV(model, var, rev) \ argument 149 ERRATA_MIDR_RANGE(model, var, rev, var, rev) 152 #define ERRATA_MIDR_ALL_VERSIONS(model) \ argument 154 CAP_MIDR_ALL_VERSIONS(model) 204 .midr_range.model = MIDR_QCOM_KRYO, [all …]
|
/linux/drivers/perf/ |
A D | arm-cci.c | 38 #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 1401 const struct cci_pmu_model *model = cci_pmu->model; in cci_pmu_init() local 1402 char *name = model->name; in cci_pmu_init() 1415 .name = cci_pmu->model->name, in cci_pmu_init() 1611 if (!model) { in cci_pmu_alloc() 1616 if (!model) { in cci_pmu_alloc() [all …]
|
/linux/tools/perf/arch/s390/util/ |
A D | header.c | 33 char type[8], model[33], version[8], manufacturer[32], authorization[8]; in get_cpuid() local 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() 92 if (!manufacturer[0] || !type[0] || !model[0]) in get_cpuid() 132 manufacturer, type, model, version, in get_cpuid() 136 model); in get_cpuid()
|
/linux/drivers/macintosh/ |
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 == 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/drivers/parisc/ |
A D | led.c | 111 .model = DISPLAY_MODEL_LCD, 529 if (lcd_info.model == DISPLAY_MODEL_LCD) in led_halt() 553 lcd_info.model = model; /* store the values */ in register_led_driver() 556 switch (lcd_info.model) { in register_led_driver() 585 __func__, lcd_info.model); in register_led_driver() 615 switch (lcd_info.model) { in register_led_regions() 706 lcd_info.model = DISPLAY_MODEL_NONE; in led_init() 714 __FILE__, lcd_info.model, in led_init() 729 switch (lcd_info.model) { in led_init() 751 lcd_info.model); in led_init() [all …]
|
/linux/sound/firewire/oxfw/ |
A D | oxfw.c | 53 char model[32]; in detect_loud_models() local 57 model, sizeof(model)); in detect_loud_models() 69 char model[32]; in name_card() local 82 model, sizeof(model)); in name_card() 104 m = model; in name_card() 136 int vendor, model; in detect_quirks() local 179 vendor = model = 0; in detect_quirks() 185 model = val; in detect_quirks() 197 if (model == MODEL_ONYX_1640I) { in detect_quirks() 309 #define OXFW_DEV_ENTRY(vendor, model, data) \ argument [all …]
|
/linux/tools/memory-model/ |
A D | README | 9 This directory contains the memory consistency model (memory model, for 37 If you absolutely need to run the model in this particular release, 46 memory model maintainers. 72 tools/memory-model/litmus-tests/ 84 tools/memory-model/Documentation/litmus-tests.txt 87 located in the tools/memory-model directory. 89 To run SB+fencembonceonces.litmus against the memory model: 91 $ cd $LINUX_SOURCE_TREE/tools/memory-model 173 event types used by the memory model and (2) performs RCU 181 by the memory model. Allowed executions are those which [all …]
|
/linux/drivers/media/usb/tm6000/ |
A D | tm6000-cards.c | 41 #define is_generic(model) ((model == TM6000_BOARD_UNKNOWN) || \ argument 639 switch (dev->model) { in tm6000_flash_led() 657 switch (dev->model) { in tm6000_flash_led() 796 switch (dev->model) { in tm6000_cards_setup() 927 switch (dev->model) { in tm6000_config_tuner() 991 switch (dev->model) { in fill_board_specific_data() 1012 int i, model = -1; in use_alternative_detection_method() local 1027 model = i; in use_alternative_detection_method() 1031 if (model < 0) { in use_alternative_detection_method() 1036 dev->model = model; in use_alternative_detection_method() [all …]
|
/linux/arch/alpha/kernel/ |
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/media/i2c/ccs/ |
A D | ccs.h | 138 #define CCS_IDENT_FQ(manufacturer, model, rev, fl, _name, _quirk) \ argument 140 .model_id = model, \ 146 #define CCS_IDENT_LQ(manufacturer, model, rev, _name, _quirk) \ argument 148 .model_id = model, \ 154 #define CCS_IDENT_L(manufacturer, model, rev, _name) \ argument 156 .model_id = model, \ 161 #define CCS_IDENT_Q(manufacturer, model, rev, _name, _quirk) \ argument 163 .model_id = model, \ 169 #define CCS_IDENT(manufacturer, model, rev, _name) \ argument 171 .model_id = model, \
|
/linux/drivers/comedi/drivers/ |
A D | vmk80xx.c | 110 enum vmk80xx_model model; member 124 .model = VMK8055_MODEL, 134 .model = VMK8061_MODEL, 152 enum vmk80xx_model model; member 187 if (devpriv->model == VMK8061_MODEL) { in vmk80xx_read_packet() 248 switch (devpriv->model) { in vmk80xx_ai_insn_read() 297 switch (devpriv->model) { in vmk80xx_ao_insn_write() 377 if (devpriv->model == VMK8055_MODEL) in vmk80xx_di_insn_bits() 449 switch (devpriv->model) { in vmk80xx_cnt_insn_read() 706 if (devpriv->model == VMK8055_MODEL) in vmk80xx_init_subdevices() [all …]
|
/linux/arch/s390/kvm/ |
A D | kvm-s390.c | 1305 kvm->arch.model.ibc, in kvm_s390_set_processor() 1306 kvm->arch.model.cpuid); in kvm_s390_set_processor() 1308 kvm->arch.model.fac_list[0], in kvm_s390_set_processor() 1309 kvm->arch.model.fac_list[1], in kvm_s390_set_processor() 1456 kvm->arch.model.ibc, in kvm_s390_get_processor() 1457 kvm->arch.model.cpuid); in kvm_s390_get_processor() 1459 kvm->arch.model.fac_list[0], in kvm_s390_get_processor() 1460 kvm->arch.model.fac_list[1], in kvm_s390_get_processor() 1486 kvm->arch.model.ibc, in kvm_s390_get_machine() 1487 kvm->arch.model.cpuid); in kvm_s390_get_machine() [all …]
|
/linux/drivers/input/joystick/ |
A D | tmdc.c | 264 const struct tmdc_model *model; in tmdc_setup_port() local 279 for (model = tmdc_models; model->id && model->id != port->mode; model++) in tmdc_setup_port() 282 port->abs = model->axes; in tmdc_setup_port() 283 port->btn = model->buttons; in tmdc_setup_port() 285 if (!model->id) { in tmdc_setup_port() 290 port->absc = model->abs; in tmdc_setup_port() 292 port->btnc[i] = model->btnc[i]; in tmdc_setup_port() 296 port->btno[i] = model->btno[i]; in tmdc_setup_port() 298 snprintf(port->name, sizeof(port->name), model->name, in tmdc_setup_port() 308 input_dev->id.product = model->id; in tmdc_setup_port() [all …]
|
/linux/drivers/hid/ |
A D | hid-thrustmaster.c | 100 uint16_t model; member 110 uint16_t model; member 206 uint16_t model = 0; in thrustmaster_model_handler() local 216 model = le16_to_cpu(tm_wheel->response->data.a.model); in thrustmaster_model_handler() 218 model = le16_to_cpu(tm_wheel->response->data.b.model); in thrustmaster_model_handler() 225 if (tm_wheels_infos[i].wheel_type == model) in thrustmaster_model_handler() 229 hid_info(hdev, "Wheel with model id 0x%x is a %s\n", model, twi->wheel_name); in thrustmaster_model_handler() 231 …hid_err(hdev, "Unknown wheel's model id 0x%x, unable to proceed further with wheel init\n", model); in thrustmaster_model_handler()
|
/linux/drivers/cpufreq/ |
A D | speedstep-centrino.c | 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() 253 if (model->op_points == NULL) { in centrino_cpu_init_table() 261 per_cpu(centrino_model, policy->cpu) = model; in centrino_cpu_init_table() 264 model->model_name, model->max_freq); in centrino_cpu_init_table()
|