Home
last modified time | relevance | path

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

1234

/linux/net/tipc/
H A Dmonitor.c183 static struct tipc_peer *get_peer(struct tipc_monitor *mon, u32 addr) in get_peer() argument
188 hlist_for_each_entry(peer, &mon->peers[thash], hash) { in get_peer()
197 struct tipc_monitor *mon = tipc_monitor(net, bearer_id); in get_self() local
199 return mon->self; in get_self()
202 static inline bool tipc_mon_is_active(struct net *net, struct tipc_monitor *mon) in tipc_mon_is_active() argument
206 return mon->peer_cnt > tn->mon_threshold; in tipc_mon_is_active()
245 static void mon_apply_domain(struct tipc_monitor *mon, in mon_apply_domain() argument
270 static void mon_update_local_domain(struct tipc_monitor *mon) in mon_update_local_domain() argument
272 struct tipc_peer *self = mon->self; in mon_update_local_domain()
273 struct tipc_mon_domain *cache = &mon->cache; in mon_update_local_domain()
[all …]
/linux/tools/power/cpupower/utils/idle_monitor/
H A Dcpupower-monitor.c97 int unsigned mon; in print_header() local
105 for (mon = 0; mon < avail_monitors; mon++) { in print_header()
106 need_len = monitors[mon]->hw_states_num * (MAX_COL_WIDTH + 1) in print_header()
108 if (mon != 0) in print_header()
110 sprintf(buf, "%s", monitors[mon]->name); in print_header()
123 for (mon = 0; mon < avail_monitors; mon++) { in print_header()
124 if (mon != 0) in print_header()
126 for (state = 0; state < monitors[mon]->hw_states_num; state++) { in print_header()
129 s = monitors[mon]->hw_states[state]; in print_header()
142 unsigned int mon; in print_results() local
[all …]
/linux/tools/testing/selftests/timers/
H A Draw_skew.c67 void get_monotonic_and_raw(struct timespec *mon, struct timespec *raw) in diff_timespec()
85 *mon = nsec_to_ts(tmp); in get_monotonic_and_raw()
92 struct timespec mon, raw, start, end; in main()
105 get_monotonic_and_raw(&mon, &raw); in main()
106 start = mon; in main()
107 delta1 = diff_timespec(mon, raw); in main()
116 get_monotonic_and_raw(&mon, &raw); in main()
117 end = mon; in main()
120 delta2 = diff_timespec(mon, raw); in main()
69 get_monotonic_and_raw(struct timespec * mon,struct timespec * raw) get_monotonic_and_raw() argument
94 struct timespec mon, raw, start, end; main() local
/linux/arch/arm/mach-shmobile/
H A Dregulator-quirk-rcar-gen2.c81 u32 mon; in regulator_quirk_notify() local
86 mon = ioread32(irqc + IRQC_MONITOR); in regulator_quirk_notify()
87 dev_dbg(dev, "%s: %ld, IRQC_MONITOR = 0x%x\n", __func__, action, mon); in regulator_quirk_notify()
88 if (mon & REGULATOR_IRQ_MASK) in regulator_quirk_notify()
117 mon = ioread32(irqc + IRQC_MONITOR); in regulator_quirk_notify()
118 if (mon & REGULATOR_IRQ_MASK) in regulator_quirk_notify()
147 u32 mon, addr; in rcar_gen2_regulator_quirk() local
212 mon = ioread32(irqc + IRQC_MONITOR); in rcar_gen2_regulator_quirk()
213 if (mon & REGULATOR_IRQ_MASK) { in rcar_gen2_regulator_quirk()
/linux/Documentation/tools/rv/
H A Drv-mon.rst4 rv-mon
15 **rv mon** [*-h*] **monitor_name** [*-h*] [*MONITOR OPTIONS*]
20 The **rv mon** command runs the monitor named *monitor_name*. Each monitor
37 Each monitor has its own set of options. See man **rv-mon**-*monitor_name*
38 for details about each specific monitor. Also, running **rv mon**
45 **rv**\(1), **rv-mon**\(1)
H A Dindex.rst15 rv-mon
16 rv-mon-wip
17 rv-mon-wwnr
H A Drv-mon-wwnr.rst4 rv-mon-wwnr
15 **rv mon wip** [*OPTIONS*]
33 **rv**\(1), **rv-mon**\(1)
H A Drv-mon-wip.rst4 rv-mon-wip
15 **rv mon wip** [*OPTIONS*]
34 **rv**\(1), **rv-mon**\(1)
/linux/arch/m68k/bvme6000/
H A Drtc.c74 unsigned char mon, day, hrs, min, sec, leap_yr; in rtc_ioctl() local
86 mon = rtc_tm.tm_mon + 1; /* tm_mon starts at zero */ in rtc_ioctl()
94 if ((mon > 12) || (mon < 1) || (day == 0)) in rtc_ioctl()
97 if (day > (days_in_mo[mon] + ((mon == 2) && leap_yr))) in rtc_ioctl()
117 rtc->bcd_mth = bin2bcd(mon); in rtc_ioctl()
/linux/arch/mips/include/asm/
H A Dmc146818-time.h91 unsigned int year, mon, day, hour, min, sec; in mc146818_get_cmos_time() local
101 mon = CMOS_READ(RTC_MONTH); in mc146818_get_cmos_time()
110 mon = bcd2bin(mon); in mc146818_get_cmos_time()
116 return mktime64(year, mon, day, hour, min, sec); in mc146818_get_cmos_time()
/linux/arch/sh/boards/mach-sh03/
H A Drtc.c43 unsigned int year, mon, day, hour, min, sec; in sh03_rtc_gettimeofday() local
52 mon = (__raw_readb(RTC_MON1) & 0xf) + (__raw_readb(RTC_MON10) & 0xf) * 10; in sh03_rtc_gettimeofday()
57 if (year == 0 || mon < 1 || mon > 12 || day > 31 || day < 1 || in sh03_rtc_gettimeofday()
62 year, mon, day, hour, min, sec); in sh03_rtc_gettimeofday()
83 tm->tm_mon = mon; in sh03_rtc_gettimeofday()
/linux/arch/m68k/atari/
H A Dtime.c203 int sec=0, min=0, hour=0, day=0, mon=0, year=0, wday=0; in atari_tt_hwclk() local
218 mon = t->tm_mon + 1; in atari_tt_hwclk()
237 mon = bin2bcd(mon); in atari_tt_hwclk()
270 mon = RTC_READ( RTC_MONTH ); in atari_tt_hwclk()
279 RTC_WRITE( RTC_MONTH, mon ); in atari_tt_hwclk()
299 mon = bcd2bin(mon); in atari_tt_hwclk()
315 t->tm_mon = mon - 1; in atari_tt_hwclk()
/linux/arch/mips/dec/
H A Dtime.c24 unsigned int year, mon, day, hour, min, sec, real_year; in read_persistent_clock64() local
34 mon = CMOS_READ(RTC_MONTH); in read_persistent_clock64()
51 mon = bcd2bin(mon); in read_persistent_clock64()
57 ts->tv_sec = mktime64(year, mon, day, hour, min, sec); in read_persistent_clock64()
/linux/arch/powerpc/platforms/chrp/
H A Dtime.c132 unsigned int year, mon, day, hour, min, sec; in chrp_get_rtc_time() local
139 mon = chrp_cmos_clock_read(RTC_MONTH); in chrp_get_rtc_time()
148 mon = bcd2bin(mon); in chrp_get_rtc_time()
157 tm->tm_mon = mon; in chrp_get_rtc_time()
/linux/drivers/rtc/
H A Drtc-mc146818-lib.c215 unsigned char mon, day, hrs, min, sec; in mc146818_set_time() local
224 mon = time->tm_mon + 1; /* tm_mon starts at zero */ in mc146818_set_time()
242 if (!is_leap_year(real_yrs + 1900) && mon < 3) { in mc146818_set_time()
273 mon = bin2bcd(mon); in mc146818_set_time()
291 CMOS_WRITE(mon, RTC_MONTH); in mc146818_set_time()
H A 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()
H A 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()
H A 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()
H A Drtc-ds1511.c96 u8 mon, day, dow, hrs, min, sec, yrs, cen; in ds1511_rtc_set_time() local
101 mon = rtc_tm->tm_mon + 1; /* tm_mon starts at zero */ in ds1511_rtc_set_time()
115 mon = bin2bcd(mon) & 0x1f; in ds1511_rtc_set_time()
123 rtc_write((rtc_read(DS1511_MONTH) & 0xe0) | mon, DS1511_MONTH); in ds1511_rtc_set_time()
/linux/arch/mips/sibyte/swarm/
H A Drtc_m41t81.c188 unsigned int year, mon, day, hour, min, sec; in m41t81_get_time() local
203 mon = m41t81_read(M41T81REG_MO); in m41t81_get_time()
211 mon = bcd2bin(mon); in m41t81_get_time()
216 return mktime64(year, mon, day, hour, min, sec); in m41t81_get_time()
H A Drtc_xicor1241.c169 unsigned int year, mon, day, hour, min, sec, y2k; in xicor_get_time() local
185 mon = xicor_read(X1241REG_MO); in xicor_get_time()
194 mon = bcd2bin(mon); in xicor_get_time()
200 return mktime64(year, mon, day, hour, min, sec); in xicor_get_time()
/linux/tools/gpio/
H A DMakefile21 ALL_TARGETS := lsgpio gpio-hammer gpio-event-mon gpio-watch
63 GPIO_EVENT_MON_IN := $(OUTPUT)gpio-event-mon-in.o
65 $(Q)$(MAKE) $(build)=gpio-event-mon
66 $(OUTPUT)gpio-event-mon: $(GPIO_EVENT_MON_IN)
H A DBuild4 gpio-event-mon-y += gpio-event-mon.o gpio-utils.o
/linux/drivers/soc/tegra/cbb/
H A Dtegra234-cbb.c118 void __iomem *mon; member
188 writel(0x3f, priv->mon + FABRIC_MN_MASTER_ERR_STATUS_0); in tegra234_cbb_error_clear()
452 status = readl(cbb->mon + FABRIC_MN_MASTER_ERR_STATUS_0); in print_errmonX_info()
463 overflow = readl(cbb->mon + FABRIC_MN_MASTER_ERR_OVERFLOW_STATUS_0); in print_errmonX_info()
467 error = readl(cbb->mon + FABRIC_MN_MASTER_LOG_ERR_STATUS_0); in print_errmonX_info()
479 hi = readl(cbb->mon + FABRIC_MN_MASTER_LOG_ADDR_HIGH_0); in print_errmonX_info()
480 lo = readl(cbb->mon + FABRIC_MN_MASTER_LOG_ADDR_LOW_0); in print_errmonX_info()
484 cbb->mn_attr0 = readl(cbb->mon + FABRIC_MN_MASTER_LOG_ATTRIBUTES0_0); in print_errmonX_info()
485 cbb->mn_attr1 = readl(cbb->mon + FABRIC_MN_MASTER_LOG_ATTRIBUTES1_0); in print_errmonX_info()
486 cbb->mn_attr2 = readl(cbb->mon + FABRIC_MN_MASTER_LOG_ATTRIBUTES2_0); in print_errmonX_info()
[all …]
/linux/drivers/video/fbdev/
H A Dbw2.c227 u8 status, mon; in bw2_do_default_mode() local
231 mon = status & BWTWO_SR_RES_MASK; in bw2_do_default_mode()
234 if (mon == BWTWO_SR_1600_1280) { in bw2_do_default_mode()
248 if (mon == BWTWO_SR_1152_900_76_A || in bw2_do_default_mode()
249 mon == BWTWO_SR_1152_900_76_B) in bw2_do_default_mode()

1234