Home
last modified time | relevance | path

Searched refs:model (Results 1 – 200 of 1790) sorted by relevance

123456789

/linux-4.4.14/arch/powerpc/oprofile/
Dcommon.c26 static struct op_powerpc_model *model; variable
35 model->handle_interrupt(regs, ctr); in op_handle_interrupt()
42 ret = model->cpu_setup(ctr); in op_powerpc_cpu_setup()
60 op_per_cpu_rc = model->reg_setup(ctr, &sys, model->num_counters); in op_powerpc_setup()
90 ret = model->start(ctr); in op_powerpc_cpu_start()
99 if (model->global_start) in op_powerpc_start()
100 return model->global_start(ctr); in op_powerpc_start()
101 if (model->start) { in op_powerpc_start()
111 model->stop(); in op_powerpc_cpu_stop()
116 if (model->stop) in op_powerpc_stop()
[all …]
/linux-4.4.14/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 …]
Dop_x86_model.h44 void (*setup_ctrs)(struct op_x86_model_spec const *model,
52 void (*switch_ctrl)(struct op_x86_model_spec const *model,
79 extern u64 op_x86_get_ctrl(struct op_x86_model_spec const *model,
Dop_model_amd.c269 static void op_mux_switch_ctrl(struct op_x86_model_spec const *model, in op_mux_switch_ctrl() argument
281 val &= model->reserved; in op_mux_switch_ctrl()
282 val |= op_x86_get_ctrl(model, &counter_config[virt]); in op_mux_switch_ctrl()
334 static void op_amd_setup_ctrs(struct op_x86_model_spec const *model, in op_amd_setup_ctrs() argument
356 val &= model->reserved; in op_amd_setup_ctrs()
376 val &= model->reserved; in op_amd_setup_ctrs()
377 val |= op_x86_get_ctrl(model, &counter_config[virt]); in op_amd_setup_ctrs()
Dop_model_ppro.c72 static void ppro_setup_ctrs(struct op_x86_model_spec const *model, in ppro_setup_ctrs() argument
102 val &= model->reserved; in ppro_setup_ctrs()
117 val &= model->reserved; in ppro_setup_ctrs()
118 val |= op_x86_get_ctrl(model, &counter_config[i]); in ppro_setup_ctrs()
/linux-4.4.14/sound/pci/oxygen/
Doxygen.c218 data->dacs = chip->model.dac_channels_pcm / 2; in ak4396_init()
772 chip->model = model_generic; in get_oxygen_model()
776 chip->model.init = meridian_init; in get_oxygen_model()
777 chip->model.mixer_init = meridian_mixer_init; in get_oxygen_model()
778 chip->model.resume = meridian_resume; in get_oxygen_model()
779 chip->model.set_adc_params = set_ak5385_params; in get_oxygen_model()
780 chip->model.dump_registers = dump_ak4396_registers; in get_oxygen_model()
781 chip->model.device_config = PLAYBACK_0_TO_I2S | in get_oxygen_model()
786 chip->model.device_config |= AC97_CD_INPUT; in get_oxygen_model()
789 chip->model.init = claro_init; in get_oxygen_model()
[all …]
Doxygen_lib.c61 if (chip->model.uart_input) in oxygen_read_uart()
62 chip->model.uart_input(chip); in oxygen_read_uart()
195 if (chip->model.gpio_changed) in oxygen_gpio_changed()
196 chip->model.gpio_changed(chip); in oxygen_gpio_changed()
241 if (chip->model.dump_registers) in oxygen_proc_read()
242 chip->model.dump_registers(chip, buffer); in oxygen_proc_read()
374 chip->dac_volume[i] = chip->model.dac_volume_min; in oxygen_init()
391 chip->model.function_flags, in oxygen_init()
403 chip->model.misc_flags, in oxygen_init()
419 chip->model.dac_i2s_format | in oxygen_init()
[all …]
Dxonar_pcm179x.c269 if ((chip->model.function_flags & OXYGEN_FUNCTION_2WIRE_SPI_MASK) == in pcm1796_write()
393 data->pcm179x.dacs = chip->model.dac_channels_mixer / 2; in xonar_hdav_init()
394 data->pcm179x.h6 = chip->model.dac_channels_mixer > 2; in xonar_hdav_init()
424 data->dacs = chip->model.dac_channels_mixer / 2; in xonar_st_init_common()
425 data->h6 = chip->model.dac_channels_mixer > 2; in xonar_st_init_common()
473 data->h6 = chip->model.dac_channels_mixer > 2; in xonar_st_init()
1224 chip->model = model_xonar_d2; in get_xonar_pcm179x_model()
1225 chip->model.shortname = "Xonar D2"; in get_xonar_pcm179x_model()
1228 chip->model = model_xonar_d2; in get_xonar_pcm179x_model()
1229 chip->model.shortname = "Xonar D2X"; in get_xonar_pcm179x_model()
[all …]
Doxygen_pcm.c141 (chip->model.device_config & CAPTURE_2_FROM_AC97_1)) in oxygen_open()
147 if (chip->model.device_config & CAPTURE_1_FROM_SPDIF) { in oxygen_open()
158 runtime->hw.channels_max = chip->model.dac_channels_pcm; in oxygen_open()
161 if (chip->model.pcm_hardware_filter) in oxygen_open()
162 chip->model.pcm_hardware_filter(channel, &runtime->hw); in oxygen_open()
348 mclks = chip->model.dac_mclks; in get_mclk()
350 mclks = chip->model.adc_mclks; in get_mclk()
378 chip->model.adc_i2s_format | in oxygen_rec_a_hw_params()
388 chip->model.set_adc_params(chip, hw_params); in oxygen_rec_a_hw_params()
405 (chip->model.device_config & CAPTURE_2_FROM_AC97_1); in oxygen_rec_b_hw_params()
[all …]
Doxygen_mixer.c34 info->count = chip->model.dac_channels_mixer; in dac_volume_info()
35 info->value.integer.min = chip->model.dac_volume_min; in dac_volume_info()
36 info->value.integer.max = chip->model.dac_volume_max; in dac_volume_info()
47 for (i = 0; i < chip->model.dac_channels_mixer; ++i) in dac_volume_get()
62 for (i = 0; i < chip->model.dac_channels_mixer; ++i) in dac_volume_put()
68 chip->model.update_dac_volume(chip); in dac_volume_put()
94 chip->model.update_dac_mute(chip); in dac_mute_put()
102 if (chip->model.dac_channels_pcm < 8) in upmix_item_count()
104 else if (chip->model.update_center_lfe_mix) in upmix_item_count()
183 if (chip->model.adjust_dac_routing) in oxygen_update_dac_routing()
[all …]
Dxonar_cs43xx.c439 chip->model = model_xonar_d1; in get_xonar_cs43xx_model()
440 chip->model.shortname = "Xonar D1"; in get_xonar_cs43xx_model()
444 chip->model = model_xonar_d1; in get_xonar_cs43xx_model()
445 chip->model.shortname = "Xonar DX"; in get_xonar_cs43xx_model()
446 chip->model.init = xonar_dx_init; in get_xonar_cs43xx_model()
/linux-4.4.14/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-4.4.14/drivers/scsi/
Dscsi_devinfo.c23 char model[16]; member
52 char *model; member
330 static int scsi_dev_info_list_add(int compatible, char *vendor, char *model, in scsi_dev_info_list_add() argument
333 return scsi_dev_info_list_add_keyed(compatible, vendor, model, in scsi_dev_info_list_add()
356 int scsi_dev_info_list_add_keyed(int compatible, char *vendor, char *model, in scsi_dev_info_list_add_keyed() argument
374 scsi_strcpy_devinfo("model", devinfo->model, sizeof(devinfo->model), in scsi_dev_info_list_add_keyed()
375 model, compatible); in scsi_dev_info_list_add_keyed()
408 const char *model, int key) in scsi_dev_info_list_find() argument
440 mskip = model; in scsi_dev_info_list_find()
457 if (memcmp(devinfo->model, mskip, mmax) || in scsi_dev_info_list_find()
[all …]
Dsr_vendor.c72 const char *model = cd->device->model; in sr_vendor_init()
85 if (!strncmp(model, "CD-ROM DRIVE:25", 15) || in sr_vendor_init()
86 !strncmp(model, "CD-ROM DRIVE:36", 15) || in sr_vendor_init()
87 !strncmp(model, "CD-ROM DRIVE:83", 15) || in sr_vendor_init()
88 !strncmp(model, "CD-ROM DRIVE:84 ", 16) in sr_vendor_init()
92 || !strncmp(model, "CD-ROM DRIVE:500", 16) in sr_vendor_init()
Dscsi_priv.h54 const unsigned char *model);
57 const unsigned char *model, int key);
59 char *model, char *strflags,
61 extern int scsi_dev_info_list_del_keyed(char *vendor, char *model, int key);
Dscsi_dh.c34 const char *model; member
85 !strncmp(sdev->model, b->model, strlen(b->model))) { in scsi_dh_find_driver()
/linux-4.4.14/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 (void)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-4.4.14/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-4.4.14/Documentation/devicetree/bindings/arm/bcm/
Dbrcm,bcm2835.txt6 compatible = "raspberrypi,model-a", "brcm,bcm2835";
10 compatible = "raspberrypi,model-a-plus", "brcm,bcm2835";
14 compatible = "raspberrypi,model-b", "brcm,bcm2835";
17 early model B with I2C0 rather than I2C1 routed to the expansion header
19 compatible = "raspberrypi,model-b-i2c0", "brcm,bcm2835";
23 compatible = "raspberrypi,model-b-rev2", "brcm,bcm2835";
27 compatible = "raspberrypi,model-b-plus", "brcm,bcm2835";
/linux-4.4.14/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 …]
Dpci.c214 const char *model, *machine; in chrp_find_bridges() local
267 model = of_get_property(dev, "model", NULL); in chrp_find_bridges()
268 if (model == NULL) in chrp_find_bridges()
269 model = "<none>"; in chrp_find_bridges()
270 if (strncmp(model, "IBM, Python", 11) == 0) { in chrp_find_bridges()
273 || strncmp(model, "Motorola, Grackle", 17) == 0) { in chrp_find_bridges()
284 } else if (!strncmp(model, "IBM,CPC710", 10)) { in chrp_find_bridges()
301 dev->full_name, model); in chrp_find_bridges()
/linux-4.4.14/arch/alpha/kernel/
Dpc873xx.c12 static unsigned int base, model; variable
22 return pc873xx_names[model]; in pc873xx_get_model()
53 model = PC87332; in pc873xx_probe()
56 model = PC87306; in pc873xx_probe()
59 model = PC87334; in pc873xx_probe()
62 model = PC87303; in pc873xx_probe()
/linux-4.4.14/drivers/media/i2c/smiapp/
Dsmiapp.h94 #define SMIAPP_IDENT_FQ(manufacturer, model, rev, fl, _name, _quirk) \ argument
96 .model_id = model, \
102 #define SMIAPP_IDENT_LQ(manufacturer, model, rev, _name, _quirk) \ argument
104 .model_id = model, \
110 #define SMIAPP_IDENT_L(manufacturer, model, rev, _name) \ argument
112 .model_id = model, \
117 #define SMIAPP_IDENT_Q(manufacturer, model, rev, _name, _quirk) \ argument
119 .model_id = model, \
125 #define SMIAPP_IDENT(manufacturer, model, rev, _name) \ argument
127 .model_id = model, \
/linux-4.4.14/drivers/hwmon/
Dk8temp.c145 static int is_rev_g_desktop(u8 model) in is_rev_g_desktop() argument
149 if (model < 0x69) in is_rev_g_desktop()
152 if (model == 0xc1 || model == 0x6c || model == 0x7c) in is_rev_g_desktop()
164 if ((model == 0x6f || model == 0x7f) && in is_rev_g_desktop()
169 if (model == 0x6b && in is_rev_g_desktop()
182 u8 model, stepping; in k8temp_probe() local
189 model = boot_cpu_data.x86_model; in k8temp_probe()
193 if ((model == 4 && stepping == 0) || in k8temp_probe()
194 (model == 5 && stepping <= 1)) in k8temp_probe()
201 if (model >= 0x40) { in k8temp_probe()
[all …]
Dcoretemp.c215 u8 model; member
271 if (c->x86_model == tm->model && in adjust_tjmax()
344 u8 model = c->x86_model; in cpu_has_tjmax() local
346 return model > 0xe && in cpu_has_tjmax()
347 model != 0x1c && in cpu_has_tjmax()
348 model != 0x26 && in cpu_has_tjmax()
349 model != 0x27 && in cpu_has_tjmax()
350 model != 0x35 && in cpu_has_tjmax()
351 model != 0x36; in cpu_has_tjmax()
Dhwmon-vid.c272 static u8 find_vrm(u8 family, u8 model, u8 stepping, u8 vendor) in find_vrm() argument
279 model >= vrm_models[i].model_from && in find_vrm()
280 model <= vrm_models[i].model_to && in find_vrm()
Dlm95241.c98 u8 config, model, trutherm; member
159 data->model & to_sensor_dev_attr(attr)->index ? "1\n" : "2\n"); in show_type()
182 data->model |= mask; in set_type()
185 data->model &= ~mask; in set_type()
191 data->model); in set_type()
375 data->model); in lm95241_init_client()
/linux-4.4.14/arch/c6x/boot/dts/
Dtms320c6678.dtsi13 model = "ti,c66x";
18 model = "ti,c66x";
23 model = "ti,c66x";
28 model = "ti,c66x";
33 model = "ti,c66x";
38 model = "ti,c66x";
43 model = "ti,c66x";
48 model = "ti,c66x";
54 model = "tms320c6678";
Dtms320c6472.dtsi13 model = "ti,c64x+";
18 model = "ti,c64x+";
23 model = "ti,c64x+";
28 model = "ti,c64x+";
33 model = "ti,c64x+";
38 model = "ti,c64x+";
44 model = "tms320c6472";
Dtms320c6474.dtsi13 model = "ti,c64x+";
18 model = "ti,c64x+";
23 model = "ti,c64x+";
29 model = "tms320c6474";
Dtms320c6457.dtsi12 model = "ti,c64x+";
19 model = "tms320c6457";
Dtms320c6455.dtsi12 model = "ti,c64x+";
19 model = "tms320c6455";
/linux-4.4.14/drivers/parisc/
Dled.c90 unsigned long model:16; /* DISPLAY_MODEL_XXXX */ member
115 .model = DISPLAY_MODEL_LCD,
534 if (lcd_info.model == DISPLAY_MODEL_LCD) in led_halt()
551 int __init register_led_driver(int model, unsigned long cmd_reg, unsigned long data_reg) in register_led_driver() argument
558 lcd_info.model = model; /* store the values */ in register_led_driver()
561 switch (lcd_info.model) { in register_led_driver()
587 __func__, lcd_info.model); in register_led_driver()
617 switch (lcd_info.model) { in register_led_regions()
643 if (!led_func_ptr || lcd_info.model != DISPLAY_MODEL_LCD) in lcd_print()
708 lcd_info.model = DISPLAY_MODEL_NONE; in led_init()
[all …]
/linux-4.4.14/sound/firewire/oxfw/
Doxfw.c42 char model[32]; in detect_loud_models() local
47 model, sizeof(model)); in detect_loud_models()
52 if (strcmp(models[i], model) == 0) in detect_loud_models()
63 char model[32]; in name_card() local
76 model, sizeof(model)); in name_card()
94 m = model; in name_card()
140 int vendor, model; in detect_quirks() local
143 vendor = model = 0; in detect_quirks()
149 model = val; in detect_quirks()
156 if (vendor == VENDOR_LOUD && model == MODEL_SATELLITE) in detect_quirks()
/linux-4.4.14/arch/m68k/68360/
DMakefile4 model-y := ram
5 model-$(CONFIG_ROMKERNEL) := rom
11 $(obj)/head.o: $(obj)/head-$(model-y).o
12 ln -sf head-$(model-y).o $(obj)/head.o
/linux-4.4.14/sound/oss/
Dad1848.c78 int model; member
282 if ((devc->model != MD_1845) && (devc->model != MD_1845_SSCAPE)) in wait_for_calibration()
596 switch (devc->model) in ad1848_mixer_reset()
741 if (devc->model != MD_C930) in ad1848_mixer_ioctl()
810 …if (devc->model == MD_1845 || devc->model == MD_1845_SSCAPE) /* AD1845 has different timer than ot… in ad1848_set_speed()
921 if (!(arg & ad_format_mask[devc->model])) in ad1848_set_bits()
1104 if (devc->model == MD_1848) in ad1848_start_input()
1141 …if (devc->model == MD_1845 || devc->model == MD_1845_SSCAPE) /* Use alternate speed select registe… in ad1848_prepare_for_output()
1150 if (devc->model == MD_4232 || devc->model >= MD_4236) in ad1848_prepare_for_output()
1155 if (devc->model == MD_IWAVE) in ad1848_prepare_for_output()
[all …]
Dsb_common.c130 if (devc->model == MDL_SB16) in sb_intr()
192 if (devc->model == MDL_SB16 && src & 0x02) in sb_intr()
210 switch (devc->model) { in sbintr()
229 if (devc->model == MDL_ESS) return ess_dsp_reset (devc); in sb_dsp_reset()
432 devc->model = MDL_JAZZ; in init_Jazz16()
532 devc->model = MDL_ESSPCI; in sb_dsp_detect()
540 devc->model = MDL_YMPCI; in sb_dsp_detect()
606 devc->model = MDL_AZTECH; in sb_dsp_detect()
612 devc->model = MDL_ESSPCI; in sb_dsp_detect()
617 devc->model = MDL_YMPCI; in sb_dsp_detect()
[all …]
Dsb_mixer.c375 switch (devc->model) { in sb_mixer_set()
405 switch (devc->model) in set_recmask()
411 if (devc->model == MDL_ESS && ess_set_recmask (devc, &devmask)) { in set_recmask()
507 switch (devc->model) in set_outmask()
544 if (devc->model == MDL_SB16) { in sb_mixer_ioctl()
609 if (devc->model == MDL_ESS) in sb_mixer_ioctl()
611 else if (devc->model != MDL_JAZZ && devc->model != MDL_SMW) in sb_mixer_ioctl()
667 if (devc->model != MDL_ESS || !ess_mixer_reset (devc)) { in sb_mixer_reset()
685 switch (devc->model) in sb_mixer_init()
731 printk(KERN_WARNING "sb_mixer: Unsupported mixer type %d\n", devc->model); in sb_mixer_init()
Dopl3.c72 int model; member
137 if (devc->model == 2) in opl3_ioctl()
304 if (instr->key != FM_PATCH && (instr->key != OPL3_PATCH || devc->model != 2)) in store_instr()
729 if (devc->model != 2) in opl3_command()
737 if (devc->model != 2) in opl3_command()
771 if (devc->model == 2) in opl3_reset()
789 devc->v_alloc->max_voice = devc->nr_voice = (devc->model == 2) ? 18 : 9; in opl3_open()
801 if (devc->model == 2) in opl3_open()
809 devc->v_alloc->max_voice = devc->nr_voice = (devc->model == 2) ? 18 : 9; in opl3_close()
1141 devc->model = 1; in opl3_init()
[all …]
/linux-4.4.14/drivers/media/usb/tm6000/
Dtm6000-cards.c56 #define is_generic(model) ((model == TM6000_BOARD_UNKNOWN) || \ argument
57 (model == TM5600_BOARD_GENERIC) || \
58 (model == TM6000_BOARD_GENERIC) || \
59 (model == TM6010_BOARD_GENERIC))
654 switch (dev->model) { in tm6000_flash_led()
672 switch (dev->model) { in tm6000_flash_led()
739 switch (dev->model) { in tm6000_tuner_callback()
811 switch (dev->model) { in tm6000_cards_setup()
942 switch (dev->model) { in tm6000_config_tuner()
988 dev->dev_type = tm6000_boards[dev->model].type; in fill_board_specific_data()
[all …]
/linux-4.4.14/drivers/staging/comedi/drivers/
Dvmk80xx.c116 enum vmk80xx_model model; member
130 .model = VMK8055_MODEL,
140 .model = VMK8061_MODEL,
158 enum vmk80xx_model model; member
194 if (devpriv->model == VMK8061_MODEL) { in vmk80xx_read_packet()
215 if (devpriv->model == VMK8061_MODEL) { in vmk80xx_write_packet()
255 switch (devpriv->model) { in vmk80xx_ai_insn_read()
275 if (devpriv->model == VMK8055_MODEL) { in vmk80xx_ai_insn_read()
304 switch (devpriv->model) { in vmk80xx_ao_insn_write()
374 if (devpriv->model == VMK8061_MODEL) { in vmk80xx_di_insn_bits()
[all …]
/linux-4.4.14/drivers/bus/
Darm-cci.c83 #define CCI_PMU_CNTR_SIZE(model) ((model)->cntr_size) argument
84 #define CCI_PMU_CNTR_BASE(model, idx) ((idx) * CCI_PMU_CNTR_SIZE(model)) argument
88 #define CCI_PMU_MAX_HW_CNTRS(model) \ argument
89 ((model)->num_hw_cntrs + (model)->fixed_hw_cntrs)
141 const struct cci_pmu_model *model; member
391 if (ev_code >= cci_pmu->model->event_ranges[if_type].min && in cci400_validate_hw_event()
392 ev_code <= cci_pmu->model->event_ranges[if_type].max) in cci400_validate_hw_event()
596 if (ev_code >= cci_pmu->model->event_ranges[if_type].min && in cci500_validate_hw_event()
597 ev_code <= cci_pmu->model->event_ranges[if_type].max) in cci500_validate_hw_event()
630 CCI_PMU_CNTR_BASE(cci_pmu->model, idx) + offset); in pmu_read_register()
[all …]
/linux-4.4.14/arch/powerpc/platforms/cell/
Dsetup.c71 const char *model = ""; in cell_show_cpuinfo() local
75 model = of_get_property(root, "model", NULL); in cell_show_cpuinfo()
76 seq_printf(m, "machine\t\t: CHRP %s\n", model); in cell_show_cpuinfo()
123 const char *model; in cell_setup_phb() local
133 model = of_get_property(np, "model", NULL); in cell_setup_phb()
134 if (model == NULL || strcmp(np->name, "pci")) in cell_setup_phb()
138 if (strcmp(model, "Spider")) in cell_setup_phb()
Dqpace_setup.c50 const char *model = ""; in qpace_show_cpuinfo() local
54 model = of_get_property(root, "model", NULL); in qpace_show_cpuinfo()
55 seq_printf(m, "machine\t\t: CHRP %s\n", model); in qpace_show_cpuinfo()
/linux-4.4.14/drivers/input/joystick/
Dtmdc.c280 const struct tmdc_model *model; in tmdc_setup_port() local
295 for (model = tmdc_models; model->id && model->id != port->mode; model++) in tmdc_setup_port()
298 port->abs = model->axes; in tmdc_setup_port()
299 port->btn = model->buttons; in tmdc_setup_port()
301 if (!model->id) { in tmdc_setup_port()
306 port->absc = model->abs; in tmdc_setup_port()
308 port->btnc[i] = model->btnc[i]; in tmdc_setup_port()
312 port->btno[i] = model->btno[i]; in tmdc_setup_port()
314 snprintf(port->name, sizeof(port->name), model->name, in tmdc_setup_port()
324 input_dev->id.product = model->id; in tmdc_setup_port()
[all …]
/linux-4.4.14/drivers/staging/olpc_dcon/
DKconfig22 Enable support for the DCON in XO-1 model laptops. The kernel
23 communicates with the DCON using model-specific code. If you
24 have an XO-1 (or if you're unsure what model you have), you should
32 Enable support for the DCON in XO-1.5 model laptops. The kernel
33 communicates with the DCON using model-specific code. If you
34 have an XO-1.5 (or if you're unsure what model you have), you
/linux-4.4.14/drivers/cpufreq/
Dspeedstep-centrino.c235 struct cpu_model *model; in centrino_cpu_init_table() local
237 for(model = models; model->cpu_id != NULL; model++) in centrino_cpu_init_table()
238 if (centrino_verify_cpu_id(cpu, model->cpu_id) && in centrino_cpu_init_table()
239 (model->model_name == NULL || in centrino_cpu_init_table()
240 strcmp(cpu->x86_model_id, model->model_name) == 0)) in centrino_cpu_init_table()
243 if (model->cpu_id == NULL) { in centrino_cpu_init_table()
251 if (model->op_points == NULL) { in centrino_cpu_init_table()
259 per_cpu(centrino_model, policy->cpu) = model; in centrino_cpu_init_table()
262 model->model_name, model->max_freq); in centrino_cpu_init_table()
/linux-4.4.14/drivers/input/mouse/
Dlogips2pp.c33 u8 model; member
202 static const struct ps2pp_info *get_model_info(unsigned char model) in get_model_info() argument
255 if (model == ps2pp_list[i].model) in get_model_info()
332 unsigned char model, buttons; in ps2pp_init() local
345 model = ((param[0] >> 4) & 0x07) | ((param[0] << 3) & 0x78); in ps2pp_init()
348 if (!model || !buttons) in ps2pp_init()
351 model_info = get_model_info(model); in ps2pp_init()
390 psmouse_warn(psmouse, "Detected unknown Logitech mouse model %d\n", model); in ps2pp_init()
395 psmouse->model = model; in ps2pp_init()
/linux-4.4.14/tools/perf/arch/x86/util/
Dheader.c26 int family = -1, model = -1, step = -1; in get_cpuid() local
40 model = (a >> 4) & 0xf; /* Bits 7 - 4 */ in get_cpuid()
49 model += ((a >> 16) & 0xf) << 4; in get_cpuid()
51 nb = scnprintf(buffer, sz, "%s,%u,%u,%u$", vendor, family, model, step); in get_cpuid()
/linux-4.4.14/drivers/mfd/
Dda9063-core.c165 int model, variant_id, variant_code; in da9063_device_init() local
190 ret = regmap_read(da9063->regmap, DA9063_REG_CHIP_ID, &model); in da9063_device_init()
195 if (model != PMIC_DA9063) { in da9063_device_init()
196 dev_err(da9063->dev, "Invalid chip model id: 0x%02x\n", model); in da9063_device_init()
210 model, variant_id); in da9063_device_init()
218 da9063->model = model; in da9063_device_init()
/linux-4.4.14/sound/firewire/tascam/
Dtascam.c43 char model[9]; in identify_model() local
58 model[i] = c; in identify_model()
60 model[i] = '\0'; in identify_model()
63 if (strcmp(model, model_specs[i].name) == 0) { in identify_model()
72 strcpy(tscm->card->shortname, model); in identify_model()
73 strcpy(tscm->card->mixername, model); in identify_model()
75 "TASCAM %s, GUID %08x%08x at %s, S%d", model, in identify_model()
/linux-4.4.14/tools/power/x86/turbostat/
Dturbostat.c100 double discover_bclk(unsigned int family, unsigned int model);
1821 int probe_nhm_msrs(unsigned int family, unsigned int model) in probe_nhm_msrs() argument
1833 bclk = discover_bclk(family, model); in probe_nhm_msrs()
1835 switch (model) { in probe_nhm_msrs()
1886 int has_nhm_turbo_ratio_limit(unsigned int family, unsigned int model) in has_nhm_turbo_ratio_limit() argument
1888 switch (model) { in has_nhm_turbo_ratio_limit()
1897 int has_ivt_turbo_ratio_limit(unsigned int family, unsigned int model) in has_ivt_turbo_ratio_limit() argument
1905 switch (model) { in has_ivt_turbo_ratio_limit()
1913 int has_hsw_turbo_ratio_limit(unsigned int family, unsigned int model) in has_hsw_turbo_ratio_limit() argument
1921 switch (model) { in has_hsw_turbo_ratio_limit()
[all …]
/linux-4.4.14/Documentation/devicetree/bindings/clock/
Dnspire-clock.txt5 "lsi,nspire-cx-ahb-divider" for the AHB divider in the CX model
6 "lsi,nspire-classic-ahb-divider" for the AHB divider in the older model
7 "lsi,nspire-cx-clock" for the base clock in the CX model
8 "lsi,nspire-classic-clock" for the base clock in the older model
/linux-4.4.14/arch/m68k/atari/
Dconfig.c69 static void atari_get_model(char *model);
582 static void atari_get_model(char *model) in atari_get_model() argument
584 strcpy(model, "Atari "); in atari_get_model()
588 strcat(model, "Mega ST"); in atari_get_model()
590 strcat(model, "ST"); in atari_get_model()
594 strcat(model, "Mega STE"); in atari_get_model()
596 strcat(model, "STE"); in atari_get_model()
601 strcat(model, "Medusa"); in atari_get_model()
603 strcat(model, "TT"); in atari_get_model()
606 strcat(model, "Falcon"); in atari_get_model()
[all …]
/linux-4.4.14/Documentation/ABI/testing/
Dsysfs-bus-media1 What: /sys/bus/media/devices/.../model
5 Description: Contains the device model name in UTF-8. The device version is
6 is not be appended to the model name.
/linux-4.4.14/Documentation/devicetree/bindings/c6x/
Dsoc.txt13 - model: specific SoC model
22 model = "tms320c6455";
/linux-4.4.14/sound/pci/ymfpci/
Dymfpci.c183 const char *str, *model; in snd_card_ymfpci_probe() local
200 case 0x0004: str = "YMF724"; model = "DS-1"; break; in snd_card_ymfpci_probe()
201 case 0x000d: str = "YMF724F"; model = "DS-1"; break; in snd_card_ymfpci_probe()
202 case 0x000a: str = "YMF740"; model = "DS-1L"; break; in snd_card_ymfpci_probe()
203 case 0x000c: str = "YMF740C"; model = "DS-1L"; break; in snd_card_ymfpci_probe()
204 case 0x0010: str = "YMF744"; model = "DS-1S"; break; in snd_card_ymfpci_probe()
205 case 0x0012: str = "YMF754"; model = "DS-1E"; break; in snd_card_ymfpci_probe()
206 default: model = str = "???"; break; in snd_card_ymfpci_probe()
281 sprintf(card->shortname, "Yamaha %s (%s)", model, str); in snd_card_ymfpci_probe()
/linux-4.4.14/arch/x86/kernel/cpu/
Dmatch.c36 for (m = match; m->vendor | m->family | m->model | m->feature; m++) { in x86_match_cpu()
41 if (m->model != X86_MODEL_ANY && c->x86_model != m->model) in x86_match_cpu()
/linux-4.4.14/drivers/media/usb/cx231xx/
Dcx231xx-input.c68 if (!cx231xx_boards[dev->model].rc_map_name) in cx231xx_ir_init()
79 dev->init_data.name = cx231xx_boards[dev->model].name; in cx231xx_ir_init()
91 dev->init_data.ir_codes = cx231xx_boards[dev->model].rc_map_name; in cx231xx_ir_init()
99 ir_i2c_bus = cx231xx_boards[dev->model].ir_i2c_master; in cx231xx_ir_init()
Dcx231xx-cards.c943 if (dev->model == CX231XX_BOARD_PV_PLAYTV_USB_HYBRID) in cx231xx_tuner_callback()
976 dev->board = cx231xx_boards[dev->model]; in cx231xx_set_model()
985 dev->board.name, dev->model); in cx231xx_pre_card_setup()
1087 dev->tuner_type = cx231xx_boards[dev->model].tuner_type; in cx231xx_card_setup()
1088 if (cx231xx_boards[dev->model].tuner_addr) in cx231xx_card_setup()
1089 dev->tuner_addr = cx231xx_boards[dev->model].tuner_addr; in cx231xx_card_setup()
1118 switch (dev->model) { in cx231xx_card_setup()
1220 strlcpy(mdev->model, dev->board.name, sizeof(mdev->model)); in cx231xx_media_device_register()
1315 if (dev->model == CX231XX_BOARD_CNXT_VIDEO_GRABBER || in cx231xx_init_dev()
1316 dev->model == CX231XX_BOARD_HAUPPAUGE_USBLIVE2) { in cx231xx_init_dev()
[all …]
/linux-4.4.14/sound/firewire/digi00x/
Ddigi00x.c22 char *model; in name_card() local
30 model = skip_spaces(name); in name_card()
33 strcpy(dg00x->card->shortname, model); in name_card()
34 strcpy(dg00x->card->mixername, model); in name_card()
36 "Digidesign %s, GUID %08x%08x at %s, S%d", model, in name_card()
/linux-4.4.14/arch/parisc/kernel/
Dprocessor.c249 #define p ((unsigned long *)&boot_cpu_data.pdc.model) in collect_boot_cpu_data()
250 if (pdc_model_info(&boot_cpu_data.pdc.model) == PDC_OK) in collect_boot_cpu_data()
274 boot_cpu_data.hversion = boot_cpu_data.pdc.model.hversion; in collect_boot_cpu_data()
275 boot_cpu_data.sversion = boot_cpu_data.pdc.model.sversion; in collect_boot_cpu_data()
317 per_cpu(cpu_data, cpunum).fp_model = coproc_cfg.model; in init_per_cpu()
320 cpunum, coproc_cfg.revision, coproc_cfg.model); in init_per_cpu()
411 boot_cpu_data.pdc.model.sw_id); in show_cpuinfo()
/linux-4.4.14/drivers/s390/char/
Draw3270.c39 short model, rows, cols; member
477 int rc, model; in raw3270_size_device_vm() local
485 model = diag_data.vrdccrmd; in raw3270_size_device_vm()
487 if (rc || model < 2 || model > 5) in raw3270_size_device_vm()
488 model = 2; in raw3270_size_device_vm()
489 switch (model) { in raw3270_size_device_vm()
491 rp->model = model; in raw3270_size_device_vm()
496 rp->model = model; in raw3270_size_device_vm()
501 rp->model = model; in raw3270_size_device_vm()
506 rp->model = model; in raw3270_size_device_vm()
[all …]
/linux-4.4.14/sound/firewire/dice/
Ddice.c32 int key, val, vendor = -1, model = -1, err; in dice_interface_check() local
56 model = val; in dice_interface_check()
67 device->config_rom[4] >> 22 != model) { in dice_interface_check()
203 char vendor[32], model[32]; in dice_card_strings() local
224 strcpy(model, "?"); in dice_card_strings()
225 fw_csr_string(dice->unit->directory, CSR_MODEL, model, sizeof(model)); in dice_card_strings()
228 vendor, model, dev->config_rom[4] & 0x3fffff, in dice_card_strings()
/linux-4.4.14/arch/x86/kernel/
Dverify_cpu.S78 # family > 6 || (family == 6 && model >= 0xd)
79 movl $0x1, %eax # check CPU family and model
89 andl $0x000f00f0, %ecx # mask model and extended model
92 jb verify_cpu_check # family == 6, model < 0xd, skip
Dtsc_msr.c61 static int match_cpu(u8 family, u8 model) in match_cpu() argument
67 (model == freq_desc_tables[i].x86_model)) in match_cpu()
/linux-4.4.14/drivers/scsi/bfa/
Dbfad_attr.c733 char model[BFA_ADAPTER_MODEL_NAME_LEN]; in bfad_im_model_show() local
735 bfa_get_adapter_model(&bfad->bfa, model); in bfad_im_model_show()
736 return snprintf(buf, PAGE_SIZE, "%s\n", model); in bfad_im_model_show()
747 char model[BFA_ADAPTER_MODEL_NAME_LEN]; in bfad_im_model_desc_show() local
751 bfa_get_adapter_model(&bfad->bfa, model); in bfad_im_model_desc_show()
753 if (!strcmp(model, "Brocade-425")) in bfad_im_model_desc_show()
756 else if (!strcmp(model, "Brocade-825")) in bfad_im_model_desc_show()
759 else if (!strcmp(model, "Brocade-42B")) in bfad_im_model_desc_show()
762 else if (!strcmp(model, "Brocade-82B")) in bfad_im_model_desc_show()
765 else if (!strcmp(model, "Brocade-1010")) in bfad_im_model_desc_show()
[all …]
/linux-4.4.14/drivers/net/wireless/libertas/
Dif_sdio.c117 int model; member
184 switch (card->model) { in if_sdio_read_rx_len()
286 if (card->model == MODEL_8385) { in if_sdio_handle_event()
762 } else if ((card->model == MODEL_8686) && (scratch & 0x7fff)) { in if_sdio_prog_firmware()
768 ret = lbs_get_firmware_async(card->priv, &card->func->dev, card->model, in if_sdio_prog_firmware()
794 if ((card->model != MODEL_8385) in if_sdio_finish_power_on()
795 && (card->model != MODEL_8686)) in if_sdio_finish_power_on()
832 if (card->model == MODEL_8688) { in if_sdio_finish_power_on()
879 if ((card->model == MODEL_8686) && in if_sdio_power_on()
1187 unsigned int model; in if_sdio_probe() local
[all …]
Dif_cs.c64 u32 model; member
754 if (ret == 0 && (card->model != MODEL_8305)) in if_cs_prog_firmware()
901 card->model = get_model(p_dev->manf_id, p_dev->card_id); in if_cs_probe()
902 if (card->model == MODEL_UNKNOWN) { in if_cs_probe()
911 if (card->model == MODEL_8305) { in if_cs_probe()
920 if ((card->model == MODEL_8381) && prod_id < IF_CS_CF8381_B3_REV) { in if_cs_probe()
926 if ((card->model == MODEL_8385) && prod_id < IF_CS_CF8385_B1_REV) { in if_cs_probe()
948 ret = lbs_get_firmware_async(priv, &p_dev->dev, card->model, fw_table, in if_cs_probe()
/linux-4.4.14/sound/pci/ctxfi/
Dcthardware.c24 enum CTCARDS model, struct hw **rhw) in create_hw_obj() argument
44 (*rhw)->model = model; in create_hw_obj()
/linux-4.4.14/tools/power/cpupower/utils/helpers/
Dcpuid.c57 cpu_info->model = unknown; in get_cpu_info()
88 &cpu_info->model); in get_cpu_info()
96 cpu_info->model == unknown || in get_cpu_info()
146 switch (cpu_info->model) { in get_cpu_info()
/linux-4.4.14/tools/power/x86/x86_energy_perf_policy/
Dx86_energy_perf_policy.c140 unsigned int fms, family, model, stepping; in validate_cpuid() local
156 model = (fms >> 4) & 0xf; in validate_cpuid()
159 model += ((fms >> 16) & 0xf) << 4; in validate_cpuid()
164 family, model, stepping, family, model, stepping); in validate_cpuid()
/linux-4.4.14/drivers/isdn/sc/
Dinit.c54 int model; in sc_init() local
70 model = -1; in sc_init()
168 model = identify_board(ram[b], io[b]); in sc_init()
180 model = identify_board(i, io[b]); in sc_init()
182 if (model >= 0) { in sc_init()
184 boardname[model]); in sc_init()
197 if (!ram[b] || model < 0) { in sc_init()
209 switch (model) { in sc_init()
366 boardname[model], channels, irq[b], io[b], ram[b]); in sc_init()
/linux-4.4.14/arch/x86/include/asm/
Dmicrocode.h146 unsigned int x86, model; in x86_model() local
150 model = (sig >> 4) & 0xf; in x86_model()
153 model += ((sig >> 16) & 0xf) << 4; in x86_model()
155 return model; in x86_model()
/linux-4.4.14/arch/x86/platform/geode/
Dnet5501.c121 unsigned char *model = rombase + boards[i].offset; in net5501_present() local
123 if (!memcmp(model, boards[i].sig, boards[i].len)) { in net5501_present()
125 KBUILD_MODNAME, model); in net5501_present()
/linux-4.4.14/arch/s390/kernel/
Dlgr.c33 char model[16]; member
74 cpascii(lgr_info->model, si->model, sizeof(si->model)); in lgr_stsi_1_1_1()
Dperf_cpum_cf_events.c292 struct attribute **combined, **model; in cpumf_cf_event_group() local
299 model = cpumcf_z10_pmu_event_attr; in cpumf_cf_event_group()
303 model = cpumcf_z196_pmu_event_attr; in cpumf_cf_event_group()
307 model = cpumcf_zec12_pmu_event_attr; in cpumf_cf_event_group()
310 model = NULL; in cpumf_cf_event_group()
314 if (!model) in cpumf_cf_event_group()
317 combined = merge_attr(cpumcf_pmu_event_attr, model); in cpumf_cf_event_group()
/linux-4.4.14/drivers/input/touchscreen/
Dads7846.c107 u16 model; member
471 if (ts->model == 7846) in vbatt_adjust()
486 if (ts->model == 7843 && index < 2) /* in0, in1 */ in SHOW()
488 if (ts->model == 7845 && index != 2) /* in0 */ in SHOW()
511 switch (ts->model) { in ads784x_hwmon_register()
524 ts->model); in ads784x_hwmon_register()
673 if (ts->model == 7845) { in ads7846_get_value()
760 if (ts->model == 7845) { in ads7846_report_state()
776 if (ts->model == 7843) { in ads7846_report_state()
778 } else if (ts->model == 7845) { in ads7846_report_state()
[all …]
/linux-4.4.14/drivers/firewire/
Dsbp2.c344 u32 model; member
349 .model = 0x001010,
356 .model = 0x000000,
361 .model = SBP2_ROM_VALUE_WILDCARD,
366 .model = SBP2_ROM_VALUE_WILDCARD,
371 .model = SBP2_ROM_VALUE_WILDCARD,
376 .model = SBP2_ROM_VALUE_WILDCARD,
385 .model = 0x000000,
391 .model = 0x000021,
396 .model = 0x000022,
[all …]
/linux-4.4.14/drivers/ide/
Dide-pio-blacklist.c86 int ide_scan_pio_blacklist(char *model) in ide_scan_pio_blacklist() argument
91 if (strncmp(p->name, model, strlen(p->name)) == 0) in ide_scan_pio_blacklist()
Dqd65xx.c155 char model[ATA_ID_PROD_LEN]; in qd_find_disk_type() local
160 strncpy(model, m, ATA_ID_PROD_LEN); in qd_find_disk_type()
161 ide_fixstring(model, ATA_ID_PROD_LEN, 1); /* byte-swap */ in qd_find_disk_type()
164 if (!strncmp(p->model, model+p->offset, 4)) { in qd_find_disk_type()
/linux-4.4.14/sound/ppc/
Dpowermac.c69 switch (chip->model) { in snd_pmac_probe()
88 name_ext = chip->model == PMAC_TUMBLER ? "Tumbler" : "Snapper"; in snd_pmac_probe()
98 name_ext = chip->model == PMAC_SCREAMER ? "Screamer" : "AWACS"; in snd_pmac_probe()
113 snd_printk(KERN_ERR "unsupported hardware %d\n", chip->model); in snd_pmac_probe()
Dawacs.c68 if (chip->model == PMAC_SCREAMER) in snd_pmac_awacs_write()
96 if (chip->model != PMAC_SCREAMER) in screamer_recalibrate()
738 if (chip->model == PMAC_SCREAMER) { in awacs_restore_all_regs()
763 if (chip->model == PMAC_SCREAMER) { in snd_pmac_awacs_resume()
908 if (chip->model == PMAC_SCREAMER) { in snd_pmac_awacs_init()
938 switch (chip->model) { in snd_pmac_awacs_init()
979 else if (chip->model == PMAC_SCREAMER || pm5500) in snd_pmac_awacs_init()
1110 else if (chip->model == PMAC_SCREAMER) in snd_pmac_awacs_init()
1140 if (chip->model == PMAC_SCREAMER) { in snd_pmac_awacs_init()
/linux-4.4.14/Documentation/devicetree/bindings/arm/
Dvexpress.txt20 compatible = "arm,vexpress,<model>", "arm,vexpress";
21 where <model> is the full tile model name (as used in the tile's
29 compatible = "arm,vexpress,<model>,<variant>", \
30 "arm,vexpress,<model>", "arm,vexpress";
40 - tile model name (use name from the tile's Technical Reference
42 model = "<model>";
43 - tile's HBI number (unique ARM's board model ID, visible on the
170 model = "V2P-CA5s";
Dvexpress-scc.txt15 - compatible value: "arm,vexpress-scc,<model>", "arm,vexpress-scc";
16 where <model> is the full tile model name (as used
/linux-4.4.14/arch/arm/boot/dts/
Dbcm2835-rpi-b.dts5 compatible = "raspberrypi,model-b", "brcm,bcm2835";
6 model = "Raspberry Pi Model B";
Dbcm2835-rpi-b-rev2.dts5 compatible = "raspberrypi,model-b-rev2", "brcm,bcm2835";
6 model = "Raspberry Pi Model B rev2";
Dbcm2835-rpi-a-plus.dts5 compatible = "raspberrypi,model-a-plus", "brcm,bcm2835";
6 model = "Raspberry Pi Model A+";
Dbcm2835-rpi-b-plus.dts5 compatible = "raspberrypi,model-b-plus", "brcm,bcm2835";
6 model = "Raspberry Pi Model B+";
Dexynos5250-snow.dts15 model = "Google Snow";
22 samsung,model = "Snow-I2S-MAX98095";
Dexynos5250-snow-rev5.dts17 model = "Google Snow Rev 5+";
24 samsung,model = "Snow-I2S-MAX98090";
Dimx25-eukrea-mbimxsd25-baseboard-dvi-svga.dts17 model = "Eukrea MBIMXSD25 with the DVI-SVGA Display";
21 model = "DVI-SVGA";
Dimx25-eukrea-mbimxsd25-baseboard-dvi-vga.dts17 model = "Eukrea MBIMXSD25 with the DVI-VGA Display";
21 model = "DVI-VGA";
Domap4-panda-es.dts14 model = "TI OMAP4 PandaBoard-ES";
20 ti,model = "PandaBoardES";
Dtegra20-plutux.dts6 model = "Avionic Design Plutux board";
38 nvidia,model = "Avionic Design Plutux";
Dimx25-eukrea-mbimxsd25-baseboard-cmo-qvga.dts17 model = "Eukrea MBIMXSD25 with the CMO-QVGA Display";
21 model = "CMO-QVGA";
Dtegra20-tec.dts6 model = "Avionic Design Tamonten Evaluation Carrier";
46 nvidia,model = "Avionic Design TEC";
Dimx6qdl-hummingboard.dtsi97 model = "On-board Codec";
105 model = "On-board SPDIF";
134 /* Pro baseboard model */
140 /* Pro baseboard model */
Domap2420-n800.dts6 model = "Nokia N800";
Domap2420-n810-wimax.dts6 model = "Nokia N810 WiMax";
/linux-4.4.14/arch/mips/cavium-octeon/executive/
Docteon-model.c396 int model = fuse_data & 0x3fff; in octeon_model_get_string_buffer() local
398 if (suffix && model) { in octeon_model_get_string_buffer()
400 sprintf(fuse_model, "%d%c", model, 'A' + suffix - 1); in octeon_model_get_string_buffer()
403 } else if (suffix && !model) { in octeon_model_get_string_buffer()
409 sprintf(fuse_model, "%d", model); in octeon_model_get_string_buffer()
/linux-4.4.14/arch/m68k/mvme147/
Dconfig.c40 static void mvme147_get_model(char *model);
74 static void mvme147_get_model(char *model) in mvme147_get_model() argument
76 sprintf(model, "Motorola MVME147"); in mvme147_get_model()
/linux-4.4.14/arch/powerpc/boot/dts/
Diss4xx-mpic.dts22 model = "ibm,iss-4xx";
36 model = "PowerPC,4xx"; // real CPU changed in sim
50 model = "PowerPC,4xx"; // real CPU changed in sim
66 model = "PowerPC,4xx"; // real CPU changed in sim
82 model = "PowerPC,4xx"; // real CPU changed in sim
Dasp834x-redboot.dts15 model = "Analogue & Micro ASP8347E";
189 model = "TSEC";
230 model = "TSEC";
277 model = "SEC2";
Dtqm8540.dts15 model = "tqc,tqm8540";
156 model = "TSEC";
198 model = "TSEC";
225 model = "FEC";
/linux-4.4.14/arch/powerpc/platforms/85xx/
Dxes_mpc85xx.c120 const char *model = "Unknown"; in xes_mpc85xx_setup_arch() local
126 model = of_get_property(root, "model", NULL); in xes_mpc85xx_setup_arch()
129 model + strlen("xes,")); in xes_mpc85xx_setup_arch()
/linux-4.4.14/drivers/media/usb/gspca/
Dsn9c2028.c35 u16 model; member
185 sd->model = id->idProduct; in sd_config()
187 switch (sd->model) { in sd_config()
212 switch (sd->model) { in sd_config()
275 switch (sd->model) { in set_gain()
323 switch (sd->model) { in sd_init_controls()
820 switch (sd->model) { in sd_start()
Dxirlink_cit.c57 u8 model; member
873 sd->model = id->driver_info; in sd_config()
874 if (sd->model == CIT_MODEL3 && ibm_netcam_pro) in sd_config()
875 sd->model = CIT_IBM_NETCAM_PRO; in sd_config()
878 switch (sd->model) { in sd_config()
1136 switch (sd->model) { in sd_init()
1159 switch (sd->model) { in cit_set_brightness()
1198 switch (sd->model) { in cit_set_contrast()
1261 switch (sd->model) { in cit_set_hue()
1313 switch (sd->model) { in cit_set_sharpness()
[all …]
/linux-4.4.14/drivers/media/
Dmedia-device.c55 strlcpy(info.model, dev->model, sizeof(info.model)); in media_device_get_info()
349 return sprintf(buf, "%.*s\n", (int)sizeof(mdev->model), mdev->model); in show_model()
352 static DEVICE_ATTR(model, S_IRUGO, show_model, NULL);
377 if (WARN_ON(mdev->dev == NULL || mdev->model[0] == 0)) in __media_device_register()
/linux-4.4.14/Documentation/thermal/
Dcpu-cooling-api.txt45 implement the power extensions by using a simple cpu power model. The
48 The additional parameters are needed for the power model (See 2. Power
69 The power API registration functions provide a simple power model for
71 static power. This power model requires that the operating-points of
97 A high level dynamic power consumption model may then be represented as:
106 in practice, such an on-line model has dependencies on a number of
112 In this simplified representation our model becomes:
140 platform specifics, and this can then impact the accuracy of a model
158 In one view, there are others, a static power consumption model can
165 dominate the estimate, the appropriate interface to the model from the
[all …]
/linux-4.4.14/arch/m68k/apollo/
Dconfig.c40 static void dn_get_model(char *model);
261 static void dn_get_model(char *model) in dn_get_model() argument
263 strcpy(model, "Apollo "); in dn_get_model()
265 strcat(model, apollo_models[apollo_model - APOLLO_DN3000]); in dn_get_model()
/linux-4.4.14/Documentation/devicetree/bindings/sound/
Dmxs-audio-sgtl5000.txt5 - model: The user-visible name of this sound complex
14 model = "imx28-evk-sgtl5000";
Drockchip-rt5645.txt5 - rockchip,model: The user-visible name of this sound complex
14 rockchip,model = "ROCKCHIP-I2S";
Dstorm.txt14 - qcom,model : The user-visible name of this sound card.
20 qcom,model = "ipq806x-storm";
Dsnow.txt12 - samsung,model: The name of the sound-card
19 samsung,model = "Snow-I2S-MAX98095";
Drockchip-max98090.txt5 - rockchip,model: The user-visible name of this sound complex
15 rockchip,model = "ROCKCHIP-I2S";
Deukrea-tlv320.txt7 - eukrea,model : The user-visible name of this sound complex.
22 eukrea,model = "imx51-eukrea-tlv320aic23";
Datmel-at91sam9g20ek-wm8731-audio.txt5 - atmel,model: The user-visible name of this sound complex.
18 atmel,model = "wm8731 @ AT91SAMG20EK";
Datmel-sam9x5-wm8731-audio.txt5 - atmel,model: The user-visible name of this sound complex.
25 atmel,model = "wm8731 @ AT91SAM9X5EK";
Dimx-audio-spdif.txt7 - model : The user-visible name of this sound complex
32 model = "imx-spdif";
Dsamsung,odroidx2-max98090.txt6 - samsung,model : the user-visible name of this sound complex
29 samsung,model = "Odroid-X2";
Dnvidia,tegra-audio-wm9712.txt11 - nvidia,model : The user-visible name of this sound complex.
47 nvidia,model = "Toradex Colibri T20";
Datmel-wm8904.txt5 - atmel,model: The user-visible name of this sound complex.
43 atmel,model = "wm8904 @ AT91SAM9N12EK";
Dimx-audio-wm8962.txt7 - model : The user-visible name of this sound complex
39 model = "wm8962-audio";
Dqcom,apq8016-sbc.txt17 - qcom,model : Name of the sound card.
38 qcom,model = "DB410c";
Domap-twl4030.txt5 - ti,model: Name of the sound card (for example "omap3beagle")
59 ti,model = "omap3beagle";
Dnvidia,tegra-audio-wm8753.txt11 - nvidia,model : The user-visible name of this sound complex.
28 nvidia,model = "tegra-wm8753-harmony";
Dnvidia,tegra-audio-alc5632.txt11 - nvidia,model : The user-visible name of this sound complex.
32 nvidia,model = "Compal PAZ00";
Dimx-audio-sgtl5000.txt7 - model : The user-visible name of this sound complex
47 model = "imx51-babbage-sgtl5000";
Datmel-classd.txt23 - atmel,model
49 atmel,model = "classd @ SAMA5D2-Xplained";
Dimx-audio-es8328.txt5 - model : The user-visible name of this sound complex
44 model = "imx-audio-es8328";
Dnvidia,tegra-audio-max98090.txt11 - nvidia,model : The user-visible name of this sound complex.
36 nvidia,model = "NVIDIA Tegra Venice2";
Dnvidia,tegra-audio-rt5640.txt11 - nvidia,model : The user-visible name of this sound complex.
35 nvidia,model = "NVIDIA Tegra Dalmore";
Ddavinci-evm-audio.txt5 - ti,model : The user-visible name of this sound complex.
33 ti,model = "DA830 EVM";
/linux-4.4.14/arch/x86/boot/
Dcpucheck.c136 is_centaur() && cpu.model >= 6) { in check_cpu()
167 (cpu.model == 9 || cpu.model == 13)) { in check_cpu()
Dcpuflags.c105 cpu.model = (tfms >> 4) & 15; in get_cpuflags()
107 cpu.model += ((tfms >> 16) & 0xf) << 4; in get_cpuflags()
Dcpuflags.h9 int model; member
/linux-4.4.14/arch/cris/boot/dts/
Detraxfs.dtsi12 model = "axis,crisv32";
19 model = "etraxfs";
Dartpec3.dtsi12 model = "axis,crisv32";
19 model = "artpec3";
/linux-4.4.14/sound/pci/ice1712/
Damp.c84 .model = "av710",
91 .model = "amp2000",
Dvt1720_mobo.c94 .model = "k8x800",
130 .model = "sn25p",
Ddelta.c862 .model = "delta1010",
869 .model = "dio2496",
877 .model = "delta66",
885 .model = "delta44",
893 .model = "audiophile",
900 .model = "delta410",
907 .model = "delta1010lt",
914 .model = "vx442",
922 .model = "mediastation",
929 .model = "da2496",
Dhoontech.c331 .model = "dsp24",
339 .model = "dsp24_value",
345 .model = "dsp24_71",
351 .model = "ez8",
/linux-4.4.14/arch/arm64/kernel/
Dcpu_errata.c44 #define MIDR_RANGE(model, min, max) \ argument
46 .midr_model = model, \
/linux-4.4.14/arch/powerpc/platforms/powernv/
Dsetup.c87 const char *model = ""; in pnv_show_cpuinfo() local
91 model = of_get_property(root, "model", NULL); in pnv_show_cpuinfo()
92 seq_printf(m, "machine\t\t: PowerNV %s\n", model); in pnv_show_cpuinfo()
/linux-4.4.14/sound/firewire/bebob/
Dbebob.c74 char model[32] = {0}; in name_device() local
89 model, sizeof(model)); in name_device()
118 strcpy(bebob->card->shortname, model); in name_device()
119 strcpy(bebob->card->mixername, model); in name_device()
122 vendor, model, hw_id, revision, in name_device()
/linux-4.4.14/Documentation/driver-model/
Dporting.txt11 Please refer to Documentation/driver-model/*.txt for definitions of
14 Most of the work of porting devices drivers to the new model happens
19 In a nutshell, the driver model consists of a set of objects that can
23 The generic objects must be registered with the driver model core. By
136 The driver model maintains an ordered list of devices that it uses
158 The release field is a callback that the driver model core calls
166 with the driver model core by doing:
176 it. It should instead wait for the driver model core to call the
229 of operations that the driver model core may call.
281 struct device_driver defines a set of operations that the driver model
[all …]
Doverview.txt21 The current driver model provides a common, uniform data model for describing
23 model includes a set of common attributes which all busses carry, and a set
29 management, and hot plug. In particular, the model dictated by Intel and
64 driver model generally do not and should not touch the fields of struct device,
Ddriver.txt29 being converted completely to the new model.
42 model because the bus they belong to has a bus-specific structure with
94 used by the device model core or the bus driver.
100 By defining wrapper functions, the transition to the new model can be
108 converting drivers to the new model should reduce some infrastructural
160 returns zero and the driver model code will finish its part of binding
/linux-4.4.14/drivers/media/i2c/
Dmt9v032.c256 const struct mt9v032_model_info *model; member
297 unsigned int min_hblank = mt9v032->model->data->min_hblank; in mt9v032_update_hblank()
302 min_hblank = max_t(int, mt9v032->model->data->min_row_time - crop->width, in mt9v032_update_hblank()
358 ret = regmap_write(map, mt9v032->model->data->pclk_reg, in __mt9v032_set_power()
824 if (mt9v032->model->color) in mt9v032_open()
959 mt9v032->model = (const void *)did->driver_data; in mt9v032_probe()
972 V4L2_CID_EXPOSURE, mt9v032->model->data->min_shutter, in mt9v032_probe()
973 mt9v032->model->data->max_shutter, 1, in mt9v032_probe()
976 V4L2_CID_HBLANK, mt9v032->model->data->min_hblank, in mt9v032_probe()
980 V4L2_CID_VBLANK, mt9v032->model->data->min_vblank, in mt9v032_probe()
[all …]
/linux-4.4.14/drivers/edac/
Damd64_edac.h299 u8 model; /* ... model */ member
384 if (pvt->fam == 0x15 && pvt->model >= 0x30) in dct_sel_interleave_addr()
459 if (pvt->fam == 0x15 && pvt->model >= 0x30) { in dram_intlv_en()
469 if (pvt->fam == 0x15 && pvt->model >= 0x30) { in dhar_valid()
479 if (pvt->fam == 0x15 && pvt->model >= 0x30) { in dct_sel_baseaddr()
Damd64_edac.c96 reg &= (pvt->model == 0x30) ? ~3 : ~1; in f15h_select_dct()
143 dct = (dct && pvt->model == 0x30) ? 3 : dct; in amd64_read_dct_pci_cfg()
204 if (pvt->fam == 0x15 && pvt->model == 0x60) { in __set_scrub_rate()
229 if (pvt->model < 0x10) in set_scrub_rate()
232 if (pvt->model == 0x60) in set_scrub_rate()
246 if (pvt->model < 0x10) in get_scrub_rate()
249 if (pvt->model == 0x60) in get_scrub_rate()
376 (pvt->fam == 0x15 && pvt->model >= 0x30)) { in get_cs_base_and_mask()
783 } else if (pvt->fam == 0x15 && pvt->model == 0x30) { in prep_chip_selects()
860 if (pvt->model < 0x60) in determine_memory_type()
[all …]
/linux-4.4.14/drivers/video/backlight/
Dtdo24m.c340 enum tdo24m_model model; in tdo24m_probe() local
345 model = pdata->model; in tdo24m_probe()
347 model = TDO24M; in tdo24m_probe()
376 switch (model) { in tdo24m_probe()
/linux-4.4.14/arch/cris/arch-v10/kernel/
Dsetup.c31 char *model; member
83 info->model, in show_cpuinfo()
/linux-4.4.14/drivers/acpi/
Dgsi.c112 void __init acpi_set_irq_model(enum acpi_irq_model_id model, in acpi_set_irq_model() argument
115 acpi_irq_model = model; in acpi_set_irq_model()
/linux-4.4.14/drivers/regulator/
Dda9063-regulator.c722 const struct da9063_dev_model *model; in da9063_regulator_probe() local
743 for (model = regulators_models; model->regulator_info; model++) { in da9063_regulator_probe()
744 if (model->dev_model == da9063->model) in da9063_regulator_probe()
747 if (!model->regulator_info) { in da9063_regulator_probe()
749 da9063->model); in da9063_regulator_probe()
762 n_regulators = model->n_regulators; in da9063_regulator_probe()
819 regl->info = &model->regulator_info[id]; in da9063_regulator_probe()
/linux-4.4.14/arch/x86/kernel/cpu/microcode/
Dintel.c140 unsigned int fam, model; in matching_model_microcode() local
149 model = x86_model(sig); in matching_model_microcode()
154 if (fam == fam_ucode && model == model_ucode) in matching_model_microcode()
169 if (fam == fam_ucode && model == model_ucode) in matching_model_microcode()
353 unsigned int family, model; in collect_cpu_info_early() local
369 model = x86_model(csig.sig); in collect_cpu_info_early()
371 if ((model >= 5) || (family > 6)) { in collect_cpu_info_early()
524 unsigned int family, model, stepping; in load_builtin_intel_microcode() local
530 model = x86_model(eax); in load_builtin_intel_microcode()
533 sprintf(name, "intel-ucode/%02x-%02x-%02x", family, model, stepping); in load_builtin_intel_microcode()
/linux-4.4.14/arch/sparc/kernel/
Dtime_32.c271 const char *model = of_get_property(dp, "model", NULL); in clock_probe() local
273 if (!model) in clock_probe()
281 if (!strcmp(model, "mk48t02")) { in clock_probe()
286 } else if (!strcmp(model, "mk48t08")) { in clock_probe()
Dof_device_64.c48 const char *model = of_get_property(np, "model", NULL); in of_bus_pci_match() local
50 if (model && !strcmp(model, "SUNW,simba")) in of_bus_pci_match()
70 const char *model = of_get_property(np, "model", NULL); in of_bus_simba_match() local
72 if (model && !strcmp(model, "SUNW,simba")) in of_bus_simba_match()
Dprom_irqtrans.c806 const char *model; in irq_trans_init() local
811 model = of_get_property(dp, "model", NULL); in irq_trans_init()
812 if (!model) in irq_trans_init()
813 model = of_get_property(dp, "compatible", NULL); in irq_trans_init()
814 if (model) { in irq_trans_init()
818 if (!strcmp(model, t->name)) { in irq_trans_init()
/linux-4.4.14/sound/drivers/
Ddummy.c64 static char *model[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = NULL}; variable
79 module_param_array(model, charp, NULL, 0444);
80 MODULE_PARM_DESC(model, "Soundcard model.");
134 struct dummy_model *model; member
563 struct dummy_model *model = dummy->model; in dummy_pcm_open() local
588 if (model == NULL) in dummy_pcm_open()
592 if (model->playback_constraints) in dummy_pcm_open()
593 err = model->playback_constraints(substream->runtime); in dummy_pcm_open()
595 if (model->capture_constraints) in dummy_pcm_open()
596 err = model->capture_constraints(substream->runtime); in dummy_pcm_open()
[all …]
/linux-4.4.14/drivers/char/
Dsonypi.c392 int model; member
494 int model; member
846 for (i = 0; sonypi_eventtypes[i].model; i++) { in sonypi_irq()
847 if (sonypi_device.model != sonypi_eventtypes[i].model) in sonypi_irq()
1082 switch (sonypi_device.model) { in sonypi_enable()
1116 switch (sonypi_device.model) { in sonypi_disable()
1285 sonypi_device.model, in sonypi_display_info()
1326 sonypi_device.model = SONYPI_DEVICE_MODEL_TYPE1; in sonypi_probe()
1329 sonypi_device.model = SONYPI_DEVICE_MODEL_TYPE3; in sonypi_probe()
1332 sonypi_device.model = SONYPI_DEVICE_MODEL_TYPE3; in sonypi_probe()
[all …]
/linux-4.4.14/drivers/platform/x86/
Deeepc-wmi.c137 char *model; in dmi_matched() local
141 model = (char *)dmi->matches[1].substr; in dmi_matched()
142 if (unlikely(strncmp(model, "ET2012", 6) == 0)) in dmi_matched()
Dhdaps.c500 #define HDAPS_DMI_MATCH_INVERT(vendor, model, axes) { \ argument
501 .ident = vendor " " model, \
506 DMI_MATCH(DMI_PRODUCT_VERSION, model) \
510 #define HDAPS_DMI_MATCH_NORMAL(vendor, model) \ argument
511 HDAPS_DMI_MATCH_INVERT(vendor, model, 0)
/linux-4.4.14/arch/powerpc/platforms/52xx/
Defika.c203 const char *model = of_get_flat_dt_prop(of_get_flat_dt_root(), in efika_probe() local
206 if (model == NULL) in efika_probe()
208 if (strcmp(model, "EFIKA5K2")) in efika_probe()
/linux-4.4.14/drivers/media/usb/usbvision/
Dusbvision-video.c186 static DEVICE_ATTR(model, S_IRUGO, show_model, NULL);
1403 int model; in usbvision_configure_video() local
1408 model = usbvision->dev_model; in usbvision_configure_video()
1418 usbvision->tvnorm_id = usbvision_device_data[model].video_norm; in usbvision_configure_video()
1419 usbvision->video_inputs = usbvision_device_data[model].video_channels; in usbvision_configure_video()
1426 if (usbvision_device_data[model].audio_channels > 0) in usbvision_configure_video()
1449 int model, i, ret; in usbvision_probe() local
1455 model = devid->driver_info; in usbvision_probe()
1456 if (model < 0 || model >= usbvision_device_data_size) { in usbvision_probe()
1457 PDEBUG(DBG_PROBE, "model out of bounds %d", model); in usbvision_probe()
[all …]
/linux-4.4.14/Documentation/s390/
D00-INDEX17 driver-model.txt
18 - information on s390 devices and the driver model.
/linux-4.4.14/drivers/tty/
Drocket.c1264 tmp.rocketModel[board].model = rocketModel[board].model; in get_ports()
1762 static void rmSpeakerReset(CONTROLLER_T * CtlP, unsigned long model) in rmSpeakerReset() argument
1767 if ((model == MODEL_RP4M) || (model == MODEL_RP6M)) { in rmSpeakerReset()
1773 if ((model == MODEL_UPCI_RM3_8PORT) in rmSpeakerReset()
1774 || (model == MODEL_UPCI_RM3_4PORT)) { in rmSpeakerReset()
1932 rocketModel[i].model = MODEL_RP4QUAD; in register_PCI()
1938 rocketModel[i].model = MODEL_RP8OCTA; in register_PCI()
1944 rocketModel[i].model = MODEL_UPCI_RP8OCTA; in register_PCI()
1950 rocketModel[i].model = MODEL_RP8INTF; in register_PCI()
1956 rocketModel[i].model = MODEL_UPCI_RP8INTF; in register_PCI()
[all …]
/linux-4.4.14/arch/m68k/sun3/
Didprom.c83 void sun3_get_model(unsigned char* model) in sun3_get_model() argument
89 strcpy(model, Sun_Machines[i].name); in sun3_get_model()
/linux-4.4.14/arch/m68k/kernel/
Dsetup_mm.c85 void (*mach_get_model) (char *model);
509 char model[80]; in hardware_proc_show() local
514 mach_get_model(model); in hardware_proc_show()
516 strcpy(model, "Unknown m68k"); in hardware_proc_show()
518 seq_printf(m, "Model:\t\t%s\n", model); in hardware_proc_show()
/linux-4.4.14/drivers/media/rc/
Dmceusb.c458 enum mceusb_model_type model; member
1219 mceusb_model[ir->model].name ? in mceusb_init_rc_dev()
1220 mceusb_model[ir->model].name : in mceusb_init_rc_dev()
1252 if (mceusb_model[ir->model].rc_map) in mceusb_init_rc_dev()
1253 rc->map_name = mceusb_model[ir->model].rc_map; in mceusb_init_rc_dev()
1279 enum mceusb_model_type model = id->driver_info; in mceusb_dev_probe() local
1289 is_gen3 = mceusb_model[model].mce_gen3; in mceusb_dev_probe()
1290 is_microsoft_gen1 = mceusb_model[model].mce_gen1; in mceusb_dev_probe()
1291 tx_mask_normal = mceusb_model[model].tx_mask_normal; in mceusb_dev_probe()
1292 ir_intfnum = mceusb_model[model].ir_intfnum; in mceusb_dev_probe()
[all …]
/linux-4.4.14/arch/powerpc/boot/
D4xx.c175 char model[64]; in ibm4xx_denali_get_cs() local
182 if (getprop(devp, "model", model, sizeof(model)) <= 0) in ibm4xx_denali_get_cs()
185 model[sizeof(model)-1] = 0; in ibm4xx_denali_get_cs()
187 if (!strcmp(model, "amcc,sequoia") || in ibm4xx_denali_get_cs()
188 !strcmp(model, "amcc,rainier")) in ibm4xx_denali_get_cs()
/linux-4.4.14/arch/arm64/boot/dts/freescale/
Dfsl-ls2080a-simu.dts2 * Device Tree file for Freescale LS2080a software Simulator model
52 model = "Freescale Layerscape 2080a software Simulator model";
/linux-4.4.14/arch/m68k/q40/
Dconfig.c40 static void q40_get_model(char *model);
147 static void q40_get_model(char *model) in q40_get_model() argument
149 sprintf(model, "Q40"); in q40_get_model()
/linux-4.4.14/sound/soc/codecs/
Duda134x.c460 switch (pd->model) { in uda134x_soc_probe()
469 pd->model); in uda134x_soc_probe()
478 if (pd->model == UDA134X_UDA1341) { in uda134x_soc_probe()
493 switch (pd->model) { in uda134x_soc_probe()
509 __func__, pd->model); in uda134x_soc_probe()
/linux-4.4.14/arch/powerpc/kernel/
Drtas_pci.c184 const char *model = of_get_property(dev, "model", NULL); in is_python() local
186 if (model && strstr(model, "Python")) in is_python()
/linux-4.4.14/arch/x86/platform/atom/
Dpunit_atom_debug.c144 #define ICPU(model, drv_data) \ argument
145 { X86_VENDOR_INTEL, 6, model, X86_FEATURE_MWAIT,\
/linux-4.4.14/drivers/clocksource/
Dsh_tmu.c63 enum sh_tmu_model model; member
93 switch (ch->tmu->model) { in sh_tmu_read()
115 switch (ch->tmu->model) { in sh_tmu_write()
475 if (tmu->model == SH_TMU_SH3) in sh_tmu_channel_setup()
515 tmu->model = SH_TMU; in sh_tmu_parse_dt()
546 tmu->model = id->driver_data; in sh_tmu_setup()
Dsh_cmt.c75 enum sh_cmt_model model; member
184 .model = SH_CMT_16BIT,
194 .model = SH_CMT_32BIT,
204 .model = SH_CMT_32BIT_FAST,
214 .model = SH_CMT_48BIT,
224 .model = SH_CMT_48BIT_GEN2,
873 switch (cmt->info->model) { in sh_cmt_setup_channel()
902 ch->timer_bit = cmt->info->model == SH_CMT_48BIT_GEN2 ? 0 : ch->hwidx; in sh_cmt_setup_channel()
/linux-4.4.14/Documentation/accounting/
Dcgroupstats.txt11 The current model for cgroupstats is a pull, a push model (to post
/linux-4.4.14/drivers/media/usb/au0828/
Dau0828-cards.c164 switch (tv.model) { in hauppauge_eeprom()
182 __func__, tv.model); in hauppauge_eeprom()
187 __func__, tv.model); in hauppauge_eeprom()
/linux-4.4.14/arch/m68k/bvme6000/
Dconfig.c41 static void bvme6000_get_model(char *model);
79 static void bvme6000_get_model(char *model) in bvme6000_get_model() argument
81 sprintf(model, "BVME%d000", m68k_cputype == CPU_68060 ? 6 : 4); in bvme6000_get_model()
/linux-4.4.14/arch/s390/kvm/
Dkvm-s390.c349 set_kvm_facility(kvm->arch.model.fac->mask, 129); in kvm_vm_ioctl_enable_cap()
350 set_kvm_facility(kvm->arch.model.fac->list, 129); in kvm_vm_ioctl_enable_cap()
621 memcpy(&kvm->arch.model.cpu_id, &proc->cpuid, in kvm_s390_set_processor()
623 kvm->arch.model.ibc = proc->ibc; in kvm_s390_set_processor()
624 memcpy(kvm->arch.model.fac->list, proc->fac_list, in kvm_s390_set_processor()
656 memcpy(&proc->cpuid, &kvm->arch.model.cpu_id, sizeof(struct cpuid)); in kvm_s390_get_processor()
657 proc->ibc = kvm->arch.model.ibc; in kvm_s390_get_processor()
658 memcpy(&proc->fac_list, kvm->arch.model.fac->list, S390_ARCH_FAC_LIST_SIZE_BYTE); in kvm_s390_get_processor()
678 memcpy(&mach->fac_mask, kvm->arch.model.fac->mask, in kvm_s390_get_machine()
1124 kvm->arch.model.fac = in kvm_arch_init_vm()
[all …]
/linux-4.4.14/arch/ia64/kernel/
Dsetup.c686 cpunum, c->vendor, c->family, c->model, in show_cpuinfo()
741 get_model_name(__u8 family, __u8 model) in get_model_name() argument
751 else if (family == 0x1f) switch (model) { in get_model_name()
785 unsigned model : 8; in identify_cpu() member
820 c->model = cpuid.field.model; in identify_cpu()
824 c->model_name = get_model_name(c->family, c->model); in identify_cpu()
/linux-4.4.14/arch/m68k/mvme16x/
Dconfig.c46 static void mvme16x_get_model(char *model);
83 static void mvme16x_get_model(char *model) in mvme16x_get_model() argument
93 sprintf(model, "Motorola MVME%x%s", be16_to_cpu(p->brdno), suf); in mvme16x_get_model()
/linux-4.4.14/drivers/parport/
Dprobe.c47 printk(", %s %s", info->mfr, info->model); in pretty_print()
85 kfree(info->model); in parse_data()
86 info->model = kstrdup(sep, GFP_KERNEL); in parse_data()
/linux-4.4.14/include/linux/spi/
Dtdo24m.h10 enum tdo24m_model model; member
/linux-4.4.14/include/sound/
Ds3c24xx_uda134x.h11 int model; member
Duda134x.h20 int model; member
/linux-4.4.14/scripts/coccinelle/null/
Dkmerr.cocci64 cocci.print_secs("possible model",p2)
71 msg = "alloc with no test, possible model on line %s" % (p2[0].line)
/linux-4.4.14/drivers/gpio/
Dgpio-sx150x.c58 u8 model; member
90 .model = SX150X_789,
108 .model = SX150X_789,
126 .model = SX150X_456,
544 if (chip->dev_cfg->model == SX150X_789) in sx150x_init_hw()
565 if (chip->dev_cfg->model == SX150X_789) { in sx150x_init_hw()
/linux-4.4.14/arch/powerpc/platforms/powermac/
Dbootx_init.c471 char *model; in bootx_init() local
538 model = (char *) bootx_early_getprop(r4 + bi->deviceTreeOffset, in bootx_init()
540 if (model in bootx_init()
541 && (strcmp(model, "iMac,1") == 0 in bootx_init()
542 || strcmp(model, "PowerMac1,1") == 0)) { in bootx_init()
/linux-4.4.14/Documentation/sound/alsa/
DHD-Audio.txt161 hda_codec: Unknown model for ALC880, trying auto-probe from BIOS...
166 listed in the known preset model (white-)list. But, this doesn't mean
179 The preset model (or recently called as "fix-up") is provided
181 model is found in the white-list, the driver assumes the static
185 re-use the same model. You can pass the `model` option to specify the
186 preset model instead of PCI (and codec-) SSID look-up.
188 What `model` option values are available depends on the codec chip.
193 and `model` options belonging to each codec. For example, for Realtek
194 ALC262 codec chip, pass `model=ultra` for devices that are compatible
199 different `model` option values. If you have any luck, some of them
[all …]
/linux-4.4.14/drivers/media/usb/ttusb-dec/
Dttusb_dec.c96 enum ttusb_dec_model model; member
205 enum ttusb_dec_model model);
341 unsigned int *model, unsigned int *version) in ttusb_dec_get_stb_state() argument
359 if (model != NULL) { in ttusb_dec_get_stb_state()
361 *model = ntohl(tmp); in ttusb_dec_get_stb_state()
1384 unsigned int mode = 0, model = 0, version = 0; in ttusb_dec_init_stb() local
1388 result = ttusb_dec_get_stb_state(dec, &mode, &model, &version); in ttusb_dec_init_stb()
1408 switch (model) { in ttusb_dec_init_stb()
1424 __func__, model); in ttusb_dec_init_stb()
1722 enum ttusb_dec_model model) in ttusb_dec_set_model() argument
[all …]
/linux-4.4.14/arch/arc/boot/dts/
Dvdk_axs10x_mb.dtsi35 snps,phy-addr = < 0 >; // VDK model phy address is 0
85 /* VDK has additional ps2 keyboard/mouse interface integrated in LCD screen model */
/linux-4.4.14/drivers/net/ethernet/toshiba/
DKconfig36 If you have the wireless-less model of PS3 or have no plan to
39 safely enable this option even if you have a wireless-less model.
/linux-4.4.14/drivers/power/
Disp1704_charger.c68 char model[8]; member
343 val->strval = isp->model; in isp1704_charger_get_property()
392 sprintf(isp->model, "isp%x", product); in isp1704_test_ulpi()
484 dev_info(isp->dev, "registered with product id %s\n", isp->model); in isp1704_charger_probe()
/linux-4.4.14/drivers/media/usb/em28xx/
Dem28xx-cards.c72 unsigned int model; member
2530 dev->board = em28xx_boards[dev->model]; in em28xx_set_model()
2560 switch (dev->model) { in em28xx_pre_card_setup()
2667 dev->model = EM2820_BOARD_SILVERCREST_WEBCAM; in em28xx_hint_board()
2670 dev->model = EM2750_BOARD_UNKNOWN; in em28xx_hint_board()
2687 dev->model = em28xx_eeprom_hash[i].model; in em28xx_hint_board()
2699 em28xx_boards[dev->model].name); in em28xx_hint_board()
2720 dev->model = em28xx_i2c_hash[i].model; in em28xx_hint_board()
2731 em28xx_boards[dev->model].name); in em28xx_hint_board()
2766 switch (dev->model) { in em28xx_card_setup()
[all …]
/linux-4.4.14/include/linux/i2c/
Dtsc2007.h7 u16 model; /* 2007. */ member
/linux-4.4.14/drivers/block/
Dcciss_scsi.h67 unsigned char model[16]; /* bytes 16-31 of inquiry data */ member

123456789