Searched refs:ttl_write_reg (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/gpio/ |
H A D | gpio-janz-ttl.c | 108 static void ttl_write_reg(struct ttl_module *mod, u8 reg, u16 val) in ttl_write_reg() function 122 ttl_write_reg(mod, PORTA_IOCTL, 0x00ff); in ttl_setup_device() 123 ttl_write_reg(mod, PORTB_IOCTL, 0x00ff); in ttl_setup_device() 124 ttl_write_reg(mod, PORTC_IOCTL, 0x000f); in ttl_setup_device() 127 ttl_write_reg(mod, PORTA_DIRECTION, 0x0000); in ttl_setup_device() 128 ttl_write_reg(mod, PORTB_DIRECTION, 0x0000); in ttl_setup_device() 129 ttl_write_reg(mod, PORTC_DIRECTION, 0x0000); in ttl_setup_device() 137 ttl_write_reg(mod, MASTER_CONF_CTL, CONF_PAE | CONF_PBE | CONF_PCE); in ttl_setup_device()
|