Lines Matching refs:model
85 unsigned long model:16; /* DISPLAY_MODEL_XXXX */
110 .model = DISPLAY_MODEL_LCD,
522 if (lcd_info.model == DISPLAY_MODEL_LCD)
539 int __init register_led_driver(int model, unsigned long cmd_reg, unsigned long data_reg)
546 lcd_info.model = model; /* store the values */
549 switch (lcd_info.model) {
574 printk(KERN_ERR "%s: Wrong LCD/LED model %d !\n",
575 __func__, lcd_info.model);
605 switch (lcd_info.model) {
631 if (!led_func_ptr || lcd_info.model != DISPLAY_MODEL_LCD)
694 lcd_info.model = DISPLAY_MODEL_NONE;
699 DPRINTK((KERN_INFO "%s: chassis info: model=%d (%s), "
702 __FILE__, lcd_info.model,
703 (lcd_info.model==DISPLAY_MODEL_LCD) ? "LCD" :
704 (lcd_info.model==DISPLAY_MODEL_LASI) ? "LED" : "unknown",
717 switch (lcd_info.model) {
738 printk(KERN_WARNING "PDC reported unknown LCD/LED model %d\n",
739 lcd_info.model);
745 register_led_driver(lcd_info.model, LCD_CMD_REG, LCD_DATA_REG);
753 lcd_info.model = DISPLAY_MODEL_NONE;