Home
last modified time | relevance | path

Searched refs:cmos (Results 1 – 10 of 10) sorted by relevance

/linux/drivers/rtc/
H A Drtc-cmos.c253 struct cmos_rtc *cmos; member
269 if (p->cmos->day_alrm) { in cmos_read_alarm_callback()
271 time->tm_mday = CMOS_READ(p->cmos->day_alrm) & 0x3f; in cmos_read_alarm_callback()
275 if (p->cmos->mon_alrm) { in cmos_read_alarm_callback()
276 time->tm_mon = CMOS_READ(p->cmos->mon_alrm); in cmos_read_alarm_callback()
287 struct cmos_rtc *cmos = dev_get_drvdata(dev); in cmos_read_alarm() local
289 .cmos = cmos, in cmos_read_alarm()
294 if (!is_valid_irq(cmos->irq)) in cmos_read_alarm()
327 if (cmos->day_alrm) { in cmos_read_alarm()
333 if (cmos->mon_alrm) { in cmos_read_alarm()
[all …]
H A DMakefile42 obj-$(CONFIG_RTC_DRV_CMOS) += rtc-cmos.o
H A DKconfig1020 will be called rtc-cmos.
/linux/drivers/block/
H A Dfloppy.c3589 char cmos; member
3722 drive_params[drive].cmos = v.cmos; in compat_setdrvprm()
3753 v.cmos = drive_params[drive].cmos; in compat_getdrvprm()
3925 if (!drive_params[drive].cmos) in config_types()
3926 drive_params[drive].cmos = FLOPPY0_TYPE; in config_types()
3928 if (!drive_params[drive].cmos) in config_types()
3929 drive_params[drive].cmos = FLOPPY1_TYPE; in config_types()
3934 unsigned int type = drive_params[drive].cmos; in config_types()
4020 if ((drive_params[drive].cmos == 6) || (drive_params[drive].cmos == 5)) in floppy_open()
4370 drive_params[current_drive].cmos = ints[2]; in set_cmos()
[all …]
/linux/include/uapi/linux/
H A Dfd.h128 signed char cmos; /* CMOS type */ member
/linux/Documentation/admin-guide/blockdev/
H A Dfloppy.rst81 0x370, and if you use the 'cmos' option.
143 floppy=<drive>,<type>,cmos
/linux/arch/arm/boot/dts/aspeed/
H A Daspeed-bmc-tyan-s8036.dts425 /*F1*/ "clear-cmos-control", /* out: BMC_ASSERT_CLR_CMOS_L */
H A Daspeed-bmc-tyan-s7106.dts478 /*F1*/ "clear-cmos-control", /* out: BMC_CLR_CMOS_N */
/linux/drivers/platform/x86/
H A Dthinkpad_acpi.c596 TPACPI_HANDLE(cmos, root, "\\UCMS", /* R50, R50e, R50p, R51, */
5307 TPACPI_ACPIHANDLE_INIT(cmos); in light_init()
5434 TPACPI_ACPIHANDLE_INIT(cmos); in cmos_init()
11748 TPACPI_PARAM(cmos);
/linux/Documentation/admin-guide/laptops/
H A Dthinkpad-acpi.rst740 procfs: /proc/acpi/ibm/cmos
754 The range of valid cmos command numbers is 0 to 21, but not all have an
769 The cmos command interface is prone to firmware split-brain problems, as