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
215 } pins;
455 * These are the parallel port pins the LCD control signals are connected to.
712 if (lcd.pins.bl == PIN_NONE)
861 lcd.pins.e = PIN_STROBE;
862 lcd.pins.rs = PIN_AUTOLF;
873 lcd.pins.bl = PIN_AUTOLF;
874 lcd.pins.cl = PIN_STROBE;
875 lcd.pins.da = PIN_D0;
886 lcd.pins.e = PIN_AUTOLF;
887 lcd.pins.rs = PIN_SELECP;
888 lcd.pins.rw = PIN_INITP;
906 lcd.pins.e = PIN_STROBE;
907 lcd.pins.rs = PIN_SELECP;
930 lcd.pins.e = lcd_e_pin;
932 lcd.pins.rs = lcd_rs_pin;
934 lcd.pins.rw = lcd_rw_pin;
936 lcd.pins.cl = lcd_cl_pin;
938 lcd.pins.da = lcd_da_pin;
940 lcd.pins.bl = lcd_bl_pin;
957 if (lcd.pins.cl == PIN_NOT_SET)
958 lcd.pins.cl = DEFAULT_LCD_PIN_SCL;
959 if (lcd.pins.da == PIN_NOT_SET)
960 lcd.pins.da = DEFAULT_LCD_PIN_SDA;
967 if (lcd.pins.e == PIN_NOT_SET)
968 lcd.pins.e = DEFAULT_LCD_PIN_E;
969 if (lcd.pins.rs == PIN_NOT_SET)
970 lcd.pins.rs = DEFAULT_LCD_PIN_RS;
971 if (lcd.pins.rw == PIN_NOT_SET)
972 lcd.pins.rw = DEFAULT_LCD_PIN_RW;
979 if (lcd.pins.bl == PIN_NOT_SET)
980 lcd.pins.bl = DEFAULT_LCD_PIN_BL;
982 if (lcd.pins.e == PIN_NOT_SET)
983 lcd.pins.e = PIN_NONE;
984 if (lcd.pins.rs == PIN_NOT_SET)
985 lcd.pins.rs = PIN_NONE;
986 if (lcd.pins.rw == PIN_NOT_SET)
987 lcd.pins.rw = PIN_NONE;
988 if (lcd.pins.bl == PIN_NOT_SET)
989 lcd.pins.bl = PIN_NONE;
990 if (lcd.pins.cl == PIN_NOT_SET)
991 lcd.pins.cl = PIN_NONE;
992 if (lcd.pins.da == PIN_NOT_SET)
993 lcd.pins.da = PIN_NONE;
1003 pin_to_bits(lcd.pins.e, lcd_bits[LCD_PORT_D][LCD_BIT_E],
1005 pin_to_bits(lcd.pins.rs, lcd_bits[LCD_PORT_D][LCD_BIT_RS],
1007 pin_to_bits(lcd.pins.rw, lcd_bits[LCD_PORT_D][LCD_BIT_RW],
1009 pin_to_bits(lcd.pins.bl, lcd_bits[LCD_PORT_D][LCD_BIT_BL],
1011 pin_to_bits(lcd.pins.cl, lcd_bits[LCD_PORT_D][LCD_BIT_CL],
1013 pin_to_bits(lcd.pins.da, lcd_bits[LCD_PORT_D][LCD_BIT_DA],
1688 lcd.pins.e = lcd_e_pin;
1689 lcd.pins.rs = lcd_rs_pin;
1690 lcd.pins.rw = lcd_rw_pin;
1691 lcd.pins.cl = lcd_cl_pin;
1692 lcd.pins.da = lcd_da_pin;
1693 lcd.pins.bl = lcd_bl_pin;