Searched refs:sec (Results 76 - 100 of 435) sorted by relevance

1234567891011>>

/linux-master/fs/hpfs/
H A Dbuffer.c14 secno hpfs_search_hotfix_map(struct super_block *s, secno sec) argument
19 if (sbi->hotfix_from[i] == sec) {
23 return sec;
26 unsigned hpfs_search_hotfix_map_for_range(struct super_block *s, secno sec, unsigned n) argument
31 if (sbi->hotfix_from[i] >= sec && sbi->hotfix_from[i] < sec + n) {
32 n = sbi->hotfix_from[i] - sec;
H A Danode.c15 struct bplus_header *btree, unsigned sec,
26 if (le32_to_cpu(btree->u.internal[i].file_secno) > sec) {
33 hpfs_error(s, "sector %08x not found in internal anode %08x", sec, a);
38 if (le32_to_cpu(btree->u.external[i].file_secno) <= sec &&
39 le32_to_cpu(btree->u.external[i].file_secno) + le32_to_cpu(btree->u.external[i].length) > sec) {
40 a = le32_to_cpu(btree->u.external[i].disk_secno) + sec - le32_to_cpu(btree->u.external[i].file_secno);
54 hpfs_error(s, "sector %08x not found in external anode %08x", sec, a);
330 static secno anode_lookup(struct super_block *s, anode_secno a, unsigned sec) argument
335 return hpfs_bplus_lookup(s, NULL, &anode->btree, sec, bh);
343 secno sec; local
14 hpfs_bplus_lookup(struct super_block *s, struct inode *inode, struct bplus_header *btree, unsigned sec, struct buffer_head *bh) argument
366 secno sec; local
[all...]
/linux-master/arch/m68k/atari/
H A Dtime.c203 int sec=0, min=0, hour=0, day=0, mon=0, year=0, wday=0; local
214 sec = t->tm_sec;
233 sec = bin2bcd(sec);
266 sec = RTC_READ( RTC_SECONDS );
275 RTC_WRITE( RTC_SECONDS, sec );
295 sec = bcd2bin(sec);
311 t->tm_sec = sec;
/linux-master/arch/m68k/bvme6000/
H A Drtc.c74 unsigned char mon, day, hrs, min, sec, leap_yr; local
90 sec = rtc_tm.tm_sec;
100 if ((hrs >= 24) || (min >= 60) || (sec >= 60))
113 rtc->bcd_sec = bin2bcd(sec);
/linux-master/arch/m68k/mvme16x/
H A Drtc.c69 unsigned char mon, day, hrs, min, sec, leap_yr; local
85 sec = rtc_tm.tm_sec;
95 if ((hrs >= 24) || (min >= 60) || (sec >= 60))
104 rtc->bcd_sec = bin2bcd(sec);
/linux-master/include/linux/
H A Dpercpu-defs.h42 * 'sec' argument. This may be used to affect the parameters governing the
49 #define __PCPU_ATTRS(sec) \
50 __percpu __attribute__((section(PER_CPU_BASE_SECTION sec))) \
86 #define DECLARE_PER_CPU_SECTION(type, name, sec) \
88 extern __PCPU_ATTRS(sec) __typeof__(type) name
90 #define DEFINE_PER_CPU_SECTION(type, name, sec) \
94 extern __PCPU_ATTRS(sec) __typeof__(type) name; \
95 __PCPU_ATTRS(sec) __weak __typeof__(type) name
100 #define DECLARE_PER_CPU_SECTION(type, name, sec) \
101 extern __PCPU_ATTRS(sec) __typeof_
[all...]
/linux-master/drivers/pps/
H A Dsysfs.c27 (long long) pps->assert_tu.sec, pps->assert_tu.nsec,
41 (long long) pps->clear_tu.sec, pps->clear_tu.nsec,
/linux-master/drivers/rtc/
H A Drtc-ds1286.c216 unsigned char mon, day, hrs, min, sec; local
226 sec = tm->tm_sec;
238 sec = bin2bcd(sec);
254 ds1286_rtc_write(priv, sec, RTC_SECONDS);
287 unsigned char hrs, min, sec; local
291 sec = alm->time.tm_sec;
299 if (sec != 0)
H A Drtc-mxc.c92 u32 day = 0, hr = 0, min = 0, sec = 0, hr_min = 0; local
98 sec = readw(ioaddr + RTC_SECOND);
103 sec = readw(ioaddr + RTC_ALRM_SEC);
110 return ((((time64_t)day * 24 + hr) * 60) + min) * 60 + sec;
118 u32 tod, day, hr, min, sec, temp; local
130 sec = tod - min * 60;
137 writew(sec, ioaddr + RTC_SECOND);
142 writew(sec, ioaddr + RTC_ALRM_SEC);
H A Drtc-bq4802.c95 u8 sec, min, hrs, day, mon, yrs, century, val; local
107 sec = tm->tm_sec;
109 sec = bin2bcd(sec);
122 p->write(p, 0x00, sec);
H A Drtc-ds1742.c145 unsigned int cen, sec; local
172 sec = readb(ioaddr + RTC_SECONDS);
173 if (sec & RTC_STOP) {
174 sec &= RTC_SECONDS_MASK;
177 writeb(sec, ioaddr + RTC_SECONDS);
H A Drtc-mc146818-lib.c215 unsigned char mon, day, hrs, min, sec; local
228 sec = time->tm_sec;
271 sec = bin2bcd(sec);
297 CMOS_WRITE(sec, RTC_SECONDS);
/linux-master/tools/objtool/arch/powerpc/
H A Ddecode.c42 int arch_decode_instruction(struct objtool_file *file, const struct section *sec, argument
51 ins = bswap_if_needed(file->elf, *(u32 *)(sec->data->d_buf + offset));
/linux-master/drivers/infiniband/core/
H A Dcore_priv.h232 void ib_destroy_qp_security_begin(struct ib_qp_security *sec);
233 void ib_destroy_qp_security_abort(struct ib_qp_security *sec);
234 void ib_destroy_qp_security_end(struct ib_qp_security *sec);
236 void ib_close_shared_qp_security(struct ib_qp_security *sec);
270 static inline void ib_destroy_qp_security_begin(struct ib_qp_security *sec) argument
274 static inline void ib_destroy_qp_security_abort(struct ib_qp_security *sec) argument
278 static inline void ib_destroy_qp_security_end(struct ib_qp_security *sec) argument
288 static inline void ib_close_shared_qp_security(struct ib_qp_security *sec) argument
/linux-master/drivers/ptp/
H A Dptp_kvm_x86.c89 ts->tv_sec = clock_pair->sec;
121 tspec->tv_sec = clock_pair->sec;
/linux-master/drivers/watchdog/
H A Duniphier_wdt.c35 #define SEC_TO_WDTTIMSET_PRD(sec) \
36 (ilog2(sec) + WDTTIMSET_PERIOD_1_SEC)
76 static int __uniphier_watchdog_start(struct regmap *regmap, unsigned int sec) argument
89 SEC_TO_WDTTIMSET_PRD(sec));
113 static int __uniphier_watchdog_restart(struct regmap *regmap, unsigned int sec) argument
121 return __uniphier_watchdog_start(regmap, sec);
223 dev_info(dev, "watchdog driver (timeout=%d sec, nowayout=%d)\n",
/linux-master/arch/mips/sibyte/swarm/
H A Drtc_m41t81.c149 * When we write sec, 10th sec is clear. It is reasonable to
188 unsigned int year, mon, day, hour, min, sec; local
192 * min is valid if two reads of sec are the same.
196 sec = m41t81_read(M41T81REG_SC);
198 if (sec == m41t81_read(M41T81REG_SC)) break;
207 sec = bcd2bin(sec);
216 return mktime64(year, mon, day, hour, min, sec);
H A Drtc_xicor1241.c169 unsigned int year, mon, day, hour, min, sec, y2k; local
173 sec = xicor_read(X1241REG_SC);
190 sec = bcd2bin(sec);
200 return mktime64(year, mon, day, hour, min, sec);
/linux-master/drivers/scsi/
H A Dsr_vendor.c221 unsigned long min, sec, frame; local
241 sec = bcd2bin(buffer[16]);
243 sector = min * CD_SECS * CD_FRAMES + sec * CD_FRAMES + frame;
248 unsigned long min, sec, frame; local
269 sec = bcd2bin(buffer[2]);
271 sector = min * CD_SECS * CD_FRAMES + sec * CD_FRAMES + frame;
/linux-master/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_hwtstamp.c105 static int init_systime(void __iomem *ioaddr, u32 sec, u32 nsec) argument
109 writel(sec, ioaddr + PTP_STSUR);
146 static int adjust_systime(void __iomem *ioaddr, u32 sec, u32 nsec, argument
153 /* If the new sec value needs to be subtracted with
158 sec = -sec;
167 writel(sec, ioaddr + PTP_STSUR);
/linux-master/drivers/net/wireless/intel/iwlwifi/pcie/
H A Dctxt-info.c111 ret = iwl_pcie_ctxt_info_alloc_dma(trans, fw->sec[i].data,
112 fw->sec[i].len,
125 fw->sec[dram->fw_cnt + 1].data,
126 fw->sec[dram->fw_cnt + 1].len,
149 ret = iwl_pcie_ctxt_info_alloc_dma(trans, fw->sec[fw_idx].data,
150 fw->sec[fw_idx].len,
/linux-master/fs/exfat/
H A Dfatent.c14 static int exfat_mirror_bh(struct super_block *sb, sector_t sec, argument
23 sec2 = sec - sbi->FAT1_start_sector + sbi->FAT2_start_sector;
42 sector_t sec; local
45 sec = FAT_ENT_OFFSET_SECTOR(sb, loc);
48 bh = sb_bread(sb, sec);
66 sector_t sec; local
70 sec = FAT_ENT_OFFSET_SECTOR(sb, loc);
73 bh = sb_bread(sb, sec);
80 exfat_mirror_bh(sb, sec, bh);
/linux-master/net/mac802154/
H A Drx.c201 rc = mac802154_llsec_decrypt(&sdata->sec, skb);
305 pr_debug("seclevel %i\n", hdr->sec.level);
307 switch (hdr->sec.key_id_mode) {
313 pr_debug("key %02x\n", hdr->sec.key_id);
318 le32_to_cpu(hdr->sec.short_src) >> 16,
319 le32_to_cpu(hdr->sec.short_src) & 0xffff,
320 hdr->sec.key_id);
324 key = swab64((__force u64)hdr->sec.extended_src);
326 hdr->sec.key_id);
/linux-master/drivers/net/ethernet/intel/igc/
H A Digc_tsn.c118 u32 sec, nsec, cycle; local
258 sec = rd32(IGC_SYSTIMH);
260 systim = ktime_set(sec, nsec);
286 sec = rd32(IGC_SYSTIMH);
287 systim = ktime_set(sec, nsec);
/linux-master/drivers/media/dvb-core/
H A Ddmxdev.c366 struct dmx_sct_filter_params *para = &dmxdevfilter->params.sec;
414 if (dmxdevfilter->params.sec.flags & DMX_ONESHOT)
486 dmxdevfilter->feed.sec->stop_filtering(dmxdevfilter->feed.sec);
508 return filter->feed.sec->start_filtering(filter->feed.sec);
531 u16 pid = filter->params.sec.pid;
536 dmxdev->filter[i].params.sec.pid == pid) {
542 filter->feed.sec);
557 if (!dmxdevfilter->feed.sec)
[all...]

Completed in 164 milliseconds

1234567891011>>