Home
last modified time | relevance | path

Searched refs:mon (Results 1 – 22 of 22) sorted by relevance

/drivers/rtc/
Drtc-mc146818-lib.c234 unsigned char mon, day, hrs, min, sec; in mc146818_set_time() local
243 mon = time->tm_mon + 1; /* tm_mon starts at zero */ in mc146818_set_time()
263 if (!leap_yr && mon < 3) { in mc146818_set_time()
294 mon = bin2bcd(mon); in mc146818_set_time()
312 CMOS_WRITE(mon, RTC_MONTH); in mc146818_set_time()
Drtc-m48t35.c100 unsigned char mon, day, hrs, min, sec; in m48t35_set_time() local
105 mon = tm->tm_mon + 1; /* tm_mon starts at zero */ in m48t35_set_time()
128 mon = bin2bcd(mon); in m48t35_set_time()
135 writeb(mon, &priv->reg->month); in m48t35_set_time()
Drtc-bq4802.c95 u8 sec, min, hrs, day, mon, yrs, century, val; in bq4802_set_time() local
103 mon = tm->tm_mon + 1; /* tm_mon starts at zero */ in bq4802_set_time()
113 mon = bin2bcd(mon); in bq4802_set_time()
126 p->write(p, 0x09, mon); in bq4802_set_time()
Drtc-ds1511.c176 u8 mon, day, dow, hrs, min, sec, yrs, cen; in ds1511_rtc_set_time() local
190 mon = rtc_tm->tm_mon + 1; /* tm_mon starts at zero */ in ds1511_rtc_set_time()
197 if ((mon > 12) || (day == 0)) in ds1511_rtc_set_time()
213 mon = bin2bcd(mon) & 0x1f; in ds1511_rtc_set_time()
221 rtc_write((rtc_read(RTC_MON) & 0xe0) | mon, RTC_MON); in ds1511_rtc_set_time()
Drtc-ds1286.c216 unsigned char mon, day, hrs, min, sec; in ds1286_set_time() local
222 mon = tm->tm_mon + 1; /* tm_mon starts at zero */ in ds1286_set_time()
242 mon = bin2bcd(mon); in ds1286_set_time()
250 ds1286_rtc_write(priv, mon, RTC_MONTH); in ds1286_set_time()
Drtc-davinci.c232 int tmp_days, year, mon; in convertfromdays() local
239 for (mon = 0;; mon++) { in convertfromdays()
240 tmp_days = rtc_month_days(mon, year); in convertfromdays()
245 tm->tm_mon = mon; in convertfromdays()
Drtc-sh.c429 int mon; in sh_rtc_set_alarm() local
444 mon = tm->tm_mon; in sh_rtc_set_alarm()
445 if (mon >= 0) in sh_rtc_set_alarm()
446 mon += 1; in sh_rtc_set_alarm()
447 sh_rtc_write_alarm_value(rtc, mon, RMONAR); in sh_rtc_set_alarm()
Drtc-imx-sc.c35 u8 mon; member
96 msg.mon = alrm_tm->tm_mon + 1; in imx_sc_rtc_set_alarm()
Drtc-mt7622.c155 u32 year, mon, mday, wday, hour, min, sec; in mtk_rtc_get_alarm_or_time() local
169 mon = mtk_r32(hw, MTK_RTC_TREG(time_alarm, MTK_MON)); in mtk_rtc_get_alarm_or_time()
178 tm->tm_mon = mon - 1; in mtk_rtc_get_alarm_or_time()
Drtc-cmos.c475 unsigned char mon, mday, hrs, min, sec; member
500 CMOS_WRITE(p->mon, p->cmos->mon_alrm); in cmos_set_alarm_callback()
534 p.mon = t->time.tm_mon + 1; in cmos_set_alarm()
546 p.mon = (p.mon <= 12) ? bin2bcd(p.mon) : 0xff; in cmos_set_alarm()
/drivers/video/fbdev/
Dbw2.c233 u8 status, mon; in bw2_do_default_mode() local
237 mon = status & BWTWO_SR_RES_MASK; in bw2_do_default_mode()
240 if (mon == BWTWO_SR_1600_1280) { in bw2_do_default_mode()
254 if (mon == BWTWO_SR_1152_900_76_A || in bw2_do_default_mode()
255 mon == BWTWO_SR_1152_900_76_B) in bw2_do_default_mode()
Dcg3.c320 u8 status = sbus_readb(&par->regs->status), mon; in cg3_do_default_mode() local
322 mon = status & CG3_SR_RES_MASK; in cg3_do_default_mode()
323 if (mon == CG3_SR_1152_900_76_A || in cg3_do_default_mode()
324 mon == CG3_SR_1152_900_76_B) in cg3_do_default_mode()
/drivers/net/wireless/microchip/wilc1000/
DMakefile4 wilc1000-objs := cfg80211.o netdev.o mon.o \
/drivers/media/pci/ddbridge/
Dddbridge-i2c.c67 u32 mon = ddbreadl(dev, in ddb_i2c_cmd() local
71 val, mon); in ddb_i2c_cmd()
/drivers/misc/habanalabs/common/
Dstate_dump.c206 struct hl_mon_state_dump *mon) in hl_state_dump_get_monitor_name() argument
212 entry, node, mon->id) in hl_state_dump_get_monitor_name()
213 if (mon->id == entry->id) in hl_state_dump_get_monitor_name()
Dhabanalabs.h1967 struct hl_mon_state_dump *mon);
1968 int (*monitor_valid)(struct hl_mon_state_dump *mon);
2974 struct hl_mon_state_dump *mon);
/drivers/usb/
DMakefile20 obj-$(CONFIG_USB_MON) += mon/
DKconfig98 source "drivers/usb/mon/Kconfig"
/drivers/firmware/efi/
Dcper.c476 __u8 hour, min, sec, day, mon, year, century, *timestamp; in cper_print_tstamp() local
484 mon = bcd2bin(timestamp[5]); in cper_print_tstamp()
490 century, year, mon, day, hour, min, sec); in cper_print_tstamp()
/drivers/misc/bcm-vk/
Dbcm_vk_dev.c440 struct bcm_vk_proc_mon_info *mon = &vk->proc_mon_info; in bcm_vk_get_proc_mon_info() local
461 mon->num = num; in bcm_vk_get_proc_mon_info()
462 mon->entry_size = entry_size; in bcm_vk_get_proc_mon_info()
467 dst = (u8 *)&mon->entries[0]; in bcm_vk_get_proc_mon_info()
/drivers/misc/habanalabs/gaudi/
Dgaudi.c9229 static int gaudi_monitor_valid(struct hl_mon_state_dump *mon) in gaudi_monitor_valid() argument
9233 mon->status); in gaudi_monitor_valid()
9236 static void gaudi_fill_sobs_from_mon(char *sobs, struct hl_mon_state_dump *mon) in gaudi_fill_sobs_from_mon() argument
9246 mon->arm_data); in gaudi_fill_sobs_from_mon()
9248 mon->arm_data); in gaudi_fill_sobs_from_mon()
9266 struct hl_mon_state_dump *mon) in gaudi_print_single_monitor() argument
9273 name = hl_state_dump_get_monitor_name(hdev, mon); in gaudi_print_single_monitor()
9277 gaudi_fill_sobs_from_mon(monitored_sobs, mon); in gaudi_print_single_monitor()
9282 mon->id, name, in gaudi_print_single_monitor()
9284 mon->arm_data), in gaudi_print_single_monitor()
[all …]
/drivers/misc/habanalabs/goya/
Dgoya.c5540 static int goya_monitor_valid(struct hl_mon_state_dump *mon) in goya_monitor_valid() argument
5548 struct hl_mon_state_dump *mon) in goya_print_single_monitor() argument