Home
last modified time | relevance | path

Searched refs:model (Results 1 – 25 of 315) sorted by relevance

12345678910>>...13

/drivers/hwmon/
Dk8temp.c39 static int is_rev_g_desktop(u8 model) in is_rev_g_desktop() argument
43 if (model < 0x69) in is_rev_g_desktop()
46 if (model == 0xc1 || model == 0x6c || model == 0x7c) in is_rev_g_desktop()
58 if ((model == 0x6f || model == 0x7f) && in is_rev_g_desktop()
63 if (model == 0x6b && in is_rev_g_desktop()
137 u8 model, stepping; in k8temp_probe() local
145 model = boot_cpu_data.x86_model; in k8temp_probe()
149 if ((model == 4 && stepping == 0) || in k8temp_probe()
150 (model == 5 && stepping <= 1)) in k8temp_probe()
157 if (model >= 0x40) { in k8temp_probe()
[all …]
Dlm95241.c84 u8 status, config, model, trutherm; member
171 *val = (data->model & R1MS_MASK) ? 1 : 2; in lm95241_read_temp()
173 *val = (data->model & R2MS_MASK) ? 1 : 2; in lm95241_read_temp()
288 data->model |= R1MS_MASK; in lm95241_write_temp()
291 data->model &= ~R1MS_MASK; in lm95241_write_temp()
297 data->model |= R2MS_MASK; in lm95241_write_temp()
300 data->model &= ~R2MS_MASK; in lm95241_write_temp()
306 data->model); in lm95241_write_temp()
409 data->model); in lm95241_init_client()
/drivers/scsi/
Dscsi_devinfo.c24 char model[16]; member
52 char *model; member
324 static int scsi_dev_info_list_add(int compatible, char *vendor, char *model, in scsi_dev_info_list_add() argument
327 return scsi_dev_info_list_add_keyed(compatible, vendor, model, in scsi_dev_info_list_add()
350 int scsi_dev_info_list_add_keyed(int compatible, char *vendor, char *model, in scsi_dev_info_list_add_keyed() argument
369 scsi_strcpy_devinfo("model", devinfo->model, sizeof(devinfo->model), in scsi_dev_info_list_add_keyed()
370 model, compatible); in scsi_dev_info_list_add_keyed()
384 vendor, model, flags & __BLIST_UNUSED_MASK); in scsi_dev_info_list_add_keyed()
415 const char *model, enum scsi_devinfo_key key) in scsi_dev_info_list_find() argument
446 mmax = sizeof(devinfo->model); in scsi_dev_info_list_find()
[all …]
Dsr_vendor.c71 const char *model = cd->device->model; in sr_vendor_init() local
84 if (!strncmp(model, "CD-ROM DRIVE:25", 15) || in sr_vendor_init()
85 !strncmp(model, "CD-ROM DRIVE:36", 15) || in sr_vendor_init()
86 !strncmp(model, "CD-ROM DRIVE:83", 15) || in sr_vendor_init()
87 !strncmp(model, "CD-ROM DRIVE:84 ", 16) in sr_vendor_init()
91 || !strncmp(model, "CD-ROM DRIVE:500", 16) in sr_vendor_init()
101 !strncmp(model, "Gluco Memory", 12)) { in sr_vendor_init()
/drivers/gpu/drm/mgag200/
Dmgag200_drv.c189 mdev->model.g200.pclk_max = tmp * 10; in mgag200_g200_interpret_bios()
193 mdev->model.g200.pclk_max = (pins[41] + 100) * 1000; in mgag200_g200_interpret_bios()
197 mdev->model.g200.pclk_max = (pins[36] + 100) * 1000; in mgag200_g200_interpret_bios()
199 mdev->model.g200.ref_clk = 14318; in mgag200_g200_interpret_bios()
203 mdev->model.g200.pclk_max = pins[39] * 4 * 1000; in mgag200_g200_interpret_bios()
205 mdev->model.g200.ref_clk = 14318; in mgag200_g200_interpret_bios()
210 mdev->model.g200.pclk_min = pins[123] * tmp; 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()
[all …]
/drivers/perf/
Darm-cci.c38 #define CCI_PMU_CNTR_SIZE(model) ((model)->cntr_size) argument
39 #define CCI_PMU_CNTR_BASE(model, idx) ((idx) * CCI_PMU_CNTR_SIZE(model)) argument
43 #define CCI_PMU_MAX_HW_CNTRS(model) \ argument
44 ((model)->num_hw_cntrs + (model)->fixed_hw_cntrs)
107 const struct cci_pmu_model *model; member
365 if (ev_code >= cci_pmu->model->event_ranges[if_type].min && in cci400_validate_hw_event()
366 ev_code <= cci_pmu->model->event_ranges[if_type].max) in cci400_validate_hw_event()
576 if (ev_code >= cci_pmu->model->event_ranges[if_type].min && in cci500_validate_hw_event()
577 ev_code <= cci_pmu->model->event_ranges[if_type].max) in cci500_validate_hw_event()
628 if (ev_code >= cci_pmu->model->event_ranges[if_type].min && in cci550_validate_hw_event()
[all …]
/drivers/parisc/
Dled.c86 unsigned long model:16; /* DISPLAY_MODEL_XXXX */ member
111 .model = DISPLAY_MODEL_LCD,
532 if (lcd_info.model == DISPLAY_MODEL_LCD) in led_halt()
549 int __init register_led_driver(int model, unsigned long cmd_reg, unsigned long data_reg) in register_led_driver() argument
556 lcd_info.model = model; /* store the values */ in register_led_driver()
559 switch (lcd_info.model) { in register_led_driver()
588 __func__, lcd_info.model); in register_led_driver()
618 switch (lcd_info.model) { in register_led_regions()
644 if (!led_func_ptr || lcd_info.model != DISPLAY_MODEL_LCD) in lcd_print()
709 lcd_info.model = DISPLAY_MODEL_NONE; in led_init()
[all …]
/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()
/drivers/media/usb/tm6000/
Dtm6000-cards.c41 #define is_generic(model) ((model == TM6000_BOARD_UNKNOWN) || \ argument
42 (model == TM5600_BOARD_GENERIC) || \
43 (model == TM6000_BOARD_GENERIC) || \
44 (model == TM6010_BOARD_GENERIC))
639 switch (dev->model) { in tm6000_flash_led()
657 switch (dev->model) { in tm6000_flash_led()
724 switch (dev->model) { in tm6000_tuner_callback()
796 switch (dev->model) { in tm6000_cards_setup()
927 switch (dev->model) { in tm6000_config_tuner()
973 dev->dev_type = tm6000_boards[dev->model].type; in fill_board_specific_data()
[all …]
/drivers/media/i2c/ccs/
Dccs.h138 #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, \
/drivers/comedi/drivers/
Dvmk80xx.c110 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()
208 if (devpriv->model == VMK8061_MODEL) { in vmk80xx_write_packet()
248 switch (devpriv->model) { in vmk80xx_ai_insn_read()
268 if (devpriv->model == VMK8055_MODEL) { in vmk80xx_ai_insn_read()
297 switch (devpriv->model) { in vmk80xx_ao_insn_write()
367 if (devpriv->model == VMK8061_MODEL) { in vmk80xx_di_insn_bits()
[all …]
/drivers/input/joystick/
Dtmdc.c264 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 …]
/drivers/cpufreq/
Dspeedstep-centrino.c237 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()
/drivers/input/mouse/
Dlogips2pp.c32 u8 model; member
207 static const struct ps2pp_info *get_model_info(unsigned char model) in get_model_info() argument
260 if (model == ps2pp_list[i].model) in get_model_info()
362 u8 model, buttons; in ps2pp_detect() local
374 model = ((param[0] >> 4) & 0x07) | ((param[0] << 3) & 0x78); in ps2pp_detect()
377 if (!model || !buttons) in ps2pp_detect()
380 model_info = get_model_info(model); in ps2pp_detect()
422 model); in ps2pp_detect()
427 psmouse->model = model; in ps2pp_detect()
/drivers/hid/
Dhid-glorious.c48 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()
Dhid-thrustmaster.c103 uint16_t model; member
113 uint16_t model; member
215 uint16_t model = 0; in thrustmaster_model_handler() local
225 model = le16_to_cpu(tm_wheel->response->data.a.model); in thrustmaster_model_handler()
227 model = le16_to_cpu(tm_wheel->response->data.b.model); in thrustmaster_model_handler()
234 if (tm_wheels_infos[i].wheel_type == model) in thrustmaster_model_handler()
238 hid_info(hdev, "Wheel with model id 0x%x is a %s\n", model, twi->wheel_name); in thrustmaster_model_handler()
240 …hid_err(hdev, "Unknown wheel's model id 0x%x, unable to proceed further with wheel init\n", model); in thrustmaster_model_handler()
/drivers/gpu/drm/etnaviv/
Detnaviv_hwdb.c10 .model = 0x400,
41 .model = 0x7000,
72 .model = 0x7000,
103 .model = 0x7000,
141 if (etnaviv_chip_identities[i].model == ident->model && in etnaviv_fill_identity_from_hwdb()
/drivers/pinctrl/
Dpinctrl-sx150x.c78 u8 model; member
153 .model = SX150X_123,
173 .model = SX150X_123,
196 .model = SX150X_123,
219 .model = SX150X_456,
238 .model = SX150X_456,
260 .model = SX150X_456,
283 .model = SX150X_789,
304 .model = SX150X_789,
325 .model = SX150X_789,
[all …]
/drivers/s390/char/
Draw3270.c40 short model, rows, cols; member
427 int rc, model; in raw3270_size_device_vm() local
435 model = diag_data.vrdccrmd; in raw3270_size_device_vm()
437 if (rc || model < 2 || model > 5) in raw3270_size_device_vm()
438 model = 2; in raw3270_size_device_vm()
439 switch (model) { in raw3270_size_device_vm()
441 rp->model = model; in raw3270_size_device_vm()
446 rp->model = model; in raw3270_size_device_vm()
451 rp->model = model; in raw3270_size_device_vm()
456 rp->model = model; in raw3270_size_device_vm()
[all …]
/drivers/scsi/bfa/
Dbfad_attr.c725 char model[BFA_ADAPTER_MODEL_NAME_LEN]; in bfad_im_model_show() local
727 bfa_get_adapter_model(&bfad->bfa, model); in bfad_im_model_show()
728 return sysfs_emit(buf, "%s\n", model); in bfad_im_model_show()
739 char model[BFA_ADAPTER_MODEL_NAME_LEN]; in bfad_im_model_desc_show() local
743 bfa_get_adapter_model(&bfad->bfa, model); in bfad_im_model_desc_show()
745 if (!strcmp(model, "QLogic-425")) in bfad_im_model_desc_show()
748 else if (!strcmp(model, "QLogic-825")) in bfad_im_model_desc_show()
751 else if (!strcmp(model, "QLogic-42B")) in bfad_im_model_desc_show()
754 else if (!strcmp(model, "QLogic-82B")) in bfad_im_model_desc_show()
757 else if (!strcmp(model, "QLogic-1010")) in bfad_im_model_desc_show()
[all …]
/drivers/net/wireless/marvell/libertas/
Dif_sdio.c113 int model; member
180 switch (card->model) { in if_sdio_read_rx_len()
270 if (card->model == MODEL_8385) { in if_sdio_handle_event()
728 } else if ((card->model == MODEL_8686) && (scratch & 0x7fff)) { in if_sdio_prog_firmware()
734 ret = lbs_get_firmware_async(card->priv, &card->func->dev, card->model, in if_sdio_prog_firmware()
759 if ((card->model != MODEL_8385) in if_sdio_finish_power_on()
760 && (card->model != MODEL_8686)) in if_sdio_finish_power_on()
797 if (card->model == MODEL_8688) { in if_sdio_finish_power_on()
844 if ((card->model == MODEL_8686) && in if_sdio_power_on()
1139 unsigned int model; in if_sdio_probe() local
[all …]
/drivers/gpu/drm/panfrost/
Dpanfrost_gpu.c218 const struct panfrost_model *model; in panfrost_gpu_init_features() local
274 for (model = gpu_models; model->name; model++) { in panfrost_gpu_init_features()
277 if (!panfrost_model_eq(pfdev, model->id)) in panfrost_gpu_init_features()
280 name = model->name; in panfrost_gpu_init_features()
281 hw_feat = model->features; in panfrost_gpu_init_features()
282 hw_issues |= model->issues; in panfrost_gpu_init_features()
284 if (model->revs[i].revision == rev) { in panfrost_gpu_init_features()
287 } else if (model->revs[i].revision == (rev & ~0xf)) in panfrost_gpu_init_features()
292 hw_issues |= model->revs[best].issues; in panfrost_gpu_init_features()
/drivers/soc/qcom/
Dsocinfo.c351 int model = SOCINFO_MINOR(le32_to_cpu(socinfo->pmic_model)); in qcom_show_pmic_model() local
353 if (model < 0) in qcom_show_pmic_model()
356 if (model < ARRAY_SIZE(pmic_models) && pmic_models[model]) in qcom_show_pmic_model()
357 seq_printf(seq, "%s\n", pmic_models[model]); in qcom_show_pmic_model()
359 seq_printf(seq, "unknown (%d)\n", model); in qcom_show_pmic_model()
376 unsigned int model = SOCINFO_MINOR(get_unaligned_le32(ptr + 2 * i * sizeof(u32))); in qcom_show_pmic_model_array() local
379 if (model < ARRAY_SIZE(pmic_models) && pmic_models[model]) in qcom_show_pmic_model_array()
380 seq_printf(seq, "%s %u.%u\n", pmic_models[model], in qcom_show_pmic_model_array()
384 seq_printf(seq, "unknown (%d)\n", model); in qcom_show_pmic_model_array()
/drivers/mtd/nand/raw/
Dnand_jedec.c91 sanitize_string(p->model, sizeof(p->model)); in nand_jedec_detect()
92 chip->parameters.model = kstrdup(p->model, GFP_KERNEL); in nand_jedec_detect()
93 if (!chip->parameters.model) { in nand_jedec_detect()
/drivers/media/platform/vsp1/
Dvsp1_drv.c245 strscpy(mdev->model, vsp1->info->model, sizeof(mdev->model)); in vsp1_create_entities()
647 .model = "VSP1-S",
659 .model = "VSP1-R",
669 .model = "VSP1-D",
680 .model = "VSP1-S",
692 .model = "VSP1V-S",
703 .model = "VSP1V-D",
714 .model = "VSP2-I",
725 .model = "VSP2-BD",
734 .model = "VSP2-BC",
[all …]

12345678910>>...13