Home
last modified time | relevance | path

Searched refs:rtc_state (Results 1 – 3 of 3) sorted by relevance

/openbmc/qemu/hw/i386/
H A Dpc.c391 static void pc_cmos_init_floppy(MC146818RtcState *rtc_state, ISADevice *floppy) in pc_cmos_init_floppy() argument
408 mc146818rtc_set_cmos_data(rtc_state, 0x10, val); in pc_cmos_init_floppy()
410 val = mc146818rtc_get_cmos_data(rtc_state, REG_EQUIPMENT_BYTE); in pc_cmos_init_floppy()
428 mc146818rtc_set_cmos_data(rtc_state, REG_EQUIPMENT_BYTE, val); in pc_cmos_init_floppy()
1141 ISADevice *rtc_state, in pc_basic_device_init() argument
1192 qdev_connect_gpio_out(DEVICE(rtc_state), 0, rtc_irq); in pc_basic_device_init()
1195 object_property_add_alias(OBJECT(pcms), "rtc-time", OBJECT(rtc_state), in pc_basic_device_init()
1212 set_boot_dev(pcms, MC146818_RTC(rtc_state), in pc_basic_device_init()
/openbmc/linux/drivers/net/wireless/ath/ath10k/
H A Dsdio.c1376 unsigned char rtc_state = 0; in ath10k_sdio_read_rtc_state() local
1379 rtc_state = sdio_f0_readb(ar_sdio->func, ATH10K_CIS_RTC_STATE_ADDR, &ret); in ath10k_sdio_read_rtc_state()
1385 *state = rtc_state & 0x3; in ath10k_sdio_read_rtc_state()
1395 unsigned char rtc_state = 0; in ath10k_sdio_set_mbox_sleep() local
1423 ret = ath10k_sdio_read_rtc_state(ar_sdio, &rtc_state); in ath10k_sdio_set_mbox_sleep()
1431 rtc_state); in ath10k_sdio_set_mbox_sleep()
1433 if (rtc_state == ATH10K_CIS_RTC_STATE_ON) in ath10k_sdio_set_mbox_sleep()
/openbmc/qemu/include/hw/i386/
H A Dpc.h195 ISADevice *rtc_state,