/linux-master/drivers/rtc/ |
H A D | rtc-ti-k3.c | 248 * FMODE setting: Reading lower seconds will freeze value on higher 249 * seconds. This also implies that we must *ALWAYS* read lower seconds 250 * prior to reading higher seconds 281 time64_t seconds; local 283 seconds = rtc_tm_to_time64(tm); 290 regmap_write(priv->regmap, REG_K3RTC_S_CNT_LSW, seconds); 291 regmap_write(priv->regmap, REG_K3RTC_S_CNT_MSW, seconds >> 32); 334 time64_t seconds; local 337 seconds [all...] |
H A D | rtc-bq32k.c | 21 #define BQ32K_SECONDS_MASK 0x7F /* Mask over seconds value */ 42 uint8_t seconds; member in struct:bq32k_regs 106 tm->tm_sec = bcd2bin(regs.seconds & BQ32K_SECONDS_MASK); 122 regs.seconds = bin2bcd(tm->tm_sec);
|
/linux-master/include/linux/ |
H A D | mc146818rtc.h | 132 bool mc146818_avoid_UIP(void (*callback)(unsigned char seconds, void *param),
|
/linux-master/tools/testing/selftests/seccomp/ |
H A D | seccomp_benchmark.c | 56 int seconds = 15; local 58 ksft_print_msg("Calibrating sample size for %d seconds worth of syscalls ...\n", seconds); 76 return samples * seconds;
|
/linux-master/drivers/net/dsa/hirschmann/ |
H A D | hellcreek_ptp.c | 38 * limitations the seconds are not or only partly kept in the PTP 39 * core. Currently only three bits for the seconds are available. That's 40 * why only the nanoseconds are used and the seconds are tracked in 59 hellcreek->seconds++; 61 ns += hellcreek->seconds * NSEC_PER_SEC; 66 /* Retrieve the seconds parts in nanoseconds for a packet timestamped with @ns. 68 * arrival and now. If so use the correct seconds (-1) for calculating the 77 s = hellcreek->seconds * NSEC_PER_SEC; 79 s = (hellcreek->seconds - 1) * NSEC_PER_SEC; 112 hellcreek->seconds [all...] |
H A D | hellcreek.h | 294 u64 seconds; /* PTP seconds */ member in struct:hellcreek 300 /* A Qbv schedule can only started up to 8 seconds in the future. If the delta 301 * between the base time and the current ptp time is larger than 8 seconds, then
|
/linux-master/drivers/hwmon/ |
H A D | ftsteutates.c | 59 seconds = 1, enumerator in enum:WATCHDOG_RESOLUTION 233 if ((resolution == seconds && ret & BIT(1)) || 239 if (resolution == seconds) 255 enum WATCHDOG_RESOLUTION resolution = seconds; 315 ret = fts_wd_set_resolution(data, seconds); 324 data->resolution = ret & BIT(1) ? seconds : minutes;
|
/linux-master/kernel/dma/ |
H A D | map_benchmark.c | 140 msleep_interruptible(map->bparam.seconds * 1000); 199 if (map->bparam.seconds == 0 || 200 map->bparam.seconds > DMA_MAP_MAX_SECONDS) { 201 pr_err("invalid duration seconds\n");
|
/linux-master/tools/testing/selftests/rcutorture/bin/ |
H A D | kvm-test-1-run.sh | 10 # Usage: kvm-test-1-run.sh config resdir seconds qemu-args boot_args_in 133 seconds=$3 163 boot_args="`per_version_boot_params "$boot_args" $resdir/.config $seconds`" 202 echo "# seconds=$seconds" >> $resdir/qemu-cmd
|
H A D | kvm-remote.sh | 197 echo " ---" ssh failure to $1 checking for file $2, retry after $sleeptime seconds. `date` | tee -a "$oldrun/remote-log" 206 echo " ---" Exit code $ret: ssh $1 test -f \"$2\", retry after $sleeptime seconds. `date` | tee -a "$oldrun/remote-log"
|
/linux-master/drivers/net/phy/ |
H A D | micrel.c | 319 u32 seconds; member in struct:lan8814_ptp_rx_ts 346 s64 seconds; member in struct:kszphy_ptp_priv 347 /* Lock for accessing seconds */ 1183 /* psec properties in dts should mean x pico seconds */ 2357 u32 *seconds, u32 *nano_seconds, u16 *seq_id) 2359 *seconds = lanphy_read_page_reg(phydev, 5, PTP_RX_INGRESS_SEC_HI); 2360 *seconds = (*seconds << 16) | 2371 u32 *seconds, u32 *nano_seconds, u16 *seq_id) 2373 *seconds 2356 lan8814_ptp_rx_ts_get(struct phy_device *phydev, u32 *seconds, u32 *nano_seconds, u16 *seq_id) argument 2370 lan8814_ptp_tx_ts_get(struct phy_device *phydev, u32 *seconds, u32 *nano_seconds, u16 *seq_id) argument 2655 time64_t seconds; local 2688 s32 seconds; local 2863 lan8814_match_tx_skb(struct kszphy_ptp_priv *ptp_priv, u32 seconds, u32 nsec, u16 seq_id) argument 2896 u32 seconds, nsec; local [all...] |
/linux-master/drivers/scsi/qla4xxx/ |
H A D | ql4_nvram.c | 206 unsigned int seconds = 30; local 222 } while (--seconds);
|
/linux-master/tools/testing/selftests/ptp/ |
H A D | testptp.c | 145 " -t val shift the ptp clock time by 'val' seconds\n" 146 " -T val set the ptp clock time to 'val' seconds\n" 189 int seconds = 0; local 264 seconds = atoi(optarg); 400 ts.tv_sec = seconds;
|
/linux-master/drivers/scsi/csiostor/ |
H A D | csio_attr.c | 335 uint64_t seconds; local 364 seconds = jiffies_to_msecs(jiffies) - hw->stats.n_reset_start; 365 do_div(seconds, 1000); 366 fhs->seconds_since_last_reset = seconds;
|
/linux-master/tools/testing/selftests/net/ |
H A D | so_txtime.sh | 67 local readonly START="$(date +%s%N --date="+ 0.1 seconds")"
|
/linux-master/drivers/ptp/ |
H A D | ptp_clock.c | 52 s64 seconds; local 56 seconds = div_u64_rem(src->timestamp, 1000000000, &remainder); 59 seconds = offset_ts.tv_sec; 71 dst->t.sec = seconds;
|
/linux-master/include/trace/events/ |
H A D | v4l2.h | 137 __entry->timecode_seconds = buf->timecode.seconds; 150 "seconds = %u, minutes = %u, hours = %u, " 214 __entry->timecode_seconds = vbuf->timecode.seconds; 226 "frames = %u, seconds = %u, minutes = %u, hours = %u, "
|
/linux-master/drivers/watchdog/ |
H A D | nv_tco.c | 55 static int heartbeat = WATCHDOG_HEARTBEAT; /* in seconds */ 57 MODULE_PARM_DESC(heartbeat, "Watchdog heartbeat in seconds. (2<heartbeat<39, " 68 static inline unsigned char seconds_to_ticks(int seconds) argument 71 * every 0.6 seconds */ 72 return (seconds * 10) / 6; 117 * tmrval=seconds_to_ticks(t). Check that the count in seconds isn't
|
/linux-master/tools/testing/selftests/kvm/ |
H A D | memslot_perf_test.c | 886 int seconds; member in struct:test_args 905 pr_info(" -l: specify the test length in seconds (currently: %i)\n", 906 targs->seconds); 988 targs->seconds = atoi_non_negative("Test length", optarg); 1038 if (!test_execute(targs->nslots, &maxslots, targs->seconds, data, 1088 .seconds = 5, 1108 pr_info("Testing %s performance with %i runs, %d seconds each\n", 1109 data->name, targs.runs, targs.seconds);
|
/linux-master/drivers/ata/ |
H A D | libata-transport.c | 542 u64 seconds; local 545 seconds = div_u64_rem(ent->timestamp, HZ, &rem); 547 "[%5llu.%09lu]", seconds,
|
/linux-master/kernel/time/ |
H A D | timekeeping.c | 728 u64 seconds; local 738 seconds = (u64)(tk->xtime_sec + tk->wall_to_monotonic.tv_sec); 740 tk->tkr_mono.base = ns_to_ktime(seconds * NSEC_PER_SEC + nsec); 749 seconds++; 750 tk->ktime_sec = seconds; 993 * ktime_get_seconds - Get the seconds portion of CLOCK_MONOTONIC 995 * Returns the seconds portion of CLOCK_MONOTONIC with a single non 1011 * ktime_get_real_seconds - Get the seconds portion of CLOCK_REALTIME 1013 * Returns the wall clock seconds since 1970. 1023 time64_t seconds; local [all...] |
/linux-master/net/netfilter/ |
H A D | xt_recent.c | 299 unsigned long time = jiffies - info->seconds * HZ; 303 if (info->seconds && time_after(time, e->stamps[i])) 311 /* info->seconds must be non-zero */ 358 (info->seconds || info->hit_count || 361 if ((info->check_set & XT_RECENT_REAP) && !info->seconds)
|
/linux-master/drivers/platform/x86/dell/ |
H A D | dell-laptop.c | 44 * Ordered list of timeouts expressed in seconds. 1048 * cbRES4, byte0 Maximum acceptable seconds value (0 if seconds not supported). 1166 u8 seconds; member in struct:kbd_info 1245 info->seconds = (buffer.output[3] >> 0) & 0xFF; 1461 if (kbd_info.seconds > 63) 1462 kbd_info.seconds = 63; 1576 if (value > kbd_info.seconds) 1603 /* Convert value from current units to seconds */ 1625 if (value <= kbd_info.seconds [all...] |
/linux-master/drivers/scsi/ |
H A D | BusLogic.h | 67 Define the default amount of time in seconds to wait between a Host Adapter 1191 static inline void blogic_delay(int seconds) argument 1193 mdelay(1000 * seconds);
|
H A D | 3w-9xxx.c | 141 static int twa_poll_response(TW_Device_Extension *tw_dev, int request_id, int seconds); 142 static int twa_poll_status_gone(TW_Device_Extension *tw_dev, u32 flag, int seconds); 502 /* Convert system time in UTC to local time seconds since last 1419 static int twa_poll_response(TW_Device_Extension *tw_dev, int request_id, int seconds) argument 1425 if (twa_poll_status_gone(tw_dev, TW_STATUS_RESPONSE_QUEUE_EMPTY, seconds) == 0) { 1456 static int twa_poll_status(TW_Device_Extension *tw_dev, u32 flag, int seconds) argument 1474 if (time_after(jiffies, before + HZ * seconds)) 1485 static int twa_poll_status_gone(TW_Device_Extension *tw_dev, u32 flag, int seconds) argument 1502 if (time_after(jiffies, before + HZ * seconds))
|