Home
last modified time | relevance | path

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

12345678910>>...15

/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
325 static int scsi_dev_info_list_add(int compatible, char *vendor, char *model, in scsi_dev_info_list_add() argument
328 return scsi_dev_info_list_add_keyed(compatible, vendor, model, in scsi_dev_info_list_add()
351 int scsi_dev_info_list_add_keyed(int compatible, char *vendor, char *model, in scsi_dev_info_list_add_keyed() argument
370 scsi_strcpy_devinfo("model", devinfo->model, sizeof(devinfo->model), in scsi_dev_info_list_add_keyed()
371 model, compatible); in scsi_dev_info_list_add_keyed()
385 vendor, model, flags & __BLIST_UNUSED_MASK); in scsi_dev_info_list_add_keyed()
416 const char *model, enum scsi_devinfo_key key) in scsi_dev_info_list_find() argument
447 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/perf/
Darm-cci.c35 #define CCI_PMU_CNTR_SIZE(model) ((model)->cntr_size) argument
36 #define CCI_PMU_CNTR_BASE(model, idx) ((idx) * CCI_PMU_CNTR_SIZE(model)) argument
40 #define CCI_PMU_MAX_HW_CNTRS(model) \ argument
41 ((model)->num_hw_cntrs + (model)->fixed_hw_cntrs)
104 const struct cci_pmu_model *model; member
362 if (ev_code >= cci_pmu->model->event_ranges[if_type].min && in cci400_validate_hw_event()
363 ev_code <= cci_pmu->model->event_ranges[if_type].max) in cci400_validate_hw_event()
573 if (ev_code >= cci_pmu->model->event_ranges[if_type].min && in cci500_validate_hw_event()
574 ev_code <= cci_pmu->model->event_ranges[if_type].max) in cci500_validate_hw_event()
625 if (ev_code >= cci_pmu->model->event_ranges[if_type].min && in cci550_validate_hw_event()
[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/gpu/drm/etnaviv/
Detnaviv_hwdb.c10 .model = 0x400,
42 .model = 0x520,
73 .model = 0x7000,
105 .model = 0x7000,
137 .model = 0x7000,
168 .model = 0x7000,
200 .model = 0x8000,
232 .model = 0x8000,
274 if (etnaviv_chip_identities[i].model == ident->model && in etnaviv_fill_identity_from_hwdb()
/drivers/parisc/
Dled.c55 unsigned long model:16; /* DISPLAY_MODEL_XXXX */ member
80 .model = DISPLAY_MODEL_NONE,
103 if (lcd_info.model != DISPLAY_MODEL_LCD) in lcd_print_now()
398 int __init register_led_driver(int model, unsigned long cmd_reg, unsigned long data_reg) in register_led_driver() argument
407 lcd_info.model = model; /* store the values */ in register_led_driver()
410 switch (lcd_info.model) { in register_led_driver()
438 pr_err("led: Unknown LCD/LED model type %d\n", lcd_info.model); in register_led_driver()
474 lcd_info.model = DISPLAY_MODEL_LCD; in early_led_init()
486 lcd_info.model = DISPLAY_MODEL_NONE; in early_led_init()
494 switch (lcd_info.model) { in early_led_init()
[all …]
/drivers/comedi/drivers/
Dvmk80xx.c109 enum vmk80xx_model model; member
123 .model = VMK8055_MODEL,
133 .model = VMK8061_MODEL,
151 enum vmk80xx_model model; member
186 if (devpriv->model == VMK8061_MODEL) { in vmk80xx_read_packet()
207 if (devpriv->model == VMK8061_MODEL) { in vmk80xx_write_packet()
247 switch (devpriv->model) { in vmk80xx_ai_insn_read()
267 if (devpriv->model == VMK8055_MODEL) { in vmk80xx_ai_insn_read()
296 switch (devpriv->model) { in vmk80xx_ao_insn_write()
366 if (devpriv->model == VMK8061_MODEL) { in vmk80xx_di_insn_bits()
[all …]
/drivers/media/i2c/ccs/
Dccs.h125 #define CCS_IDENT_FQ(manufacturer, model, rev, fl, _name, _quirk) \ argument
127 .model_id = model, \
133 #define CCS_IDENT_LQ(manufacturer, model, rev, _name, _quirk) \ argument
135 .model_id = model, \
141 #define CCS_IDENT_L(manufacturer, model, rev, _name) \ argument
143 .model_id = model, \
148 #define CCS_IDENT_Q(manufacturer, model, rev, _name, _quirk) \ argument
150 .model_id = model, \
156 #define CCS_IDENT(manufacturer, model, rev, _name) \ argument
158 .model_id = model, \
/drivers/input/joystick/
Dtmdc.c261 const struct tmdc_model *model; in tmdc_setup_port() local
276 for (model = tmdc_models; model->id && model->id != port->mode; model++) in tmdc_setup_port()
279 port->abs = model->axes; in tmdc_setup_port()
280 port->btn = model->buttons; in tmdc_setup_port()
282 if (!model->id) { in tmdc_setup_port()
287 port->absc = model->abs; in tmdc_setup_port()
289 port->btnc[i] = model->btnc[i]; in tmdc_setup_port()
293 port->btno[i] = model->btno[i]; in tmdc_setup_port()
295 snprintf(port->name, sizeof(port->name), model->name, in tmdc_setup_port()
305 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-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()
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()
/drivers/media/platform/renesas/vsp1/
Dvsp1_drv.c254 strscpy(mdev->model, vsp1->info->model, sizeof(mdev->model)); in vsp1_create_entities()
683 .model = "VSP1-S",
695 .model = "VSP1-R",
705 .model = "VSP1-D",
716 .model = "VSP1-S",
728 .model = "VSP1V-S",
739 .model = "VSP1V-D",
750 .model = "VSP2-I",
761 .model = "VSP2-BD",
770 .model = "VSP2-BC",
[all …]
/drivers/pinctrl/
Dpinctrl-sx150x.c77 u8 model; member
151 .model = SX150X_123,
171 .model = SX150X_123,
194 .model = SX150X_123,
217 .model = SX150X_456,
236 .model = SX150X_456,
258 .model = SX150X_456,
281 .model = SX150X_789,
302 .model = SX150X_789,
323 .model = SX150X_789,
[all …]
/drivers/s390/char/
Draw3270.c41 int model, rows, cols; member
446 int rc, model; in raw3270_size_device_vm() local
454 rp->model = 2; in raw3270_size_device_vm()
465 model = diag_data.vrdccrmd; in raw3270_size_device_vm()
467 if (rc || model < 2 || model > 5) in raw3270_size_device_vm()
468 model = 2; in raw3270_size_device_vm()
469 switch (model) { in raw3270_size_device_vm()
471 rp->model = model; in raw3270_size_device_vm()
476 rp->model = model; in raw3270_size_device_vm()
481 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
181 switch (card->model) { in if_sdio_read_rx_len()
271 if (card->model == MODEL_8385) { in if_sdio_handle_event()
730 } else if ((card->model == MODEL_8686) && (scratch & 0x7fff)) { in if_sdio_prog_firmware()
736 ret = lbs_get_firmware_async(card->priv, &card->func->dev, card->model, in if_sdio_prog_firmware()
761 if ((card->model != MODEL_8385) in if_sdio_finish_power_on()
762 && (card->model != MODEL_8686)) in if_sdio_finish_power_on()
799 if (card->model == MODEL_8688) { in if_sdio_finish_power_on()
846 if ((card->model == MODEL_8686) && in if_sdio_power_on()
1140 unsigned int model; in if_sdio_probe() local
[all …]
/drivers/mtd/nand/raw/
Dnand_jedec.c90 sanitize_string(p->model, sizeof(p->model)); in nand_jedec_detect()
91 chip->parameters.model = kstrdup(p->model, GFP_KERNEL); in nand_jedec_detect()
92 if (!chip->parameters.model) { in nand_jedec_detect()
/drivers/peci/
Dcpu.c298 .model = INTEL_FAM6_HASWELL_X,
303 .model = INTEL_FAM6_BROADWELL_X,
308 .model = INTEL_FAM6_BROADWELL_D,
313 .model = INTEL_FAM6_SKYLAKE_X,
318 .model = INTEL_FAM6_ICELAKE_X,
323 .model = INTEL_FAM6_ICELAKE_D,
328 .model = INTEL_FAM6_SAPPHIRERAPIDS_X,
/drivers/gpu/drm/panfrost/
Dpanfrost_gpu.c228 const struct panfrost_model *model; in panfrost_gpu_init_features() local
284 for (model = gpu_models; model->name; model++) { in panfrost_gpu_init_features()
287 if (!panfrost_model_eq(pfdev, model->id)) in panfrost_gpu_init_features()
290 name = model->name; in panfrost_gpu_init_features()
291 hw_feat = model->features; in panfrost_gpu_init_features()
292 hw_issues |= model->issues; in panfrost_gpu_init_features()
294 if (model->revs[i].revision == rev) { in panfrost_gpu_init_features()
297 } else if (model->revs[i].revision == (rev & ~0xf)) in panfrost_gpu_init_features()
302 hw_issues |= model->revs[best].issues; in panfrost_gpu_init_features()
/drivers/media/mc/
Dmc-device.c70 strscpy(info->model, dev->model, sizeof(info->model)); in media_device_get_info()
565 return sprintf(buf, "%.*s\n", (int)sizeof(mdev->model), mdev->model); in model_show()
568 static DEVICE_ATTR_RO(model);
846 strscpy(mdev->model, name, sizeof(mdev->model)); in media_device_pci_init()
848 strscpy(mdev->model, pci_name(pci_dev), sizeof(mdev->model)); in media_device_pci_init()
873 strscpy(mdev->model, board_name, sizeof(mdev->model)); in __media_device_usb_init()
875 strscpy(mdev->model, udev->product, sizeof(mdev->model)); in __media_device_usb_init()
877 strscpy(mdev->model, "unknown model", sizeof(mdev->model)); in __media_device_usb_init()
/drivers/media/usb/cx231xx/
Dcx231xx-input.c57 if (!cx231xx_boards[dev->model].rc_map_name) in cx231xx_ir_init()
68 dev->init_data.name = cx231xx_boards[dev->model].name; in cx231xx_ir_init()
80 dev->init_data.ir_codes = cx231xx_boards[dev->model].rc_map_name; in cx231xx_ir_init()
88 ir_i2c_bus = cx231xx_boards[dev->model].ir_i2c_master; in cx231xx_ir_init()

12345678910>>...15