Lines Matching refs:pins
11 * serial module compatible with Samsung's KS0074. The pins may be connected in
14 * The keypad consists in a matrix of push buttons connecting input pins to
15 * data output pins or to the ground. The combinations have to be hard-coded
214 } pins;
456 * These are the parallel port pins the LCD control signals are connected to.
713 if (lcd.pins.bl == PIN_NONE)
917 lcd.pins.e = PIN_STROBE;
918 lcd.pins.rs = PIN_AUTOLF;
929 lcd.pins.bl = PIN_AUTOLF;
930 lcd.pins.cl = PIN_STROBE;
931 lcd.pins.da = PIN_D0;
942 lcd.pins.e = PIN_AUTOLF;
943 lcd.pins.rs = PIN_SELECP;
944 lcd.pins.rw = PIN_INITP;
962 lcd.pins.e = PIN_STROBE;
963 lcd.pins.rs = PIN_SELECP;
986 lcd.pins.e = lcd_e_pin;
988 lcd.pins.rs = lcd_rs_pin;
990 lcd.pins.rw = lcd_rw_pin;
992 lcd.pins.cl = lcd_cl_pin;
994 lcd.pins.da = lcd_da_pin;
996 lcd.pins.bl = lcd_bl_pin;
1011 if (lcd.pins.cl == PIN_NOT_SET)
1012 lcd.pins.cl = DEFAULT_LCD_PIN_SCL;
1013 if (lcd.pins.da == PIN_NOT_SET)
1014 lcd.pins.da = DEFAULT_LCD_PIN_SDA;
1019 if (lcd.pins.e == PIN_NOT_SET)
1020 lcd.pins.e = DEFAULT_LCD_PIN_E;
1021 if (lcd.pins.rs == PIN_NOT_SET)
1022 lcd.pins.rs = DEFAULT_LCD_PIN_RS;
1023 if (lcd.pins.rw == PIN_NOT_SET)
1024 lcd.pins.rw = DEFAULT_LCD_PIN_RW;
1029 if (lcd.pins.bl == PIN_NOT_SET)
1030 lcd.pins.bl = DEFAULT_LCD_PIN_BL;
1032 if (lcd.pins.e == PIN_NOT_SET)
1033 lcd.pins.e = PIN_NONE;
1034 if (lcd.pins.rs == PIN_NOT_SET)
1035 lcd.pins.rs = PIN_NONE;
1036 if (lcd.pins.rw == PIN_NOT_SET)
1037 lcd.pins.rw = PIN_NONE;
1038 if (lcd.pins.bl == PIN_NOT_SET)
1039 lcd.pins.bl = PIN_NONE;
1040 if (lcd.pins.cl == PIN_NOT_SET)
1041 lcd.pins.cl = PIN_NONE;
1042 if (lcd.pins.da == PIN_NOT_SET)
1043 lcd.pins.da = PIN_NONE;
1053 pin_to_bits(lcd.pins.e, lcd_bits[LCD_PORT_D][LCD_BIT_E],
1055 pin_to_bits(lcd.pins.rs, lcd_bits[LCD_PORT_D][LCD_BIT_RS],
1057 pin_to_bits(lcd.pins.rw, lcd_bits[LCD_PORT_D][LCD_BIT_RW],
1059 pin_to_bits(lcd.pins.bl, lcd_bits[LCD_PORT_D][LCD_BIT_BL],
1061 pin_to_bits(lcd.pins.cl, lcd_bits[LCD_PORT_D][LCD_BIT_CL],
1063 pin_to_bits(lcd.pins.da, lcd_bits[LCD_PORT_D][LCD_BIT_DA],
1737 lcd.pins.e = lcd_e_pin;
1738 lcd.pins.rs = lcd_rs_pin;
1739 lcd.pins.rw = lcd_rw_pin;
1740 lcd.pins.cl = lcd_cl_pin;
1741 lcd.pins.da = lcd_da_pin;
1742 lcd.pins.bl = lcd_bl_pin;