/kernel/linux/linux-6.6/tools/arch/x86/include/asm/ |
H A D | pvclock-abi.h | 39 u32 sec; member
|
/kernel/linux/linux-5.10/sound/firewire/bebob/ |
H A D | bebob_stream.c | 257 unsigned int sec, sections, ch, channels; in map_data_channels() local 295 for (sec = 0; sec < sections; sec++) { in map_data_channels() 300 sec, &type); in map_data_channels() 657 // The device postpones start of transmission mostly for 1 sec in snd_bebob_stream_start_duplex() 659 // 0.4 sec (=3200 cycles) later to version 1 or 2 firmware, in snd_bebob_stream_start_duplex() 660 // 2.0 sec (=16000 cycles) for version 3 firmware. This is in snd_bebob_stream_start_duplex() 661 // within 2.5 sec (=CALLBACK_TIMEOUT). in snd_bebob_stream_start_duplex()
|
/kernel/linux/linux-5.10/drivers/rtc/ |
H A D | rtc-imxdi.c | 40 #define DCAMR_UNSET 0xFFFFFFFF /* doomsday - 1 sec */ 281 u32 dcr, sec; in di_handle_invalid_state() local 291 sec = readl(imxdi->ioaddr + DTCMR); in di_handle_invalid_state() 292 if (sec != 0) in di_handle_invalid_state() 295 sec); in di_handle_invalid_state() 330 di_write_busy_wait(imxdi, sec, DTCMR); in di_handle_invalid_state()
|
H A D | rtc-mt7622.c | 155 u32 year, mon, mday, wday, hour, min, sec; in mtk_rtc_get_alarm_or_time() local 164 sec = mtk_r32(hw, MTK_RTC_TREG(time_alarm, MTK_SEC)); in mtk_rtc_get_alarm_or_time() 171 } while (sec != mtk_r32(hw, MTK_RTC_TREG(time_alarm, MTK_SEC))); in mtk_rtc_get_alarm_or_time() 173 tm->tm_sec = sec; in mtk_rtc_get_alarm_or_time()
|
H A D | rtc-bd70528.c | 22 u8 sec; member 182 d->sec &= ~BD70528_MASK_RTC_SEC; in tmday2rtc() 185 d->sec |= bin2bcd(t->tm_sec); in tmday2rtc() 214 t->tm_sec = bcd2bin(r->time.sec & BD70528_MASK_RTC_SEC); in rtc2tm()
|
/kernel/linux/linux-6.6/drivers/rtc/ |
H A D | rtc-imxdi.c | 41 #define DCAMR_UNSET 0xFFFFFFFF /* doomsday - 1 sec */ 282 u32 dcr, sec; in di_handle_invalid_state() local 292 sec = readl(imxdi->ioaddr + DTCMR); in di_handle_invalid_state() 293 if (sec != 0) in di_handle_invalid_state() 296 sec); in di_handle_invalid_state() 331 di_write_busy_wait(imxdi, sec, DTCMR); in di_handle_invalid_state()
|
H A D | rtc-mt7622.c | 155 u32 year, mon, mday, wday, hour, min, sec; in mtk_rtc_get_alarm_or_time() local 164 sec = mtk_r32(hw, MTK_RTC_TREG(time_alarm, MTK_SEC)); in mtk_rtc_get_alarm_or_time() 171 } while (sec != mtk_r32(hw, MTK_RTC_TREG(time_alarm, MTK_SEC))); in mtk_rtc_get_alarm_or_time() 173 tm->tm_sec = sec; in mtk_rtc_get_alarm_or_time()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/dpaa2/ |
H A D | dpaa2-eth.h | 277 u64 sec, nsec; in ns_to_ptp_tstamp() local 279 sec = ns; in ns_to_ptp_tstamp() 280 nsec = do_div(sec, 1000000000); in ns_to_ptp_tstamp() 282 tstamp->sec_lsb = sec & 0xFFFFFFFF; in ns_to_ptp_tstamp() 283 tstamp->sec_msb = (sec >> 32) & 0xFFFF; in ns_to_ptp_tstamp()
|
/kernel/linux/linux-6.6/drivers/iio/common/scmi_sensors/ |
H A D | scmi_iio.c | 137 u64 sec, mult, uHz, sf; in scmi_iio_set_odr_val() local 165 sec = int_pow(10, mult) * MICROHZ_PER_HZ; in scmi_iio_set_odr_val() 166 do_div(sec, uHz); in scmi_iio_set_odr_val() 167 if (sec == 0) { in scmi_iio_set_odr_val() 175 sensor_config |= FIELD_PREP(SCMI_SENS_CFG_UPDATE_SECS_MASK, sec); in scmi_iio_set_odr_val()
|
/kernel/linux/linux-6.6/sound/firewire/bebob/ |
H A D | bebob_stream.c | 256 unsigned int sec, sections, ch, channels; in map_data_channels() local 294 for (sec = 0; sec < sections; sec++) { in map_data_channels() 299 sec, &type); in map_data_channels() 661 // Some devices postpone start of transmission mostly for 1 sec after receives in snd_bebob_stream_start_duplex()
|
/kernel/liteos_m/kal/posix/src/ |
H A D | time.c | 500 time_t sec; in time() local 508 sec = currentTime / OS_SYS_MS_PER_SECOND; in time() 510 sec = usec / OS_SYS_US_PER_SECOND; in time() 513 *timer = sec; in time() 515 return sec; in time() 532 * and store year, yday, mon, mday, wday, hour, min, sec into *TP.
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/ |
H A D | sae_pk.c | 382 tmp->sec = (pw[0] & BIT(7)) ? 3 : 5; in sae_pk_set_password() 384 tmp->fingerprint_bits = 8 * tmp->sec + 19 * tmp->lambda / 4 - 5; in sae_pk_set_password() 386 tmp->sec, tmp->lambda, tmp->fingerprint_bits); in sae_pk_set_password() 390 pos = &tmp->fingerprint[tmp->sec]; in sae_pk_set_password() 391 bits = tmp->fingerprint_bits - 8 * tmp->sec; in sae_pk_set_password()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
H A D | test_lwt_seg6local.sh | 114 ip netns exec ns2 ip -6 route add fb00::6 encap bpf in obj test_lwt_seg6local.o sec encap_srh dev veth2 118 ip netns exec ns3 ip -6 route add fd00::1 encap seg6local action End.BPF endpoint obj test_lwt_seg6local.o sec add_egr_x dev veth4 120 ip netns exec ns4 ip -6 route add fd00::2 encap seg6local action End.BPF endpoint obj test_lwt_seg6local.o sec pop_egr dev veth6 125 ip netns exec ns5 ip -6 route add fd00::3 encap seg6local action End.BPF endpoint obj test_lwt_seg6local.o sec inspect_t dev veth8
|
/kernel/linux/linux-5.10/scripts/ |
H A D | insert-sys-cert.c | 160 Elf_Shdr *sec; in get_symbol_from_table() local 175 sec = &x[secndx]; in get_symbol_from_table() 178 s->offset = s->address - sec->sh_addr in get_symbol_from_table() 179 + sec->sh_offset; in get_symbol_from_table()
|
/kernel/linux/linux-5.10/tools/objtool/arch/x86/ |
H A D | decode.c | 87 int arch_decode_instruction(const struct elf *elf, const struct section *sec, in arch_decode_instruction() argument 105 insn_init(&insn, sec->data->d_buf + offset, maxlen, x86_64); in arch_decode_instruction() 109 WARN("can't decode instruction at %s:0x%lx", sec->name, offset); in arch_decode_instruction() 484 sym = find_symbol_containing(sec, offset); in arch_decode_instruction()
|
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | time-utils.c | 530 u64 sec = timestamp / NSEC_PER_SEC; in timestamp__scnprintf_usec() local 533 return scnprintf(buf, sz, "%"PRIu64".%06"PRIu64, sec, usec); in timestamp__scnprintf_usec() 538 u64 sec = timestamp / NSEC_PER_SEC, in timestamp__scnprintf_nsec() local 541 return scnprintf(buf, sz, "%" PRIu64 ".%09" PRIu64, sec, nsec); in timestamp__scnprintf_nsec()
|
/kernel/linux/linux-5.10/fs/exfat/ |
H A D | exfat_fs.h | 366 sector_t sec) in exfat_is_last_sector_in_cluster() 368 return ((sec - sbi->data_start_sector + 1) & in exfat_is_last_sector_in_cluster() 380 sector_t sec) in exfat_sector_to_cluster() 382 return ((sec - sbi->data_start_sector) >> sbi->sect_per_clus_bits) + in exfat_sector_to_cluster() 365 exfat_is_last_sector_in_cluster(struct exfat_sb_info *sbi, sector_t sec) exfat_is_last_sector_in_cluster() argument 379 exfat_sector_to_cluster(struct exfat_sb_info *sbi, sector_t sec) exfat_sector_to_cluster() argument
|
/kernel/linux/linux-6.6/fs/exfat/ |
H A D | exfat_fs.h | 390 sector_t sec) in exfat_is_last_sector_in_cluster() 392 return ((sec - sbi->data_start_sector + 1) & in exfat_is_last_sector_in_cluster() 404 sector_t sec) in exfat_sector_to_cluster() 406 return ((sec - sbi->data_start_sector) >> sbi->sect_per_clus_bits) + in exfat_sector_to_cluster() 389 exfat_is_last_sector_in_cluster(struct exfat_sb_info *sbi, sector_t sec) exfat_is_last_sector_in_cluster() argument 403 exfat_sector_to_cluster(struct exfat_sb_info *sbi, sector_t sec) exfat_sector_to_cluster() argument
|
/kernel/linux/linux-6.6/drivers/ptp/ |
H A D | ptp_sysfs.c | 102 event.index, event.t.sec, event.t.nsec); in extts_fifo_show() 119 &req.perout.start.sec, &req.perout.start.nsec, in period_store() 120 &req.perout.period.sec, &req.perout.period.nsec); in period_store() 126 enable = req.perout.period.sec || req.perout.period.nsec; in period_store()
|
/kernel/linux/linux-6.6/kernel/module/ |
H A D | sysfs.c | 98 Elf_Shdr *sec = &info->sechdrs[i]; in add_sect_attrs() local 100 if (sect_empty(sec)) in add_sect_attrs() 103 sattr->address = sec->sh_addr; in add_sect_attrs() 105 kstrdup(info->secstrings + sec->sh_name, GFP_KERNEL); in add_sect_attrs()
|
/kernel/linux/linux-6.6/scripts/gdb/linux/ |
H A D | mm.py | 125 def SECTION_NR_TO_ROOT(self, sec): 126 return sec // self.SECTIONS_PER_ROOT 136 def section_nr_to_pfn(self, sec): 137 return sec << self.PFN_SECTION_SHIFT
|
/kernel/linux/linux-6.6/scripts/ |
H A D | insert-sys-cert.c | 160 Elf_Shdr *sec; in get_symbol_from_table() local 175 sec = &x[secndx]; in get_symbol_from_table() 178 s->offset = s->address - sec->sh_addr in get_symbol_from_table() 179 + sec->sh_offset; in get_symbol_from_table()
|
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | time-utils.c | 530 u64 sec = timestamp / NSEC_PER_SEC; in timestamp__scnprintf_usec() local 533 return scnprintf(buf, sz, "%"PRIu64".%06"PRIu64, sec, usec); in timestamp__scnprintf_usec() 538 u64 sec = timestamp / NSEC_PER_SEC, in timestamp__scnprintf_nsec() local 541 return scnprintf(buf, sz, "%" PRIu64 ".%09" PRIu64, sec, nsec); in timestamp__scnprintf_nsec()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/ |
H A D | test_lwt_seg6local.sh | 121 ip netns exec ${NS2} ip -6 route add fb00::6 encap bpf in obj ${BPF_FILE} sec encap_srh dev veth2 125 ip netns exec ${NS3} ip -6 route add fd00::1 encap seg6local action End.BPF endpoint obj ${BPF_FILE} sec add_egr_x dev veth4 127 ip netns exec ${NS4} ip -6 route add fd00::2 encap seg6local action End.BPF endpoint obj ${BPF_FILE} sec pop_egr dev veth6 132 ip netns exec ${NS5} ip -6 route add fd00::3 encap seg6local action End.BPF endpoint obj ${BPF_FILE} sec inspect_t dev veth8
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
H A D | CalendarAstronomer.java | 1662 int sec = (int)((angle*RAD_HOUR - hrs - min/60.0) * 3600); in radToHms() 1664 return Integer.toString(hrs) + "h" + min + "m" + sec + "s"; in radToHms() 1670 int sec = (int)((angle*RAD_DEG - deg - min/60.0) * 3600); in radToDms() 1672 return Integer.toString(deg) + "\u00b0" + min + "'" + sec + "\""; in radToDms()
|