Searched refs:tm (Results 101 - 125 of 134) sorted by relevance

123456

/drivers/rtc/
H A Drtc-test.c31 struct rtc_time *tm)
33 rtc_time_to_tm(get_seconds(), tm); local
30 test_rtc_read_time(struct device *dev, struct rtc_time *tm) argument
H A Drtc-at32ap700x.c70 static int at32_rtc_readtime(struct device *dev, struct rtc_time *tm) argument
76 rtc_time_to_tm(now, tm);
81 static int at32_rtc_settime(struct device *dev, struct rtc_time *tm) argument
87 ret = rtc_tm_to_time(tm, &now);
H A Drtc-ab3100.c76 static int ab3100_rtc_read_time(struct device *dev, struct rtc_time *tm) argument
108 rtc_time_to_tm(time, tm);
110 return rtc_valid_tm(tm);
H A Drtc-coh901331.c78 static int coh901331_read_time(struct device *dev, struct rtc_time *tm) argument
85 rtc_time_to_tm(readl(rtap->virtbase + COH901331_CUR_TIME), tm);
87 return rtc_valid_tm(tm);
H A Drtc-mc13xxx.c60 static int mc13xxx_rtc_read_time(struct device *dev, struct rtc_time *tm) argument
101 rtc_time_to_tm(s1970, tm);
103 return rtc_valid_tm(tm);
H A Drtc-tx4939.c69 static int tx4939_rtc_read_time(struct device *dev, struct rtc_time *tm) argument
90 rtc_time_to_tm(sec, tm);
91 return rtc_valid_tm(tm);
H A Drtc-wm831x.c102 static int wm831x_rtc_readtime(struct device *dev, struct rtc_time *tm) argument
138 rtc_time_to_tm(time, tm);
139 return rtc_valid_tm(tm);
H A Drtc-imxdi.c195 static int dryice_rtc_read_time(struct device *dev, struct rtc_time *tm) argument
201 rtc_time_to_tm(now, tm);
H A Drtc-ds1305.c339 struct rtc_time tm; local
349 status = ds1305_get_time(dev, &tm);
352 status = rtc_tm_to_time(&tm, &now);
H A Drtc-rx8025.c568 struct rtc_time tm; local
571 rtc_time_to_tm(0, &tm); /* 1970/1/1 */
572 rx8025_set_time(&client->dev, &tm);
/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_main.c416 if (likely(priv->tm->enable))
660 if (likely(priv->tm->enable))
661 priv->tm->timer_start(tmrate);
670 if (likely(priv->tm->enable))
671 priv->tm->timer_stop();
912 priv->tm = kzalloc(sizeof(struct stmmac_timer *), GFP_KERNEL);
913 if (unlikely(priv->tm == NULL))
916 priv->tm->freq = tmrate;
920 if (unlikely((stmmac_open_ext_timer(dev, priv->tm)) < 0)) {
922 priv->tm
[all...]
/drivers/md/persistent-data/
H A Ddm-btree-internal.h45 void inc_children(struct dm_transaction_manager *tm, struct node *n,
H A Ddm-btree.c66 void inc_children(struct dm_transaction_manager *tm, struct node *n, argument
74 dm_tm_inc(tm, value64(n, i));
133 block_size = dm_bm_block_size(dm_tm_get_bm(info->tm));
164 struct dm_transaction_manager *tm; member in struct:del_stack
196 r = dm_tm_ref(s->tm, b, &ref_count);
205 dm_tm_dec(s->tm, b);
210 r = dm_tm_read_lock(s->tm, b, &btree_node_validator, &f->b);
229 dm_tm_dec(s->tm, dm_block_location(f->b));
230 dm_tm_unlock(s->tm, f->b);
241 s->tm
[all...]
H A Ddm-space-map-metadata.c539 struct dm_transaction_manager *tm,
555 r = sm_ll_new_metadata(&smm->ll, tm);
579 struct dm_transaction_manager *tm,
585 r = sm_ll_open_metadata(&smm->ll, tm, root_le, len);
538 dm_sm_metadata_create(struct dm_space_map *sm, struct dm_transaction_manager *tm, dm_block_t nr_blocks, dm_block_t superblock) argument
578 dm_sm_metadata_open(struct dm_space_map *sm, struct dm_transaction_manager *tm, void *root_le, size_t len) argument
/drivers/media/dvb/frontends/
H A Dstv0288.c460 char tm; local
489 for (tm = -9; tm < 7;) {
500 tm++;
502 tm++;
506 tda[1] = (unsigned char)tm;
/drivers/isdn/mISDN/
H A Dlayer2.h62 struct teimgr *tm; member in struct:layer2
H A Dlayer2.c400 if (l2->tm)
807 if (l2->tm)
900 if (l2->tm)
971 if (l2->tm)
1008 if (l2->tm)
1026 if (l2->tm)
1057 if (l2->tm)
1072 if (l2->tm)
1357 if (l2->tm)
1380 if (l2->tm)
[all...]
/drivers/ata/
H A Dpata_mpc52xx.c86 u8 tm; member in struct:mdmaspec
91 { .t0M = 32, .td = 15, .th = 2, .tj = 2, .tkw = 15, .tm = 4, .tn = 1 },
92 { .t0M = 10, .td = 6, .th = 1, .tj = 1, .tkw = 4, .tm = 2, .tn = 1 },
93 { .t0M = 8, .td = 5, .th = 1, .tj = 1, .tkw = 2, .tm = 2, .tn = 1 },
97 { .t0M = 64, .td = 29, .th = 3, .tj = 3, .tkw = 29, .tm = 7, .tn = 2 },
98 { .t0M = 20, .td = 11, .th = 2, .tj = 1, .tkw = 7, .tm = 4, .tn = 1 },
99 { .t0M = 16, .td = 10, .th = 2, .tj = 1, .tkw = 4, .tm = 4, .tn = 1 },
302 t->mdma1 = ((u32)s->t0M << 24) | ((u32)s->td << 16) | ((u32)s->tkw << 8) | s->tm;
/drivers/w1/
H A Dw1_io.c53 static void w1_delay(unsigned long tm) argument
55 udelay(tm * w1_delay_parm);
/drivers/watchdog/
H A Dit87_wdt.c227 int tm = timeout; local
232 if (tm <= max_units)
235 tm /= 60;
241 superio_outb(tm, WDTVALLSB);
243 superio_outb(tm>>8, WDTVALMSB);
/drivers/ide/
H A Dpmac.c655 struct mdma_timings_t* tm = NULL; local
682 tm = mdma_timings_66;
685 tm = mdma_timings_33k;
688 tm = mdma_timings_33;
691 if (tm != NULL) {
695 if (tm[i+1].cycleTime < cycleTime)
699 cycleTime = tm[i].cycleTime;
700 accessTime = tm[i].accessTime;
701 recTime = tm[i].recoveryTime;
/drivers/s390/cio/
H A Dcio.c1111 orb->tm.intparm = (u32) (addr_t) sch;
1112 orb->tm.key = key >> 4;
1113 orb->tm.b = 1;
1114 orb->tm.lpm = lpm ? lpm : sch->lpm;
1115 orb->tm.tcw = (u32) (addr_t) tcw;
1139 if (!to_io_private(sch)->orb.tm.b)
/drivers/mmc/host/
H A Dsdhci-pci.c606 int tm, ps; local
620 tm = 10; /* Wait max 1 ms */
626 } while (--tm);
627 if (!tm) {
/drivers/usb/gadget/
H A Dfsl_qe_udc.h296 u8 tm; /* transfer mode */ member in struct:qe_ep
/drivers/media/common/tuners/
H A Dtda18271-fe.c213 int tm; local
238 tm = tda18271_lookup_thermometer(fe);
248 return tm;

Completed in 456 milliseconds

123456