Lines Matching refs:sioaddr

554 	int sioaddr;  member
578 int sioaddr; member
746 err = superio_enter(data->sioaddr, has_noconf(data)); in smbus_disable()
749 superio_select(data->sioaddr, PME); in smbus_disable()
750 superio_outb(data->sioaddr, IT87_SPECIAL_CFG_REG, in smbus_disable()
752 superio_exit(data->sioaddr, has_noconf(data)); in smbus_disable()
762 err = superio_enter(data->sioaddr, has_noconf(data)); in smbus_enable()
766 superio_select(data->sioaddr, PME); in smbus_enable()
767 superio_outb(data->sioaddr, IT87_SPECIAL_CFG_REG, in smbus_enable()
769 superio_exit(data->sioaddr, has_noconf(data)); in smbus_enable()
2692 static int __init it87_find(int sioaddr, unsigned short *address, in it87_find() argument
2701 err = superio_enter(sioaddr, true); in it87_find()
2706 chip_type = superio_inw(sioaddr, DEVID); in it87_find()
2710 __superio_enter(sioaddr); in it87_find()
2713 chip_type = superio_inw(sioaddr, DEVID); in it87_find()
2808 __superio_enter(sioaddr); in it87_find()
2812 superio_select(sioaddr, PME); in it87_find()
2813 if (!(superio_inb(sioaddr, IT87_ACT_REG) & 0x01)) { in it87_find()
2815 config->model, sioaddr); in it87_find()
2819 *address = superio_inw(sioaddr, IT87_BASE_REG) & ~(IT87_EXTENT - 1); in it87_find()
2822 config->model, sioaddr); in it87_find()
2827 sio_data->sioaddr = sioaddr; in it87_find()
2828 sio_data->revision = superio_inb(sioaddr, DEVREV) & 0x0f; in it87_find()
2859 superio_select(sioaddr, 5); in it87_find()
2860 sio_data->beep_pin = superio_inb(sioaddr, in it87_find()
2865 superio_select(sioaddr, GPIO); in it87_find()
2867 reg25 = superio_inb(sioaddr, IT87_SIO_GPIO1_REG); in it87_find()
2868 reg27 = superio_inb(sioaddr, IT87_SIO_GPIO3_REG); in it87_find()
2869 reg2a = superio_inb(sioaddr, IT87_SIO_PINX1_REG); in it87_find()
2870 reg2c = superio_inb(sioaddr, IT87_SIO_PINX2_REG); in it87_find()
2871 regef = superio_inb(sioaddr, IT87_SIO_SPI_REG); in it87_find()
2914 superio_outb(sioaddr, IT87_SIO_PINX2_REG, in it87_find()
2928 sio_data->beep_pin = superio_inb(sioaddr, in it87_find()
2933 superio_select(sioaddr, GPIO); in it87_find()
2935 reg27 = superio_inb(sioaddr, IT87_SIO_GPIO3_REG); in it87_find()
2944 reg29 = superio_inb(sioaddr, IT87_SIO_GPIO5_REG); in it87_find()
2953 sio_data->beep_pin = superio_inb(sioaddr, in it87_find()
2958 superio_select(sioaddr, GPIO); in it87_find()
2961 reg = superio_inb(sioaddr, IT87_SIO_GPIO1_REG); in it87_find()
2966 reg = superio_inb(sioaddr, IT87_SIO_GPIO2_REG); in it87_find()
2973 reg = superio_inb(sioaddr, IT87_SIO_GPIO3_REG); in it87_find()
2980 reg = superio_inb(sioaddr, IT87_SIO_GPIO4_REG); in it87_find()
2985 reg = superio_inb(sioaddr, IT87_SIO_GPIO5_REG); in it87_find()
2997 reg = superio_inb(sioaddr, IT87_SIO_PINX2_REG); in it87_find()
3003 sio_data->beep_pin = superio_inb(sioaddr, in it87_find()
3008 superio_select(sioaddr, GPIO); in it87_find()
3011 reg = superio_inb(sioaddr, IT87_SIO_GPIO1_REG); in it87_find()
3018 reg = superio_inb(sioaddr, IT87_SIO_GPIO3_REG); in it87_find()
3029 reg = superio_inb(sioaddr, IT87_SIO_GPIO5_REG); in it87_find()
3036 reg = superio_inb(sioaddr, IT87_SIO_PINX2_REG); in it87_find()
3040 sio_data->beep_pin = superio_inb(sioaddr, in it87_find()
3045 superio_select(sioaddr, GPIO); in it87_find()
3048 reg = superio_inb(sioaddr, IT87_SIO_GPIO5_REG); in it87_find()
3055 reg = superio_inb(sioaddr, IT87_SIO_GPIO3_REG); in it87_find()
3064 reg = superio_inb(sioaddr, IT87_SIO_PINX2_REG); in it87_find()
3068 sio_data->beep_pin = superio_inb(sioaddr, in it87_find()
3074 superio_select(sioaddr, GPIO); in it87_find()
3078 reg = superio_inb(sioaddr, IT87_SIO_GPIO2_REG); in it87_find()
3099 reg = superio_inb(sioaddr, IT87_SIO_GPIO3_REG); in it87_find()
3115 reg = superio_inb(sioaddr, IT87_SIO_GPIO5_REG); in it87_find()
3123 sio_data->vid_value = superio_inb(sioaddr, in it87_find()
3126 reg = superio_inb(sioaddr, IT87_SIO_PINX2_REG); in it87_find()
3146 superio_outb(sioaddr, IT87_SIO_PINX2_REG, reg); in it87_find()
3169 sio_data->beep_pin = superio_inb(sioaddr, in it87_find()
3182 superio_select(sioaddr, PME); in it87_find()
3183 reg = superio_inb(sioaddr, IT87_SPECIAL_CFG_REG); in it87_find()
3189 superio_exit(sioaddr, !enabled); in it87_find()
3420 data->sioaddr = sio_data->sioaddr; in it87_probe()
3566 err = superio_enter(data->sioaddr, has_noconf(data)); in it87_resume_sio()
3574 superio_select(data->sioaddr, GPIO); in it87_resume_sio()
3576 reg2c = superio_inb(data->sioaddr, IT87_SIO_PINX2_REG); in it87_resume_sio()
3582 superio_outb(data->sioaddr, IT87_SIO_PINX2_REG, in it87_resume_sio()
3586 superio_exit(data->sioaddr, has_noconf(data)); in it87_resume_sio()
3717 int sioaddr[2] = { REG_2E, REG_4E }; in sm_it87_init() local
3729 for (i = 0; i < ARRAY_SIZE(sioaddr); i++) { in sm_it87_init()
3732 err = it87_find(sioaddr[i], &isa_address[i], &sio_data, i); in sm_it87_init()