Searched refs:seconds (Results 1 - 25 of 88) sorted by last modified time

1234

/linux-master/fs/bcachefs/
H A Djournal_io.c46 bch2_prt_datetime(out, le64_to_cpu(datetime->seconds));
796 bch2_prt_datetime(out, le64_to_cpu(datetime->seconds));
1885 d->seconds = cpu_to_le64(ktime_get_real_seconds());
H A Dbcachefs_format.h1421 __le64 seconds; member in struct:jset_entry_datetime
/linux-master/drivers/net/phy/
H A Dmicrel.c319 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/scripts/
H A Dkernel-doc163 (my $seconds = `date -d"${ENV{'KBUILD_BUILD_TIMESTAMP'}}" +%s`) ne '') {
164 @build_time = gmtime($seconds);
/linux-master/net/ipv4/
H A Dtcp.c358 /* Convert seconds to retransmits based on initial and max timeout */
359 static u8 secs_to_retrans(int seconds, int timeout, int rto_max) argument
363 if (seconds > 0) {
367 while (seconds > period && res < 255) {
378 /* Convert retransmits to seconds based on initial and max timeout */
3507 /* Translate value in seconds to number of retransmits */
/linux-master/include/uapi/linux/
H A Dvideodev2.h947 __u8 seconds; member in struct:v4l2_timecode
1282 struct v4l2_fract timeperframe; /* Time per frame in seconds */
1295 struct v4l2_fract timeperframe; /* Time per frame in seconds */
/linux-master/include/linux/
H A Dnfs_xdr.h150 __u32 lease_time; /* in seconds */
1287 u64 seconds; member in struct:nfstime4
H A Dsyscalls.h1040 asmlinkage long sys_alarm(unsigned int seconds);
/linux-master/fs/nfs/
H A Dsuper.c618 impl_id->date.seconds, impl_id->date.nseconds);
H A Dnfs4xdr.c5732 p = xdr_decode_hyper(p, &res->impl_id->date.seconds);
/linux-master/drivers/scsi/
H A D3w-xxxx.c119 Increase timeout in tw_aen_drain_queue() to 30 seconds.
178 1.02.00.036 - Increase character ioctl timeout to 60 seconds.
299 static int tw_poll_status(TW_Device_Extension *tw_dev, u32 flag, int seconds) argument
317 if (time_after(jiffies, before + HZ * seconds))
328 static int tw_poll_status_gone(TW_Device_Extension *tw_dev, u32 flag, int seconds) argument
346 if (time_after(jiffies, before + HZ * seconds))
H A D3w-sas.c434 /* Convert system time in UTC to local time seconds since last
520 static int twl_poll_response(TW_Device_Extension *tw_dev, int request_id, int seconds) argument
544 if (time_after(jiffies, before + HZ * seconds))
1237 static int twl_poll_register(TW_Device_Extension *tw_dev, void *reg, u32 value, u32 result, int seconds) argument
1248 if (time_after(jiffies, before + HZ * seconds))
H A D3w-9xxx.c141 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))
H A Dinitio.c521 * @seconds: Recovery time
526 static int initio_reset_scsi(struct initio_host * host, int seconds) argument
539 initio_do_pause(seconds * HZ);
/linux-master/drivers/media/v4l2-core/
H A Dv4l2-ioctl.c469 tc->hours, tc->minutes, tc->seconds,
/linux-master/include/linux/platform_data/
H A Dcros_ec_commands.h3994 /* Timeout in seconds before generating reboot */
4141 uint32_t seconds; member in struct:ec_params_hibernation_delay
4146 * The current time in seconds in which the system has been in the G3
4152 * The current time remaining in seconds until the EC should hibernate.
4158 * The current time in seconds that the EC should wait in G3 before
/linux-master/drivers/platform/x86/dell/
H A Ddell-laptop.c44 * 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/tools/testing/selftests/seccomp/
H A Dseccomp_benchmark.c56 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/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/
H A Dtc_flower.sh56 local seconds=$2
58 perf record -a -q -e $tracepoint sleep $seconds
/linux-master/kernel/time/
H A Dtimekeeping.c728 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/drivers/ptp/
H A Dptp_ocp.c3322 static EXT_ATTR_RW(freq, seconds, 0);
3323 static EXT_ATTR_RW(freq, seconds, 1);
3324 static EXT_ATTR_RW(freq, seconds, 2);
3325 static EXT_ATTR_RW(freq, seconds, 3);
4218 seq_printf(s, "Correction seconds: %d\n", idx);
H A Dptp_clock.c52 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/drivers/net/ethernet/microchip/
H A Dlan743x_ptp.c25 u32 seconds, u32 nano_seconds,
78 u32 seconds, u32 nano_seconds,
85 ptp->tx_ts_seconds_queue[ptp->tx_ts_queue_size] = seconds;
100 u32 header, nseconds, seconds; local
118 seconds = ptp->tx_ts_seconds_queue[i];
122 tstamps.hwtstamp = ktime_set(seconds, nseconds);
192 u32 *seconds, u32 *nano_seconds,
381 u32 seconds = 0; local
384 lan743x_ptp_io_clock_get(adapter, &seconds, &nano_seconds,
387 lan743x_ptp_clock_get(adapter, &seconds,
77 lan743x_ptp_tx_ts_enqueue_ts(struct lan743x_adapter *adapter, u32 seconds, u32 nano_seconds, u32 header) argument
402 u32 seconds = 0; local
1069 u32 cap_info, cause, header, nsec, seconds; local
1196 lan743x_ptp_clock_get(struct lan743x_adapter *adapter, u32 *seconds, u32 *nano_seconds, u32 *sub_nano_seconds) argument
1251 s32 seconds = 0; local
1693 lan743x_ptp_clock_set(struct lan743x_adapter *adapter, u32 seconds, u32 nano_seconds, u32 sub_nano_seconds) argument
[all...]
/linux-master/tools/testing/selftests/kvm/
H A Dmemslot_perf_test.c886 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/tools/testing/selftests/net/
H A Dso_txtime.sh67 local readonly START="$(date +%s%N --date="+ 0.1 seconds")"

Completed in 438 milliseconds

1234