Searched refs:APPLESMC_DATA_PORT (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/hwmon/ |
H A D | applesmc.c | 38 #define APPLESMC_DATA_PORT 0x300 macro 243 if (send_byte(key[i], APPLESMC_DATA_PORT)) in send_argument() 264 if (send_byte(len, APPLESMC_DATA_PORT)) { in read_smc() 275 buffer[i] = inb(APPLESMC_DATA_PORT); in read_smc() 284 data = inb(APPLESMC_DATA_PORT); in read_smc() 306 if (send_byte(len, APPLESMC_DATA_PORT)) { in write_smc() 312 if (send_byte(buffer[i], APPLESMC_DATA_PORT)) { in write_smc() 1319 if (!request_region(APPLESMC_DATA_PORT, APPLESMC_NR_PORTS, in applesmc_init() 1329 pdev = platform_device_register_simple("applesmc", APPLESMC_DATA_PORT, in applesmc_init() 1392 release_region(APPLESMC_DATA_PORT, APPLESMC_NR_PORTS); in applesmc_init() [all …]
|
/openbmc/qemu/hw/misc/ |
H A D | applesmc.c | 51 APPLESMC_DATA_PORT = 0x00, enumerator 315 s->iobase + APPLESMC_DATA_PORT); in applesmc_isa_realize()
|